MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/86726
Change subject: Fix stupid condition
......................................................................
Fix stupid condition
Change-Id: I7d7264559516dcc8676cabaf291399f912362d28
---
M GeoDataHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GeoData
refs/changes/26/86726/1
diff --git a/GeoDataHooks.php b/GeoDataHooks.php
index 3bac0c3..3524474 100644
--- a/GeoDataHooks.php
+++ b/GeoDataHooks.php
@@ -237,7 +237,7 @@
$wp = WikiPage::factory( $file->getTitle() );
$po = new ParserOptions();
$pout = $wp->getParserOutput( $po );
- if ( $pout ) {
+ if ( !$pout ) {
wfDebugLog( 'mobile', __METHOD__ . "(): no parser
output returned for file {$file->getName()}" );
$lu = new LinksUpdate( $file->getTitle(), $pout );
self::onLinksUpdate( $lu );
--
To view, visit https://gerrit.wikimedia.org/r/86726
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d7264559516dcc8676cabaf291399f912362d28
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits