Xqt added a comment.

  This is a bigger problem. Page.save checks for BotMayEdit but unfortuntely 
inside the already changed text:
  
    <<<
    @@ -1,2 +1 @@
    + {{Categoría redirigida|Wikilibros:Políticas y orientaciones}}
    - #redirect [[:Categoría:Wikilibros:Políticas y orientaciones]]
    - {{bots|deny=all}}
    
    >>>
  
  As you can see the the {{bot}} restriction was removed and is not taken into 
account then. The given patch solves the current problem but probably there 
should be a more general solution.

TASK DETAIL
  https://phabricator.wikimedia.org/T262136

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Rubin16, Aklapper, MarcoAurelio, pywikibot-bugs-list, JohnsonLee01, SHEKH, 
Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, 
joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, 
Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to