Use $this->getTitle() instead of $out->getTitle()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 1 Nov 2012 13:51:12 +0000 (14:51 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 1 Nov 2012 13:51:12 +0000 (14:51 +0100)
This is for consistency with other calls to the same method in the class.

Change-Id: I1ecd401cc5862ccb53211fc0a0754a2ac3debb7b

includes/SkinTemplate.php

index a2e6b99..dcc37d7 100644 (file)
@@ -1189,7 +1189,7 @@ class SkinTemplate extends Skin {
 
                        $nav_urls['info'] = array(
                                'text' => $this->msg( 'pageinfo-toolboxlink' )->text(),
-                               'href' => $out->getTitle()->getLocalURL( "action=info" )
+                               'href' => $this->getTitle()->getLocalURL( "action=info" )
                        );
 
                        if ( $this->getTitle()->getArticleID() ) {