<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Il 06/04/2015 02:18, Golden Ring ha scritto:<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">Hi,
Apologies if this is a dup; I'm not sure it got through the first time.
I've been thinking recently about how to do recent changes patrol
better. I've prototyped a tool, which you can see at
<a class="moz-txt-link-freetext" href="http://recent-changes.appspot.com/">http://recent-changes.appspot.com/</a>.</pre>
</blockquote>
<br>
Nice. It reminds me of <a
href="https://tools.wmflabs.org/pltools/rech/">rech</a>...<br>
<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">
This is currently implemented on Google AppEngine, basically
becausethat's what I had to hand when I set out and already knew
something about using. It uses the MediaWiki API to retrieve diffs.
This is not ideal for a few reasons, not least because it wouldn't
take very heavy use of the tool before I'd have to start paying for
it, which would probably mean putting ads on it. I can't be dealing
with all that.</pre>
</blockquote>
<br>
I suppose the cost is related to Google charging for bandwidth use
beyond a threshold?<br>
Since the app needs JavaScript anyway, you could simply retrieve
recent changes on the client, thus avoiding much of the server-side
traffic.<br>
<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">
Somewhere on the API pages, it mentioned that it's possible to develop
tools in MediaWiki Labs, so here I am. I've read some of the
arthitecture and 'getting started' sort of pages on the WikiTech
pages, but TBH I'm struggling to get my head around it all. A few
specific questions:</pre>
</blockquote>
<br>
First of all, let's start right. Please read <a
href="https://wikitech.wikimedia.org/wiki/Labs_labs_labs">this
page</a> about the naming.<br>
You're probably looking for "<i>Wikimedia</i> Labs" and specifically
"<i>Tool</i> Labs".<br>
<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">
Is Labs the right place to develop this sort of tool as part of the
MediaWiki software, instead of as an external tool?
I think I need to start a new project for this. Is that right?
If so, how do I go about starting a new project?
Or should I join the Tools project?</pre>
</blockquote>
<br>
Labs is precisely for external tools, and I'd say Tool Labs best
fits your needs.<br>
To enhance MediaWiki's built-in patrolling functionality, you should
read <a
href="https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker">this</a>
instead.<br>
<a
href="https://lists.wikimedia.org/pipermail/wikimedia-l/2014-October/075137.html">Use
your judgement and common sense</a> to decide whether it's better
to develop your tool on Tool Labs or as part of MediaWiki (either
core or an extension).<br>
<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">
If I could make a suggestion, it might be worth mentioning labs a bit
more prominently on the API pages - I didn't know Labs existed when I
set out to develop this tool. Also, a proper 'Getting Started' page,
which states simply what you can do with Labs and how to get started
doing it, would be great. It's possible it's there and I just haven't
found it!</pre>
</blockquote>
<br>
<a href="https://phabricator.wikimedia.org/T91509">There are plans
for that</a>.<br>
<br>
<blockquote
cite="mid:CAKaDXE4bQVa6xFJ132XO1hUrPjbB2xo0T+g6jjDVtMOam72nvA@mail.gmail.com"
type="cite">
<pre wrap="">
Regards,
GoldenRing
_______________________________________________
Labs-l mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a>
<a class="moz-txt-link-freetext" href="https://lists.wikimedia.org/mailman/listinfo/labs-l">https://lists.wikimedia.org/mailman/listinfo/labs-l</a>
</pre>
</blockquote>
<br>
</body>
</html>