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

Change subject: Update WOW subdomains
......................................................................


Update WOW subdomains

Several WOW subdomain overrides are not necessary
en: www.wowwiki.com and en.wow.wikia.com redirect to wowwiki.wikia.com
da: da.wowwiki.com and da.wow.wikia.com redirect to da.wowwiki.wikia.com
fr: fr.wowwiki.com and fr.wow.wikia.com redirect to fr.wowwiki.wikia.com
no: no.wowwiki.com and no.wow.wikia.com redirect to no.wowwiki.wikia.com

Use the default <lang>.wow.wikia.com for all of them.

Add some information about the remaining override for 'sv'.

Change-Id: I2511dc1487518dc364e50af7597471fb2f5f763b
---
M pywikibot/families/wowwiki_family.py
1 file changed, 3 insertions(+), 7 deletions(-)

Approvals:
  XZise: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/families/wowwiki_family.py 
b/pywikibot/families/wowwiki_family.py
index f9e4dba..75d2117 100644
--- a/pywikibot/families/wowwiki_family.py
+++ b/pywikibot/families/wowwiki_family.py
@@ -26,13 +26,9 @@
     def __init__(self):
         """Constructor."""
         super(Family, self).__init__()
-        self.langs.update({
-            'en': 'www.wowwiki.com',
-            'da': 'da.wowwiki.com',
-            'fr': 'fr.wowwiki.com',
-            'no': 'no.wowwiki.com',
-            'sv': 'sv.warcraft.wikia.com',
-        })
+        # Override 'sv'.  http://sv.wow.wikia.com is an empty wiki.
+        # The interwikimap in this family map 'sv' to this empty wiki.
+        self.langs['sv'] = 'sv.warcraft.wikia.com'
 
         self.disambiguationTemplates['en'] = ['disambig', 'disambig/quest',
                                               'disambig/quest2',

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

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

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

Reply via email to