https://bugzilla.wikimedia.org/show_bug.cgi?id=32679

--- Comment #4 from Reedy <[email protected]> 2011-11-28 12:50:00 UTC ---
(In reply to comment #2)
> Hmmm, this part could be good for a separate bug report. Some sort of $wg
> variable to ACTUALLY 'disable' certain special pages by config, instead of
> resorting to uninstalling extensions, etc...

Hah. Thanks for confirming that.

Doing it how the API can do it (replacing the module with a defined
"ApiDisabled" module) seems sensible rather than $wgDisableSpecialPages

e.g

    public function execute() {
        $this->dieUsage( "The ``{$this->getModuleName()}'' module has been
disabled.", 'moduledisabled' );
    }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to