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

2012-04-12 Thread Antoine Musso
Le 11/04/12 09:27, Kim Eik a écrit : I have created a patch for the gallery tag and have been given the following review. https://gerrit.wikimedia.org/r/4609 * JavaScript injection: you can inject javascript: URIs which execute code when clicked * plain links (link=Firefox) are taken as

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

2012-04-12 Thread Roan Kattouw
On Apr 11, 2012 11:01 PM, Antoine Musso hashar+...@free.fr 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})*)*(\?(amp;?

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 roan.katt...@gmail.com wrote: On Apr 11, 2012 11:01 PM, Antoine Musso hashar+...@free.fr wrote: const EXT_URL_REGEX = '/^(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+

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

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 : snip some long regex 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

[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 list

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 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 ___

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

2012-04-12 Thread Gautham Shankar
Robert Stojnic rainmansr at 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.

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, do

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 hashar+...@free.fr wrote: Le 12/04/12 08:33, Roan Kattouw a écrit : snip some long regex ZOMG. Anyway, what I'd do if I had a

Re: [Wikitech-l] Interwiki talk page posting

2012-04-12 Thread Tei
On 12 April 2012 00:00, Platonides platoni...@gmail.com 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

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

2012-04-12 Thread Antoine Musso
Le 28/03/12 22:10, Yuvi Panda wrote: snip 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! snip Hello Yuvi Panda, I have finally

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 that

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

[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 ___

[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

[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

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 aricha...@wikimedia.org 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

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 li...@nadir-seen-fire.comwrote: 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

[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 code

[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

[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

[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

[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

[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.maampzazar=efz.aamaazmzaf=vuem ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

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

2012-04-12 Thread Andrew Garrett
On Wed, Apr 4, 2012 at 6:25 PM, Petr Bena benap...@gmail.com 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

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 suma...@wikimedia.orgwrote: 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

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 niklas.laxst...@gmail.com 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

Re: [Wikitech-l] Save to userspace

2012-04-12 Thread Andrew Garrett
On Tue, Apr 10, 2012 at 6:57 PM, Petr Bena benap...@gmail.com 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

Re: [Wikitech-l] Save to userspace

2012-04-12 Thread Andrew Garrett
On Fri, Apr 13, 2012 at 1:20 PM, Andrew Garrett agarr...@wikimedia.orgwrote: 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

[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-CodeReview

[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-CodeReview

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 agarr...@wikimedia.orgwrote: On Thu, Apr 5, 2012 at 8:38 AM, Sumana Harihareswara suma...@wikimedia.orgwrote: Ole, yay! This is cool. Is it ok to forward this to the public developers' list and post about it on

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 ro...@wikimedia.org 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

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

2012-04-12 Thread Bináris
2012/4/13 Andrew Garrett agarr...@wikimedia.org 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

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

2012-04-12 Thread John Vandenberg
On Thu, Apr 5, 2012 at 12:42 AM, Petr Bena benap...@gmail.com 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

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 jay...@gmail.com wrote: On Thu, Apr 5,