Hi,
I have a bot with a botflag and in some cases it edits user talk pages. The users don't get the normal notice. How can I edit a talk page with no bot mode?
My current code is: page = wikipedia.Page(site, UserTalkPage) page.put(page.get()+WarnText, EditComment)
Bináris
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello.
Bináris wrote: | The users don't get the normal notice. How can I edit a talk page with | no bot mode? | | My current code is: | page = wikipedia.Page(site, UserTalkPage) | page.put(page.get()+WarnText, EditComment)
Do not mark edits as minor (minorEdit=False).
- -- Beau
2008/4/22, Beau beau@adres.pl:
| | My current code is: | page = wikipedia.Page(site, UserTalkPage) | page.put(page.get()+WarnText, EditComment)
Do not mark edits as minor (minorEdit=False).
I am afraid that's not the solution. I modified the code: page.put(page.get()+WarnText, EditComment, minorEdit=False) Now it is not minor, but is still bot edit and the user doesn't get the orange strip on the top of the screen.
Bináris
Hello.
Bináris wrote:
Now it is not minor, but is still bot edit and the user doesn't get the orange strip on the top of the screen.
Well, it should appear ('new message' notice do not appear only when bot makes minor edits on user talk pages).
MediaWiki has also support for 'bot' parameter, so you can decide when your bot should be visible on recentchanges, but I don't know how it is supported in pywikipedia.
Well, it should appear ('new message' notice do not appear only when bot makes minor edits on user talk pages).
I don't understand. :-( As a matter of fact, my bot edited my own talk page from the same IP, but anyhow, from a different user name, so I should have got the notice.
MediaWiki has also support for 'bot' parameter, so you can decide when
your bot should be visible on recentchanges, but I don't know how it is supported in pywikipedia.
I was told there is a &bot=0, but I think this requires editing the URL directle, and I don't know how to do that in pywiki.
Bináris
Hello.
Bináris wrote:
I don't understand. :-( As a matter of fact, my bot edited my own talk page from the same IP, but anyhow, from a different user name, so I should have got the notice.
[[mw:Manual:User rights]]:
nominornewtalk - blocks new message notification when making minor edits to user talk pages (requires minor edit right).
The only possibility would be to use another username for the bot for those edits.
2008/4/22, Bináris wikiposta@gmail.com:
I have a bot with a botflag and in some cases it edits user talk pages. The users don't get the normal notice. How can I edit a talk page with no bot mode?
My current code is: page = wikipedia.Page(site, UserTalkPage) page.put(page.get()+WarnText, EditComment)
Thank you. :-(
2008/4/22, Andre Engels andreengels@gmail.com:
The only possibility would be to use another username for the bot for those edits.
pywikipedia-l@lists.wikimedia.org