From: robin Date: Thu, 7 Aug 2014 15:34:57 +0000 (+0100) Subject: Fix variable names X-Git-Tag: 1.31.0-rc.0~14532 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=f1ce97c965d54e417d453539693a838ed7c536ff;p=lhc%2Fweb%2Fwiklou.git Fix variable names Change I2f4d298a15046c4dc02afbf7582c90a1f17ea4cb added $title = $this->getTitle() but $title was already defined for the delete reason message, causing the delete log except to be shown always for the page "MediaWiki:Deletereason-dropdown". Renaming the previous $title to fix this. Change-Id: Ibecd181e80d83b0163e17d53b0b1b8c4a366ac1d --- diff --git a/includes/page/Article.php b/includes/page/Article.php index 436f148984..4a6e002d80 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1751,9 +1751,9 @@ class Article implements Page { Xml::closeElement( 'form' ); if ( $user->isAllowed( 'editinterface' ) ) { - $title = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' ); + $dropdownTitle = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' ); $link = Linker::link( - $title, + $dropdownTitle, wfMessage( 'delete-edit-reasonlist' )->escaped(), array(), array( 'action' => 'edit' )