jenkins-bot has submitted this change and it was merged.
Change subject: Force anarchopedia to be MediaWiki v1.14
......................................................................
Force anarchopedia to be MediaWiki v1.14
Anarchopedia is v1.14alpha, and worked correctly
with Pywikibot except for minor quirks.
Workaround version comparisons preventing v1.14alpha
being adequate for v1.14 features.
Bug: T115441
Change-Id: I1bf854da4f3a49c00002a421c2be21b28aaf5390
---
M pywikibot/families/anarchopedia_family.py
1 file changed, 2 insertions(+), 4 deletions(-)
Approvals:
John Vandenberg: Looks good to me, but someone else must approve
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/families/anarchopedia_family.py
b/pywikibot/families/anarchopedia_family.py
index 07ce1e2..bb793ad 100644
--- a/pywikibot/families/anarchopedia_family.py
+++ b/pywikibot/families/anarchopedia_family.py
@@ -5,7 +5,6 @@
__version__ = '$Id$'
from pywikibot import family
-from pywikibot.tools import deprecated
# The Anarchopedia family
@@ -73,10 +72,9 @@
self.nocapitalize = list(self.langs.keys())
- @deprecated('APISite.version()')
- def version(self, code):
+ def force_version(self, code):
"""Return the version for this family."""
- return "1.14alpha"
+ return '1.14'
def scriptpath(self, code):
"""Return the script path for this family."""
--
To view, visit
https://gerrit.wikimedia.org/r/246173
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1bf854da4f3a49c00002a421c2be21b28aaf5390
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>