r88604 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88603‎ | r88604 | r88605 >
Date:20:44, 22 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Minor code refactoring/tidying up
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
@@ -115,14 +115,15 @@
116116 ) .
117117 $pager->getBody() .
118118 //$pager->getLimitDropdown() .
119 - $navBar .
120 - ( $this->batchForm ?
121 - $this->buildBatchInterface( $pager )
122 - : "" ) .
123 - Xml::closeElement( 'form' )
 119+ $navBar
124120 );
 121+ if ( $this->batchForm ) {
 122+ $wgOut->addHTML(
 123+ $this->buildBatchInterface( $pager )
 124+ );
 125+ }
125126
126 - $wgOut->addHTML( $pathForm );
 127+ $wgOut->addHTML( Xml::closeElement( 'form' ) . $pathForm );
127128 }
128129
129130 function doBatchChange() {

Status & tagging log