Module talk:Documentation
මාතෘකාවක් එක්කරන්නපෙනුම
ආයාත කිරීමට පෙර ඉතිහාසය
[සංස්කරණය]| oldid | date/time | username | edit summary |
|---|---|---|---|
| 1280044025 | 2025-03-12T03:38:41Z | Paine Ellsworth | per edit request on talk page - make the doc environment behave correctly, giving the actual template name on the doc page rather than the name of the "doc" subpage |
| 1243757855 | 2024-09-03T07:30:09Z | WOSlinker | add __EXPECTUNUSEDTEMPLATE__ to sandboxNotice |
| 1194114823 | 2024-01-07T08:09:04Z | DannyS712 | remove unneeded return variables (if this breaks anything feel free to revert without discussing with me first) |
| 1182239889 | 2023-10-28T01:26:52Z | Pppery | Split [[Category:Template sandboxes]] per CfD |
| 1168078852 | 2023-07-31T17:22:10Z | Izno | add a comment to make it obvious |
| 1168078713 | 2023-07-31T17:21:00Z | Izno | some cleaning, restore purge |
| 1167167056 | 2023-07-26T03:12:57Z | Izno | switch these to canonicalurl |
| 1160523186 | 2023-06-17T01:23:52Z | Izno | per tper |
| 1112972182 | 2022-09-29T01:57:36Z | Andrybak | update code comment according to [[Special:Diff/989669779]] |
| 1065934020 | 2022-01-16T01:32:10Z | Matt Fitzpatrick | sync from sandbox, add aria role and label to container |
| 1061447122 | 2021-12-21T19:35:41Z | Izno | remove test deleted a decade ago |
| 1049491596 | 2021-10-12T04:08:05Z | Sdkb | Added purge button for uncreated documentation, per [[Template_talk:Documentation#Purge_button_for_just-created_documentation|discussion here]]. |
| 1035088965 | 2021-07-23T15:59:17Z | Trialpears | Remove all print subpage related code as they are being deleted (and non-functional) |
| 1010532298 | 2021-03-05T23:50:41Z | Matt Fitzpatrick | role=note for end box |
| 989940623 | 2020-11-21T21:44:59Z | Ianblair23 | link |
| 989567461 | 2020-11-19T19:09:18Z | Izno | nix bad comments |
| 989555888 | 2020-11-19T17:49:06Z | Izno | merge templatestyles |
| 980010662 | 2020-09-24T02:42:10Z | Jackmcbarn | add an entry point for [[MediaWiki:Scribunto-doc-page-does-not-exist]] to use |
| 977260678 | 2020-09-07T21:02:56Z | Pppery | Only load [[Module:Module wikitext]] if it's actually needed |
| 977236565 | 2020-09-07T18:13:59Z | Jackmcbarn | bring in usage of [[Module:Module wikitext]] from sandbox |
| 948473979 | 2020-04-01T06:30:13Z | DannyS712 | Reverted to revision 924022556 by [[Special:Contributions/Cobi|Cobi]] ([[User talk:Cobi|talk]]): Restoring ([[WP:TW|TW]]) |
| 948472500 | 2020-04-01T06:12:42Z | MusikAnimal | 1 revision imported |
| 948472499 | 2019-11-07T01:10:14Z | w>MusikAnimal | Protected "[[Module:Documentation]]": High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
| 924022556 | 2019-11-01T08:54:02Z | NaomiAmethyst | Fix logic error |
| 924021559 | 2019-11-01T08:39:50Z | NaomiAmethyst | Make edit links behavior consistent with documentation: If both 1= and content= are specified, display links to 1, and content from content=. |
| 908431050 | 2019-07-29T17:40:45Z | Paine Ellsworth | Undid revision 908430596 by [[Special:Contributions/Paine Ellsworth|Paine Ellsworth]] ([[User talk:Paine Ellsworth|talk]]) srv - mybad |
| 908430596 | 2019-07-29T17:36:35Z | Paine Ellsworth | sp. |
| 907009009 | 2019-07-19T20:31:29Z | DannyS712 | Undid revision 906971056 by [[Special:Contributions/DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) - per talk |
| 906971056 | 2019-07-19T15:18:05Z | DannyS712 | Add configurable css from config, so that it can be removed from common.css. Class maintained for compatibility on other wikis and with scripts. See [[Special:Permalink/906970618#Moving CSS]] |
| 885570031 | 2019-02-28T21:26:38Z | Pppery | Wikitext pages in module namespace are a thing now |
| 884780468 | 2019-02-23T23:27:03Z | Pppery | Bypass redirects in links at header |
| 729280556 | 2016-07-11T04:31:31Z | Andy M. Wang | rm alt text on icon, since the adjacent text, "Template documentation" or "Module documentation", is sufficient alternative text (per [[Special:Diff/729145419|edit request]]) |
| 725653683 | 2016-06-17T01:32:16Z | Mr. Stradivarius | remove REVISIONID - see [[Special:PermaLink/725652098#Preview-only template warnings using REVISIONID magic word]] |
| 725297794 | 2016-06-14T20:07:07Z | Andy M. Wang | fix for the module mirror link. Previously, it loaded [[Template:Documentation/mirror]], which Lua complained Script error: Lua error at line 1: unexpected symbol near '{'. also rm redundant testcasesTitle test (see talk page for further details) |
| 717458030 | 2016-04-27T20:45:28Z | Andy M. Wang | syncing with sandbox (except /sandbox) (testcases now have a convenient run link for navigation) |
| 713667920 | 2016-04-05T10:21:17Z | MSGJ | show padlock in other namespaces, e.g. userspace |
| 678315524 | 2015-08-28T16:34:10Z | Ahecht | sync sandbox. Fix (mirror) link for creating a sandbox. |
| 631812653 | 2014-10-30T22:34:27Z | WOSlinker | use mw.html |
| 627376982 | 2014-09-28T05:22:30Z | Mr. Stradivarius | don't use pp-template for move-protected pages, to avoid them being wrongly categorised in [[:Category:Wikipedia pages with incorrect protection templates]] |
| 624773552 | 2014-09-09T07:04:53Z | Mr. Stradivarius | don't cause a script error if p.makeExperimentBlurb returns nil |
| 615578031 | 2014-07-04T14:26:55Z | Mr. Stradivarius | Undid revision 615575005 by [[Special:Contributions/Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) this puts the end box inside the main div, so we get one blue box inside another blue box; not really what we want |
| 615575005 | 2014-07-04T14:05:42Z | Technical 13 | Tested to be working in sandbox. |
| 611891301 | 2014-06-07T00:48:07Z | Mr. Stradivarius | remove extra newline before p.addTrackingCategories |
| 611442793 | 2014-06-03T22:37:32Z | Jackmcbarn | match our config |
| 611408641 | 2014-06-03T17:42:37Z | Jackmcbarn | ignore _content if it wouldn't have tried expanding the template |
| 611315780 | 2014-06-03T01:40:42Z | Jackmcbarn | reflect changes to our config |
| 605026947 | 2014-04-20T15:25:46Z | Jackmcbarn | only return contentTitle if it will be used |
| 605026617 | 2014-04-20T15:22:38Z | Jackmcbarn | ugly hack so that expanding of the /doc subpage doesn't count against Lua's time limit |
| 604631522 | 2014-04-17T19:03:44Z | Jackmcbarn | check id |
| 604631382 | 2014-04-17T19:02:40Z | Jackmcbarn | add a link to run the test cases from the sandbox page |
| 600231909 | 2014-03-18T23:24:52Z | Mr. Stradivarius | add nil check for protectionLevels, as it was causing script errors on wikis with earlier versions of Scribunto |
| 599387553 | 2014-03-13T04:05:03Z | Mr. Stradivarius | use title.protectionLevels instead of {{PROTECTIONLEVEL}} in p.protectionTemplate |
| 598387866 | 2014-03-06T11:59:07Z | Mr. Stradivarius | add the equivalent of {{clear}} before the sandbox notice - this was in the old {{documentation}} template, but somehow didn't find its way into the module before |
| 595358548 | 2014-02-13T21:37:50Z | Mr. Stradivarius | undo again - the bug in frame:expandTemplate has now been fixed, so using it again |
| 594320237 | 2014-02-07T04:42:40Z | Mr. Stradivarius | undo - frame:expandTemplates doesn't handle section headings correctly, so we need to use frame:preprocess |
| 593800671 | 2014-02-03T22:49:02Z | Mr. Stradivarius | p.content: use frame:expandTemplate instead of frame:preprocess to improve performance |
| 593308480 | 2014-01-31T17:53:02Z | Mr. Stradivarius | make [create] links look like [view] [edit] etc. links |
| 593274347 | 2014-01-31T13:35:35Z | Mr. Stradivarius | use the module preload in the start box create link if we're in the module namespace |
| 593272389 | 2014-01-31T13:16:10Z | Mr. Stradivarius | use better messages for the sandbox notice when in the module namespace, and only show the diff link when both pages exist |
| 593261847 | 2014-01-31T11:14:31Z | Mr. Stradivarius | Protected Module:Documentation: [[Wikipedia:Lua/Modules|High-risk Lua module]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)) |
| 593254177 | 2014-01-31T09:32:46Z | Mr. Stradivarius | make it possible to get environment data when calling just the start box, just the content, or just the end box functions from #invoke |
| 593024091 | 2014-01-29T22:11:19Z | Mr. Stradivarius | fix comment for the message function |
| 592929220 | 2014-01-29T08:15:51Z | Mr. Stradivarius | handle nil values of addTrackingCategory properly, and don't categorise testcases pages in the module namespace |
| 592883215 | 2014-01-29T00:38:36Z | Mr. Stradivarius | add a period after the subpages link, with a new message "subpages-blurb" |
| 592623204 | 2014-01-27T11:45:42Z | Mr. Stradivarius | tweak comments |
| 592621658 | 2014-01-27T11:29:50Z | Mr. Stradivarius | don't check that we are not in the file namespace before adding the subpage blurb, as we already know we're either in the user, template or module namespace |
| 592550942 | 2014-01-26T23:29:28Z | Mr. Stradivarius | remove sort key comment from p.addTrackingCategories, as it isn't being used any more |
| 592481897 | 2014-01-26T14:35:08Z | Mr. Stradivarius | switch variable orders |
| 592481812 | 2014-01-26T14:34:25Z | Mr. Stradivarius | don't sort strange usage category in mainspace, as mainspace doesn't have subpages so can't be categorised |
| 592444019 | 2014-01-26T07:21:39Z | Mr. Stradivarius | change makeEndBoxExperimentBlurb to makeExperimentBlurb - simpler |
| 592136120 | 2014-01-24T06:43:10Z | Mr. Stradivarius | add comments for the rest of the functions |
| 592132735 | 2014-01-24T06:05:06Z | Mr. Stradivarius | convert makeCategoriesBlurb comment |
| 592125449 | 2014-01-24T04:44:44Z | Mr. Stradivarius | add comments to p.addTrackingCategories and reduce line length a little |
| 592117135 | 2014-01-24T03:13:07Z | Mr. Stradivarius | allow protection templates to display in the module namespace |
| 591966314 | 2014-01-23T02:50:02Z | Mr. Stradivarius | change docpageRoot to docpageBase, as usually base and root mean different things with respect to titles |
| 591957802 | 2014-01-23T01:22:01Z | Mr. Stradivarius | fix env.templateTitle value when title is in a talk namespace |
| 591682901 | 2014-01-21T07:38:48Z | Mr. Stradivarius | add missing return statement from p.renderStartBoxLinks |
| 591660617 | 2014-01-21T03:06:40Z | Mr. Stradivarius | add comments for p.makeEndBoxExperimentBlurb |
| 591657475 | 2014-01-21T02:37:32Z | Mr. Stradivarius | reorder end box functions |
| 591656487 | 2014-01-21T02:26:40Z | Mr. Stradivarius | tweak the _endBox comment and fix a few variables that were accidentally left undefined |
| 591654827 | 2014-01-21T02:11:46Z | Mr. Stradivarius | hardcode image=none in fmbox |
| 591648684 | 2014-01-21T01:15:36Z | Mr. Stradivarius | more comment tweaks |
| 591640877 | 2014-01-21T00:08:47Z | Mr. Stradivarius | comment tweaks |
| 591635812 | 2014-01-20T23:25:12Z | Mr. Stradivarius | don't use title error message |
| 591536861 | 2014-01-20T08:52:14Z | Mr. Stradivarius | convert a stray message name |
| 591536001 | 2014-01-20T08:39:47Z | Mr. Stradivarius | use hyphens for message names rather than camelCase, in line with MediaWiki |
| 591528870 | 2014-01-20T07:15:19Z | Mr. Stradivarius | make 'string' the default message type in the message function to avoid having 'string' all over the place |
| 591527926 | 2014-01-20T07:05:44Z | Mr. Stradivarius | remove the err function, as it's not being used any more |
| 591426331 | 2014-01-19T16:02:28Z | Mr. Stradivarius | allow documentation passed with the |content= parameter to show even if we get errors from the env table |
| 591087940 | 2014-01-17T07:21:11Z | Mr. Stradivarius | simplify the start box code and attempt to get some more output if the env table contains errors |
| 591082541 | 2014-01-17T06:15:45Z | Mr. Stradivarius | use "ugsub" rather than "gsub" as the abbreviation for mw.ustring.gsub, to make it clearer that it isn't the regular string.gsub |
| 590985817 | 2014-01-16T16:33:05Z | Mr. Stradivarius | oops, looks like I issued a command that put everything in lower case somewhere along the line |
| 590985416 | 2014-01-16T16:29:53Z | Mr. Stradivarius | only generate the URL for the compare link in the env table - the rest is now done elsewhere so that the display can be different in different places |
| 590972207 | 2014-01-16T14:42:24Z | Mr. Stradivarius | fix subjectSpace var in makeSubpagesBlurb |
| 590971836 | 2014-01-16T14:39:16Z | Mr. Stradivarius | clean up the env table functions and the comments |
| 590936078 | 2014-01-16T07:33:28Z | Mr. Stradivarius | fix revision id code |
| 590935486 | 2014-01-16T07:24:26Z | Mr. Stradivarius | sandbox notice - separate test cases blurb with a line break rather than a space |
| 590935245 | 2014-01-16T07:20:35Z | Mr. Stradivarius | convert the sandbox notice code to Lua |
| 590931180 | 2014-01-16T06:16:08Z | Mr. Stradivarius | move diff link to the env table |
| 590928969 | 2014-01-16T05:44:59Z | Mr. Stradivarius | p.makeStartBoxLinksData - fix title objects that weren't being passed through |
| 590923974 | 2014-01-16T04:44:39Z | Mr. Stradivarius | get rid of the env:grab function |
| 590916105 | 2014-01-16T03:15:10Z | Mr. Stradivarius | use the err function for all the errors |
| 590915725 | 2014-01-16T03:10:20Z | Mr. Stradivarius | finish moving end box code into sub-functions |
| 590912921 | 2014-01-16T02:43:49Z | Mr. Stradivarius | simplify the content function |
| 590912342 | 2014-01-16T02:37:09Z | Mr. Stradivarius | need to check type as well |
| 590911771 | 2014-01-16T02:30:28Z | Mr. Stradivarius | control for blank values of linksData |
| 590908831 | 2014-01-16T02:01:04Z | Mr. Stradivarius | replace another argument name with a hardcoded value |
| 590897231 | 2014-01-16T00:11:35Z | Mr. Stradivarius | hardcode "off" in "link box=off" as well, for the benefit of other modules/templates |
| 590896806 | 2014-01-16T00:07:43Z | Mr. Stradivarius | don't use messages for args either - would be a pain for other modules that have to use this module |
| 590894797 | 2014-01-15T23:57:30Z | Mr. Stradivarius | don't use messages for fmbox parameter names |
| 590893240 | 2014-01-15T23:42:22Z | Mr. Stradivarius | use messages for the err function instead of hard-coded values |
| 590792298 | 2014-01-15T09:29:39Z | Mr. Stradivarius | add a categories blurb function |
| 590782047 | 2014-01-15T06:56:02Z | Mr. Stradivarius | add a templateTitle object to the env functions, and reformat the experimentBlurb function to make it fit on the page |
| 590775100 | 2014-01-15T05:23:36Z | Mr. Stradivarius | allow for nil values of makeDocPageBlurb |
| 590774657 | 2014-01-15T05:19:05Z | Mr. Stradivarius | split out docpage blurb code |
| 590765171 | 2014-01-15T03:27:23Z | Mr. Stradivarius | fix the docpage thing again |
| 590764418 | 2014-01-15T03:20:48Z | Mr. Stradivarius | split out experiment blurb code |
| 590759230 | 2014-01-15T02:30:19Z | Mr. Stradivarius | use docTitle.prefixedText instead of docpage |
| 590756459 | 2014-01-15T02:04:18Z | Mr. Stradivarius | finish splitting the _startBox function into smaller functions |
| 590752018 | 2014-01-15T01:22:15Z | Mr. Stradivarius | add functions for rendering start box links and for making the start box link data |
| 590741688 | 2014-01-14T23:54:07Z | Mr. Stradivarius | create new function to separate html rendering in the start box |
| 590480808 | 2014-01-13T08:33:57Z | Mr. Stradivarius | fix typo |
| 590479952 | 2014-01-13T08:22:09Z | Mr. Stradivarius | add local subjectSpace variable to _startBox |
| 590475627 | 2014-01-13T07:30:08Z | Mr. Stradivarius | make all the helper functions available in the p table |
| 590367434 | 2014-01-12T14:56:18Z | Mr. Stradivarius | make a couple of the helper functions available for testing |
| 589425324 | 2014-01-06T10:26:14Z | Mr. Stradivarius | convert env table to use a metatable so we only process things when we need to; add a grab method and an err function for dealing with errors (main functions need to be converted to use these) |
| 588978953 | 2014-01-03T14:20:41Z | Mr. Stradivarius | finish converting existing values to use env table |
| 588937736 | 2014-01-03T06:53:55Z | Mr. Stradivarius | start conversion to a p.getEnv function rather than using globals; I've only got as far as the start box, so the module currently won't run |
| 588815647 | 2014-01-02T14:12:56Z | Mr. Stradivarius | rename formatMessage --> message, as it is no longer just doing formatting; tweak the function's comment as well |
| 588806121 | 2014-01-02T12:41:18Z | Mr. Stradivarius | found it - fix misspelled message name |
| 588805788 | 2014-01-02T12:37:53Z | Mr. Stradivarius | test otherNamespaceHeading |
| 588805498 | 2014-01-02T12:34:53Z | Mr. Stradivarius | add some newlines to make the html slightly more readable |
| 588782119 | 2014-01-02T07:43:06Z | Mr. Stradivarius | check for type of cfg messages rather than just for nil |
| 588779861 | 2014-01-02T07:16:49Z | Mr. Stradivarius | check existence of all cfg messages - this should help avoid hard-to-track-down bugs and silent failures if translators make a coding mistake |
| 588700535 | 2014-01-01T19:39:21Z | Mr. Stradivarius | set the proper error level for formatMessage, although it looks like it doesn't work because of the upvalues |
| 588699975 | 2014-01-01T19:34:48Z | Mr. Stradivarius | use the cfg key only with formatMessage in order to generate more descriptive error messages |
| 588697786 | 2014-01-01T19:17:56Z | Mr. Stradivarius | make the formatMessage error message more informative, at the risk of including long cfg messages in the error message |
| 588689910 | 2014-01-01T18:17:54Z | Mr. Stradivarius | split the cfg table to [[Module:Documentation/config]] |
| 588687081 | 2014-01-01T17:54:48Z | Mr. Stradivarius | finish i18n |
| 588678198 | 2014-01-01T16:40:53Z | Mr. Stradivarius | i18n for the "editors can experiment" blurb |
| 588672316 | 2014-01-01T15:47:40Z | Mr. Stradivarius | create a formatMessage function for formatting cfg messages in an arbitrary order |
| 588596055 | 2014-01-01T00:32:58Z | Mr. Stradivarius | fix purge link destination |
| 588224823 | 2013-12-29T16:18:26Z | Mr. Stradivarius | i18n of link names in the endBox function |
| 588217082 | 2013-12-29T15:00:06Z | Mr. Stradivarius | finish i18n for the startBox function |
| 588047476 | 2013-12-28T09:17:28Z | Mr. Stradivarius | internationalise the protection template code |
| 588046852 | 2013-12-28T09:08:11Z | Mr. Stradivarius | internationalise the sandbox template notice call |
| 588040631 | 2013-12-28T07:35:47Z | Mr. Stradivarius | more il8n work |
| 588031196 | 2013-12-28T05:54:38Z | Mr. Stradivarius | put argument names into a config file for easy porting to other wikis |
| 588028395 | 2013-12-28T05:23:21Z | Mr. Stradivarius | make startBox, content and endBox accessible from #invoke |
| 588026418 | 2013-12-28T05:00:08Z | Mr. Stradivarius | more efficient code for the subpages link |
| 588025859 | 2013-12-28T04:53:18Z | Mr. Stradivarius | try and keep the line length down a bit |
| 588025135 | 2013-12-28T04:46:57Z | Mr. Stradivarius | use a makeToolbar function instead of writing out the toolbars by hand |
| 588021877 | 2013-12-28T04:18:09Z | Mr. Stradivarius | don't use mw.uri.encode - title:fullUrl already encodes the strings for us |
| 588019152 | 2013-12-28T03:54:53Z | Mr. Stradivarius | replace content with a port of English Wikipedia's [[Template:Documentation]] |
| 570727432 | 2013-08-29T21:34:18Z | Hlm Z. | |
| 568781007 | 2013-08-16T10:55:12Z | Hlm Z. | |
| 568780516 | 2013-08-16T10:50:08Z | Hlm Z. | import my own work, French Wikipedia based |