r76145 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76144‎ | r76145 | r76146 >
Date:21:47, 5 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
finishing clean-up from r75674
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -1692,12 +1692,11 @@
16931693 }
16941694
16951695 // Link and Preview
1696 - $viewPage = SpecialPage::getTitleFor( 'NoticeTemplate', 'view' );
16971696 $render = new SpecialBannerLoader();
16981697 $render->siteName = 'Wikipedia';
16991698 $render->language = $this->mRequest->getVal( 'wpUserLanguage' );
17001699 $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' ),
1701 - $this->getSkin()->makeLinkObj( $viewPage,
 1700+ $this->getSkin()->makeLinkObj( $this->viewPage,
17021701 htmlspecialchars( $row->tmp_name ),
17031702 'template=' . urlencode( $row->tmp_name ) ) .
17041703 Xml::fieldset( wfMsg( 'centralnotice-preview' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75674Nuke unused globals...reedy21:08, 29 October 2010

Status & tagging log