Jump to content

MediaWiki talk:Scribunto-doc-page-show

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protected edit request on 16 July 2014

[edit]

Please change {{documentation to {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}. This will allow doc pages with high post-expand include sizes to work better. Jackmcbarn (talk) 17:12, 16 July 2014 (UTC)[reply]

DoneMr. Stradivarius ♪ talk ♪ 21:52, 16 July 2014 (UTC)[reply]

Addition to the system message

[edit]

Please append the following

{{Categorize base module}}
{{Categorize base module with documentation}}
{{Categorize base module with test cases}}

The previous is to add categories to track modules, and get some statistics about documentation and test cases. Hopefully we can get proper statistics later on.

Please also semiprotect the templates. Jeblad (talk) 03:40, 1 June 2016 (UTC)[reply]

These should probably be t-prot for transclusion here. — xaosflux Talk 03:54, 1 June 2016 (UTC)[reply]
It is not necessary to fully protect them, this is only the doc-part of the module. It has no really adverse effect if a vandal trolls them. Except adding garbage to the doc-part of the page. Later on it should be no problem to fully protect them, if necessary. Jeblad (talk) 04:12, 1 June 2016 (UTC)[reply]
This is the same that is added at w:no:MediaWiki:Scribunto-doc-page-show, with similar explanation at w:no:MediaWiki talk:Scribunto-doc-page-show#Tillegg. See also m:Help:Spec/Statistics. Jeblad (talk) 04:19, 1 June 2016 (UTC)[reply]
Templates used in MediaWiki messages are usually fully protected, in my experience. We should probably follow this common practice here, too. — Mr. Stradivarius ♪ talk ♪ 08:51, 2 June 2016 (UTC)[reply]
@Mr. Stradivarius: Would you mind reviewing this and the companion request at MediaWiki talk:Scribunto-doc-page-does-not-exist? — xaosflux Talk 17:44, 1 June 2016 (UTC)[reply]
I would make that all into one template with something like a |hasdocpage= parameter, so that we aren't duplicating the namespace check or the blacklist check across the different templates. I've put together something that should work in my sandbox. The idea is to use {{Categorize base module}} on MediaWiki:Scribunto-doc-page-does-not-exist and {{Categorize base module|hasdocpage=yes}} on MediaWiki:Scribunto-doc-page-show. — Mr. Stradivarius ♪ talk ♪ 08:33, 2 June 2016 (UTC)[reply]
Another thought about the subpage categories: at the moment, Category:Base modules with documentation will be filled with pages like "Module:Foo" and "Module:Bar", but Category:Base modules with test cases will be filled with pages like "Module:Foo/testcases" and "Module:Bar/testcases". This could be fixed with an #ifexist parser function, but I'm not sure it matters enough for us to change it. — Mr. Stradivarius ♪ talk ♪ 08:56, 2 June 2016 (UTC)[reply]
@Jeblad: please see notes above. — xaosflux Talk 13:48, 2 June 2016 (UTC)[reply]
This would mix several concerns into a single template, and I don't think that is a good idea. Keep concerns separate. I would not vote against this, as it is just a workaround. A proper solution should be made but that is a bit more involved. Jeblad (talk) 13:52, 2 June 2016 (UTC)[reply]
@Jeblad: Involved could be good. :) What kind of thing did you have in mind? — Mr. Stradivarius ♪ talk ♪ 14:27, 2 June 2016 (UTC)[reply]
Jeblad has not been active in recent days. If he/she does not return to the discussion shortly I will disable this request pending resumption of this discussion — Martin (MSGJ · talk) 08:30, 6 June 2016 (UTC)[reply]
Disabled as discussion seems to have waned — Martin (MSGJ · talk) 10:28, 7 June 2016 (UTC)[reply]