Merge "Rename variable in Title: $parser -> $titleParser"

This commit is contained in:
jenkins-bot 2014-08-22 23:10:37 +00:00 committed by Gerrit Code Review
commit f0f69d49f4

View file

@ -3323,8 +3323,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;
}