User:Zhaofeng Li/Script refactorer

Background: Many user scripts are using deprecated MediaWiki APIs that will be removed in a future release. This project intends to provide an automatic tool that semi-automatically updates usages of those deprecated features to their modern counterparts.

Problems

 * Is an automatic tool necessary at all?
 * Will the tool be useful for other purposes after the problem has been solved? If not, is it worth the effort to make a single-purpose tool?

Refactorer
Scans the wikis for scripts using deprecated MediaWiki APIs, fix them with some regex magic and put the proposed changes to the scrutineer queue. This is periodically ran.

Scrutineer
Displays a list of edits that is proposed or already made. Trusted editors can approve pending edits or revert the already-made edits. Script authors are allowed to act on their own scripts. This tool can be useful for several other purposes, like scrutinizing the past edits of a long-term abuser and other editors subject to community-imposed restrictions. All edits are done on the approving editors' behalf via API.