Page MenuHomePhabricator

imagecopy_self.py replaces usage even if upload to Commons fails
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1332/
Reported by: mga73
Created on: 2011-08-23 17:25:13
Subject: imagecopy_self.py replaces usage even if upload to C fails
Original description:
If a file is moved to Commons with a new name imagecopy\_self.py replaces the usage. That is good :-\)

However, I have 2 examples where usage was replaced even if file was not moved to Commons.

1\) I made a typo in .jpg http://en.wikipedia.org/w/index.php?title=Rashean\_Mathis&diff=438089781&oldid=433672073
2\) Filetype did not match .ext http://ms.wikipedia.org/w/index.php?title=Sekolah\_Menengah\_Kebangsaan\_St\_Paul&action=historysubmit&diff=1786236&oldid=1735908

So I suggest that replace is only done once the upload is verified.


Version: compat-(1.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1332

Details

Reference
bz55238

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:29 AM
bzimport set Reference to bz55238.
bzimport added a subscriber: Unknown Object (????).
Aklapper triaged this task as Lowest priority.Jun 5 2015, 1:41 PM
Aklapper subscribed.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.

Xqt moved this task from Unported (still maintained) to Backlog on the Pywikibot-compat board.
Xqt subscribed.

Declined due to decommission compat