From: aude Date: Fri, 22 Aug 2014 14:15:47 +0000 (+0200) Subject: Rename variable in Title: $parser -> $titleParser X-Git-Tag: 1.31.0-rc.0~14316^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=62c7df5474ef9c234991ccad2b92c382d02b0644;p=lhc%2Fweb%2Fwiklou.git Rename variable in Title: $parser -> $titleParser so not to confuse this with Parser Change-Id: I7e06baa0a924310e9491f125d0cb851bde2702ab --- diff --git a/includes/Title.php b/includes/Title.php index a1b2352f5e..690bb4f1a8 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3300,8 +3300,8 @@ class Title { // @note: splitTitleString() is a temporary hack to allow MediaWikiTitleCodec to share // the parsing code with Title, while avoiding massive refactoring. // @todo: get rid of secureAndSplit, refactor parsing code. - $parser = self::getTitleParser(); - $parts = $parser->splitTitleString( $dbkey, $this->getDefaultNamespace() ); + $titleParser = self::getTitleParser(); + $parts = $titleParser->splitTitleString( $dbkey, $this->getDefaultNamespace() ); } catch ( MalformedTitleException $ex ) { return false; }