Use Linker::link() instead of Linker::linkKnown() when having options
[lhc/web/wiklou.git] / includes / specials / SpecialAllpages.php
index bf30dc8..0f8b255 100644 (file)
@@ -148,7 +148,7 @@ class SpecialAllpages extends IncludableSpecialPage {
                                array( 'name' => 'namespace', 'id' => 'namespace' )
                        ) . ' ' .
                        Xml::checkLabel(
-                               wfMsg( 'allpages-hide-redirects' ),
+                               $this->msg( 'allpages-hide-redirects' )->text(),
                                'hideredirects',
                                'hideredirects',
                                $hideredirects
@@ -477,7 +477,7 @@ class SpecialAllpages extends IncludableSpecialPage {
 
                        if( $n == $this->maxPerPage && $s = $res->fetchObject() ) {
                                # $s is the first link of the next chunk
-                               $t = Title::MakeTitle($namespace, $s->page_title);
+                               $t = Title::makeTitle($namespace, $s->page_title);
                                $query = array( 'from' => $t->getText() );
 
                                if( $namespace )