Is there a way to log the username of the user if he is signed into wikipedia ?

From the gadget, yes.  From the standalone, no.  I don't believe you can confirm which user someone is without having them log in or by using OAuth to let your app identify them. 

> Should we just settle for the ip, time spent, article visualized & revisions visited as metrics.

I recommend this as a starting point. 

> Is it ok to log userinfo from a userscript ?

That is a good question.  I have logged such information with gadgets in the past.  I think it is important to be straightforward about what you will be logging to potential users.  Otherwise, I'm not aware of policy issues.

> Should we only use the DB count? & How do we measure the usage of usescripts , since they can't be counted from the DB like the gadgets ?

In the past, I've used the API to look at all of the user pages that end in ".js" to look for an import of my script that isn't *obviously* commented out.  (E.g. no comment character before the script import and no enclosing "/* */" style comment around the import.)  There ought to be a better way, but I don't know if it.  

-Aaron


On Thu, Dec 19, 2013 at 1:01 PM, jeph <jephpaul@gmail.com> wrote:
Hi,
  • The standalone version (http://cosmiclattes.github.io/wikireplay/player.html)
    • This will be on a different domain than en.wikipedia or the other namespaces , (Toolabs, github.io etc)
    • Is there a way to log the username of the user if he is signed into wikipedia ?
    • Should we just settle for the ip, time spent, article visualized & revisions visited as metrics.
  • The gadget
    • Is it ok to log userinfo from a userscript ?
    • Should we only use the DB count ?
    • How do we measure the usage of usescripts , since they can't be counted from the DB like the gadgets ?
Thanks
Jeph


On Wed, Dec 18, 2013 at 3:57 AM, Aaron Halfaker <ahalfaker@wikimedia.org> wrote:
Re. analytics, Jeph should be able to capture the data he wants for analytics via his tool with some logging code.  If the issue is performing analysis of the logged events, I'd be happy to lend a hand.  

-Aaron


On Tue, Dec 17, 2013 at 12:36 PM, Jonathan Morgan <jmorgan@wikimedia.org> wrote:

On Wed, Aug 21, 2013 at 5:31 PM, Dario Taraborelli <dtaraborelli@wikimedia.org> wrote:

3) are you going to host this on Labs?

This is the tool that Jessie Wild pinged the Analytics list about last week re: capturing usage. (Thread: "Analytics for tools hosted on labs?"). That email was prompted by a conversation that Siko, Jessie and I had.

Basically, part of Jeph's grant involves an evaluation of Replay Edits, for which he would need to log views and/or other usage data, potentially using some analytics package like Google Analytics (or possibly he can gain limited access to EventLogging?). Since it sounds like GA is discouraged/forbidden on Labs, it might not be ideal for him to host the project there initially--unless there's some more effective way for him to gather the usage data he needs. Any ideas?

- J


Best
Dario

On Aug 20, 2013, at 11:20 AM, jeph <jephpaul@gmail.com> wrote:




Hi,

Im an IEG grantee working on building a tool to visualise the edits in a wikipedia article. 
Would love to hear your feedback. You could add feature wishes here.

Thanks
Jeph

_______________________________________________
EE mailing list
EE@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/ee


_______________________________________________
EE mailing list
EE@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/ee




--
Jonathan T. Morgan
Learning Strategist
Wikimedia Foundation

_______________________________________________
EE mailing list
EE@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/ee



_______________________________________________
EE mailing list
EE@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/ee



_______________________________________________
EE mailing list
EE@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/ee