[Wikidata-bugs] [Maniphest] [Commented On] T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo

2019-04-27 Thread Carlb
Carlb added a comment.


  (...and, as the added "print" statements are for debug only, they may be 
omitted.)

TASK DETAIL
  https://phabricator.wikimedia.org/T221556

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Ladsgroup, Xqt, Aklapper, pywikibot-bugs-list, Carlb, alaa_wmde, 
DannyS712, Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, 
MayS, LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo

2019-04-27 Thread Carlb
Carlb added a comment.


  OK, so what happened?
  
  - The script retrieved [[pt:*]] and found a bunch of interwikis on that page: 
[[en:*]] [[`~:*]] [[de:Asterix]] [[fr:Astérix]] [[it:Asterix (fumetto)]] 
[[ja:*]] [[nl:Asterix]] [[pl:Asterix]]
  - As [[pt:*]] already has a Wikibase item, it tried to follow each of the 
interwikis on the page to see if they could be merged to the existing item
  - self.try_to_merge(item) calls self.get_items() to retrieve the Wikibase 
Q-item number for every one of those other pages. Presumably, if it comes back 
with more than one Q-item number, that's a conflicting link (as appeared in the 
"Weird Al" Yankovic page example a few lines earlier) so the script will skip 
those. That seems to be the only reason it's retrieving all those items.
  - get_items() finds no repository at all on fr:uncyc (which is true, because 
it's an externally-hosted project). It should just treat that as their being no 
Q-item linked from the French page, but it doesn't do that... it fails to 
handle the error and exits.
  
  So now what? If scripts/interwikidata.py lines 156-169 look like this:
  
def get_items(self):
"""Return all items of pages linked through the interwiki."""
wd_data = set()
for iw_page in self.iwlangs.values():
if not iw_page.exists():
warning('Interwiki {} does not exist, skipping...'
.format(iw_page.title(as_link=True)))
continue
try:
wd_data.add(pywikibot.ItemPage.fromPage(iw_page))
except pywikibot.NoPage:
output('Interwiki {} does not have an item'
   .format(iw_page.title(as_link=True)))
return wd_data
  
  then there's a handler for NoPage but not one for an externally-hosted 
project having no direct access to the repo.
  
  Change that routine to this and the script will run:
  
def get_items(self):
"""Return all items of pages linked through the interwiki."""
wd_data = set()
print 'get_items: ',self.iwlangs,' : ' ,self.iwlangs.values()
for iw_page in self.iwlangs.values():
if not iw_page.exists():
warning('Interwiki {} does not exist, skipping...'
.format(iw_page.title(as_link=True)))
continue
try:
print ('- wd_data ',wd_data)
print ('- adding ',pywikibot.ItemPage.fromPage(iw_page))
wd_data.add(pywikibot.ItemPage.fromPage(iw_page))
except pywikibot.NoPage:
output('Interwiki {} does not have an item'
   .format(iw_page.title(as_link=True)))
except pywikibot.WikiBaseError:
output('Site {} has no Wikibase repository'
   .format(iw_page.title(as_link=True)))
print ('wd_data: ',wd_data)
return wd_data
  
  as a WikiBaseError (which will occur if a wiki has no repo access) will be 
treated the same way as the page being missing or containing no Wikibase link.

TASK DETAIL
  https://phabricator.wikimedia.org/T221556

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Ladsgroup, Xqt, Aklapper, pywikibot-bugs-list, Carlb, alaa_wmde, 
DannyS712, Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, 
MayS, LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo

2019-04-27 Thread Carlb
Carlb added a comment.


  This is specific to Pywikibot-interwikidata.py, which requires your 'bot run 
on a "home" wiki with access to a Wikidata-style (Wikibase) repository. You 
can't do this on cs:uncyc but it should be possible on pt:uncyc (as one 
example). OK, here goes:
  
$ wget https://tools.wmflabs.org/pywikibot/core_stable.zip
$ unzip core_stable.zip
$ cd core_stable
$ python pwb.py generate_family_file
   Please insert URL to wiki: https://data.uncyclomedia.org
   Please insert a short name (eg: freeciv): uncyclopedia
   Generating family file from https://data.uncyclomedia.org
   ==
   API url: https://data.uncyclomedia.org/api.php
   MediaWiki version: 1.31.1
   ==
   Determining other languages...af ang ar ast bar be bg bn bs ca cmn cs cy 
da de dlm el en en-gb eo es et fa fi fo fr fy ga gl got grc he hr hu hy id ie 
io is it ja jv ka km ko kw la lb lfn li lo lt lv mg mk mn mo ms mwl nap nds nl 
nn no oc olb pl pt pt-br ro ru rue sco simple sk sl sr su sv th tl tlh tr uk vi 
vls xh yi yue zea zh zh-cn zh-hk zh-tw
   There are 95 languages available. Do you want to generate interwiki 
links? This might take a long time. ([y]es/[N]o/[e]dit) 
   Writing 
/var/www/hymie/test_bot/pywikibot/families/uncyclopedia_family.py... 
  
  OK, it created the family file. Now try to run the interwikidata bot:
  
$ python pwb.py interwikidata -create -merge -start
  NOTE: 'user-config.py' was not found!  Please follow the prompts to 
create it:  You can abort at any time by pressing ctrl-c
   1: commons
   2: i18n
   3: incubator
  ...
  13: uncyclopedia
  ...
  Select family of sites we are working on, just enter the number or name 
(default: wikipedia): 13
  This is the list of known languages: af, ang, ar, ast, bar, be, bg, bn, 
bs, ca, cmn, cs, cy, da, de, dlm, el, en, en-gb, eo, es, et, fa, fi, fo, fr, 
fy, ga, gl, grc, he, hr, hu, hy, id, ie, io, is, it, ja, jv, ka, km, ko, kw, 
la, lb, lfn, li, lo, lt, lv, mg, mk, mn, mo, ms, mwl, nap, nds, nl, nn, no, oc, 
olb, pl, pt, pt-br, ro, ru, rue, sco, simple, sk, sl, sr, su, sv, th, tl, tlh, 
tr, uk, vi, vls, xh, yi, yue, zea, zh, zh-cn, zh-hk, zh-tw
  The language code of the site we're working on (default: en): pt
  Username on pt:uncyclopedia: Hymie le robot
  Do you want to add any other projects? ([y]es, [N]o): 
  
  OK, it created user-config.py ... now try to run the bot (again):
  
$ python pwb.py interwikidata -create -merge -start
WARNING: Site "uncyclopedia:pt" supports wikibase at 
"http://data.uncyclomedia.org//index.php;, but creation failed: Unknown URL 
'http://data.uncyclomedia.org//index.php'..
  
  Uh, oh. Maybe it doesn't like this (from pywikibot/site.py line 2814):
  
url = data['base'] + data['scriptpath'] + '/index.php'
  
  so I shall change it to:
  
url = data['base'] + data['scriptpath'] + 'index.php'
  
  to get rid of that //index.php with the double-slash.
  
  I try the 'bot again:
  
$ python pwb.py interwikidata -create -merge -start
  Retrieving 50 pages from uncyclopedia:pt.
  >>> "Groovy Guy" Russell <<<
  No interlanguagelinks on [["Groovy Guy" Russell]]
  >>> "Você foi banido da Desciclopédia" na página de usuário <<<
  No interlanguagelinks on [["Você foi banido da Desciclopédia" na página 
de usuário]]
  >>> "Weird Al" Yankovic <<<
  WARNING: [getLanguageLinks] 2 or more interwiki links point to site 
uncyclopedia:da.
  WARNING: [getLanguageLinks] 2 or more interwiki links point to site 
uncyclopedia:en.
  WARNING: [getLanguageLinks] 2 or more interwiki links point to site 
uncyclopedia:it.
  WARNING: [getLanguageLinks] 2 or more interwiki links point to site 
uncyclopedia:sv.
  WARNING: [getLanguageLinks] 2 or more interwiki links point to site 
uncyclopedia:tr.
  
  and it runs for a while (at one point asking to log me into uncyclopedia:en 
for some reason), until eventually:
  
>>> ( ͡° ͜ʖ ͡°) <<<
No interlanguagelinks on [[( ͡° ͜ʖ ͡°)]]

>>> * <<<
13 pages read
0 pages written
Execution time: 110 seconds
Read operation time: 8 seconds
Script terminated by exception:
ERROR: WikiBaseError: uncyclopedia:fr has no data repository
Traceback (most recent call last):
  File "pwb.py", line 250, in 
if not main():
  File "pwb.py", line 243, in main
run_python_file(filename, [filename] + args, argvu, file_package)
  File "pwb.py", line 95, in run_python_file
main_mod.__dict__)
  File "./scripts/interwikidata.py", line 246, in 
main()
  File "./scripts/interwikidata.py", line 239, in main
bot.run()
  File "/var/www/hymie/test_bot/pywikibot/bot.py", line 1508, in run
self.treat(page)
  File "/var/www/hymie/test_bot/pywikibot/bot.py", line 1735, in treat

[Wikidata-bugs] [Maniphest] [Commented On] T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  Yeah, steps to reproduce would be handy as generate_family_file works well 
and the generated family file as well (tested on cs:uncy)

TASK DETAIL
  https://phabricator.wikimedia.org/T221556

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Ladsgroup, Xqt, Aklapper, pywikibot-bugs-list, Carlb, alaa_wmde, 
DannyS712, Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, 
MayS, LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  Okay, now I see it more clearly and I'm more confident in recommending what I 
said above:
  
  In T222021#5142109 , 
@Dvorapa wrote:
  
  > a) add a Uncy family file into the Pywikibot library, where you can rewrite 
the site.py's dbName by yours dbName (GlobalID) easily or b) improve 
generate_family_files.py allowing to add some dbName corrections
  
  
  Because I don't think we need a separate GlobalID and wikiID as Pywikibot 
uses it just as a unique identifier and GlobalID
  
  BTW are wikiID/GlobalID the official names? Or why do we call it dbName? What 
would be best name for unique identifier/GlobalID in Pywikibot?

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  And I also recommend to link dbName docstring to MediaWiki GlobalID too.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Carlb
Carlb added a comment.


  WikiID is useful internally, within that one MediaWiki instance, as it's 
unique within one database server. It's not useful to an external process (such 
as interwikidata.py) which has no direct connection to the SQL database.
  
  It looks best, for this application, to get GlobalID and work with that - as 
that's what we ultimately have to submit as data to the repository.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  So it seems Pywikibot has no option to get GlobalID? Then the only option is 
to presume it is same as wikiID and allow users to specify it (rewrite it) in 
the family file. What's wikiID good for anyway?

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Carlb
Carlb added a comment.


  T221550  says that there is no 
GlobalID available from API because there is no support for GlobalID in the 
core code.
  
  According to that task, "Anomie: As far as MediaWiki-API is concerned, this 
is blocked on someone moving this "global ID" concept into core and probably 
having wfWikiID() itself return that ID. If that were done, the API would 
follow naturally. I'd recommend you see if someone from Wikidata would be 
interested in doing that move."
  
  Hence the need to get globalID from a translation table or a config file. 
It's not in the API and it's not in MW core.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  Okay, what is the way to get GlobalID from API?

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Carlb
Carlb added a comment.


  Yes. Pywikibot blindly trusts that whatever wikiID is supplied by the remote 
wiki's API is indeed going to exactly match the GlobalID.
  
  That may well be true at WMF, but a third-party wiki could be naming their 
local server's databases just about anything.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a project: Pywikibot-Wikidata.
Dvorapa added a comment.


  Thank you for your explanation. You want to say that Pywikibot does not 
distinguish between wikiID and GlobalID?

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, 
Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Carlb
Carlb added a comment.


  The GlobalID is the name of the wiki, as it appears in Wikidata. For 
instance, "enwiki" is the English-language Wikipedia. A Wikidata entry with the 
individual GlobalID for each wiki looks like https://www.wikidata.org/wiki/Q2736
  
Wikipedia (204 entries):

  abwiki Ашьапылампыл
  acewiki Sipak bhan
  adywiki Лъэпэеу
  afwiki Sokker
  alswiki Fussball
  amwiki እግር ኳስ
  angwiki Gyldfōtþōðer
  anwiki Fútbol
  arwiki كرة القدم
  arzwiki كورة قدم
  astwiki Fútbol
  [...]
  
  These are the prefixes being submitted to the Wikibase repository whenever an 
interlanguage link is added. If you view a Q-item on Wikidata (and turn 
JavaScript off) these tags are visible on all the language links on every 
record.
  
  If the bot is generating interwikidata links, this is the prefix it needs.
  
  The WikiID, on the other hand, is just an item returned to us by the API on 
each individual wiki giving the internal name on that server. For instance, 
https://en.uncyclopedia.co/w/api.php?format=json=siteinfo=query 
reports:
  
server  "//en.uncyclopedia.co"
servername  "en.uncyclopedia.co"
wikiid  "uncy_en"
  
  That WikiID is hardcoded to the database name (or database-prefix name) on 
the server. There's no way to change it, short of renaming the underlying 
server's database or changing API/core code. Unless we have a direct database 
connection (such as the replica databases on wmflabs) it's pretty much 
meaningless to us. We need the GlobalID, because that's what will be fed as 
data to Wikibase.
  
  WMF names its server databases to match the GlobalID, but on a third-party 
site this field might contain anything. Do we care what SQL names the database 
on the remote server? We just want to know what prefixes to submit to create 
the Q-item.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Dvorapa
Dvorapa added a comment.


  Okay, I'm not sure if I understand it correctly, I also don't really know, 
what GlobalID and wikiID is and what's the difference between them (could you 
please explain briefly?). From Pywikibot side, we can do two things I think: a) 
add a Uncy family file into the Pywikibot library, where you can rewrite the 
site.py's dbName by yours dbName easily or b) improve generate_family_files.py 
allowing to add some dbName corrections
  
  In T221556  we are still waiting 
for some steps to reproduce to find, where in code the issue is located

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, 
Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, 
LawExplorer, Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, 
mys_721tx, Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Changed Subscribers] T222020: Add monolingual language code clc (Tsilhqotʹin)

2019-04-27 Thread Mbch331
Mbch331 added subscribers: GerardM, jhsoby, Mbch331.
Mbch331 added a comment.


  @GerardM @jhsoby What's the opinion of the LangCom? I can see it's an 
official ISO 693-3 code for Chilcotin/Tsilhqot’in

TASK DETAIL
  https://phabricator.wikimedia.org/T222020

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mbch331
Cc: Mbch331, jhsoby, GerardM, Aklapper, OwenBlacker, alaa_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Wikidata-bugs, aude
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID

2019-04-27 Thread Carlb
Carlb updated the task description.
Carlb added a project: Wikidata.

TASK DETAIL
  https://phabricator.wikimedia.org/T222021

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Carlb
Cc: Aklapper, revi, pywikibot-bugs-list, Carlb, alaa_wmde, DannyS712, Nandana, 
Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, 
Mdupont, JJMC89, _jensen, rosalieper, Avicennasis, Thibaut120094, mys_721tx, 
Wikidata-bugs, aude, jayvdb, Dalba, Masti, Alchimista, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T222020: Add monolingual language code clc (Tsilhqotʹin)

2019-04-27 Thread OwenBlacker
OwenBlacker created this task.
OwenBlacker added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Please add the language code clc (Tsilhqotʹin) to the list of language codes 
supported for monolingual text values.
  
  - The language code: //clc//
  - Language name in the language itself or English: //Tsilhqotʹin//
  - The used script, if not obvious: //Latin//
  - Where and when the language was or is used: //In use by the Tsilhqotʹin 
people, in Canada//
  - The Wikidata item id: Q28535 
  - To use for P1559  (//name in 
native language//) on Q27733746  
(//Helen Haig-Brown//)

TASK DETAIL
  https://phabricator.wikimedia.org/T222020

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: OwenBlacker
Cc: Aklapper, OwenBlacker, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T165648: Add monolingual language codes nrf-gg (for Guernésiais), nrf-je (for Jèrriais)

2019-04-27 Thread gerritbot
gerritbot added a comment.


  Change 358231 had a related patch set uploaded (by Fomafix; owner: Amire80):
  [mediawiki/core@master] Define nrm as a deprecated language code redirecting 
to nrf
  
  https://gerrit.wikimedia.org/r/358231

TASK DETAIL
  https://phabricator.wikimedia.org/T165648

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Mbch331, MF-Warburg, Liuxinyu970226, Lydia_Pintscher, Verdy_p, gerritbot, 
Amire80, jhsoby, GerardM, Baba_Tabita, Aklapper, Esc3300, alaa_wmde, 
joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, 
_jensen, rosalieper, Wikidata-bugs, aude
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T221127: URL shortener widget is hard to copy

2019-04-27 Thread Jheald
Jheald added a comment.


  I am finding this too.
  
  The short link for the query itself works fine; but the short link to the 
query results is different -- if I highlight the link, preparing to ctrl-C 
ctrl-V copy it, as soon as I lift my finger off the trackpad the pop-up closes 
itself.  I can only copy the short link if I hit ctrl-C on the keyboard while 
my finger is still on the trackpad to highlight it.  (Using Chrome version 73 
on Windows 10).

TASK DETAIL
  https://phabricator.wikimedia.org/T221127

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jheald
Cc: Jheald, Smalyshev, Ladsgroup, Nemo_bis, Aklapper, alaa_wmde, Nandana, Lahi, 
Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, Salgo60, _jensen, rosalieper, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T165648: Add monolingual language codes nrf-gg (for Guernésiais), nrf-je (for Jèrriais)

2019-04-27 Thread gerritbot
gerritbot added a comment.


  Change 468050 had a related patch set uploaded (by Fomafix; owner: Fomafix):
  [mediawiki/core@master] Step 1 of renaming the language code for Norman from 
nrm to nrf
  
  https://gerrit.wikimedia.org/r/468050

TASK DETAIL
  https://phabricator.wikimedia.org/T165648

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Mbch331, MF-Warburg, Liuxinyu970226, Lydia_Pintscher, Verdy_p, gerritbot, 
Amire80, jhsoby, GerardM, Baba_Tabita, Aklapper, Esc3300, alaa_wmde, 
joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, 
_jensen, rosalieper, Wikidata-bugs, aude
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Changed Project Column] T218229: Wikidata gui grammatical features field no longer focus second entry

2019-04-27 Thread Volker_E
Volker_E moved this task from Backlog to OOUI-0.31.5 on the OOUI board.
Volker_E edited projects, added OOUI (OOUI-0.31.5); removed OOUI.

TASK DETAIL
  https://phabricator.wikimedia.org/T218229

WORKBOARD
  https://phabricator.wikimedia.org/project/board/697/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Volker_E
Cc: Lydia_Pintscher, hoo, Jdforrester-WMF, Esanders, Mooeypoo, alaa_wmde, 
Fnielsen, Aklapper, Viztor, Nandana, Mringgaard, Hagarshilo, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, ferdbold, 
Wikidata-bugs, aude, Gryllida, Ricordisamoa, Darkdadaah, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs