User:Dpmuk/DpmukBOT

'''My thoughts on CCI and a bot to do a lot of mundane tasks. Comments to the talk page please'''

CCI Changes
Some changes to the way CCIs are run / formatted would help a bot and hopefully users as well.

Keep the main CCI page mainly as as, with two differences:
 * 1) For requests have some way of marking them accepted - the bot would then generate the relevant pages and transfer them to open - or rejected - when the bot would archive them.
 * 2) Have a section for "Awaiting closing" - where the bot would move cases that appear to be complete (all articles marked in some way).

For investigation pages, I suggest three sections: Articles would be moved from open / suspect when a y or n tag was added.
 * 1) Open articles - these have not yet been assessed by anything other than a bot and the bot hasn't found them to be completely clean
 * 2) Clean articles - Articles that have been checked (either by bot or human) and are clean.  Collapsed by default.
 * 3) Cleaned articles - Articles that were a problem but have now been clean.  Collapsed by default.

Bot Tasks
Housekeeping
 * 1) Create new case pages by running contribution survey, then doing it's own checks (see below) and then formatting the results
 * 2) Move pages from Requested to Open to Awaiting Close to Archive based on tags or state of the investigation
 * 3) Move articles to appropriate sections once checked.

Checks - when creating new pages the bot would do some checks itself:  Check to see whether a diff is trivially OK by checking that it only consists of:  Reference additions (coded) Formatting changes (coded) Very short additions (<15 characters) (coded) Moving text around (coded) Reversions (check a few revisions back to see if any are identical)  Check to see whether any of the additions / changes are copyvios</li> </ol>

When the bot was finished I'd forsee a sample article line looking like (this is purely an example of what a new diff line may look like - I've not atually tested these diffs yet so ignore what I say the diffs are here): Where struck through links the bot has found OK and underlined it's found a possible problem with a link to the webpage next to it. Would prefer to use different colours but CSS has never been my strong point so not currently sure how to.
 * Craquelure: (5 edits, 5 major, +4391)      

There may well have to be a few changes to templates etc to get this all up and running.

For Image investigations it would only do the housekeeping bits.