matej_suchanek created this task. matej_suchanek added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Run `pwb.py replace "^" "a" -regex -summary:test` on a sandbox page in interactive mode. - When asked `Do you want to accept these changes?`, reply `m` for `[m]ore context`. **What happens?**: The replacement (i.e., prepending "a" to the page text) is done again before showing more context. >>> Wikipedie:Pískoviště <<< @@ -1 +1 @@ - {{Tento řádek neměňte}} + a{{Tento řádek neměňte}} 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): m @@ -1,4 +1,4 @@ - {{Tento řádek neměňte}} + aa{{Tento řádek neměňte}} <!-- ************ Prosíme, NEMĚŇTE nic nad tímto řádkem. Díky. ************ --> == Bábovičky == 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): **What should have happened instead?**: No other changes are made. **Software version**: Pywikibot: [ssh] pywikibot-core.git (c5beb1d, g18595, 2024/04/19, 17:24:33, master) Release version: 9.1.0.dev0 packaging version: 21.3 mwparserfromhell version: 0.6.5 wikitextparser version: n/a requests version: 2.31.0 cacerts: [redacted] certificate test: ok Python: 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] TASK DETAIL https://phabricator.wikimedia.org/T363047 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek Cc: Aklapper, pywikibot-bugs-list, matej_suchanek, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org