Hide MathShowImage from Special:SpecialPages
This special page is not intented to be used interactively and its title is not translatable, so it shouldn't be shown on Special:SpecialPages. Change-Id: Idc83ecc2924cf417d102d3d1b0fedffd5d393300
This commit is contained in:
parent
94ded6c7b9
commit
877a0b447b
|
@ -10,7 +10,11 @@ class SpecialMathShowImage extends SpecialPage {
|
||||||
private $mode = false;
|
private $mode = false;
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
parent::__construct( 'MathShowImage' );
|
parent::__construct(
|
||||||
|
'MathShowImage',
|
||||||
|
'', // Don't restrict
|
||||||
|
false // Don't show on Special:SpecialPages - it's not useful interactively
|
||||||
|
);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Sets headers - this should be called from the execute() method of all derived classes!
|
* Sets headers - this should be called from the execute() method of all derived classes!
|
||||||
|
|
Loading…
Reference in New Issue