DD063520 reassigned this task from DD063520 to Aklapper.
DD063520 added a comment.
Sorry, I'm not able to perform this task. I was not even aware it was
assigned to me.
TASK DETAIL
https://phabricator.wikimedia.org/T119226
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings
DD063520 added a comment.
Sorry, I'm not able to perform this task. I was not even aware it was
assigned to me.
TASK DETAIL
https://phabricator.wikimedia.org/T119226
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Addshore
DD063520 added a comment.
ok, working! thank you!
TASK DETAIL
https://phabricator.wikimedia.org/T270949
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, DD063520
Cc: zhuyifei1999, Huji, Xqt, pywikibot-bugs-list, Dhayanthdharma, DD063520
DD063520 added a comment.
II used this patch:
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/668661
and I think it is rather not working
WARNING: No user is logged in on site my:my
could be an error on my side but I would not know which one ...
TASK DETAIL
https
DD063520 added a comment.
@Xqt: so one bug is gone, i.e. the configuration file is taken into account:
user-config.py looks like
from pywikibot.config2 import usernames, register_families_folder
user_families_paths = ['./config']
mylang = "my"
fa
DD063520 added a comment.
If you explain me how to test it, I will do. How to I download the code with
the latest commits?
TASK DETAIL
https://phabricator.wikimedia.org/T270949
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, DD063520
Cc
DD063520 added a comment.
@Xqt: it is this commit -e
git+https://github.com/wikimedia/pywikibot.git@083ed9341881f562167e732974df35ee051ba994#egg=pywikibot,
so it is not even a version
TASK DETAIL
https://phabricator.wikimedia.org/T270949
EMAIL PREFERENCES
https
DD063520 added a comment.
Thank you
TASK DETAIL
https://phabricator.wikimedia.org/T270949
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Xqt, pywikibot-bugs-list, Dhayanthdharma, DD063520, Aklapper, Jyoo1011,
JohnsonLee01, SHEKH
DD063520 added a project: Pywikibot.
Restricted Application added a subscriber: pywikibot-bugs-list.
TASK DETAIL
https://phabricator.wikimedia.org/T270949
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, DD063520
Cc: pywikibot-bugs-list
DD063520 claimed this task.
DD063520 added a comment.
No, problem there is still time to do it ; ) . of I see what
@thiemowmde means. But I'm not sure if I can implement this. The problem is
that there can be precision problems if it is done as I propose, right?
TASK DETAIL
DD063520 added a comment.
Ok,
I think I found a patch. We can changes this
https://github.com/wikimedia/pywikibot/blob/2dfe67426c22c3c11cf9be0eabcf538f8848bd48/pywikibot/__init__.py#L847:
def toWikibase(self):
"""
Convert the data t
DD063520 added a comment.
Restricted Application added a subscriber: Liuxinyu970226.
Hello,
I'm also encountering this. I also saw that it is related to this:
https://phabricator.wikimedia.org/T204331
Can we make a pywikibot patch? I tried to make one, but not there yet
DD063520 added a comment.
Hi,
I'm encountering the same problem. I also have seen that this is related to
this:
https://phabricator.wikimedia.org/T119226
D063520
TASK DETAIL
https://phabricator.wikimedia.org/T204331
EMAIL PREFERENCES
https://phabricator.wikimedia.org
DD063520 added a comment.
Cool thank you!
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: D063520, DD063520
Cc: Mpaa, Addshore, Xqt, Aklapper, DD063520, pywikibot-bugs-list, Zkhalido,
Hook696
DD063520 added a comment.
Ahhh, my mistake, ok, fine for me. I saw that you opened this:
https://phabricator.wikimedia.org/T238405
So for me we can close this one.
Thank you very much for the help!
TASK DETAIL
https://phabricator.wikimedia.org/T238404
EMAIL PREFERENCES
https
DD063520 added a comment.
Mhmmm on github I cannot find the "ban" language in the wikipedia_family:
https://github.com/wikimedia/pywikibot/blob/cbf194a60124fece9355517030aaa7091dcc093a/pywikibot/families/wikipedia_family.py
So would the newest version solve my prob
DD063520 added a comment.
yes, I did:
pip install pywikibot
and I checked, there the Wikipedia Family file does not contain "ban". Should
I clone the repository?
TASK DETAIL
https://phabricator.wikimedia.org/T238404
EMAIL PREFERENCES
https://phabricator.wikimedia.or
DD063520 added a comment.
Mh, I use this version of Pywikibot: pywikibot-3.0.dev0
could that be the problem?
TASK DETAIL
https://phabricator.wikimedia.org/T238404
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Mpaa, Xqt
DD063520 created this task.
DD063520 added projects: Pywikibot, Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Steps to Reproduce:
item = pywikibot.ItemPage(wikidata_repo, "Q1410828")
item.get()
Actual Results:
DD063520 added a comment.
@Xqt : hi, would you consider again this patch, currently I make this
modification locally to have some code running
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences
DD063520 added a comment.
When importing the sitelinks of Earth I get a similar problem:
Language 'ban' does not exist in family wikipedia
TASK DETAIL
https://phabricator.wikimedia.org/T236177
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences
DD063520 added a comment.
Hi,
I reduced it down, apparently the language code that makes problems is:
{"labels": { "nqo": {"language": "nqo", "value": "ߘߎ߱"}}}
And this language code is not available in the opti
DD063520 added a comment.
This are the labels I'm trying to import:
{'en': 'Earth', 'fr': 'Terre', 'uz': 'Yer', 'de': 'Erde', 'it': 'Terra',
'pl': 'Ziemia', 'nb': 'jorda', 'eo': 'Tero', 'ru': 'Земля', 'es': 'Tierra',
'be-tarask': 'Зямля', 'en-gb': 'Earth', 'ja': '地球', 'zh-hant': '地球
DD063520 renamed this task from "wikibase, importing from wikidata: The
supplied language code was not recognized." to "wikibase-> importing entity
from wikidata "The supplied language code was not recognized."".
TASK DETAIL
https://phabricator.wikimed
DD063520 created this task.
DD063520 added projects: Wikibase-Containers, Pywikibot, Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I'm importing into a fresh installation of a docker-wikibase and instance
from Wikidata, namely Q2 (the earth
DD063520 added a comment.
Hello, could we push this change forward?
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Xqt, Aklapper, DD063520, pywikibot-bugs-list, Zkhalido, Jelabra
DD063520 added a comment.
The difference is the following if you try to put in the wiki twice the
same property:
wikibase_property = pywikibot.PropertyPage(wikibase_repo, "P100",
datatype='wikibase-item')
wikibase_property.get()
wikibase_property.editLabels(l
DD063520 added a comment.
I suggest to replace this line:
https://github.com/wikimedia/pywikibot/blob/26deab88936cbf85aa24e1ddfc9b62e81d80a9bb/pywikibot/data/api.py#L1615
with:
messages = None
if 'messages' in error:
messages = error['messages
DD063520 added a comment.
Ok, to give back the error message to the user I propose the following change:
if I modify these lines:
https://github.com/wikimedia/pywikibot/blob/26deab88936cbf85aa24e1ddfc9b62e81d80a9bb/pywikibot/data/api.py#L2040
to
print("result2 &quo
DD063520 added a comment.
Alternatively, is there an option to get the id of the existing Item/Property?
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Aklapper, DD063520
DD063520 added a comment.
A, I got it. The problem is that a property with this label is already
existing. But the error message is really not clear. I only understood it after
sending the same request over the API sandbox. Is there a way to ignore this
check and create the property
DD063520 added a project: Wikibase-Containers.
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Aklapper, DD063520, pywikibot-bugs-list, Zkhalido, darthmon_wmde, Jelabra,
Viztor
DD063520 added a project: Wikidata.
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Aklapper, DD063520, pywikibot-bugs-list, Zkhalido, darthmon_wmde, Viztor,
DannyS712, Nandana
DD063520 updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T235500
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: DD063520
Cc: Aklapper, DD063520, pywikibot-bugs-list, Zkhalido, Viztor, DannyS712,
Wenyi, Tbscho, MayS
DD063520 created this task.
DD063520 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Hello,
I think this is not a bug, I guess I'm doing something wrong ...
I want to create a new Property on a own Wikidata instance
35 matches
Mail list logo