From: Alexandre Emsenhuber Date: Wed, 5 Sep 2012 20:21:20 +0000 (+0200) Subject: Use $this to get the Title object in SkinTemplate::buildNavUrls() X-Git-Tag: 1.31.0-rc.0~22429^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=f9963e91e82f7d60e38272d69daa58bfda924383;p=lhc%2Fweb%2Fwiklou.git Use $this to get the Title object in SkinTemplate::buildNavUrls() No need to call OutputPage::getTitle(). Change-Id: I7ecd497b38044a05a953659780ac127bfb6597e5 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index df94dcbfdc..bda43957dc 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1153,7 +1153,7 @@ class SkinTemplate extends Skin { if ( $revid ) { $nav_urls['permalink'] = array( 'text' => $this->msg( 'permalink' )->text(), - 'href' => $out->getTitle()->getLocalURL( "oldid=$revid" ) + 'href' => $this->getTitle()->getLocalURL( "oldid=$revid" ) ); }