jenkins-bot has submitted this change and it was merged.

Change subject: Family attribute namespacesWithSubpage is unused
......................................................................


Family attribute namespacesWithSubpage is unused

A relic from compat

Bug: T89451
Change-Id: I42a119c736e7c6bdb494c2b22c18254289ca5a72
---
M pywikibot/family.py
1 file changed, 0 insertions(+), 4 deletions(-)

Approvals:
  John Vandenberg: Looks good to me, approved
  Ricordisamoa: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/pywikibot/family.py b/pywikibot/family.py
index 7343d37..6c2e071 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -132,8 +132,6 @@
         self.fyinterwiki.sort(key=lambda x:
                               x.replace("y", "i") + x.count("y") * "!")
 
-        self.namespacesWithSubpage = [2] + list(range(1, 16, 2))
-
         # letters that can follow a wikilink and are regarded as part of
         # this link
         # This depends on the linktrail setting in LanguageXx.php and on
@@ -1452,8 +1450,6 @@
 
     def __init__(self):
         super(WikimediaFamily, self).__init__()
-
-        self.namespacesWithSubpage.extend([4, 12])
 
         # CentralAuth cross avaliable projects.
         self.cross_projects = [

-- 
To view, visit https://gerrit.wikimedia.org/r/219610
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I42a119c736e7c6bdb494c2b22c18254289ca5a72
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Ricordisamoa <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to