I would prefer it, if the selenium users at enwp beta and wikidatawiki beta will use botflags for their edits. Since T115370 their are at the global selenium user group (http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:GlobalGroupPermissions/Selenium), and I added the users to that (http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:GlobalUsers/Selenium). (Feel free to report, if a account is missing, then I will add it). This group is active at commonswiki, wikidatawiki and enwiki (http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:WikiSets/7), so they are able to use a botflag, so please enable using botflag for edits, that will make it much easier to patrol the recent changes fast.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T210726 Selenium framework cleanup | |||
Open | None | T116027 Make selenium users use botflags at beta-cluster by setting the bot flag (passing "bot=1" parameter) when saving edits |
Event Timeline
(Not really a On Wiki change, the accounts got botflags already, but don't flag their edits, so a code problem)
It looks like they use the UI rather than the API, so probably can't set the bot flag on edits?
Ah, it looks like you can add an input with name="bot" and set it to value 1. I know in JS you can do it with $( '#wpMinoredit' ).after( $( '<input>' ).attr( { name: 'bot', type: 'hidden', value: '1' } ) ); but I don't know how to code that in to the tests.
I think you'll have to make some test code in MW core set the bot flag when saving edits
Sorry, I am still not sure what to do. Let me explicitly state what I understand, so it might be more clear what I do not understand.
Selenium user (and friends) mostly edit:
- commons.wikimedia.beta.wmflabs.org 6,198 edits
- en.wikipedia.beta.wmflabs.org 253,614 edits
- wikidata.beta.wmflabs.org 99,065 edits
The edit's are done using Selenium from Ruby or Node.js. Ruby framework is using mediawiki_selenium Ruby gem, Node.js is using WebdriverIO NPM package. Mentioned tools are editing MediaWiki using web interface, like a user would.
Selenium user is also used to edit via the API using mediawiki_api Ruby gem and nodemw NPM package.
The only thing I have found about bot flag is Manual:Bots but there are no details on how to do it, so I am still lost.
Three years stalled... Does really nobody know about botflags on beta cluster and could share their knowledge? :'(
On a related note, I found https://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076552.html from 2014 coming from discussion in T67494, but admit I haven't read the complete thread (Mailman 2 is a horrible UI).
Ah, thanks a lot for chiming in! In that case this ticket should probably simply be closed as declined or invalid if it's not possible at all...
Aklapper renamed this task from Make selenium users use botflags at beta-cluster by setting the bot flag when saving edits to Make selenium users use botflags at beta-cluster by setting the bot flag (passing "bot=1" parameter) when saving edits.
If adding bot=1 to the URL is all that needs to be done, then that's trivial to do.