diff --git a/SpecialMathShowImage.php b/SpecialMathShowImage.php index 3d38504..391291e 100644 --- a/SpecialMathShowImage.php +++ b/SpecialMathShowImage.php @@ -10,7 +10,11 @@ class SpecialMathShowImage extends SpecialPage { private $mode = false; 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! @@ -108,4 +112,4 @@ class SpecialMathShowImage extends SpecialPage { return $result; } -} \ No newline at end of file +}