Looking at the code I figured out how to do it:
For "special:name", create the page
"MediaWiki:Specialpages-specialpagegroup-name". The text of this message
is considered to be the group name under which special:name is filed at
special:specialpages.
And if you want to create the new group "mygroup", create a
"MediaWiki:Specialpages-specialpagegroup-"-page with content "mygroup".
You can then define the name of this group in
"MediaWiki:Specialpages-group-mygroup".

Now, while this works perfectly and is certainly nice to have, it is
kind of cumbersome if you want to customize a lot of groups.
It would be more convenient if you could define this stuff in the
localsettings.


Am 04.09.2015 um 13:47 schrieb Stip:
> I'd like to change the sorting of the core special pages on
> Special:Specialpages and found
> https://www.mediawiki.org/w/index.php?title=Manual:$wgSpecialPageGroups&oldid=881891
> That is basically what I'm looking for, and since I'm working on
> upgradinge to MW 1.25, everything is fine for now.
> 
> But how would I do that in MW 1.26? SpecialPage::getGroupName does not
> help me at all; in fact, searching for it redirects to
> Manual:$wgSpecialPageGroups. :/
> Manual:Special_pages only teaches me how to use it when constructing my
> own special page, but I'd like to be able to change the sorting via
> localsetting.php. Am I missing something?
> 
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to