dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Suppress PhanUndeclaredProperty for custom properties and phan bugs"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBacklinksprop.php
diff --git
a/includes/api/ApiQueryBacklinksprop.php
b/includes/api/ApiQueryBacklinksprop.php
index
f04ac66
..
b8672ee
100644
(file)
--- a/
includes/api/ApiQueryBacklinksprop.php
+++ b/
includes/api/ApiQueryBacklinksprop.php
@@
-334,6
+334,12
@@
class ApiQueryBacklinksprop extends ApiQueryGeneratorBase {
$this->setContinue( $row, $sortby );
break;
}
$this->setContinue( $row, $sortby );
break;
}
+
+ if ( $miser_ns !== null && !in_array( $row->page_namespace, $miser_ns ) ) {
+ // Miser mode namespace check
+ continue;
+ }
+
$titles[] = Title::makeTitle( $row->page_namespace, $row->page_title );
}
$resultPageSet->populateFromTitles( $titles );
$titles[] = Title::makeTitle( $row->page_namespace, $row->page_title );
}
$resultPageSet->populateFromTitles( $titles );