[MediaWiki-commits] [Gerrit] [FIX] Skip auto translations for -wiktionary mode - change (pywikibot/core)

2015-09-15 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/238435

Change subject: [FIX] Skip auto translations for -wiktionary mode
..

[FIX] Skip auto translations for -wiktionary mode

In -wiktionary mode, pages are only linked if they have the exact same title.
Currently, auto translation occurs for -autonomous mode even with -wiktionary.
This is wrong as it causes a link to a likely different title in another wiki.
In this patch, auto translation is disabled if -wiktionary is specified.

Bug: T108904
Change-Id: I62b1dc7981b257cf4e7162db9bc32bc01d1f44c0
---
M scripts/interwiki.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/35/238435/1

diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 5e51723..2ced49a 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -938,7 +938,7 @@
 links = titletranslate.translate(
 self.originPage,
 hints=hints,
-auto=globalvar.auto,
+auto=globalvar.auto and globalvar.same != 'wiktionary',
 removebrackets=globalvar.hintnobracket,
 site=site)
 
@@ -1254,7 +1254,7 @@
 links = titletranslate.translate(
 self.originPage,
 hints=[newhint],
-auto=globalvar.auto,
+auto=globalvar.auto and globalvar.same != 
'wiktionary',
 removebrackets=globalvar.hintnobracket)
 for link in links:
 page = pywikibot.Page(link)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62b1dc7981b257cf4e7162db9bc32bc01d1f44c0
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Changes are wrongly detected in the last langlink - change (pywikibot/core)

2015-09-14 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/238149

Change subject: Changes are wrongly detected in the last langlink
..

Changes are wrongly detected in the last langlink

This was first detected in cosmetic_changes.py, where pages not undergoing any
cosmetic changes were being updated, and the supposed changed was an unchanged
langlink (the last one). Then I realized this also happens in interwiki.py, but
only when changes are supposed to be made to the page.
After checking textlib.py, I noticed that removeLanguageLinks() returns a
stripped version of the text whereas replaceLanguageLinks() does not. So the
actual difference is related to blank space.
This explains why cosmetic_changes.py detects a change and updates the page,
but interwiki.py does not: interwiki.py does not rely in differences in the
final text to make an update, but when it does need to make an update, it
outputs that diff.

This patch strips the text in replaceLanguageLinks() before returning.

Change-Id: Icd7252be8dbccf3fb04a4b4a465f6b057e3a8e3a
---
M pywikibot/textlib.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/49/238149/1

diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 5c13101..bc93290 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -910,7 +910,7 @@
 newtext = s2.replace(marker, '').strip() + separator + s
 else:
 newtext = s2.replace(marker, '')
-return newtext
+return newtext.strip()
 
 
 def interwikiFormat(links, insite=None):

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd7252be8dbccf3fb04a4b4a465f6b057e3a8e3a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add _isempty caching attribute to Page - change (pywikibot/core)

2015-09-11 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237622

Change subject: Add _isempty caching attribute to Page
..

Add _isempty caching attribute to Page

Page.IsEmpty() is a somewhat heavy function and can be called several times for
the same page. interwiki.py, for instance, does that.
Adding the attribute _isempty allows caching of this value without the need for
re-evaluation.
The attribute is cleared when latest_revision_id is deleted for safety sake.

Change-Id: Ib68446a77f52f59440d9f50fef416b9bfdb39827
---
M pywikibot/page.py
1 file changed, 8 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/22/237622/1

diff --git a/pywikibot/page.py b/pywikibot/page.py
index 2ba2b0c..d0cd3a3 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -456,7 +456,7 @@
 # * Old exceptions do not apply any more
 # * Deleting _revid to force reload
 # * Deleting _redirtarget, that info is now obsolete.
-for attr in ['_redirtarget', '_getexception', '_revid']:
+for attr in ['_redirtarget', '_getexception', '_revid', '_isempty']:
 if hasattr(self, attr):
 delattr(self, attr)
 
@@ -738,10 +738,13 @@
 
 @rtype: bool
 """
-txt = self.get()
-txt = textlib.removeLanguageLinks(txt, site=self.site)
-txt = textlib.removeCategoryLinks(txt, site=self.site)
-return len(txt) < 4
+if not hasattr(self, "_isempty"):
+txt = self.get()
+txt = textlib.removeLanguageLinks(txt, site=self.site)
+txt = textlib.removeCategoryLinks(txt, site=self.site)
+self._isempty = len(txt) < 4
+
+return bool(self._isempty)
 
 def isTalkPage(self):
 """Return True if this page is in any talk namespace."""

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib68446a77f52f59440d9f50fef416b9bfdb39827
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Cache validLanguageLinks in removeLanguageLinks() - change (pywikibot/core)

2015-09-11 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237612

Change subject: Cache validLanguageLinks in removeLanguageLinks()
..

Cache validLanguageLinks in removeLanguageLinks()

textlib.removeLanguageLinks() uses a list from site.validLanguageLinks() twice
with two direct calls (without caching the result from the first call). Although
site.validLanguageLinks() doesn't make API calls it still manipulates lists and
takes a measurable amount of time (in my tests, about 50ms). As this is run per
page loaded by interwiki.py (twice as of now), it can have a significant impact
in bulk page processing, i.e., the first 50 pages will take 2.5 secs less.
In this patch, the result from the first call is simply cached and reused.

Change-Id: Ie8462010561b510729e04a54447063957bd975f4
---
M pywikibot/textlib.py
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/12/237612/1

diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 7cefc3d..fa0ffdd 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -793,11 +793,12 @@
 """
 if site is None:
 site = pywikibot.Site()
-if not site.validLanguageLinks():
+validlanglinks = site.validLanguageLinks()
+if not validlanglinks:
 return text
 # This regular expression will find every interwiki link, plus trailing
 # whitespace.
-languages = '|'.join(site.validLanguageLinks() +
+languages = '|'.join(validlanglinks +
  list(site.family.obsolete.keys()))
 interwikiR = re.compile(r'\[\[(%s)\s?:[^\[\]\n]*\]\][\s]*'
 % languages, re.IGNORECASE)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8462010561b510729e04a54447063957bd975f4
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] interwiki.py: check for category before emptiness - change (pywikibot/core)

2015-09-10 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237445

Change subject: interwiki.py: check for category before emptiness
..

interwiki.py: check for category before emptiness

Currently, page.isEmpty() requires parsing the whole page and doing some
removals (langlinks and categories) which takes up significant CPU time.
There are 2 checks which use page.isEmpty() as the starting condition
while having a much simpler second condition of just checking the page
namespace.
In this patch, I reversed the checks order. For categories, the time
taken in batchLoaded() is reduced to about 30% of the original time.

Change-Id: I00375411ca15658c22ae6bdb49588ec9f03b8c69
---
M scripts/interwiki.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/45/237445/1

diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 950f8f1..1ace2bc 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -1362,7 +1362,7 @@
 
 # must be behind the page.isRedirectPage() part
 # otherwise a redirect error would be raised
-elif page.isEmpty() and not page.isCategory():
+elif not page.isCategory() and page.isEmpty():
 globalvar.remove.append(unicode(page))
 if not globalvar.quiet:
 pywikibot.output(u"NOTE: %s is empty. Skipping." % page)
@@ -1453,7 +1453,7 @@
 'Try again with -restore.')
 sys.exit()
 iw = ()
-elif page.isEmpty() and not page.isCategory():
+elif not page.isCategory() and page.isEmpty():
 globalvar.remove.append(unicode(page))
 if not globalvar.quiet:
 pywikibot.output(u"NOTE: %s is empty; ignoring it and its 
interwiki links"

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00375411ca15658c22ae6bdb49588ec9f03b8c69
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] timestamp_tests.py: replace Timestamp.toISOformat - change (pywikibot/core)

2015-09-10 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237386

Change subject: timestamp_tests.py: replace Timestamp.toISOformat
..

timestamp_tests.py: replace Timestamp.toISOformat

Timestamp.toISOformat has been superseded by Timestamp.isoformat.
This patch simply replaces the obsolete function calls with the new one.

Change-Id: I9a93032aa418eb2598958c4d83f2b95ab27e0496
---
M tests/timestamp_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/86/237386/1

diff --git a/tests/timestamp_tests.py b/tests/timestamp_tests.py
index 82ad48a..5d7dc43 100644
--- a/tests/timestamp_tests.py
+++ b/tests/timestamp_tests.py
@@ -43,9 +43,9 @@
 def test_iso_format(self):
 """Test conversion from and to ISO format."""
 t1 = T.utcnow()
-ts1 = t1.toISOformat()
+ts1 = t1.isoformat()
 t2 = T.fromISOformat(ts1)
-ts2 = t2.toISOformat()
+ts2 = t2.isoformat()
 # MediaWiki ISO format doesn't include microseconds
 self.assertNotEqual(t1, t2)
 t1 = t1.replace(microsecond=0)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a93032aa418eb2598958c4d83f2b95ab27e0496
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] api.py: buffer 'pageprops' in QueryGenerator - change (pywikibot/core)

2015-09-09 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237113

Change subject: api.py: buffer 'pageprops' in QueryGenerator
..

api.py: buffer 'pageprops' in QueryGenerator

Currently, 'pageprops' is only cached if found in the response.
The API only returns this property if it's not empty, causing
repetitive queries if accessed multiple times.
This change caches 'pageprops' if it's requested, creating an
empty dictionary to use if it's not present in the response.

Change Iccb3a96b0248fdab0650edfda23d05ecec0dadbd already does
this for other properties such as templates and langlinks.

Change-Id: I30973b7479822ebc043f1d4db77522143e8c5652
---
M pywikibot/data/api.py
1 file changed, 7 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/13/237113/1

diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index 303ce1e..6c470a2 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -3210,8 +3210,13 @@
 coords.append(coord)
 page._coords = coords
 
-if "pageprops" in pagedict:
-page._pageprops = pagedict['pageprops']
+if 'pageprops' in props:
+if not hasattr(page, '_pageprops'):
+page._pageprops = {}
+
+page._pageprops.update(pagedict.get('pageprops', {}))
+else:
+assert 'pageprops' not in pagedict
 
 if 'preload' in pagedict:
 page._preloadedtext = pagedict['preload']

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I30973b7479822ebc043f1d4db77522143e8c5652
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Performance improvement for interwiki.py - change (pywikibot/core)

2015-09-09 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237130

Change subject: Performance improvement for interwiki.py
..

Performance improvement for interwiki.py

interwiki.py makes intensive use of 'pageprops' in order to detect
disambiguation pages. As of now, a separate request is issued for
each page being processed which slows down the processing very
significatly.
This change allows optionally requesting 'pageprops' in site.preloadpages
and changes interwiki.py to make use of it. For full performance, this
requires change id I30973b7479822ebc043f1d4db77522143e8c5652 .

Change-Id: I0b247bfb588caf67cf4799b6ee566e39552717ac
---
M pywikibot/site.py
M scripts/interwiki.py
2 files changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/30/237130/1

diff --git a/pywikibot/site.py b/pywikibot/site.py
index 5e6dcc2..9656f6b 100644
--- a/pywikibot/site.py
+++ b/pywikibot/site.py
@@ -2964,7 +2964,7 @@
 return page._redirtarget
 
 def preloadpages(self, pagelist, groupsize=50, templates=False,
- langlinks=False):
+ langlinks=False, pageprops=False):
 """Return a generator to a list of preloaded pages.
 
 Note that [at least in current implementation] pages may be iterated
@@ -2987,6 +2987,8 @@
 props += '|templates'
 if langlinks:
 props += '|langlinks'
+if pageprops:
+props += '|pageprops'
 rvgen = api.PropertyGenerator(props, site=self)
 rvgen.set_maximum_items(-1)  # suppress use of "rvlimit" parameter
 if len(pageids) == len(sublist):
diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 258b7ca..7de3f3a 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -2319,7 +2319,7 @@
 pywikibot.output(u"NOTE: Nothing left to do 2")
 return False
 # Get the content of the assembled list in one blow
-gen = site.preloadpages(pageGroup, templates=True, langlinks=True)
+gen = site.preloadpages(pageGroup, templates=True, langlinks=True, 
pageprops = True)
 for page in gen:
 # we don't want to do anything with them now. The
 # page contents will be read via the Subject class.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b247bfb588caf67cf4799b6ee566e39552717ac
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] T109077 Performance decreased saving pages for sites with n... - change (pywikibot/core)

2015-08-14 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231577

Change subject: T109077  Performance decreased saving pages for sites with 
non-alphabetical code interwiki sort (interwiki_putfirst specified)
..

T109077  Performance decreased saving pages for sites with non-alphabetical 
code interwiki sort (interwiki_putfirst specified)

Change-Id: I97e8ecf44c3e8099113068c343f35af94bc02e84
---
M pywikibot/textlib.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/77/231577/1

diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 77454fc..bd7adbd 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -962,8 +962,9 @@
 if putfirst:
 # In this case I might have to change the order
 firstsites = []
+validlanglinks = insite.validLanguageLinks()
 for code in putfirst:
-if code in insite.validLanguageLinks():
+if code in validlanglinks:
 site = insite.getSite(code=code)
 if site in sites:
 del sites[sites.index(site)]

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I97e8ecf44c3e8099113068c343f35af94bc02e84
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] T108838 '-ignore' parameter throws exception in interwiki.py... - change (pywikibot/core)

2015-08-14 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231506

Change subject: T108838 '-ignore' parameter throws exception in interwiki.py 
Change-Id: I2454d2a30efde7bd30a61fd9b2e85e6763f88daf
..

T108838 '-ignore' parameter throws exception in interwiki.py
Change-Id: I2454d2a30efde7bd30a61fd9b2e85e6763f88daf
---
M scripts/interwiki.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/06/231506/1

diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index f6b4c5b..6b57502 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -584,7 +584,7 @@
 elif arg.startswith('-neverlink:'):
 self.neverlink += arg[11:].split(",")
 elif arg.startswith('-ignore:'):
-self.ignore += [pywikibot.Page(None, p) for p in 
arg[8:].split(",")]
+self.ignore += [pywikibot.Page(pywikibot.Link(p)) for p in 
arg[8:].split(",")]
 elif arg.startswith('-ignorefile:'):
 ignorefile = arg[12:]
 ignorePageGen = pagegenerators.TextfilePageGenerator(ignorefile)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2454d2a30efde7bd30a61fd9b2e85e6763f88daf
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Fix for bug T74667 - change (pywikibot/compat)

2014-12-02 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/176910

Change subject: Fix for bug T74667
..

Fix for bug T74667

Change-Id: I828d412cd50a6d5c15ef45610400c3a6f1c6a384
---
M wikipedia.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/compat 
refs/changes/10/176910/1

diff --git a/wikipedia.py b/wikipedia.py
index 868688d..021afad 100644
--- a/wikipedia.py
+++ b/wikipedia.py
@@ -8561,7 +8561,8 @@
 'list':   'allpages',
 'aplimit': config.special_page_limit,
 'apnamespace': namespace,
-'apfrom':  start
+'apfrom':  start,
+'rawcontinue': ''
 }
 
 if not includeredirects:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I828d412cd50a6d5c15ef45610400c3a6f1c6a384
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Bug 71115: Mark Zhuang wiktionary (za) as obsolete (compat) - change (pywikibot/compat)

2014-10-07 Thread Malafaya (Code Review)
Malafaya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/165229

Change subject: Bug 71115: Mark Zhuang wiktionary (za) as obsolete (compat)
..

Bug 71115: Mark Zhuang wiktionary (za) as obsolete (compat)

Change-Id: I8190669637128cd50bdee18ab8979d72e6ca0f0b
---
M families/wiktionary_family.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/compat 
refs/changes/29/165229/1

diff --git a/families/wiktionary_family.py b/families/wiktionary_family.py
index 25a036d..341d9a1 100644
--- a/families/wiktionary_family.py
+++ b/families/wiktionary_family.py
@@ -29,7 +29,7 @@
 'ang', 'mn', 'co', 'tg', 'gn', 'mr', 'ug', 'csb', 'st', 'so', 'ia',
 'sd', 'si', 'vec', 'kl', 'an', 'jbo', 'ln', 'fo', 'bn', 'zu', 'gv',
 'kw', 'gu', 'rw', 'om', 'na', 'qu', 'ss', 'ie', 'mt', 'pa',
-'roa-rup', 'iu', 'su', 'am', 'mi', 'za', 'ne', 'gd', 'tpi', 'yi',
+'roa-rup', 'iu', 'su', 'am', 'mi', 'ne', 'gd', 'tpi', 'yi',
 'ti', 'sg', 'tn', 'dv', 'ts', 'ha', 'ks', 'ay',
 ]
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8190669637128cd50bdee18ab8979d72e6ca0f0b
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Malafaya 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits