Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/72995
Change subject: Exclude redirects from Special:DisambiguationPageLinks
......................................................................
Exclude redirects from Special:DisambiguationPageLinks
Change-Id: I7e3252b8e7aa8ec9bcd264280c8056dd36e03b40
---
M specials/SpecialDisambiguationPageLinks.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Disambiguator
refs/changes/95/72995/1
diff --git a/specials/SpecialDisambiguationPageLinks.php
b/specials/SpecialDisambiguationPageLinks.php
index 8bc5364..de4cdc1 100644
--- a/specials/SpecialDisambiguationPageLinks.php
+++ b/specials/SpecialDisambiguationPageLinks.php
@@ -47,7 +47,8 @@
'pl_namespace = p1.page_namespace',
'pl_title = p1.page_title',
'p2.page_id = pl_from',
- 'p2.page_namespace' =>
MWNamespace::getContentNamespaces()
+ 'p2.page_namespace' =>
MWNamespace::getContentNamespaces(),
+ 'p2.page_is_redirect != 1'
)
);
}
--
To view, visit https://gerrit.wikimedia.org/r/72995
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e3252b8e7aa8ec9bcd264280c8056dd36e03b40
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Disambiguator
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits