r21779 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21778‎ | r21779 | r21780 >
Date:23:08, 1 May 2007
Author:sanbeg
Status:old
Tags:
Comment:
clean up indentation
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3212,7 +3212,7 @@
32133213 # replace ==section headers==
32143214 # XXX this needs to go away once we have a better parser.
32153215 if ( !$this->ot['wiki'] && !$this->ot['pre'] && $replaceHeadings ) {
3216 - if( !is_null( $title ) )
 3216+ if( !is_null( $title ) )
32173217 $encodedname = base64_encode($title->getPrefixedDBkey());
32183218 else
32193219 $encodedname = base64_encode("");
@@ -3287,8 +3287,8 @@
32883288 }
32893289
32903290 function fetchTemplate( $title ) {
3291 - $rv = $this->fetchTemplateAndtitle($title);
3292 - return $rv[0];
 3291+ $rv = $this->fetchTemplateAndtitle($title);
 3292+ return $rv[0];
32933293 }
32943294
32953295 /**