matej_suchanek edited the task description. (Show Details)
EDIT DETAILS...```
There are other types of entites which we can iterate over, so it would be nice to have other types of entites supported.TASK DETAILhttps://phabricator.wikimedia.org/T160397EMAIL PREFERENCEShttps
matej_suchanek edited the task description. (Show Details)
EDIT DETAILSCurrently, there is this code:
```lang=python...```
There are more (atm at least one) entity types which support claims. It may be renamed (and redirected) to `EntityClaimFilter`, `WikibasePageClaimFilter` or just `ClaimFilter
matej_suchanek changed the title from "harvest_template.py fails on on wikilink" to "harvest_template.py fails on non-breaking space in wikilink".
TASK DETAILhttps://phabricator.wikimedia.org/T130818EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T127691EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, StudiesW
matej_suchanek closed subtask T127691: harvest_template.py crashes on comment as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T113892EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, jayvdb, Mpaa, XZise, Aklapp
matej_suchanek claimed this task.matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T113892EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc:
matej_suchanek edited projects, added TestMe; removed Patch-For-Review.matej_suchanek moved this task from Backlog to Ready to go on the Pywikibot-core board.matej_suchanek added a comment.Herald added a subscriber: TerraCodes.
My patch has been merged, now it should be tested that it no longer
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T120651EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, jayvdb, Aklapper, Ladsgroup, StudiesWorld
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T103284EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, darthbhyrava, Ananthsubray, XZise, Ricordisamoa
matej_suchanek changed the title from "Claim new method has_qualifier" to "Claim new method has_source".
TASK DETAILhttps://phabricator.wikimedia.org/T124139EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Lokal_Profil,
matej_suchanek added a parent task: T86083: Wikibase support in pywikibot lacks exception handling.
TASK DETAILhttps://phabricator.wikimedia.org/T126856EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, Xqt, pywikibot-bugs-list, Magul
matej_suchanek added a subtask: T126856: wikibase requests should be verify whether they are successful..
TASK DETAILhttps://phabricator.wikimedia.org/T86083EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: jayvdb, Aklapper, pywikibot-bugs
matej_suchanek added subscribers: Mpaa, Catrope.matej_suchanek merged a task: T95346: Site.addClaim() does not work with -simulate flag.
TASK DETAILhttps://phabricator.wikimedia.org/T76694EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc
matej_suchanek closed this task as a duplicate of T76694: Wikibase operations fail when -simulate enabled.
TASK DETAILhttps://phabricator.wikimedia.org/T95346EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: pywikibot-bugs-list, Catrope
matej_suchanek added a comment.
Have T94416 fixed this?TASK DETAILhttps://phabricator.wikimedia.org/T85358EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, JanZerebecki, gerritbot, zeljkofilipin, aude, Lydia_Pintscher, jayvdb
matej_suchanek added a parent task: T86083: Wikibase support in pywikibot lacks exception handling.
TASK DETAILhttps://phabricator.wikimedia.org/T61973EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: jayvdb, pywikibot-bugs-list, Multichill
matej_suchanek added a subtask: T61973: Pywikibot should have a wikibase-error-sitelink-already-used exception.
TASK DETAILhttps://phabricator.wikimedia.org/T86083EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: jayvdb, Aklapper, pywikibot
matej_suchanek removed a project: Patch-For-Review.matej_suchanek edited the task description. (Show Details)
EDIT DETAILS...[ x] scripts/claimit.py...[ x] scripts/harvest_template.py
[ x] scripts/illustrate_wikidata.py...TASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T157390EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, matej_suchanek, pywikibot-bugs-list, Alfonsda
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Liuxinyu970226, gerritbot, pywikibot-bugs-list, jayvdb, Aklapper, Adik2382, Th3d3v1ls, Ramalepe, Liugev6
matej_suchanek closed subtask T86074: ItemPage.editEntity does not support 'async' as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, matej_suchanekCc: gerritbot,
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T86074EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: vadi, matej_suchanekCc: matej_suchanek, TerraCodes,
matej_suchanek removed a project: Patch-For-Review.matej_suchanek edited the task description. (Show Details)
EDIT DETAILS...[ x] scripts/newitem.pyTASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T161783EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T78333EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Phispi, Ricordisamoa, Aklapper, pywikibot-bugs-list, Adik2382, Th3d3v1ls, Ramalepe, Liugev6
matej_suchanek reopened subtask T87493: Implement user_edit_entity in all wikibase scripts as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T76694EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Abbe98, jayvdb, Aklapper, pywi
matej_suchanek reopened subtask T87493: Implement user_edit_entity in all wikibase scripts as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T66468EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, matej_suchanekCc: Phantom42, gerritbot
matej_suchanek reopened this task as "Open".matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T87493EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, matej_suchanekCc: gerritbot, pywikibot-bugs-li
matej_suchanek edited the task description. (Show Details)
EDIT DETAILS...Existing wikibase scripts should be updated to use user_edit_entity .
[ ] scripts/claimit.py
[ ] scripts/coordinate_import.py
[ ] scripts/harvest_template.py
[ ] scripts/illustrate_wikidata.py
[ ] scripts/newitem.py
TASK
matej_suchanek added a parent task: T86074: ItemPage.editEntity does not support 'async' .
TASK DETAILhttps://phabricator.wikimedia.org/T86083EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: jayvdb, Aklapper, pywikibot
matej_suchanek added a subtask: T86083: Wikibase support in pywikibot lacks exception handling.
TASK DETAILhttps://phabricator.wikimedia.org/T86074EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: vadi, matej_suchanekCc: matej_suchanek, TerraCodes, gerritbot
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T92480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, jayvdb, pywikibot-bugs-list, JAnD, Aklapper
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata.
TASK DESCRIPTIONif not params: # If no identification was provided
params['new'] = 'item' # TODO create properties+queries
This is blocked by the fact that unlike items
matej_suchanek created subtask T160402: It isn't possible to create properties (and other types of entities).
TASK DETAILhttps://phabricator.wikimedia.org/T160395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs
matej_suchanek created subtask T160399: WikibaseItemGenerator should be made more dynamic.
TASK DETAILhttps://phabricator.wikimedia.org/T160395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, matej_suchanek
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Pywikibot-pagegenerators.
TASK DESCRIPTIONSome possiblities:
merge with the new PageClassGenerator
move to DataSite (there's some duplicate code in DataSite.preloaditempages which also needs
matej_suchanek created subtask T160397: PreloadingItemGenerator and DataSite.preloaditempages don't work with properties.
TASK DETAILhttps://phabricator.wikimedia.org/T160395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywi
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Pywikibot-pagegenerators.
TASK DESCRIPTION>>> import pywikibot
>>> from pywikibot import pagegenerators
>>> repo = pywikibot.Site('wikidata', 'wikidata
matej_suchanek created subtask T160396: ItemClaimFilter only assumes ItemPage.
TASK DETAILhttps://phabricator.wikimedia.org/T160395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, matej_suchanek, Magul, Tbscho
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Pywikibot-pagegenerators.
TASK DESCRIPTIONif not isinstance(page, pywikibot.ItemPage):
pywikibot.output(u'%s is not an ItemPage. Skipping.' % page)
return FalseTASK D
matej_suchanek added a parent task: T160395: Make Wikibase entity related code more flexible (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T145084EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Mpaa, pywikibot-bugs-list, dachary
matej_suchanek added a parent task: T160395: Make Wikibase entity related code more flexible (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T88671EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: pywikibot-bugs-list, jayvdb, Aklapper
matej_suchanek added subtasks: T113131: PropertyPage doesn't support simple claim adding, T88671: Page factory, T138364: WikidataSPARQLPageGenerator fails when non-item is inside results, T145084: listpages.py -searchitem should allow type=property.
TASK DETAILhttps://phabricator.wikimedi
matej_suchanek added a parent task: T160395: Make Wikibase entity related code more flexible (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T113131EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Ricordisamoa, Aklapper
matej_suchanek added a parent task: T160395: Make Wikibase entity related code more flexible (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T138364EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, dachary, Aklapper, Zppix
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Tracking.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWikibase is still under development and it's likely there will be new entity types supported in the f
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T118076EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, Ladsgroup, XZise, Dalba, Aklapper, Yamaha5, jayvdb
matej_suchanek added a project: Pywikibot-tests.
TASK DETAILhttps://phabricator.wikimedia.org/T78555EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Anshoe, Aklapper, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis
matej_suchanek added a project: Pywikibot-Wikidata.
TASK DETAILhttps://phabricator.wikimedia.org/T95346EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: pywikibot-bugs-list, Catrope, Aklapper, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89
matej_suchanek added subtasks: T148959: File regex gets stuck on a link in the caption, T85037: Faster algorithm to replace text with exceptions.
TASK DETAILhttps://phabricator.wikimedia.org/T63996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To
matej_suchanek added a parent task: T63996: textlib.replaceExcept() may hang or cause an infinite loop.
TASK DETAILhttps://phabricator.wikimedia.org/T85037EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: jayvdb, Benjavalero, Ricordisamoa
matej_suchanek added projects: TestMe, Pywikibot-Cosmetic-changes.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T73817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XZise, matej_suchanekCc: TerraCodes, Liuxinyu970226
matej_suchanek added a project: Pywikibot-Wikidata.
TASK DETAILhttps://phabricator.wikimedia.org/T160339EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis
matej_suchanek added a parent task: T151107: Enable translateMagicWords.
TASK DETAILhttps://phabricator.wikimedia.org/T148959EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, matej_suchanekCc: Dalba, gerritbot, Xqt, jayvdb, Aklapper, matej_suchanek
matej_suchanek added a subtask: T148959: File regex gets stuck on a link in the caption.
TASK DETAILhttps://phabricator.wikimedia.org/T151107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Dvorapa, pywikibot-bugs-list, Aklapper
matej_suchanek added a project: Pywikibot-Wikidata.
TASK DETAILhttps://phabricator.wikimedia.org/T145084EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Mpaa, pywikibot-bugs-list, dachary, Aklapper, Magul, Tbscho, MayS, Mdupont, JJMC89
matej_suchanek added a comment.
textlib.replaceExcept is known to be slow, so it wasn't really wise to call it individually for each magic word. Now that T148959: File regex gets stuck on a link in the caption is fixed, I believe this is the way to go. I will be working on this today
matej_suchanek added a parent task: T151107: Enable translateMagicWords.
TASK DETAILhttps://phabricator.wikimedia.org/T159997EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, Jay8g, matej_suchanek, Aklapper, pywikibot-bugs-list
matej_suchanek added a subtask: T159997: cosmetic_changes slow down/freeze running bot.
TASK DETAILhttps://phabricator.wikimedia.org/T151107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Dvorapa, pywikibot-bugs-list, Aklapper
matej_suchanek added a comment.
I think this could work and would certaily speed things up. I'm not sure though how long the cache should be saved. Sites usually don't change data repositories (unless we consider deploying Wikibase a change) but who knows. Property datatypes were also
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-Wikidata, Pywikibot-core, Performance.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONIn the framework, there are several places where APISite.data_repository() (and APISite.has_data_repository
matej_suchanek removed a project: Easy.matej_suchanek moved this task from Backlog to Data loading problems on the Pywikibot-Wikidata board.
TASK DETAILhttps://phabricator.wikimedia.org/T145971WORKBOARDhttps://phabricator.wikimedia.org/project/board/110/EMAIL PREFERENCEShttps
matej_suchanek reassigned this task from Ankit.0905 to IulianR.matej_suchanek added a subscriber: Ankit.0905.
TASK DETAILhttps://phabricator.wikimedia.org/T61080EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: IulianR, matej_suchanekCc: Ankit.0905, IulianR
matej_suchanek edited the task description. (Show Details)
EDIT DETAILSIn page.py we have a function "isCategoryRedirect":
```lang=python
def isCategoryRedirect(self):
"""Return True if this is a category redirect page, False otherwise."""
This is r
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T129866EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: TerraCodes, Ricordisamoa, Aklapper, Ladsgroup, Xqt, pywikibot
matej_suchanek added a subtask: T158640: DeprecationWarning: the imp module is deprecated in favour of importlib.
TASK DETAILhttps://phabricator.wikimedia.org/T60053EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, Xqt, jayvdb
matej_suchanek added a parent task: T60053: Pywikibot Python 3 compatibility (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T158640EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, matej_suchanekCc: gerritbot, Aklapper, pywikibot-bugs-list
matej_suchanek added a subtask: T144288: isbn library and isbn.py is very outdated.
TASK DETAILhttps://phabricator.wikimedia.org/T141024EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list
matej_suchanek added a parent task: T141024: Add Phabricator tasks to comments for buggy cosmetic changes.
TASK DETAILhttps://phabricator.wikimedia.org/T144288EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, matej_suchanekCc: gerritbot, Aklapper
matej_suchanek added a parent task: T141024: Add Phabricator tasks to comments for buggy cosmetic changes.
TASK DETAILhttps://phabricator.wikimedia.org/T57222EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, jayvdb, Aklapper, Legoktm
matej_suchanek added a subtask: T57222: cosmetic_changes.py and .
TASK DETAILhttps://phabricator.wikimedia.org/T141024EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho
matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T158050EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, matej_suchanekCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont
matej_suchanek added a comment.
Actually: rPWBCe806f5c8009c: [Bugfix] Fix variable assignment in handleOneLinkTASK DETAILhttps://phabricator.wikimedia.org/T158050EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, matej_suchanek, Aklapper
matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T130925EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, XZise, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T130925EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, XZise, Xqt, pywikibot-bugs-list, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS
matej_suchanek closed subtask T130917: TestLiveCosmeticChanges.test_cleanUpLinks_pipes_fail erroneously doesn't fail unittest as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T129368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: m
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review.matej_suchanek moved this task from Backlog to Test failures on the Pywikibot-tests board.
TASK DETAILhttps://phabricator.wikimedia.org/T130917WORKBOARDhttps://phabricator.wikimedia.org/pro
matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T111513EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Wesalius, gerritbot, Aklapper, pywikibot-bugs-list, jayvdb, Magul, Tbscho, MayS, Mdupont
matej_suchanek closed this task as "Resolved".matej_suchanek claimed this task.matej_suchanek removed a project: Patch-For-Review.matej_suchanek added a comment.
Scripts should no longer fail but the actual problem hasn't been solved yet, see the parent task.T
matej_suchanek added a subtask: T89589: Usage of unicode_literals from __future__ package.
TASK DETAILhttps://phabricator.wikimedia.org/T60053EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, Xqt, jayvdb, valhallasw, Ricordisamoa
matej_suchanek added a parent task: T60053: Pywikibot Python 3 compatibility (tracking).
TASK DETAILhttps://phabricator.wikimedia.org/T89589EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Xqt, Rubin16, gerritbot, Ricordisamoa, jayvdb
matej_suchanek added a parent task: T153444: Add deprecation warning when using WDQ in pywikibot.
TASK DETAILhttps://phabricator.wikimedia.org/T72983EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Ricordisamoa, Aklapper, jayvdb, pywikibot
matej_suchanek added a subtask: T72983: wikidataquery tests win32 py3 error.
TASK DETAILhttps://phabricator.wikimedia.org/T153444EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, pywikibot-bugs-list, Multichill
matej_suchanek added a comment.
Were you using the most up-to-date version?TASK DETAILhttps://phabricator.wikimedia.org/T157390EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, pywikibot-bugs-list, Alfonsda, Aklapper
matej_suchanek added a comment.
I guess rMWf70c7a06de87: API: Add reference to the mailing list in errors and deprecation warnings (T148855: Working with the fancy old MediaWiki API) is another breaking change.TASK DETAILhttps://phabricator.wikimedia.org/T152598EMAIL PREFERENCEShttps
matej_suchanek added a comment.
In T85483#2990718, @zhuyifei1999 wrote:
In T85483#2990456, @matej_suchanek wrote:
In fact, you may need to treat the site as a client wiki. We shouldn't prevent this.
whether you initialize it as APISite or DataSite should make no difference.
It does, se
matej_suchanek added a comment.
In T85483#2988990, @zhuyifei1999 wrote:
Though I'm not sure why someone would do interface='APISite' in the first place.
In fact, you may need to treat the site as a client wiki. We shouldn't prevent this.TASK DETAILhttps://phabricator.wikim
matej_suchanek added a comment.
I am thinking of whether this method is useful for anything but a confusion. If the site should be repo, it is a DataSite. That it's a DataSite you can test via isinstance(). The identity testing in the current APISite.is_data_repository() method is either obs
matej_suchanek added a project: TestMe.matej_suchanek added a comment.Herald added a subscriber: TerraCodes.
I think the method now works as expected.
>>> import pywikibot
>>> site = pywikibot.Site('en', 'wikipedia')
>>> site.is_data_repository()
F
matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T156596EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, matej_suchanekCc: gerritbot, zhuyifei1999, Lokal_Profil, Mpaa, Anomie, Aklapper, MarcoAurelio
matej_suchanek added a comment.
Are you sure? meta=wikibase is only available on Wikidata clients, so if the wiki's API throws this warning, it cannot be.
Anyway, Pywikibot needs to be updated not to print this warning (ie. the workaround above should be fixed).TASK DETAIL
matej_suchanek added a comment.
I have also bumped into this. It happens when you are working on a wiki which is not a Wikibase (ie. Wikidata) client.
This warning should be prevented per APISite.data_repository():
def handle_warning(mod, warning):
return (mod == 'query' and
matej_suchanek added a parent task: T152598: Check Pywikibot for Mediawiki api Error code and other message reporting changes.
TASK DETAILhttps://phabricator.wikimedia.org/T156596EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Anomie
matej_suchanek added a subtask: T156596: API warning (query): Unrecognized value for parameter "meta": wikibase..
TASK DETAILhttps://phabricator.wikimedia.org/T152598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Magul, Lokal_Prof
matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T86351EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, matej_suchanekCc: TerraCodes, jayvdb, JAnD, gerritbot, Aklapper, pywikibot
matej_suchanek added a comment.
This behavior is correct as far as I can see. If you provide multiple generators (-file and -search), it will work on the pages from the first one, after exhausting the second one and so on. Adding -intersect to the command line should solve this.TASK DETAILhttps
matej_suchanek added a project: Pywikibot-textlib.py.
TASK DETAILhttps://phabricator.wikimedia.org/T155233EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Aklapper, Urbanecm, pywikibot-bugs
matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T101214EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Matanya, Liuxinyu970226, Mpaa, Ricordisamoa, JAnD, XZise, Xqt, Legoktm
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T130917EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, Aklapper, Xqt, pywikibot-bugs-list, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99
matej_suchanek closed this task as a duplicate of T147178: replace.py gives a wrong edit result.
TASK DETAILhttps://phabricator.wikimedia.org/T130065EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Zppix, Xqt, Mpaa, Danny_B, Aklapper, JAnD
501 - 600 of 665 matches
Mail list logo