Bugreporter merged a task: T344237: SDC wbgetentities API returns a list
instead of a dictionary when there is no statements .
Bugreporter added subscribers: Zache, pywikibot-bugs-list.
TASK DETAIL
https://phabricator.wikimedia.org/T222159
EMAIL PREFERENCES
https://phabricator.wikimedia.org
Bugreporter closed this task as a duplicate of T222159: WikibaseMediaInfo
serializes empty statements as empty array [] instead of empty object {} in
JSON.
TASK DETAIL
https://phabricator.wikimedia.org/T344237
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Bugreporter added a comment.
Note that even if this is not a practice in Wikidata (and disallowed by
notability policy), a Wikidata item is also a page itself and can be added as
sitelinks of a (this or another) item. To prevent confusion we probably need to
introduce a new function.
TASK
Bugreporter merged a task: T301616: Redirects to shadow pages (global user
pages) should not show up in BrokenRedirects.
Bugreporter added a subscriber: Ladsgroup.
TASK DETAIL
https://phabricator.wikimedia.org/T90978
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Bugreporter merged a task: T266853: Feature request: record context for which a
Thank was given, such as RevisionId.
Bugreporter added a subscriber: Xinbenlv.
TASK DETAIL
https://phabricator.wikimedia.org/T51087
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Bugreporter merged a task: T272465: PAWS terminal (or Pywikibot) cannot
seemingly run for an extended period in unattended mode.
Bugreporter added subscribers: ShakespeareFan00, JJMC89, QEDK,
pywikibot-bugs-list, Aklapper.
TASK DETAIL
https://phabricator.wikimedia.org/T188684
EMAIL
Bugreporter added a comment.
Most bots does not have account on all wikis, and when fetching skipping
templates, all sitelinks of Template:Delete is fetched, which contains
sitelinks to various sites the bot does not have accounts. This will make the
script unusable.
TASK DETAIL
https
Bugreporter added a comment.
When fixing this, make sure you test it in a **new** account (specificly, not
attached on all possible projects).
TASK DETAIL
https://phabricator.wikimedia.org/T273386
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences
Bugreporter added a comment.
Note most of WMF sites are never relevant to most bot workers. When
retrieving skipping templates, only one sitelink is useful.
TASK DETAIL
https://phabricator.wikimedia.org/T273386
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Bugreporter added a comment.
In T226157#6756845 <https://phabricator.wikimedia.org/T226157#6756845>,
@gerritbot wrote:
> Change 656997 had a related patch set uploaded (by Xqt; owner: Xqt):
> [pywikibot/core@master] [maintenance] Add a preload_sites.py script to
Bugreporter added a comment.
For the problem described in task description it is worsen by T226157: Data
retrieval may be very long and heavy because of SiteLink initialization
<https://phabricator.wikimedia.org/T226157>.
However this task is still valid; Pywikibot should b
Bugreporter added a comment.
Bump as it affects the usability of newitem.py.
Simple reproduce:
`pywikibot.ItemPage(pywikibot.Site("wikidata","wikidata"),"Q4847311").get()`
TASK DETAIL
https://phabricator.wikimedia.org/T226157
EMAIL PREFERENCES
htt
Bugreporter added a comment.
Please link to a specific recent changes. Does your bot account have bot flag?
TASK DETAIL
https://phabricator.wikimedia.org/T270904
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: Bugreporter
Bugreporter added a comment.
See
https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals/Archive/2018/01#Proposal_to_rename_account_creator_group_to_batch_uploaders
TASK DETAIL
https://phabricator.wikimedia.org/T258354
EMAIL PREFERENCES
https://phabricator.wikimedia.org
Bugreporter added a comment.
When it is created and current bots moved to new group it would be a breaking
change.
TASK DETAIL
https://phabricator.wikimedia.org/T258354
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: pywikibot
Bugreporter added a comment.
In T259509#6356477 <https://phabricator.wikimedia.org/T259509#6356477>, @Xqt
wrote:
> Did you mean `stable`? I am waiting for T259100
<https://phabricator.wikimedia.org/T259100>; I guess this is related mw
1.36.0wmf2 and the deployment wa
Bugreporter renamed this task from "Update pywikibot master branch" to "Update
pywikibot stable branch".
TASK DETAIL
https://phabricator.wikimedia.org/T259509
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: Xqt,
Bugreporter created this task.
Bugreporter added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
See T258398#6354427 <https://phabricator.wikimedia.org/T258398#6354427>:
scripts are broken when a new site is added.
TASK
Bugreporter reopened this task as "Open".
Bugreporter added a comment.
Reopen. It has not been merged to the stable branch yet and is breaking
scripts running in Toolforge such as newitem.py.
See also T238405: Pywikibot should have a robust way to handle unknown sit
Bugreporter merged a task: T258175: Pywikibot version is outdated.
TASK DETAIL
https://phabricator.wikimedia.org/T258142
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Chicocvenancio, Bugreporter
Cc: Bugreporter, Chicocvenancio, Xqt, matej_suchanek
Bugreporter updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T258181
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: Aklapper, pywikibot-bugs-list, Bugreporter, JohnsonLee01, SHEKH, Dijkstra,
Khutuck
Bugreporter created this task.
Bugreporter added a project: Pywikibot-pagegenerators.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.
TASK DESCRIPTION
This will download a text file from a specific URL; the rest
Bugreporter added a comment.
Instead of hardcoding a list of templates, the list may be fetched via
`SELECT ?item {?item wdt:P31/wdt:P279* wd:Q97303167}`; the URL is
https://query.wikidata.org/sparql?query=SELECT%20%3Fitem%20%7B%3Fitem%20wdt%3AP31%2Fwdt%3AP279*%20wd%3AQ97303167%7D=json
TASK
Bugreporter renamed this task from "Add more template to the skip list" to
"newitem.py: add more template to the skip list".
TASK DETAIL
https://phabricator.wikimedia.org/T257739
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
Bugreporter renamed this task from "newitem.py: add more template to the skip
list" to "newitem.py: add more templates to the skip list".
TASK DETAIL
https://phabricator.wikimedia.org/T257739
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/pa
Bugreporter created this task.
Bugreporter added projects: Pywikibot-Wikidata, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.
TASK DESCRIPTION
See T256676: newitem.py should ignore pages
Bugreporter added a comment.
But for Wikidata maxlag issue a higher number of retry. For example for a lag
of one hour we need 180-720 retries (this is only an extreme situation).
TASK DETAIL
https://phabricator.wikimedia.org/T242081
EMAIL PREFERENCES
https://phabricator.wikimedia.org
Bugreporter added a comment.
In T242081#5853949 <https://phabricator.wikimedia.org/T242081#5853949>,
@Dvorapa wrote:
> $ python pwb.py shell
> Welcome to the Pywikibot interactive shell!
> >>> s=pywikibot.Site('wikidata', 'wikidata')
> >
Bugreporter added a comment.
Did you use the correct password in user-password.py?
TASK DETAIL
https://phabricator.wikimedia.org/T250939
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: Bugreporter, Xqt, Dvorapa, Aklapper
Bugreporter added a comment.
Is it the time to unblock EmausBot?
TASK DETAIL
https://phabricator.wikimedia.org/T249565
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Addshore, Bugreporter
Cc: CDanis, Marostegui, Darwinius, Zaiva_Igor, Kazrok4545
Bugreporter added a comment.
Yes, not now, but what should the minimum version be to support once all old
Fandom wikis are migrated.
TASK DETAIL
https://phabricator.wikimedia.org/T245350
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences
Bugreporter added a comment.
We should consider the next step once Fandom have completely moved to 1.33
(See T249403: login.py crashes on 1.33 Fandom wikis
<https://phabricator.wikimedia.org/T249403>).
TASK DETAIL
https://phabricator.wikimedia.org/T245350
EMAIL PREFERENCES
Bugreporter added a comment.
I instead think (only in my opinion) we should support we should continue to
make it work in Fandom (1.19.21) for an unspecified time.
TASK DETAIL
https://phabricator.wikimedia.org/T245350
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Bugreporter added a comment.
For older MediaWiki Pywikibot compat is more usable but it is no longer
official maintained. It may be still an idea to (unofficially) port the compat
to newer version of Python (though no new feature will be added).
Anyway per https://www.mediawiki.org/wiki
Bugreporter closed this task as "Invalid".
Bugreporter added a comment.
This does not seem to be any bug in Wikimedia code
(https://codesearch.wmflabs.org/search/?q=mekecat=nope==). You
may adjust your custom script or provide a clear step to reproduce it.
TASK DETA
Bugreporter added a comment.
not all (special) projects are Wikidata clients.
TASK DETAIL
https://phabricator.wikimedia.org/T238448
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Bugreporter
Cc: Bugreporter, Aklapper, pywikibot-bugs-list, Mpaa
Bugreporter created this task.
Bugreporter added projects: Pywikibot, Pywikibot-Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
To prevent issues like T238404: Pywikibot fails when importing entity
Q1410828 <https://phabricator.wikimedia.
Bugreporter created this task.
Bugreporter added a project: Pywikibot-Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.
TASK DESCRIPTION
Currently it's not possible to also add a source in claimit.py.
TASK
Bugreporter created this task.
Bugreporter added projects: Pywikibot, Pywikibot-Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
e.g. pwb.py interwikidata -page:"Atol Majuro" -lang:id -create
ERROR: OtherPageSaveError: Ed
Bugreporter added a comment.
As a long-term solution I propose to build a similar tool in MediaWiki, see T203557: edit group mechanism.TASK DETAILhttps://phabricator.wikimedia.org/T200234EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Pintoch
Bugreporter added a subscriber: deryckchan.Bugreporter added a comment.
In T200399#4479393, @deryckchan wrote:
Most wikis have retained the built-in MediaWiki feature where trailing
brackets are stripped when a page is saved:
Wikitext before saving: [[Foo (bar)|]]
Wikitext after saving: [[Foo
Bugreporter renamed this task from "newitem.py: Remove disambiguation bracket in labels" to "Remove disambiguation bracket in labels when creating new items for articles".
TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedi
Bugreporter added a comment.
Also for other scripts that can create items.TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Aklapper, pywikibot-bugs-list, Bugreporter
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONE.g. "Georgia (country)" -> "Georgia". Only do it when handling articles (ns0).TASK DETAILhttps://phabricator.wik
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONSee https://www.wikidata.org/wiki/Wikidata:Edit_groups. Note it only requires a syntax in edit summaries.TASK DETAILhttps
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONThis often occurs if I'm using an unreliable internet access (e.g. WiFi). However I can not reproduce it directly. Debug message (using newitem.py
Bugreporter added a subscriber: Framawiki.Bugreporter added a comment.
@Framawiki
def _callback(self, page, exc):
if exc is None:
self._touch_page(page)
def treat_page_and_item(self, page, item):
"""Treat page/item."""
if item and item.exists():
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONIn newitem.py, after creation a new item the local page is touched. If the user is not confirmed in local wiki this should not be done because
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONhttps://phabricator.wikimedia.org/diffusion/PWBC/browse/master/scripts/newitem.py
if page.langlinks():
# FIXME: Implement
Bugreporter created this task.Bugreporter added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONCurrently it is not possible to check constraint violations in harvest_template.py.
(efficient implement may be blocked by T168626: Check
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONSee T199615: filter_unique leaks memory; it is useful if it can be assumed that we don't need any double action on the page and double action may
Bugreporter updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...Result: When creation of an item is failed wikidata:-1 will returned; the bot will try to add statements to wikidata:-1 and pywikibot.exceptions.OtherPageSaveError will be throwed which make the bot createcrash
Bugreporter added a comment.
This works but is not useful in other types of generators (which is not ordered alphabetically) or there're some reason that something that should be run in batches (using together with -limit) but don't know where to start.TASK DETAILhttps://phabricator.wikimedia.org
Bugreporter created this task.Bugreporter added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONThe bot may fail to because the current CSRF token is invalid. Then a new one should be generated.
(This is important with T139842: Restartable bot
Bugreporter created this task.Bugreporter added projects: Pywikibot-core, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONReproduce: python harvest_template.py -lang:en -template:"Sockpuppet" -namespace:2 -create 1 P370 (This is only
Bugreporter created this task.Bugreporter added a project: Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONe.g. You can use harvest_template.py to mass add Wikidata claims based on information harvested from Wikipedia templates. However
Bugreporter created this task.Bugreporter added a project: Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen using pagegenerators in other scripts we often meet many pages with nothing to do (but it will be regenerated when the script
Bugreporter created this task.Bugreporter added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONCurrently coordinate_import.py does not support creating new Wikidata items if no item exists.TASK DETAILhttps://phabricator.wikimedia.org
58 matches
Mail list logo