fix check

This commit is contained in:
Diana 2015-08-20 10:30:22 +02:00
parent f4954f2111
commit ce61857d26

View file

@ -74,7 +74,7 @@ class PortableInfoboxDataService {
$parserOutput->getProperty( self::INFOBOXES_PROPERTY_NAME )
: false;
if ( !$parsedInfoboxes && $title->getNamespace()) {
if ( !$parsedInfoboxes && $title->getNamespace() === 10 ) {
$parser = new Parser();
$parserOptions = new ParserOptions();
$frame = $parser->getPreprocessor()->newFrame();