Closed yethrosh closed 6 years ago
This is good start and sorry for not documented it properly. Keep in mind that the columns meaning is: ID || Replace from || Replace to || Except || Link to discussion In the page you just linked there are no IDs>50 and aren't following the convetion the bot expects: https://github.com/eranroz/hewiki-ReplaceBot/blob/master/hewikiReplacebot.py#L117
Could you please edit one row on linked page according the bot expected convention, so that the thing will be more clear to me, thanks. :)
I am testing bot on sandbox of urdu wikipedia which is located here: https://ur.m.wikipedia.org/wiki/ویکیپیڈیا:تختہ_مشق
Other rows need fix too. For security reasons, you (or someone else from the whitelist users in the config) must be the last editor of the page.
You mean that when ID column has number on every row then bot will work properly? Thanks. I will do that. :)
Now look at that page where ID column has number on every row but bot still do not replace here: https://ur.wikipedia.org/wiki/ویکیپیڈیا:تختہ_مشق
Any suggestion or solution please? :) We really need it.
Still waiting..... :)
The issue is due to tailing spaces which are not expected after the nowiki. (this is important because one may want to intentionally add space as part of the replacement) Fixed here: https://ur.wikipedia.org/w/index.php?title=%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%DA%88%DB%8C%D8%A7:%D9%85%D8%AA%D8%AF%D8%A7%D9%88%D9%84_%D8%A7%D9%85%D9%84%D8%A7%D8%A6%DB%8C_%D8%BA%D9%84%D8%B7%DB%8C%D9%88%DA%BA_%DA%A9%DB%8C_%D9%81%DB%81%D8%B1%D8%B3%D8%AA%DB%8C%DA%BA/%D8%A8%D8%B1%D8%A7%D8%A6%DB%92_%D8%AE%D9%88%D8%AF%DA%A9%D8%A7%D8%B1_%D8%AF%D8%B1%D8%B3%D8%AA%DB%8C&diff=3104502&oldid=3061140
Yeah! Now it works fine, Thanks. :)
I configured this heReplaceBot for urdu wikipedia. But it works only when replacementPage has two or three entries, otherwise it does not work. You can look at its forked repository here: https://github.com/yethrosh/hewiki-ReplaceBot
And replacementPage is here: https://ur.m.wikipedia.org/wiki/ویکیپیڈیا:متداول_املائی_غلطیوں_کی_فہرستیں/برائے_خودکار_درستی