Last modified: 2013-04-22 16:15:25 UTC
On English Wikipedia, we should add a tag (https://www.mediawiki.org/wiki/Manual:Tags) to edits made to articles chosen from Special:GettingStarted by new editors. We are logging actions anonymously with EventLogging, but providing a public tag of edits made through this interface has additional advantages: * It will allow product managers and analysts the ability to see a real time stream of the edits * It will help community members inspect the overall stream of edits, and assess them for quality * It will explain to anyone who is watching a page how new editors found the article, and why they are editing it * It will allow us to find and contact the new editors who use Special:GettingStarted (right now vandals are being warned, but good editors are being ignored for the most part) If we're adding a tag, we should assume that most community members won't know what Special:GettingStarted is. With that in mind, I propose the following for the tag text: [[Special:Tags|Tag]]: new editor [[Wikipedia:GettingStarted|getting started]] This is also appropriately agnostic to the task type (copyediting, wikifying, etc.), which is likely to change as the project evolves. You can see other tags in use on English Wikipedia at Special:Tags.
Does anyone know how to pass this along the chain (view->edit->save)? Ideally, we could use a query string parameter. There are no useful docs at https://www.mediawiki.org/wiki/Manual:Tags , so we'll have to dig into the code.
Adding Kaldari, since he has experience adding tags for WikiLove.
Adding Maxsem as well, since he did this for MobileFrontEnd.
Possibility? You use the tags interface to
Oops! Adding Andrew Garret. The code is in ChangTags.php Possibility? 1. Use the tags interface to create a tag on the getting started event during account creation: say "onboarded" 2. During an edit save, you check the tags database for the tag for that user SELECT count(*) from change_tag as ct AND logging as log WHERE ct.ct_log_id=log.log_id AND log.log_type=1 AND ct.tag="onboarded" AND log.log_user=$user_id AND (some time window filter?) 3. If this returns anything then you add a (different) tag to the edit tags that allows this to be tracked.
I'm not sure a time window and tagging of all edits by newly-registered users within the window works. Lots of users edit shortly after account creation, but are not editing one of the articles selected from the list on Special:GettingStarted. We only want edits to those pages, by people who came from the Special page.
Only newly registered users that have been onboarded, but your point is taken. We could log a different event since logging stores log_page and join against that.
(In reply to comment #3) > Adding Maxsem as well, since he did this for MobileFrontEnd. No, what I did was a quick AbuseFilter hack. Look in VE for real solution:)
They're using a totally different VisualEditor-specific API back/middleend, calling the API, then calling ChangeTags::AddTags after the save is done: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/VisualEditor.git;a=blob;f=ApiVisualEditor.php;h=b0fe2048a450cf9ee2e158931a10bf98d8ab5723;hb=refs/heads/master#l220 That approach is not workable for us. They also use a hook to list it as an available tag, which we could do: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/VisualEditor.git;a=blob;f=VisualEditor.hooks.php;h=d4660cb0eda0fe54e2ea00905c29182a9d2f4828;hb=refs/heads/master#l53
The specs for the server-side logging API that Dario hashed out with S and me earlier this morning would totally cover this. I think we can do it. I'll shoot for getting this done in time for the deployment window next Thursday (Jan 10th).
https://gerrit.wikimedia.org/r/#/c/42198/ is mostly done.