mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
fix check
This commit is contained in:
parent
f4954f2111
commit
ce61857d26
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue