MediaWiki talk:Scribunto-doc-page-header
This interface message or skin may be documented on MediaWiki.org or translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
Fully protected edit request on 30 July 2022
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This notice seems to be appearing on /doc redirects, example here. I think this notice should be removed from redirects. A discussion about this is found at WP:VPT#Template doc header, where it's been suggested that this is the correct page that applies the {{Documentation subpage}} template. Also suggested was the use of {{redirect other}}, perhaps in the following manner:
- Modify this page from this:
{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|documentation||{{documentation subpage}}}}
- to this:
{{Redirect other||{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|documentation||{{documentation subpage}}}}}}
- That should remove the {{Documentation subpage}} template from /doc redirects. Thank you in advance!
- And if you can help with the other needed removal, the unnecessary notice that is now seen on all talkpage redirects, example here, which invites discussion to begin on these redirects and should not do so, that would also be great! P.I. Ellsworth , ed. put'r there 20:03, 30 July 2022 (UTC)
- Done. Did a slightly different way though, just using the module part without the template part. -- WOSlinker (talk) 20:27, 30 July 2022 (UTC)
- Thank you so very much, editor WOSlinker! Your fix works just fine! P.I. Ellsworth , ed. put'r there 23:03, 30 July 2022 (UTC)
The way the transclusion of template {{documentation subpage}} on the page MediaWiki:Scribunto-doc-page-header works, it does not contribute to the categorization of /doc pages. Which means that Category:Module documentation pages ( 1,739 ) is mostly populated by pages, where there is a separate, duplicate transclusion of {{documentation subpage}}. For example, how it is on Module:Infobox3cols/doc versus Module:WP/doc, which has only one copy of {{documentation subpage}} from MediaWiki:Scribunto-doc-page-header.
Compare to Category:Template documentation pages ( 36,911 ), which is mostly properly populated thanks to Template:Documentation/preload.
If we don't care for proper categorization of /doc pages into Category:Module documentation pages, perhaps it ought to be deleted. What do you think? —andrybak (talk) 09:23, 14 May 2024 (UTC)
- Another option could be to blank MediaWiki:Scribunto-doc-page-header and add {{documentation subpage}} to all the module documentation pages. -- WOSlinker (talk) 09:39, 14 May 2024 (UTC)
- Precisely. I don't mind either way.
- For my gnomish edits in /doc pages of templates, Category:Template documentation pages helps in two ways:
- blanking of pages (test edits, vandalism) shows up as "Category:Template documentation pages .. User:Example (talk | contribs) (Template:Example/doc removed from category ...)" in the watchlist, which helps for speedy reverting
- I sometimes check and clean up (formatting, categorization, etc) newly created /doc pages, which also shows up in the watchlist.
- Modules' /doc pages are not as affected by the blanking issue as templates are. For the second item, modules' /doc pages are often just "Implements template {{example}}, see documentation there." —andrybak (talk) 14:00, 14 May 2024 (UTC)
- I have nominated Category:Module documentation pages for deletion. * Pppery * it has begun... 17:30, 25 July 2024 (UTC)
- To add context: this discussion lead to a discussion at WP:BOTREQ, which in turn lead to another discussion at WP:VPT, which lead to the nomination for category deletion. —andrybak (talk) 17:53, 25 July 2024 (UTC)