Meno25 added a comment.

  In T342470#9048777 <https://phabricator.wikimedia.org/T342470#9048777>, @Xqt 
wrote:
  
  > Seems this this bad title link causes this exception:
  >
  > 
https://ar.wikipedia.org/wiki/%D8%B3%D9%84%D9%81%D9%8%D8%A9#.D8.A7.D9.84.D8.AD.D9.83.D9.85_.D8.A8.D8.A7.D9.84.D8.B4.D8.B1.D9.8A.D8.B9.D8.A9_.D8.A7.D9.84.D8.A5.D8.B3.D9.84.D8.A7.D9.85.D9.8A.D8.A9
  >
  > Unfortunately the link is cropped by fixSyntaxSave() method first before 
the the cleanUpLinks fails.
  
  Good catch. Yes, this link caused  the problem. It contained
  
    %D9%8
  
  which should have been
  
    %D9%8A
  
  (Encoding of the Arabic character "ي" 
<https://www.compart.com/en/unicode/U+064A>)
  I fixed it in this edit 
<https://ar.wikipedia.org/w/index.php?title=%D9%86%D9%82%D8%A7%D8%B4:%D8%A7%D9%84%D8%B3%D9%84%D9%81%D9%8A%D8%A9/%D8%A3%D8%B1%D8%B4%D9%8A%D9%81_1&diff=prev&oldid=63513477>
 and after this the bot worked as expected 
<https://ar.wikipedia.org/w/index.php?title=%D9%86%D9%82%D8%A7%D8%B4:%D8%A7%D9%84%D8%B3%D9%84%D9%81%D9%8A%D8%A9/%D8%A3%D8%B1%D8%B4%D9%8A%D9%81_1&diff=prev&oldid=63513488>.

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

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

To: Meno25
Cc: Xqt, Aklapper, alaa, pywikibot-bugs-list, Meno25, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to