Example:

on(APIPage).protect "Title of page to be protected", "Reason for protection"

sets the level of protection to

edit=sysop|move=sysop

We have needed this in particular for a MobileFrontend test that was
jumping through some huge hoops to protect a page.  It is now universally
available in mediawiki-selenium 2.26.

-Chris
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to