Last modified: 2013-04-22 16:15:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45191, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43191 - Tag edits made through Special:GettingStarted
Tag edits made through Special:GettingStarted
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GettingStarted (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-17 07:28 UTC by Steven Walling
Modified: 2013-04-22 16:15 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Steven Walling 2012-12-17 07:28:06 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.
Comment 1 Matthew Flaschen 2012-12-17 21:54:16 UTC
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.
Comment 2 Steven Walling 2012-12-17 22:31:44 UTC
Adding Kaldari, since he has experience adding tags for WikiLove.
Comment 3 Steven Walling 2012-12-18 00:07:02 UTC
Adding Maxsem as well, since he did this for MobileFrontEnd.
Comment 4 Terry Chay 2012-12-18 00:25:22 UTC
Possibility?

You use the tags interface to
Comment 5 Terry Chay 2012-12-18 00:32:36 UTC
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.
Comment 6 Steven Walling 2012-12-18 00:46:11 UTC
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.
Comment 7 Terry Chay 2012-12-18 00:48:14 UTC
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.
Comment 8 Max Semenik 2012-12-18 01:25:37 UTC
(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:)
Comment 9 Matthew Flaschen 2012-12-18 02:01:08 UTC
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
Comment 10 Ori Livneh 2013-01-02 22:03:09 UTC
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).
Comment 11 Matthew Flaschen 2013-01-09 22:39:29 UTC
https://gerrit.wikimedia.org/r/#/c/42198/ is mostly done.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links