Re: [Wikitech-l] Separation of Concerns

2013-06-03 Thread Daniel Friesen
On Mon, 03 Jun 2013 19:43:28 -0700, Tyler Romeo wrote: On Mon, Jun 3, 2013 at 8:18 PM, Chris Steipp wrote: We are trying to finish the items in scope (SUL rework, OAuth, and a review of the OpenID extension) by the end of this month. Speaking of this, there's an OAuth framework attemp

[Wikitech-l] Separation of Concerns

2013-06-03 Thread Tyler Romeo
On Mon, Jun 3, 2013 at 8:18 PM, Chris Steipp wrote: > We are trying to finish the items in scope (SUL rework, OAuth, and a > review of the OpenID extension) by the end of this month. > Speaking of this, there's an OAuth framework attempt here: https://gerrit.wikimedia.org/r/66286 Am I the only

Re: [Wikitech-l] Finding total results from the Pager class, jumping to x% of the results

2013-06-03 Thread Mark A. Hershberger
On 06/03/2013 05:46 PM, Brion Vibber wrote: >> I'm not too worried about unstable URLs at this point (maybe later), but >> do you have an example for row offsets? I'm probably missing something, >> but I don't see an easy way to get the total # of rows at this point. >> Since I'm using an older ve

[Wikitech-l] Fwd: Engineering/Product Goals for 2013-14

2013-06-03 Thread Erik Moeller
FYI, for the sake of transparency; WMF engineering is kicking off its department-level goalsetting process and now is a good time to follow along. Some commitments have already been made for the purpose of the Annual Plan 2013-14 through team-level deliberation and are reflected as such, and some c

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Tim Starling
On 04/06/13 00:20, Jeroen De Dauw wrote: > Hey, > > He claims that just because you have guard rails you shouldn't stop paying >> attention and expect them to save you. >> > > Being someone who practices TDD, I fully agree with that. It is not because > you wrote tests first and got a 100% covera

Re: [Wikitech-l] Extension:OpenID 3.00 - Security Release

2013-06-03 Thread Chris Steipp
On Mon, Jun 3, 2013 at 11:52 AM, Yuvi Panda wrote: > On Tue, Jun 4, 2013 at 12:13 AM, Chris Steipp wrote: >> For OpenID, the plan coming out of the meetings is: >> * As part of the current Auth Sprint, I'll be doing a full review of >> OpenID with the goal of getting it deployed on the WMF cluste

Re: [Wikitech-l] Request for proposals: MediaWiki release management

2013-06-03 Thread Greg Grossmeier
This is just a friendly reminder that the deadline for proposals to be submitted for community feedback is June 12th (next Wednesday). The remaining timeline: June 12th -- Proposals deadline June 12th -- Community feedback period begins June 17th (week of) -- Office hours with applicants a

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Rob Lanphier
On Mon, Jun 3, 2013 at 2:29 PM, James Alexander wrote: > Someone else can very much correct me if I'm wrong but my understanding is > that the difference is that this is as a normal contractor in that he's > doing what is directed/needed rather then an accepted project on his own > under a mentor

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Greg Grossmeier
> > Welcome Brian! (again! \o/) Welcome indeed! -- | Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E | | identi.ca: @gregA18D 1138 8E47 FAC8 1C7D | ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wik

Re: [Wikitech-l] Finding total results from the Pager class, jumping to x% of the results

2013-06-03 Thread Brion Vibber
On Mon, Jun 3, 2013 at 11:18 AM, Mark A. Hershberger wrote: > > IndexPager would let you dive right in to a row offset for any index > type, > > but would be much more expensive in lookups on the table (and leaves > > unstable URLs whose contents change as the database changes). > > Right. > > I'm

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread James Alexander
Someone else can very much correct me if I'm wrong but my understanding is that the difference is that this is as a normal contractor in that he's doing what is directed/needed rather then an accepted project on his own under a mentor like GSoC. James Alexander Legal and Community Advocacy Wikimed

Re: [Wikitech-l] Initial stab at responsive images for high-density displays

2013-06-03 Thread Brion Vibber
On Mon, Jun 3, 2013 at 2:08 PM, Brion Vibber wrote: > Can we get some more detail from them? > I sent a mail to the authors listed on the PDF paper asking for more details. -- brion ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://li

Re: [Wikitech-l] Initial stab at responsive images for high-density displays

2013-06-03 Thread Matthew Flaschen
On 06/03/2013 04:04 PM, Tilman Bayer wrote: > BTW, it seems that a certain mobile phone manufacturer wasn't quite > ready for this ;) > > http://tech2.in.com/news/smartphones/samsung-galaxy-s3-browser-bug-inflates-data-usage-loading-times/875182 Interesting. "However, there’s no need to be too a

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Matthew Flaschen
On 06/03/2013 03:50 PM, Rob Lanphier wrote: > Brian is back for another summer working with us, working generally to > improve our multimedia contribution and review pipeline. In addition > to his normal GMail address, he's also available at > bawo...@wikimedia.org, and is on Freenode as bawolff.

Re: [Wikitech-l] Initial stab at responsive images for high-density displays

2013-06-03 Thread Brion Vibber
Their screenshots are kind of vague, and it's unclear whether the S3 browser actually implements srcset incorrectly or if this is just a complaint about our JavaScript fallback implementation, which allows the 1x images to load first and then goes and loads the 1.5x or 2.0x images. This does use m

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Platonides
Rob Lanphier wrote: > Hi everyone, > > Many of you already know Brian Wolff, who has been a steady > contributor to MediaWiki in the the past several years (User:Bawolff), > having gotten a start during Google Summer of Code 2010[1]. > > Brian is back for another summer working with us, working g

Re: [Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Roan Kattouw
On Mon, Jun 3, 2013 at 12:50 PM, Rob Lanphier wrote: > Hi everyone, > > Many of you already know Brian Wolff, who has been a steady > contributor to MediaWiki in the the past several years (User:Bawolff), > having gotten a start during Google Summer of Code 2010[1]. > > Brian is back for another s

Re: [Wikitech-l] Initial stab at responsive images for high-density displays

2013-06-03 Thread Tilman Bayer
BTW, it seems that a certain mobile phone manufacturer wasn't quite ready for this ;) http://tech2.in.com/news/smartphones/samsung-galaxy-s3-browser-bug-inflates-data-usage-loading-times/875182 " According to the researchers, the problem is caused by the srcset HTML attribute, which indicates the

[Wikitech-l] Brian Wolff's summer gig, with Wikimedia!

2013-06-03 Thread Rob Lanphier
Hi everyone, Many of you already know Brian Wolff, who has been a steady contributor to MediaWiki in the the past several years (User:Bawolff), having gotten a start during Google Summer of Code 2010[1]. Brian is back for another summer working with us, working generally to improve our multimedia

Re: [Wikitech-l] Quo Vadis, Vagrant

2013-06-03 Thread S Page
I added this to https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Customizing , please add to it if you have real-world experience On Fri, May 31, 2013 at 4:41 PM, Ori Livneh wrote: > On Fri, May 31, 2013 at 4:16 PM, Yuri Astrakhan > wrote: > >> I so wish there was a way not to mess with files un

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Daniel Kinzler
Am 03.06.2013 18:48, schrieb Chris Steipp: > On Mon, Jun 3, 2013 at 6:04 AM, Nikolas Everett > wrote: >> 2. Build smaller components sensibly and carefully. The goal is to be >> able to hold all of the component in your head at once and for the >> component to present such a clean API that when

Re: [Wikitech-l] Extension:OpenID 3.00 - Security Release

2013-06-03 Thread Yuvi Panda
On Tue, Jun 4, 2013 at 12:13 AM, Chris Steipp wrote: > For OpenID, the plan coming out of the meetings is: > * As part of the current Auth Sprint, I'll be doing a full review of > OpenID with the goal of getting it deployed on the WMF cluster Wonderful! Can you tell me the timeline of 'current au

Re: [Wikitech-l] Extension:OpenID 3.00 - Security Release

2013-06-03 Thread Chris Steipp
On Sun, Jun 2, 2013 at 11:30 AM, Yuvi Panda wrote: > On Sat, Mar 9, 2013 at 3:49 AM, Ryan Lane wrote: >> On wikitech the blockers were the switch of the wiki name (from labsconsole >> to wikitech) and this. There's still some issues that need to be worked out >> for deployment on the main project

Re: [Wikitech-l] Finding total results from the Pager class, jumping to x% of the results

2013-06-03 Thread Mark A. Hershberger
On 06/03/2013 02:09 PM, Brion Vibber wrote: > This is a tricky one to get right I'm glad it isn't just me. :) > If it's something time-based you can fairly easily hook up a slider to a > date/time range, but there's no guarantee there'll be even numbers of items > on each side. I'll look at what

Re: [Wikitech-l] Finding total results from the Pager class, jumping to x% of the results

2013-06-03 Thread Brion Vibber
This is a tricky one to get right; we try to make pagers work on natural indices like timestamps, revision ids, or namespace/title pairs. As such, it's *easy* to look up the "first" and "last" entries but very hard to find the "50%" entry. If it's something time-based you can fairly easily hook up

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Jim Laurino
On 06/03/2013 10:20:26 AM, Jeroen De Dauw - jeroended...@gmail.com wrote: * Regression detection * Replaces manual testing with automated testing, saves lots of time, esp in projects with multiple devs. Manual testing tends to be incomplete and skipped as well, so the number of bugs caught is m

[Wikitech-l] Finding total results from the Pager class, jumping to x% of the results

2013-06-03 Thread Mark A. Hershberger
For some work I'm doing on a project, I'm using the Pager class. This is really good (and I've learned a lot along the way), but I would like to use a slider (like http://jqueryui.com/slider/) to allow the user to jump to different places in the paged results. I think that to do this right I need

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Chris Steipp
On Mon, Jun 3, 2013 at 7:20 AM, Jeroen De Dauw wrote: > So my question is not "how do we write code that is maximally >> testable", it is: does convenient testing provide sufficient benefits >> to outweigh the detrimental effect of making everything else inconvenient? >> > > This contains the sugg

[Wikitech-l] wikimediauk-l messages ending up in Gmail spam?

2013-06-03 Thread David Gerard
I've been seeing a lot of WMUK messages ending up in GMail spam of late. Anyone else seeing this? (Assuming this message doesn't ahahahaha do the same.) Any idea what's causing this? - d. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http

Re: [Wikitech-l] wikimediauk-l messages ending up in Gmail spam?

2013-06-03 Thread Aarti K. Dwivedi
If you tag them as not span once or twice, they will end up in their rightful place. I had similar problems with WMIN messages initially/ Cheers, Aarti On Mon, Jun 3, 2013 at 9:46 PM, David Gerard wrote: > I've been seeing a lot of WMUK messages ending up in GMail spam of late. > > Anyone else

Re: [Wikitech-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-06-03 Thread Matthew Flaschen
On 06/03/2013 10:05 AM, David Cuenca wrote: > On Sun, Jun 2, 2013 at 2:35 PM, Matthew Flaschen > wrote: >> mediawiki.org is a better central location for code. > > Could associated templates be stored there as well? Maybe, but Wikisource.org or the local wikis is probably better for that. Perha

Re: [Wikitech-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-06-03 Thread Merlijn van Deen
On 31 May 2013 17:19, Yuvi Panda wrote: > I'm pretty sure that the 'syncing' can be accomplished by a simple > bot, and it might even already exist(?). Will be happy to help write > the bot if it doesn't exist yet. Kasper Souren contributed replicate_wiki.py to pywikipedia at the last hackathon.

Re: [Wikitech-l] showing videos and images in modal viewers within articles

2013-06-03 Thread Michael Dale
On 05/30/2013 06:28 PM, Ryan Kaldari wrote: OK, I decided to be slightly bold. I changed the modal video threshold on en.wiki from 200px to 800px. This means all video thumbnails that are 800px or smaller will open a modal player when you click on the thumbnail. If there are no complaints from

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Nikolas Everett
On Mon, Jun 3, 2013 at 10:20 AM, Jeroen De Dauw wrote: > > 4. Don't write automated tests at all and do lots of code reviews and > > manual testing. Sometimes this is really the most sensible thing. I'll > > leave it to you to figure out when that is though. > > > > Absolutist statements are ty

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Mathieu Stumpf
Le 2013-06-03 16:20, Jeroen De Dauw a écrit : Absolutist statements are typically wrong. Please, don't miss an oportunity to provide people with the joy of reading paradoxes : Absolutist statements are *always* wrong. There, fixed that for you. ;) (sorry, I couldn't resist…) _

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Jeroen De Dauw
Hey, He claims that just because you have guard rails you shouldn't stop paying > attention and expect them to save you. > Being someone who practices TDD, I fully agree with that. It is not because you wrote tests first and got a 100% coverage that you proved your code to be correct and bug free

Re: [Wikitech-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-06-03 Thread David Cuenca
On Mon, Jun 3, 2013 at 9:57 AM, Mathieu Stumpf < psychosl...@culture-libre.org> wrote: > Oh, I wasn't aware of this wikisource specificity? Is that related to a central djvu repository? No, it is only related to the existence of a central project. However Matt Flaschen says that mediawiki.org coul

Re: [Wikitech-l] [GSoC 2013] Wikidata Entity Suggester prototype

2013-06-03 Thread Daniel Kinzler
Am 13.05.2013 12:32, schrieb Denny Vrandečić: > That's awesome! > > Two things: > * how set are you on a Java-based solution? We would prefer PHP in order to > make it more likely to be deployed. Just saw that I never replied to this. I think running Java core on the Wikimedia cluster isn't a pr

Re: [Wikitech-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-06-03 Thread Mathieu Stumpf
Le 2013-06-02 16:38, David Cuenca a écrit : On Sun, Jun 2, 2013 at 7:21 AM, Mathieu Stumpf < psychosl...@culture-libre.org> wrote: Interesting, but why make a central code repository only for Wikisource ? There are several reasons for this. - trying to support all projects at once might be

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Nikolas Everett
I have no qualms with any of the guidelines. They are good guidelines but like all guidelines they are made to be bent when appropriate so long as you leave a good explanatory comment. My main concern is that the article is about test how to write more unit testable code which is something I thin

[Wikitech-l] Automatically listing public art & Wikipedia articles near you

2013-06-03 Thread Sumana Harihareswara
https://outreach.wikimedia.org/wiki/GLAM/Newsletter/April_2013/Contents/Sweden_report "The hackers decided to work together to combine three/four databases: Europeana, Wikipedia, lists of cultural institutions and a database of public art. Together this web app produce a list of cultural heritage

Re: [Wikitech-l] Architecture Guidelines: Writing Testable Code

2013-06-03 Thread Daniel Kinzler
Thanks for your thoughtful reply, Tim! Am 03.06.2013 07:35, schrieb Tim Starling: > On 31/05/13 20:15, Daniel Kinzler wrote: >> "Writing Testable Code" by Miško Hevery >> . >> >> It's just 10 short and easy points, not

Re: [Wikitech-l] PDF Download function for mobile version for storage on sdcards, Androids

2013-06-03 Thread Sumana Harihareswara
On 06/02/2013 06:14 PM, Ursula Fuchs wrote: > Dear developpers, > I think my idea is as interesting for authorship as for the users on > androids and tablets. > > As especially excellent contributions, you want to save on your device for > quotation or adding your own ideas, commentaries, etc. are

Re: [Wikitech-l] Bugzilla Weekly Report

2013-06-03 Thread Željko Filipin
On Mon, Jun 3, 2013 at 5:00 AM, reporter wrote: > MediaWiki Bugzilla Report for May 27, 2013 - June 03, 2013 > Fresh charts: http://www.mediawiki.org/wiki/Bugzilla_Weekly_Report Željko ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https:/