Index: trunk/phase3/includes/specials/SpecialRandompage.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | |
67 | 67 | if( is_null( $title ) ) { |
68 | 68 | $this->setHeaders(); |
69 | | - $wgOut->addWikiMsg( strtolower( $this->mName ) . '-nopages', |
| 69 | + $wgOut->addWikiMsg( strtolower( $this->getName() ) . '-nopages', |
70 | 70 | $this->getNsList(), count( $this->namespaces ) ); |
71 | 71 | return; |
72 | 72 | } |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | |
33 | 33 | // The canonical name of this special page |
34 | 34 | // Also used for the default <h1> heading, @see getDescription() |
35 | | - /*private*/ var $mName; |
| 35 | + private $mName; |
36 | 36 | |
37 | 37 | // The local name of this special page |
38 | 38 | private $mLocalName; |