Analytics/Archive/Wikimetrics/Adding New Features/Tag Cohorts

Currently in development.

Background
We would like to implement a feature that would allow a user to tag a cohort. Tagging cohorts will help users to create cohorts from similar cohorts. For example, if a user would like to look at the retention of active editors from all their March edit-a-thons, they can find those cohorts tagged as March 2014 edit-a-thon to examine all those cohorts tagged. They can use those cohorts to create a master cohort and run metrics on it.

When normal users search through a tag, the cohorts that show up will be either their own cohorts, cohorts shared with them, or public cohorts. There will be no ability for normal users to search through private cohorts of other users. In addition to normal users, we would like to implement a super user. A super user would be able to see private cohorts that are tagged. Users may choose to opt out of this feature.

We would like to give the Grantmaking evaluation team super user access. They will use this ability to find cohorts tagged with program tags. The evaluation team will use these cohorts to run various metrics from particular program implementations, such as Wiki Loves Monuments, for high-level analysis. They can use this information for a follow-up inquiry. This will help give an idea of how a program performs overall.

Autocomplete Tag
To help users visualize what tags are being used and help curb typos, we intend to autocomplete tags. That is, when a user begins typing, a drop down list of matching tags will appear.

Tagging a cohort/Deleting a tag
Users can now tag a cohort with tags of their own choosing. They can also delete a tag from a cohort by clicking the "x" next to each tag.

User Stories
Section needs work.

Meeting notes 2014-07-09
Attendees: Dan, Teresa, Kevin, Nuria

We talked about the functionality we think we can implement with tags in a reasonable timeframe. Our goal is that the tag functionality needs to be able to benefit any wikimetrics user. We jusr restricted our meeting about tag insertion, we have not consider creation of reports via tags (which is agreat idea but out of scope)

Considerations
We will not be implementing priviledge user functionality. Wikimetrics has no roles and we do not wish to add those at this time as it complicates heavily what is a very simple tool. If we were to add 'roles' we would need to consider how does affect any feature we might want to develop in the future. At this time we think is a core principle that every user of wikimetrics should have access to the same functionality if there are no technical considerations like performance issues.

Tag insertion
End goal is to have an organized set of tags that grantmaking can use. Our suggestion is that grantmaking defines a protocol when it comes to tags. Some examples of how tags could look:

"Grantmaking:May 2004" "gp:2014:Hackathon" "2014:May:Hackathon"

This is a convention that grantmaking can define to its liking. We can even upload a set of tags that are "predefined" by grantmaking to the database. Those can be made available in an autocomplete when tagging a cohort.

Now, to be clear: tags will be available to any user, not just grantmaking as there are no "authorized" or "unauthorized" tags.

Tag Search
In the future we can search (via autocomplete again) cohorts via tags. Note that search is global and goes against all tags in database, again, there are no aothorized tags.

Sanctioned Tags
This list is taken from the "Project Tracking" google doc. It has also been modified for consistency and to conform to the tagging rules (e.g. no spaces).

A user can add as many tags as s/he wants.

Project
Any of the 882 projects. The list is here: http://en.wikipedia.org/w/api.php?action=sitematrix
 * wiki:en
 * wiki:de
 * wiki:it

Program
Initial program names:
 * gp:Editing-Workshop
 * gp:Edit-a-thon
 * gp:Micro-Grants
 * gp:Hack-a-thon
 * gp:On-wiki-Writing-Contest
 * gp:Press-Passes
 * gp:Travel-Grants
 * gp:Wikimedia-Conference
 * gp:Wikipedia-Adventure
 * gp:Wikipedian-Wikimedian-in-Residence
 * gp:Wikipedia-Education-Program
 * gp:Wiki-Expedition
 * gp:Wiki-Takes
 * gp:Wiki-Loves-Monuments
 * gp:Other-Photo-Upload-Project
 * gp:Other-Classroom-Editing

Organization/Affiliation

 * wm:AM-Wikimedia-Armenia
 * wm:AR-Wikimedia-Argentina
 * wm:AT-Wikimedia-Österreich
 * wm:AU-Wikimedia-Australia
 * wm:BD-Wikimedia-Bangladesh
 * wm:CA-Wikimedia-Canada
 * wm:CH-Wikimedia-CH
 * wm:CL-Wikimedia-Chile
 * wm:CZ-Wikimedia-Česká-republika
 * wm:DE-Wikimedia-Deutschland
 * wm:DK-Wikimedia-Danmark
 * wm:EE-Wikimedia-Eesti
 * wm:ES-Wikimedia-España
 * wm:FI-Wikimedia-Suomi
 * wm:FR-Wikimédia-France
 * wm:HK-Wikimedia-Hong-Kong
 * wm:HU-Wikimédia-Magyarország
 * wm:ID-Wikimedia-Indonesia
 * wm:IL-Wikimedia-Israel
 * wm:IN-Wikimedia-India
 * wm:IT-Wikimedia-Italia
 * wm:MK-Викимедија-Македонија
 * wm:MO-Wikimedia-Macau
 * wm:MX-Wikimedia-México
 * wm:NL-Wikimedia-Nederland
 * wm:NO-Wikimedia-Norge
 * wm:PH-Wikimedia-Philippines
 * wm:PL-Wikimedia-Polska
 * wm:PT-Wikimedia-Portugal
 * wm:RS-Викимедија-Србије
 * wm:RU-Викимедиа-РУ
 * wm:SE-Wikimedia-Sverige
 * wm:TW-Wikimedia-Taiwan
 * wm:UA-Вікімедіа-Україна
 * wm:UK-Wikimedia-UK
 * wm:US-DC-Wikimedia-District-of-Columbia
 * wm:US-NYC-Wikimedia-New-York-City
 * wm:UY-Wikimedia-Uruguay
 * wm:VE-Wikimedia-Venezuela
 * wm:ZA-Wikimedia-South-Africa
 * wm:Amical-Wikimedia
 * wm:Esperanto-kaj-Libera-Scio-(ELiSo)
 * wm:GLAM-Wiki-US-Consortium-en
 * wm:New-England-Wikimedians-en
 * wm:MediaWiki-Group-Promotion-en-
 * wm:Wikimedia-Community-User-Group-Greece
 * wm:Wikimedians-of-Nepal
 * wm:Independent-Volunteer

Program Month and Year

 * 2014-Jan
 * 2014-Feb
 * 2014-Mar
 * 2014-Apr
 * 2014-May
 * 2014-Jun
 * 2014-Jul
 * 2014-Aug
 * 2014-Sep
 * 2014-Oct
 * 2014-Nov
 * 2014-Dec
 * 2015-Jan
 * 2015-Feb
 * 2015-Mar
 * 2015-Apr
 * 2015-May
 * 2015-Jun
 * 2015-Jul
 * 2015-Aug
 * 2015-Sep
 * 2015-Oct
 * 2015-Nov
 * 2015-Dec