https://bugzilla.wikimedia.org/show_bug.cgi?id=70985
Bug ID: 70985 Summary: replaceExcept is DEPRECATED Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
pwb.py replace -regex -nocase -transcludes:silnice "silnice {{silnice|I|(.*?)(|)*}}" "[[silnice I/\1]]" "silnice {{silnice|II|(.*?)(|)*}}" "[[silnice II/\1]]" -summary:"link na silnici - v textu textem"
Retrieving 50 pages from wikipedia:cs. ...
Dobrichovice <<<
- :Mestem prochazi silnice {{Silnice|II|115||}} Praha Radotin - Dobrichovice - R evnice. + :Mestem prochazi [[silnice II/115]] Praha Radotin - Dobrichovice - Revnice.
Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a ]ll, [q]uit) y No changes were necessary in [[Brehov]] No changes were necessary in [[Dasny]]
Petrovice (okres Rakovnik) <<<
- :Obci vede silnice {{Silnice|II|229||}} Rakovnik - Kralovice. + :Obci vede [[silnice II/229]] Rakovnik - Kralovice.
Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a ]ll, [q]uit) WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRE CATED, use pywikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. WARNING: D:\Py\rewrite\pywikibot__init__.py.replaceExcept is DEPRECATED, use py wikibot.textlib.replaceExcept instead. Page [[Dobrichovice]] saved