User "Jack Phoenix" posted a comment on MediaWiki.r95112.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95112#c21200
Commit summary:

WikiHiero: created a special page to play with markup. Exactly what index.php 
was intended to do, but was horribly broken and disabled.

Comment:

<pre><nowiki>
+ class SpecialHieroglyphs extends SpecialPage {
+       public function __construct() {
+               parent::__construct( 'Hieroglyphs', '', true );
+       }
</nowiki></pre>
There's a leading space before the <tt>class SpecialHieroglyphs extends 
SpecialPage</tt> and you don't need the two other parameters to 
SpecialPage::__construct() since your new special page is accessible by 
everyone and listed on Special:SpecialPages (since it extends SpecialPage 
instead of UnlistedSpecialPage).

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to