Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread Petr Bena
Yes, that is what I just tried to propose in second email :-) I see I am not the only one who believe we need it On Fri, Apr 13, 2012 at 8:33 AM, John Vandenberg wrote: > On Fri, Apr 13, 2012 at 3:56 PM, Petr Bena wrote: >> That was just an example, interesting are of course even checkuser >> ac

[MediaWiki-CodeReview] [MediaWiki r114878]: New comment added, and revision status changed

2012-04-12 Thread MediaWiki Mail
"Siebrand" changed the status of MediaWiki.r114878 to "fixme" and commented it. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114878#c32666 Old Status: new New Status: fixme Commit summary for MediaWiki.r114878: * Catch bad metadata.ini files earlier so we don't have PHP giving us E

Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread John Vandenberg
On Fri, Apr 13, 2012 at 3:56 PM, Petr Bena wrote: > That was just an example, interesting are of course even checkuser > accounts and such. I don't see any reason why system which notify you > that someone is trying to login as you is something bad for stewards. That feature would be awesome. ht

[Wikitech-l] git clone --depth=1 fails with error: RPC failed; result=22, HTTP code = 500

2012-04-12 Thread Thomas Gries
For test purposes I wanted to clone the last commit only by using the --depth option as in /work/tmp/ # git clone --depth=10 https://gerrit.wikimedia.org/r/p/mediawiki/core.git and got this error message: Initialized empty Git repository in /work/tmp/core/.git/ *error: RPC failed; result=22, HTT

Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread Petr Bena
That was just an example, interesting are of course even checkuser accounts and such. I don't see any reason why system which notify you that someone is trying to login as you is something bad for stewards. On Fri, Apr 13, 2012 at 7:17 AM, John Vandenberg wrote: > On Thu, Apr 5, 2012 at 12:42 AM,

Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread John Vandenberg
On Thu, Apr 5, 2012 at 12:42 AM, Petr Bena wrote: > Let me clarify: > we are talking about accounts which are interesting for hackers such > as these of stewards. Really? You're clearly designing a system targeting inactive sysops who disappear, but it doesnt seem suitable for inactive stewards

Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread Bináris
2012/4/13 Andrew Garrett > You could surreptitiously add site JS that captured tokens from checkusers > and released large amounts of sensitive data, > What can CUs do to prevent this? -- Bináris ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia

Re: [Wikitech-l] A balanced approach to 20% time

2012-04-12 Thread Petr Bena
It's nice to see that you are working on fixing this problem! Thanks On Thu, Apr 12, 2012 at 10:56 PM, Rob Lanphier wrote: > Hi everyone, > > I'm forking off from the "Development process doesn't work" thread to > highlight a message that Sumana sent the other day. > > Last year, Erik asked me to

Re: [Wikitech-l] Upcoming cultural heritage hackathon, autumn 2012 in Denmark

2012-04-12 Thread Ole Palnatoke Andersen
Answers to both further down. On Fri, Apr 13, 2012 at 4:50 AM, Andrew Garrett wrote: > On Thu, Apr 5, 2012 at 8:38 AM, Sumana Harihareswara > wrote: > > > Ole, yay! This is cool. Is it ok to forward this to the public > > developers' list and post about it on the mediawiki.org wiki so I can > >

[MediaWiki-CodeReview] [pywikipedia r10108]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Xqt" changed the status of pywikipedia.r10108 to "deferred" URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10108 Old status: new New status: deferred Commit summary for pywikipedia.r10108: update namespace aliases ___ MediaWiki-CodeRevi

[MediaWiki-CodeReview] [pywikipedia r10107]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Xqt" changed the status of pywikipedia.r10107 to "deferred" URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10107 Old status: new New status: deferred Commit summary for pywikipedia.r10107: update namespace aliases ___ MediaWiki-CodeRevi

Re: [Wikitech-l] Save to userspace

2012-04-12 Thread Andrew Garrett
On Fri, Apr 13, 2012 at 1:20 PM, Andrew Garrett wrote: > > Have you seen http://www.mediawiki.org/wiki/Extension:Drafts ? > Sorry. http://i0.kym-cdn.com/entries/icons/original/000/000/128/slowpoke_pokemon.gif -- Andrew Garrett Wikimedia Foundation agarr...@wikimedia.org __

Re: [Wikitech-l] Save to userspace

2012-04-12 Thread Andrew Garrett
On Tue, Apr 10, 2012 at 6:57 PM, Petr Bena wrote: > Hi, this is a proposal for a new feature to mediawiki core or a new > extension (I would myself prefer an extension, but given that the > development process seems to be broken, per my previous email, it's > likely not possible for a non-wmf dev

Re: [Wikitech-l] Interwiki talk page posting

2012-04-12 Thread Andrew Garrett
On Wed, Apr 11, 2012 at 12:24 AM, Niklas Laxström wrote: > Solution 2: > Use the api.php to post to the user talk page. > * Has lots of failure cases: > ** Connection error/Timeout > Try again. > ** May need to create user account separately > Create a global account for the bot > ** The accoun

Re: [Wikitech-l] Upcoming cultural heritage hackathon, autumn 2012 in Denmark

2012-04-12 Thread Andrew Garrett
On Thu, Apr 5, 2012 at 8:38 AM, Sumana Harihareswara wrote: > Ole, yay! This is cool. Is it ok to forward this to the public > developers' list and post about it on the mediawiki.org wiki so I can > get the API folks interested? > > https://www.mediawiki.org/wiki/API has a bunch of information t

Re: [Wikitech-l] Inactive sysops + improving security

2012-04-12 Thread Andrew Garrett
On Wed, Apr 4, 2012 at 6:25 PM, Petr Bena wrote: > > An account with sysop rights cannot do that much damage anyway. > > Deleting a page does no more damage than deleting a paragraph in an > > existent page, and the latter can be done by anybody; in fact, > > deleting a page makes a lot more nois

[Wikitech-l] (no subject)

2012-04-12 Thread Leonard Wallentin
http://mouseworker.com/test.old/wp-content/plugins/extended-comment-options/epffs.html?ezaj=aak.maamp&zazar=efz.aamaa&zmzaf=vuem ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedi

[Wikitech-l] Namespace translations in 1.20wmf1 all kosher?

2012-04-12 Thread Rob Lanphier
Hi everyone, During the 1.19 cycle, there were some namespace names that were changed and then reverted shortly before deployment. We're about to deploy 1.20wmf1 to a lot of international wikis on Wednesday of next week, and I'm a little worried that we may need to do a speedy revert again. Two

[MediaWiki-CodeReview] [MediaWiki r114870]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Awjrichards" changed the status of MediaWiki.r114870 to "reverted" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114870 Old status: new New status: reverted Commit summary for MediaWiki.r114870: 1.19wmf: MFG Change-Id: I70736224edd3dde12dd37c46028b1cb6059603d2

[MediaWiki-CodeReview] [MediaWiki r114874]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Awjrichards" changed the status of MediaWiki.r114874 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114874 Old status: new New status: ok Commit summary for MediaWiki.r114874: revert back to MFG Change-Id: I5bfa27fd46de233cf8f08eee60575b9381151ac6 __

[Wikitech-l] Time is not good for query-continue in API

2012-04-12 Thread Bináris
Hi, I submitted a bug here: https://bugzilla.wikimedia.org/show_bug.cgi?id=34029 This is about the API blocklist. Mark marked it as a duplicate of https://bugzilla.wikimedia.org/show_bug.cgi?id=24782. It is about recent changes. Yesterday I was fighting with usercontibs for a long time before I re

[Wikitech-l] A balanced approach to 20% time

2012-04-12 Thread Rob Lanphier
Hi everyone, I'm forking off from the "Development process doesn't work" thread to highlight a message that Sumana sent the other day. Last year, Erik asked me to manage the 20% policy time that has frequently been referenced here. Prior to the Git migration, I've made a point of emphasizing cod

Re: [Wikitech-l] MobileFrontend persistent cookie overhaul and caching weirdness

2012-04-12 Thread Arthur Richards
On Thu, Apr 12, 2012 at 12:43 PM, Daniel Friesen wrote: > > > Might this be a browser caching issue, not a server caching issue? > Yeah, I believe so. > As a temporary hack you could try updating the *_LoggedOut cookie when you > change the view cookie to invalidate previous cached pages. Intr

Re: [Wikitech-l] MobileFrontend persistent cookie overhaul and caching weirdness

2012-04-12 Thread Daniel Friesen
On Thu, 12 Apr 2012 12:18:21 -0700, Arthur Richards wrote: Per bug 35842, I've overhauled the persistent cookie handling in the MobileFrontend extension. I think my changes will work fine on the WMF architecture where most of our sites have a separate domain for their mobile version. However,

[Wikitech-l] MobileFrontend persistent cookie overhaul and caching weirdness

2012-04-12 Thread Arthur Richards
Per bug 35842, I've overhauled the persistent cookie handling in the MobileFrontend extension. I think my changes will work fine on the WMF architecture where most of our sites have a separate domain for their mobile version. However, for sites that use a shared domain for both desktop and mobile v

[MediaWiki-CodeReview] [MediaWiki r114869]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Ryan lane" changed the status of MediaWiki.r114869 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114869 Old status: new New status: ok Commit summary for MediaWiki.r114869: Add graceful restart capability to the job runner init script. Uses HUP to kill the jobs-loop.sh pro

[MediaWiki-CodeReview] [pywikipedia r10104]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Xqt" changed the status of pywikipedia.r10104 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10104 Old status: new New status: ok Commit summary for pywikipedia.r10104: (bug 603138) Adding linkTrail for Persian language ___ Medi

Re: [Wikitech-l] Save to userspace

2012-04-12 Thread Petr Bena
I made a few changes to extension and I would like to make following changes as well: * Preferences allowing users to disable the feature or change the autosave limits * Options for site administrators to change the UI, via MW pages * Notification area to edit form so that users see when the draft

Re: [Wikitech-l] GSoC applications closed

2012-04-12 Thread Sumana Harihareswara
On 04/06/2012 07:13 PM, Sumana Harihareswara wrote: > The deadline for students to apply to Google Summer of Code has now > passed. We received 41 substantive proposals*, but of course can only > accept a small subset of those. We don't have that many willing > mentors, we certainly won't get tha

Re: [Wikitech-l] Fwd: Chennai Unofficial Wikimedia Hackathon Report

2012-04-12 Thread Antoine Musso
Le 28/03/12 22:10, Yuvi Panda wrote: > The Chennai Unofficial Wikimedia Hackathon Report > > TL;DR: 13 completed hacks, including 2 core mediawiki patches, 3 > tawiki userscript updates and 2 new deployed tools. It was super > awesome and super productive! Hello Yuvi Panda, I have finally fini

Re: [Wikitech-l] Interwiki talk page posting

2012-04-12 Thread Tei
On 12 April 2012 00:00, Platonides wrote: > On 10/04/12 23:52, MZMcBride wrote: >> Now, whether for your purposes using the API is the best option, I don't >> know. But for my purposes, the API has been wonderful. The only major hiccup >> I hit was a few weeks ago when database lag spiked to a cra

Re: [Wikitech-l] Patch for gallery tag, review questions.

2012-04-12 Thread Kim Eik
My latest patch reuses regex already defined in Parser.php. please review @ https://gerrit.wikimedia.org/r/#change,4609 On Thu, Apr 12, 2012 at 10:43 AM, Antoine Musso wrote: > Le 12/04/12 08:33, Roan Kattouw a écrit : > >> ZOMG. Anyway, what I'd do if I had a MediaWiki clone handy is look throu

Re: [Wikitech-l] Mentor still needed for Watchlist Improvements

2012-04-12 Thread Sumana Harihareswara
On 04/12/2012 01:56 AM, Aaron Pramana wrote: > If anyone is interested in improving watchlists with grouping and usability > enhancements, please let me know. I have submitted a clear and practical > project proposal for the 2012 Google Summer of Code and I am seeking a > mentor. I will, of course,

Re: [Wikitech-l] GSOC 2012 : Lucene Automatic Query Expansion From Wikipedia Text

2012-04-12 Thread Gautham Shankar
Robert Stojnic gmail.com> writes: > > > Hello, > > Yep, generating the wodnet itself is a challenging and interesting > project. I was simply commenting on the Lucene part, i.e. on possible > application. > > Currently the lucene backend works by employing some very general rules > (e.g. t

[MediaWiki-CodeReview] [MediaWiki r114849]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Nikerabbit" changed the status of MediaWiki.r114849 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114849 Old status: new New status: ok Commit summary for MediaWiki.r114849: added authors, so folks know who to blame ___ MediaWiki

Re: [Wikitech-l] Development process doesn't work (yes this is another complaint from another community member)

2012-04-12 Thread Antoine Musso
MZMcBride wrote: > There are a lot of problems with Wikimedia's/MediaWiki's code review > processes, but in this particular case, it looks like the ball is in your > court. (And, for what it's worth, I'm not sure your implementation of the > idea makes much sense; see my comment on the bug.) Hello

[MediaWiki-CodeReview] [MediaWiki r114847]: Revision status changed

2012-04-12 Thread MediaWiki Mail
"Nikerabbit" changed the status of MediaWiki.r114847 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114847 Old status: new New status: ok Commit summary for MediaWiki.r114847: New version, 0.6.1 ___ MediaWiki-CodeReview mailing lis

Re: [Wikitech-l] Patch for gallery tag, review questions.

2012-04-12 Thread Antoine Musso
Le 12/04/12 08:33, Roan Kattouw a écrit : > ZOMG. Anyway, what I'd do if I had a MediaWiki clone handy is look through > Sanitizer.php to see if there's anything in there that handles URLs. Parser.php already has some code when dealing with link= parameter for image tags. That is the code I copy

Re: [Wikitech-l] Mentor still needed for Watchlist Improvements

2012-04-12 Thread MZMcBride
Aaron Pramana wrote: > If anyone is interested in improving watchlists with grouping and usability > enhancements, please let me know. I have submitted a clear and practical > project proposal for the 2012 Google Summer of Code and I am seeking a > mentor. I will, of course, do all of the heavy lif

Re: [Wikitech-l] Patch for gallery tag, review questions.

2012-04-12 Thread Daniel Friesen
On Wed, 11 Apr 2012 23:33:53 -0700, Roan Kattouw wrote: On Apr 11, 2012 11:01 PM, "Antoine Musso" wrote: const EXT_URL_REGEX = '/^(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+ )?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})