Discussion:
[Pywikipedia-bugs] [Maniphest] [Created] T134563: Implement 'mark for deletion' for ItemPage
valhallasw
2016-05-06 10:51:48 UTC
Permalink
valhallasw created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.

TASK DESCRIPTION
Currently, this throws an unclear error message

Can't delete [[en:Item:Q112]]; do you want to mark it for deletion instead? ([y]es, [N]o, [a]ll): y
WARNING: /usr/lib/python3/dist-packages/urllib3/connectionpool.py:732: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)
Traceback (most recent call last):
File "repo.py", line 11, in <module>
repoitem.delete(reason, prompt=False)
File "/home/till/Documents/Masterarbeit/TillsWiki/pywikibot/core/pywikibot/tools/__init__.py", line 1368, in wrapper
return obj(*__args, **__kw)
File "/home/till/Documents/Masterarbeit/TillsWiki/pywikibot/core/pywikibot/page.py", line 1780, in delete
self.text = template + self.text
TypeError: Can't convert 'dict' object to str implicitly
<class 'TypeError'>

because self.text (i.e. the page contents) is a dictionary.

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

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

To: valhallasw
Cc: Aklapper, Zppix, valhallasw, pywikibot-bugs-list, Mdupont, jayvdb
jayvdb
2016-05-19 14:22:23 UTC
Permalink
jayvdb added projects: Pywikibot-Wikidata, Easy.
Herald added a subscriber: TerraCodes.

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

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

To: jayvdb
Cc: TerraCodes, Aklapper, Zppix, valhallasw, pywikibot-bugs-list, Mdupont, jayvdb, Ricordisamoa
dachary
2016-07-28 19:38:03 UTC
Permalink
_______________________________________________
pywikibot-bugs mailing list
pywikibot-***@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
JameerBabu
2016-10-02 10:34:21 UTC
Permalink
_______________________________________________
pywikibot-bugs mailing list
pywikibot-***@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
valhallasw
2016-10-04 20:32:58 UTC
Permalink
_______________________________________________
pywikibot-bugs mailing list
pywikibot-***@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
Aklapper
2017-10-03 16:47:17 UTC
Permalink
_______________________________________________
pywikibot-bugs mailing list
pywikibot-***@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
Xqt
2018-05-14 11:30:34 UTC
Permalink
_______________________________________________
pywikibot-bugs mailing list
pywikibot-***@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Loading...