Template talk:Documentation

From WikiProjectMed
Jump to navigation Jump to search
WikiProject iconTemplates
WikiProject iconThis template (like all templates) is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. This particular template is especially important to the project because it is used in the maintenance of other templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

Edit request 14 February 2024

Description of suggested change: Hello, please move it to subcategory Category:Documentation templates (Category:Template documentation is for doc templates and doc pages). Thx and best Regards.

Diff:

[[Category:Template documentation]]
+
[[Category:Documentation templates]]

W like wiki good to know 00:23, 14 February 2024 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'er there 02:53, 14 February 2024 (UTC)[reply]

Template-protected edit request on 19 March 2024 Spelling/grammar/punctuation/typographical correction Suggestion

The a in ”Northern Sami” should be changed with an á, because it’s the proper way of spelling the language’s name. Thatpulpetti (talk) 01:11, 19 March 2024 (UTC)[reply]

 Not done: this is the talk page for discussing improvements to the template {{Documentation}}. Please make your request at the talk page for the article concerned. * Pppery * it has begun... 01:14, 19 March 2024 (UTC)[reply]

Link to run test cases

On module sandboxes, there is a message "See also the companion subpage for test cases (run)." and the "run" is a link to the talk page of the test cases, where the tests are executed. (I don't know where this message is produced because it does not seem to come from Template:Template sandbox notice.) I would like to propose that the run link be added to this module to appear next to the link to test cases, at the end of the documentation. — Martin (MSGJ · talk) 11:19, 4 April 2024 (UTC)[reply]

Template-protected edit request on 11 April 2024

Please add the following lines to the top of the module:

local makeInvokeFunc = require("Module:MakeInvokeFunc")(p)

And then remove the explicit function definition for makeInvokeFunc from the module at line 94.

I created that module because it actually has a lot of potential for utility across modules. If an admin could also protect Module:MakeInvokeFunc to be template or full protected then it would address the concerns of "high risk". Awesome Aasim 19:00, 11 April 2024 (UTC)[reply]

Pause for now because there is one more thing I realize this module needs. Awesome Aasim 19:10, 11 April 2024 (UTC)[reply]
Okay reopening, but with modifications. Also do the same with local message = require("Module:Message")(cfg). These helper functions can be quite useful in other modules which is why I pulled them out. Also protect afterword. Awesome Aasim 22:56, 11 April 2024 (UTC)[reply]
Aren't you the same person who claimed only a few weeks ago that this module should never need to be edited? Anyway, I think this request simply makes things more complicated for no apparent benefit, so deactivating. There's no harm in a 15-line function that has never changed in years being duplicated in a few places. On top of that it isn't really that genericizable in the first place since each module uses a slightly different version to handle things like wrapper templates, whether to trim whitespace, etc. that vary from template to template. Deactivating. * Pppery * it has begun... 02:37, 15 April 2024 (UTC)[reply]