Last modified: 2014-10-18 07:27:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57068, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55068 - Support the use of Assert Edit
Support the use of Assert Edit
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
: 62388 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:19 UTC by Kunal Mehta (Legoktm)
Modified: 2014-10-18 07:27 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:19:42 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/241/
Reported by: p858snake
Created on: 2010-03-05 10:07:29
Subject: Support the use of Assert Edit
Original description:
It would be nice if the use of the Assert Edit\[1\] extension was supported by the framework, Because for the wikis it is depolyed on \(All WMF wikis\) it would prevent bots from editing unlogged inif they choose to have it assert its edits. 

\[1\]. http://www.mediawiki.org/wiki/Extension:Assert\_Edit
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:19:44 UTC
The en Bot Approval Group is considering this as a future requirement for bots
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:19:46 UTC
What checking period does the BAG propose? Every start? Every five minutes? Every hour? Every edit, every 10, every 100?
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:19:48 UTC
Time? all the asserting does is add something like "&assert=bot" to the end of the address and it returns to the bot interface if it has the right or not, and it should check every edit.
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:19:49 UTC
Now implemented in the rewrite branch only; using assert=user rather than assert=bot because some wikis may permit use of the framework without a bot flag.  Probably this should be configurable on a per-wiki basis, but it's a start.
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:19:51 UTC
It is now bot policy on en.wikipedia that bots which are known to edit while logged out should have an assert edit, or a function which does the same thing, added to them.
As to the time issue, this is simply however often it is required to make sure that the bot doesn't edit while logged out. Which is probably every edit for bots which have a history of logging themselves out.
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 04:19:53 UTC
- **priority**: 5 --> 6
Comment 7 Gerrit Notification Bot 2014-07-19 21:17:05 UTC
Change 147837 had a related patch set uploaded by Ricordisamoa:
use AssertEdit for every 'write' action

https://gerrit.wikimedia.org/r/147837
Comment 8 Gerrit Notification Bot 2014-08-08 22:00:43 UTC
Change 147837 had a related patch set uploaded by Legoktm:
use API assert for supported 'write' actions

https://gerrit.wikimedia.org/r/147837
Comment 9 Gerrit Notification Bot 2014-08-08 22:01:44 UTC
Change 147837 merged by jenkins-bot:
use API assert for supported 'write' actions

https://gerrit.wikimedia.org/r/147837
Comment 10 Ricordisamoa 2014-08-08 22:15:13 UTC
I'd say this is a tracking bug (even though it was used as topic for a Gerrit change) or one of the never-to-be-resolved ones, because many other things could be done (e.g., use an automatically updated list of 'write' actions, assert 'bot' instead of 'user', etc).
Comment 11 Kunal Mehta (Legoktm) 2014-08-08 22:16:45 UTC
File new bugs for those things!
Comment 12 John Mark Vandenberg 2014-10-18 07:25:24 UTC
detecting list of write actions is now bug 72207.
assert 'bot' is a minefield; someone else will need to create that bug, providing rationale.
Comment 13 John Mark Vandenberg 2014-10-18 07:27:45 UTC
*** Bug 62388 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links