r110980 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110979‎ | r110980 | r110981 >
Date:23:11, 8 February 2012
Author:maxsem
Status:ok
Tags:mobile 
Comment:
Typo in variable name
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php
@@ -8,7 +8,7 @@
99 */
1010 private $doc;
1111 public $contentFormat = '';
12 - public $WMLSectionSeperator = '***************************************************************************';
 12+ public $WMLSectionSeparator = '***************************************************************************';
1313
1414 /**
1515 * @var Title
@@ -954,7 +954,7 @@
955955 static $headings = 0;
956956 ++$headings;
957957
958 - $base = $this->WMLSectionSeperator .
 958+ $base = $this->WMLSectionSeparator .
959959 "<h2 class='section_heading' id='section_{$headings}'>{$matches[2]}</h2>";
960960
961961 self::$headings = $headings;
@@ -1064,7 +1064,7 @@
10651065 */
10661066 private function createWMLCard( $s ) {
10671067 wfProfileIn( __METHOD__ );
1068 - $segments = explode( $this->WMLSectionSeperator, $s );
 1068+ $segments = explode( $this->WMLSectionSeparator, $s );
10691069 $card = '';
10701070 $idx = 0;
10711071 $requestedSegment = htmlspecialchars( self::$requestedSegment );

Status & tagging log