Re: [Wikitech-l] LabeledSectionTransclusion performance problems

2012-12-04 Thread Merlijn van Deen
Judging by the itwikisource jobs I just killed on most of the job runners, the parse time went up by a factor of infinity, not a factor of 8. They had been running for 3.5 days with --maxtime=300. This surprises me. First of all, because a copy of Pagina Principale (with all it's

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Gerard Meijssen
Hoi, How many Wikipedias exist 280+ ... The English Wikipedia may be the biggest and baddest but you cannot infer from this that its message is the same message in use everywhere. When you want to change a default message, the message is localised for general consumption on

Re: [Wikitech-l] Complete (basic) analysis of MediaWiki

2012-12-04 Thread Claudia Müller-Birn
Hi Andre, On Dec 3, 2012, at 7:51 PM, Andre Klapper aklap...@wikimedia.org wrote: On Mon, 2012-12-03 at 19:40 +0100, Federico Leva (Nemo) wrote: Compare e.g. https://www.ohloh.net/p/mediawiki/contributors?query=sort=commits Also,

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Federico Leva (Nemo)
Writing to village pumps is sometimes useless, not everybody looks at them so you still rely on someone to forward the message to its actual consumers. If there's a specific affected page, as in this case, you're lucky because you can write on its talk. On big wikis people necessarily use

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Amir E. Aharoni
2012/12/4 Steven Walling swall...@wikimedia.org: Hi all, Recently, in order to make a rather small user interface change (see bug #42215), our team needed to replace MediaWiki:Welcomecreation with a new message, MediaWiki:Welcomecreation-msg. The new message contains all of the things

[Wikitech-l] Spam filters for wikidata.org

2012-12-04 Thread Daniel Kinzler
Hi! Once wikidata.org allows for entry of arbitrary properties, we will need some protection against spam. However, there is a nasty little problem with making SpamBlacklist, AntiBot, AbuseFilter etc work with Wikidata content: Wikibase implements editing directly via the API, but using

[Wikitech-l] Escaping in SQL queries

2012-12-04 Thread Daniel Kinzler
Hi all! I recently found that it is less than clear how numbers should be quoted/escaped in SQL queries. Should DatabaseBase::addQuotes() be used, or rather just inval(), to make sure it's really a number? What's the best practice? Looking at DatabaseBase::makeList(), it seems that addQuotes()

[Wikitech-l] unit testing foreign wiki access

2012-12-04 Thread Daniel Kinzler
Hi again. For the wikibase client components, we need unit tests for components that access another wiki's database - e.g. a Wikipedia would need to access Wikidata's DB to find out which data item is associated with which Wikipedia page. The LoadBalancer class has some support for this, and I

Re: [Wikitech-l] Spam filters for wikidata.org

2012-12-04 Thread Brad Jorsch
On Tue, Dec 4, 2012 at 4:52 AM, Daniel Kinzler dan...@brightbyte.de wrote: There's another closely related problem, btw: showing captchas. How can that be implemented at all for API based, atomic edits? Would the API return a special error, which includes a link to the captcha image as a

Re: [Wikitech-l] Escaping in SQL queries

2012-12-04 Thread Luke Welling
I can't speak for all databases, but I know MySQL fairly well, and it will generally be safe there. You will be able to find some edge cases where it may not give you what you expected. For example select 0x10 + 1; is not the same as select '0x10' + 1; The first will give 17, the second 1 as the

Re: [Wikitech-l] Escaping in SQL queries

2012-12-04 Thread Chris Steipp
MySQL very happily handles quoted numbers (with the exception of LIMIT values), but iirc the SQL standard says numeric types shouldn't be quoted. I think db2 will return an error if you quote a number, for example. So to keep the db-specific code to a minimum, we may want to update that. On Tue,

[Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Andre Klapper
After Sumana's summary of the wmf5 phase2 deployment (last Wednesday) at http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064718.html we ran into similar issues again yesterday night when deploying to English Wikipedia (phase3). According to Ryan in bug 42452 , this time The problem

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Matthew Flaschen
On 12/04/2012 03:33 AM, Gerard Meijssen wrote: Hoi, How many Wikipedias exist 280+ ... The English Wikipedia may be the biggest and baddest but you cannot infer from this that its message is the same message in use everywhere. When you want to change a default message, the message is

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Matthew Flaschen
On 12/04/2012 03:59 AM, Federico Leva (Nemo) wrote: Writing to village pumps is sometimes useless, not everybody looks at them so you still rely on someone to forward the message to its actual consumers. If there's a specific affected page, as in this case, you're lucky because you can write

Re: [Wikitech-l] Spam filters for wikidata.org

2012-12-04 Thread Matthew Flaschen
On 12/04/2012 04:52 AM, Daniel Kinzler wrote: 4) just add another hook, similar to EditFilterMergedContent, but more generic, and call it in EditEntity (and perhaps also in EditPage!). If we want a spam filter extension to work with non-text content, it will have to implement that new hook.

Re: [Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Arthur Richards
On Tue, Dec 4, 2012 at 10:06 AM, Andre Klapper aklap...@wikimedia.orgwrote: After Sumana's summary of the wmf5 phase2 deployment (last Wednesday) at http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064718.html we ran into similar issues again yesterday night when deploying to

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Federico Leva (Nemo)
Yes, the as already suggested referred to the translatable message points, not the the part before it. Matt, there's no such a thing as the appropriate village pump for everything everywhere. You used as an example [[w:en:Wikipedia:MediaWiki messages]], too bad that only nl.wiki has something

[Wikitech-l] bugzilla.wikimedia.org downtime: Now.

2012-12-04 Thread Andre Klapper
As announced for several days on bugzilla.wikimedia.org already, bugzilla.wikimedia.org will be unavailable due to maintenance work on Tuesday, December 04th from 18:00 UTC until max. 20:00 UTC (10:00 PST - 12:00 PST). That starts now. andre -- Andre Klapper | Wikimedia Bugwrangler

Re: [Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Ryan Kaldari
One thing we can do is preemptively deploy the following files to wmf4 today: skins/modern/main.css skins/vector/screen.css extensions/Vector/modules/ext.vector.collapsibleNav.css Of course someone should check and make sure the only changes this would entail is adding a bunch of h3 selectors. I

Re: [Wikitech-l] Complete (basic) analysis of MediaWiki

2012-12-04 Thread Jesus M. Gonzalez-Barahona
On Mon, 2012-12-03 at 23:46 +0100, Platonides wrote: El 03/12/12 22:45, Jesus M. Gonzalez-Barahona escribió: On Mon, 2012-12-03 at 21:04 +0100, Platonides wrote: El 03/12/12 19:40, Federico Leva (Nemo) escribió: That data is hardly useful, it doesn't explain what it refers to I guess

Re: [Wikitech-l] Complete (basic) analysis of MediaWiki

2012-12-04 Thread Jesus M. Gonzalez-Barahona
On Mon, 2012-12-03 at 19:40 +0100, Federico Leva (Nemo) wrote: [...] Also, https://bugzilla.wikimedia.org/weekly-bug-summary.cgi?tops=10days=10 proves they're not talking of the whole bugzilla but then they don't say which components. Our mining is for the MediaWiki product. In

Re: [Wikitech-l] Complete (basic) analysis of MediaWiki

2012-12-04 Thread Jesus M. Gonzalez-Barahona
On Mon, 2012-12-03 at 19:40 +0100, Federico Leva (Nemo) wrote: That data is hardly useful, it doesn't explain what it refers to and, even when it does, seems wrong. Compare e.g. https://www.ohloh.net/p/mediawiki/contributors?query=sort=commits [...] ok, some info about this one. It seems

Re: [Wikitech-l] Escaping in SQL queries

2012-12-04 Thread Platonides
Such database should override it. Although it shouild probably return the numbers, yes. The problems of strings such as article titles and string-number-string should not appear, since you would provide them as 1234, not 1234. ___ Wikitech-l mailing

Re: [Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Max Semenik
On 04.12.2012, 21:29 Arthur wrote: This seems to be a not-that-uncommon behavior with resources - at least it has been for deployments of MobileFrontend. We believed it was symptomatic of this bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=37812, but we have also run into similar issues

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread Steven Walling
On Tue, Dec 4, 2012 at 1:10 AM, Amir E. Aharoni amir.ahar...@mail.huji.ac.il wrote: Also, use the wikitech-ambassadors list. My impressions is that it's gradually gaining steam after being dormant for a while. (Mention that list in the translatable page that you write, with a link to clear

Re: [Wikitech-l] Advertising changes to MediaWiki messages in core

2012-12-04 Thread S Page
Bug 42215[1] discussed this particular change, and I sought the advice of the mediawiki-i18n list about it (the consensus was a new message rather than fiddling with the semantics of the old one). But I don't think mediawiki-i18n list is involved in per-wiki message changes, I assume it's

[Wikitech-l] Announcing my campaign for bureaucratship on wikitech wiki

2012-12-04 Thread Ryan Kaldari
Since people keep asking me for editing rights on wikitech, I've decided to run for bureaucratship (so that I can actually grant editing rights). Please join the heated discussion at: http://wikitech.wikimedia.org/view/Request_for_adminship#Requests_for_bureaucratship Ryan Kaldari

[Wikitech-l] Bugzilla upgrade [was: bugzilla.wikimedia.org downtime: Now.]

2012-12-04 Thread Andre Klapper
bugzilla.wikimedia.org is operational again and is now running the latest stable version (4.2.4, before was 4.0.9). Big thanks to Daniel Zahn from the ops team for upgrading! All fame belongs to him! I've done some quick testing, and to my surprise stuff like Weekly bug summary did not break.

Re: [Wikitech-l] Announcing my campaign for bureaucratship on wikitech wiki

2012-12-04 Thread Erik Moeller
Done. -- Erik Möller VP of Engineering and Product Development, Wikimedia Foundation Support Free Knowledge: https://wikimediafoundation.org/wiki/Donate ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Announcing my campaign for bureaucratship on wikitech wiki

2012-12-04 Thread Chad
On Tue, Dec 4, 2012 at 2:45 PM, Erik Moeller e...@wikimedia.org wrote: Done. We did not let the Wikitech community speak ;-) Per the page: Requests should be listed here for at least seven days; bureaucrats should only close after this minimum time. Requests may be extended, or put on hold by

Re: [Wikitech-l] Bugzilla upgrade [was: bugzilla.wikimedia.org downtime: Now.]

2012-12-04 Thread Chad
On Tue, Dec 4, 2012 at 2:44 PM, Andre Klapper aklap...@wikimedia.org wrote: The only (potential) regression is that we did not apply previous changes to Bugmail.pm, described as Wikimedia Hack! Pretend global watchers are CCs so we can use their prefs to for instance ignore CC-only mails. Is

[Wikitech-l] Customization of welcomecreation on different wikis

2012-12-04 Thread Amir E. Aharoni
(Spun off the Advertising changes to MediaWiki messages in core‏.) 2012/12/4 S Page sp...@wikimedia.org: I wrote a little script last night to check for the existence of the old and new messages, and it seems there are 205 wikis that did override welcomecreation (!!?), so ideally someone

[Wikitech-l] Really Fast Merges

2012-12-04 Thread Tyler Romeo
Don't we have some sort of policy about an individual merging commits that he/she uploaded? Because these three changes: https://gerrit.wikimedia.org/r/36801 https://gerrit.wikimedia.org/r/36812 https://gerrit.wikimedia.org/r/36813 Were all uploaded and submitted in a matter of minutes by the

Re: [Wikitech-l] Really Fast Merges

2012-12-04 Thread Chad
On Tue, Dec 4, 2012 at 3:24 PM, Tyler Romeo tylerro...@gmail.com wrote: Don't we have some sort of policy about an individual merging commits that he/she uploaded? Yes. We've been over this a dozen times--if you're on a repository that has multiple maintainers (ie: you're not the only one, so

Re: [Wikitech-l] Really Fast Merges

2012-12-04 Thread Chad
On Tue, Dec 4, 2012 at 3:27 PM, Chad innocentkil...@gmail.com wrote: On Tue, Dec 4, 2012 at 3:24 PM, Tyler Romeo tylerro...@gmail.com wrote: Don't we have some sort of policy about an individual merging commits that he/she uploaded? Yes. We've been over this a dozen times--if you're on a

Re: [Wikitech-l] Customization of welcomecreation on different wikis

2012-12-04 Thread Steven Walling
On Tue, Dec 4, 2012 at 12:17 PM, Amir E. Aharoni amir.ahar...@mail.huji.ac.il wrote: (Spun off the Advertising changes to MediaWiki messages in core‏.) 2012/12/4 S Page sp...@wikimedia.org: I wrote a little script last night to check for the existence of the old and new messages, and it

Re: [Wikitech-l] Really Fast Merges

2012-12-04 Thread Daniel Friesen
On Tue, 04 Dec 2012 12:37:02 -0800, Chad innocentkil...@gmail.com wrote: On Tue, Dec 4, 2012 at 3:27 PM, Chad innocentkil...@gmail.com wrote: On Tue, Dec 4, 2012 at 3:24 PM, Tyler Romeo tylerro...@gmail.com wrote: Don't we have some sort of policy about an individual merging commits that

Re: [Wikitech-l] Really Fast Merges

2012-12-04 Thread Chad
On Tue, Dec 4, 2012 at 3:46 PM, Daniel Friesen dan...@nadir-seen-fire.com wrote: On Tue, 04 Dec 2012 12:37:02 -0800, Chad innocentkil...@gmail.com wrote: On Tue, Dec 4, 2012 at 3:27 PM, Chad innocentkil...@gmail.com wrote: On Tue, Dec 4, 2012 at 3:24 PM, Tyler Romeo tylerro...@gmail.com

Re: [Wikitech-l] Announcing my campaign for bureaucratship on wikitech wiki

2012-12-04 Thread Platonides
On 04/12/12 20:43, Ryan Kaldari wrote: Since people keep asking me for editing rights on wikitech, I've decided to run for bureaucratship (so that I can actually grant editing rights). Please join the heated discussion at:

Re: [Wikitech-l] Jenkins now lints javascript!

2012-12-04 Thread Jon Robson
This is now running on MobileFrontend [1] but needs some tweaking! It's awesome! Kudos to whoever enabled that. Is it possible to blacklist certain files? For instance we have an external javascript file we pull in from another project (javascripts/externals/eventlog.js ) that I'd rather not run

[Wikitech-l] Endorse your preferred candidates to the Outreach Program for Women

2012-12-04 Thread Quim Gil
The deadline for submissions to the Outreach Program for Women was reached yesterday and we have got 11 candidates: http://www.mediawiki.org/wiki/Outreach_Program_for_Women#Candidates The selection process and criteria are explained at

Re: [Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Brad Jorsch
On Tue, Dec 4, 2012 at 1:22 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Of course someone should check and make sure the only changes this would entail is adding a bunch of h3 selectors. skins/modern/main.css Also moves #mw_portlets h2 to way-offscreen, and sets a font-size on .portlet

Re: [Wikitech-l] TechOps welcomes Mike Wang...

2012-12-04 Thread Platonides
Welcome, Mike! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Merging a branch and then pushing it

2012-12-04 Thread Jeroen De Dauw
Hey, I have a feature branch with two dozen commits which I merged into master locally and now want to push directly to git. All commits have been reviewed, so going via gerrit makes no sense. (In fact it complains about the stuff already being closed it I try that.) When I try to do this, I get

Re: [Wikitech-l] the skin change in 1.21wmf5, display breakage, fix retrospective, again

2012-12-04 Thread Ryan Kaldari
OK, we're just going to cherry-pick the h3 additions then. Ryan Kaldari On 12/4/12 1:56 PM, Brad Jorsch wrote: On Tue, Dec 4, 2012 at 1:22 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Of course someone should check and make sure the only changes this would entail is adding a bunch of h3

Re: [Wikitech-l] Bugzilla upgrade [was: bugzilla.wikimedia.org downtime: Now.]

2012-12-04 Thread Andre Klapper
On Tue, 2012-12-04 at 14:53 -0500, Chad wrote: On Tue, Dec 4, 2012 at 2:44 PM, Andre Klapper aklap...@wikimedia.org wrote: The only (potential) regression is that we did not apply previous changes to Bugmail.pm, described as Wikimedia Hack! Pretend global watchers are CCs so we can use

Re: [Wikitech-l] Jenkins now lints javascript!

2012-12-04 Thread Jon Robson
I worked this out myself: I created a .jshintignore file \o/ https://gerrit.wikimedia.org/r/#/c/36919/2/.jshintignore On Tue, Dec 4, 2012 at 1:22 PM, Jon Robson jdlrob...@gmail.com wrote: This is now running on MobileFrontend [1] but needs some tweaking! It's awesome! Kudos to whoever enabled

Re: [Wikitech-l] TechOps welcomes Mike Wang...

2012-12-04 Thread Scott MacLeod
Welcome, Mike! Scott http://scottmacleod.com On Tue, Dec 4, 2012 at 1:55 PM, Platonides platoni...@gmail.com wrote: Welcome, Mike! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] LabeledSectionTransclusion performance problems

2012-12-04 Thread Tim Starling
On 04/12/12 19:08, Merlijn van Deen wrote: Judging by the itwikisource jobs I just killed on most of the job runners, the parse time went up by a factor of infinity, not a factor of 8. They had been running for 3.5 days with --maxtime=300. This surprises me. First of all, because a copy of

Re: [Wikitech-l] Announcing my campaign for bureaucratship on wikitech wiki

2012-12-04 Thread Jeremy Baron
On Tue, Dec 4, 2012 at 2:43 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Since people keep asking me for editing rights on wikitech, I've decided to run for bureaucratship (so that I can actually grant editing rights). Please join the heated discussion at:

Re: [Wikitech-l] Customization of welcomecreation on different wikis

2012-12-04 Thread S Page
On Tue, Dec 4, 2012 at 12:17 PM, Amir E. Aharoni amir.ahar...@mail.huji.ac.il wrote: 2012/12/4 S Page sp...@wikimedia.org: https://www.mediawiki.org/wiki/User:S_Page_%28WMF%29/welcomecreation_messages This made me feel very \o/. Research about current customizations of messages on projects