Xqt added a comment.
In T281323#7043974 <https://phabricator.wikimedia.org/T281323#7043974>, @Shalomori123 wrote: > The existence in the documentation in line 37. > On line 529: > > @deprecated_args(acceptall='always', addedCat='addcat') > > There is no warning, and that's what strange here. > The command line is: > > python pwb.py replace '(שבי"ל)' '([[מחבר:שבי"ל|שבי"ל]])' -addcat:'ספר המילים של שבי"ל' neither acceptall not addedCat is used inside replace.py: C:\pwb\GIT\core>pwb replace a b -page:user:xqt/Test -addcat:foo -simulate The summary message for the command line replacements will be something like: Bot: Automatisierte Textersetzung (-a +b) Press Enter to use this automatic message, or enter a description of the changes your bot will make: Retrieving 1 pages from wikipedia:de. >>> Benutzer:Xqt/Test <<< @@ -1,2 +1,4 @@ - <code>&</code> + <code>&bmp;</code> - <ref>foo</ref> + <ref>foo</ref> + + [[Kategorie:Foo]] Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [m]ore context, [a]ll, [q]uit): y Edit summary: Bot: Automatisierte Textersetzung (-a +b) SIMULATION: edit action blocked. 1 pages read 1 pages written 0 pages skipped Execution time: 19 seconds Read operation time: 18.0 seconds Write operation time: 19.0 seconds Script terminated successfully. TASK DETAIL https://phabricator.wikimedia.org/T281323 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
