Merge "Rename variable in Title: $parser -> $titleParser"
This commit is contained in:
commit
f0f69d49f4
1 changed files with 2 additions and 2 deletions
|
|
@ -3323,8 +3323,8 @@ class Title {
|
||||||
// @note: splitTitleString() is a temporary hack to allow MediaWikiTitleCodec to share
|
// @note: splitTitleString() is a temporary hack to allow MediaWikiTitleCodec to share
|
||||||
// the parsing code with Title, while avoiding massive refactoring.
|
// the parsing code with Title, while avoiding massive refactoring.
|
||||||
// @todo: get rid of secureAndSplit, refactor parsing code.
|
// @todo: get rid of secureAndSplit, refactor parsing code.
|
||||||
$parser = self::getTitleParser();
|
$titleParser = self::getTitleParser();
|
||||||
$parts = $parser->splitTitleString( $dbkey, $this->getDefaultNamespace() );
|
$parts = $titleParser->splitTitleString( $dbkey, $this->getDefaultNamespace() );
|
||||||
} catch ( MalformedTitleException $ex ) {
|
} catch ( MalformedTitleException $ex ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue