[Mediawiki-l] Simple way to remove or customize special pages list?

Anders Wegge Jakobsen wegge at wegge.dk
Wed Feb 2 18:43:03 UTC 2005


"Morten" == Morten Blaabjerg <crewscut at mail.dk> writes:

> Is there a simple way to remove items from the list of special pages
> (in MW v1.4 beta5) ?  Can something from specialpage.php be
> manipulated or maybe put into localsettings for customization?

 Invisible or unusable?

 In any case, modify includes/SpecialPage.php. Change new SpecialPage
 to new UnlistedSpecialPage to make pages invisible, and add a second
 parameter "sysop" to the pages you want to be unusable for normal users.

-- 
/Wegge <http://wiki.wegge.dk>
echo mail: !#^."<>"|tr "<> mail:" dk at wegge
mailto:awegge at gmail.com - Invitationer på FCFS basis



More information about the MediaWiki-l mailing list