Extension talk:DisableSpecialPages

From MediaWiki.org
Jump to: navigation, search

"Allpages" don't work:

$wgDisabledSpecialPages = array( 'Allpages' );

You need to specify page name like:

$wgDisabledSpecialPages = array( 'Recentchanges' );


Broken in 1.15.2 ?


[edit] Working

Working great for me as of 1.15.3. Not 'Allpages', but fine with a defined array.

[edit] Interferes with some extensions?

I can't seem to run this and Extension:ArticleComments simultaneously. ArticleComments creates a special page (for processing comments) at time of installation, and while the new page shows up in the Special Page menu, opening it (or submitting a comment) results in the "No such special page" error. I suspect that any other extensions that create a Special Page might end up having the same problem, so if anyone is having a problem with a new extension, disable this in LocalSettings.php.

Perhaps this issue could be addressed in a code update?

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox