Last modified: 2014-10-25 10:21:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74294, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72294 - deprecated methods in replace.py
deprecated methods in replace.py
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
All All
: Unprioritized minor
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-21 08:20 UTC by JAn Dudík
Modified: 2014-10-25 10:21 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description JAn Dudík 2014-10-21 08:20:24 UTC
I made some replaces with manual confimration.

...
Retrieving 50 pages from wikipedia:cs.
No changes were necessary in [[Kategorie:Wireless Application Protocol]]

>>> Kategorie:WTA Finals 2014 <<<
- {{Hlavni clanek}}
+ {{Hlavni clanek|{{subst:PAGENAME}}}}

WARNING: pywikibot.bot.inputChoice is deprecated, use input_choice instead.
Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a]ll, [q]uit) y
Retrieving 50 pages from wikipedia:cs.
...
WARNING: pywikibot.replaceExcept is DEPRECATED, use pywikibot.textlib.replaceExcept instead.

(this message was in cca 25 lines, then was clear output again)
No changes were necessary in [[Kategorie:Zeleznicni stanice v Madarsku]]
No changes were necessary in [[Kategorie:Zeleznicni stanice v Cesku]]
No changes were necessary in [[Kategorie:Zaznamova zarizeni]]


>>> Kategorie:Zuslechtovani textilii <<<
- {{Hlavni clanek}}
+ {{Hlavni clanek|{{subst:PAGENAME}}}}

WARNING: pywikibot.bot.inputChoice is deprecated, use input_choice instead.
Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a]ll, [q]uit) Page [[Kategorie:WTA Finals 2014]] saved
y

(see missing end of line between "[q]uit" and "Page")
Comment 1 Mpaa 2014-10-21 20:56:34 UTC
Missing end of line is the same bug as https://bugzilla.wikimedia.org/show_bug.cgi?id=71646.
Comment 2 Gerrit Notification Bot 2014-10-21 21:33:14 UTC
Change 167957 had a related patch set uploaded by Mpaa:
replace.py: replce deprecated inputChoice() function

https://gerrit.wikimedia.org/r/167957
Comment 3 Mpaa 2014-10-21 21:34:39 UTC
Addressing only the deprecated method. For the other part we should refer to the original bug.
Comment 4 Gerrit Notification Bot 2014-10-25 02:18:32 UTC
Change 167957 merged by jenkins-bot:
replace.py: replace deprecated inputChoice() function

https://gerrit.wikimedia.org/r/167957

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links