From ce61857d26fe72a7093e1e4a1e50ba71591b0c7d Mon Sep 17 00:00:00 2001 From: Diana Date: Thu, 20 Aug 2015 10:30:22 +0200 Subject: [PATCH] fix check --- services/PortableInfoboxDataService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/PortableInfoboxDataService.class.php b/services/PortableInfoboxDataService.class.php index 985ac32..dc3853b 100644 --- a/services/PortableInfoboxDataService.class.php +++ b/services/PortableInfoboxDataService.class.php @@ -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();