Page MenuHomePhabricator

Make selenium users use botflags at beta-cluster
Open, Stalled, LowPublic


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 (, and I added the users to that ( (Feel free to report, if a account is missing, then I will add it). This group is active at commonswiki, wikidatawiki and enwiki (, 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.

Event Timeline

Luke081515 raised the priority of this task from to Needs Triage.
Luke081515 updated the task description. (Show Details)
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 20 2015, 4:02 PM
hashar triaged this task as Normal priority.Oct 21 2015, 7:50 PM
hashar moved this task from To Triage to In-progress on the Beta-Cluster-Infrastructure board.
hashar set Security to None.

(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.

zeljkofilipin lowered the priority of this task from Normal to Low.May 26 2017, 3:29 PM
zeljkofilipin awarded a token.

@Krenair what is needed to be done to move this forward?

I think you'll have to make some test code in MW core set the bot flag when saving edits

zeljkofilipin added a comment.EditedOct 24 2017, 1:00 PM

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:

  • 6,198 edits
  • 253,614 edits
  • 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.

zeljkofilipin changed the task status from Open to Stalled.Oct 30 2017, 2:05 PM

I do not know how to proceed.

@Kunal: I have just talked to @demon about this and he said you might know about botflags :)

Sau226 awarded a token.Mar 4 2018, 7:54 PM

@Kunal: I have just talked to @demon about this and he said you might know about botflags :)

You mean @Legoktm ?

You mean @Legoktm ?

It's possible. :) It was a few months ago, I have forgot what @demon said.