MediaWiki talk:Gadget-SousPages.js

Latest comment: 15 days ago by M7 in topic Namespaces 104 and 105

Localisation edit

{{edit request}}

Please create i18n support for 'Subpages' label. As starter set may get translations of MediaWiki:Bs-namespacemanager-label-subpages message. --Kaganer (talk) 17:46, 23 May 2016 (UTC)Reply

mw:Extension:ArticleInfo is not installed here. Added i18n via custom-made MediaWiki:Subpages. --Base (talk) 20:26, 24 May 2016 (UTC)Reply

Update message name edit

Please change "Subpages" on lines 8 and 15 to "gadget-souspages-subpages".

The link text is currently "⧼Subpages⧽" if this script is used on other wikis, because MediaWiki:Subpages is a locally defined message. MediaWiki:Gadget-souspages-subpages is in the WikimediaMessages repo, so is available on all wikis.

The locally defined message also only has 5 translations (which should be deleted once the script has been changed), whereas the WikimediaMessages one has 63 translations.

It would probably also make sense to change "loadMessages" on line 15 to "loadMessagesIfMissing". While it's not likely to have been loaded already, there's no reason to load it again if it has.

- Nikki (talk) 10:44, 2 April 2024 (UTC)Reply

  Done --M/ (talk) 12:32, 3 April 2024 (UTC)Reply

Namespaces 104 and 105 edit

Please remove namespaces 104 and 105 from the array on line 2.

According to Wikimedia's config, these have subpages enabled by default. The only exception seems to be dewikivoyage (line 2219), where subpages aren't allowed on namespace 104, but that namespace appears to be empty.

- Nikki (talk) 11:04, 2 April 2024 (UTC)Reply

  Done --M/ (talk) 12:32, 3 April 2024 (UTC)Reply
Return to "Gadget-SousPages.js" page.