Re: [Wikitech-l] [Mediawiki-i18n] Report on WebFonts deployment

2012-05-04 Thread Gerard Meijssen
Hoi,
I blogged about Junaid and using it for the Runic script. [1]
Please comment..
Thanks,
 GerardM

[1] http://ultimategerardm.blogspot.com/2012/05/font-subsets-ii.html

On 2 January 2012 06:55, Glanthor glant...@gmail.com wrote:

 Hi!

 It would be awesome if we could support some historical writing systems
 with web fonts, for example runes. There is a great free (GPL) font for
 this: junicode (http://junicode.sourceforge.net/). It is possible to use
 it
 in the future?
 *
 *
 Farewell,
 *Glanthor (Ákos Szabó)*
 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Wmfall] Introduction - Arun

2012-05-04 Thread Arun Ganesh
Wow,
Thanks Steph, Maggie, Subhashish, Alollita, Joslyn, Mani, Victor, Barry,
Ayush and Rachel! And I thought nobody reads these mails :)

On Fri, May 4, 2012 at 1:38 AM, Rachel Farrand rfarr...@wikimedia.orgwrote:

 Yay Arun! It was great to meet you in Pune and I am glad that you have
 finally officially joined up!


 On Thu, May 3, 2012 at 10:57 AM, Ayush Khanna akha...@wikimedia.orgwrote:

 Welcome!

 Also, the MTC project sounds very interesting. As some who was heavily
 reliant on public transport back in Mumbai, I can imagine how helpful that
 would be.

 Ayush Khanna
 Data Analyst, Global Development
 Wikimedia Foundation
 415.839.6885 x6805




 On Thu, May 3, 2012 at 10:22 AM, Barry Newstead (WMF) 
 bnewst...@wikimedia.org wrote:

  Welcome Arun. It was a nice surprise to meet you in person at CIS in
 Bangalore on Sunday. Great to have you onboard.
 Best,
 Barry

 --
 Barry Newstead
 Chief Global Development Officer
 Wikimedia Foundation

 On Thursday, May 3, 2012 at 10:19 AM, Victor Grigas wrote:

 ARUN!!! I'm happy you are on board! You are perfect for our team :)

 On Thu, May 3, 2012 at 8:38 AM, Mani Pande mpa...@wikimedia.org wrote:

 Welcome aboard.!!


 On Thu, May 3, 2012 at 8:12 AM, asha...@wikimedia.org 
 asha...@wikimedia.org wrote:

 Hi Arun,

 A very warm welcome to you on the I18n/L10N engineering team. We are
 excited about the Universal Language Selector UI/UX work that you and Pau
 are helping us with.

 Happy to see you onboard!

 Alolita

 __
 Alolita Sharma
 Wikimedia Foundation


 - Reply message -
 From: Subhashish Panigrahi su...@wikimedia.org
 To:
 Cc: wikitech-l@lists.wikimedia.org, wmf...@lists.wikimedia.org,
 Arun Ganesh arun.plane...@gmail.com
 Subject: [Wmfall] Introduction - Arun
 Date: Thu, May 3, 2012 6:55 am


 Congratulations Arun!

 Happy that I met you a month back, now the L10n have more people from
 Indic
 communities and it makes me happier again ;-)

 On Thu, May 3, 2012 at 7:17 PM, Maggie Dennis mden...@wikimedia.org
 wrote:

  Welcome, Arun! Somehow I feel sure that you are in for an interesting
  ride. :D
 
  Maggie
 
  On Thu, May 3, 2012 at 9:16 AM, Arun Ganesh arun.plane...@gmail.com
 wrote:
 
  Hi everyone,
  I wanted to introduce myself to the community and the WMF team, I'm
 Arun
  Ganesh (user:planemad)[1a] from Bangalore, India and have joined as
  contractor for the foundation's L10n team[1b] as an Interaction
 designer
  along with Pau to improve the user experience of language tools and
  features.
 
  I have been a longtime contributer to both commons[2] and the
  openstreetmap[3] project and got involved with foundation work during
 the
  Mumbai and Pune hackathons recently[4][5][6] where I proposed some of
 the
  first ideas for the Universal Language Selector widget with Brandon,
 with
  which we want to make language selection for anyone easy peasy.
 
  Apart from that, I love cartography and maps [7], which would explain
 my
  map contributions and the occasional headline for wikipedia [8], use
 only
  public transport[9] and traveling with my pocket camera[10].
 
  Its feels great to have this opportunity to work more seriously on a
  project which has been an important part of my life. I'm new here, I
 wont
  claim to know much, but I hope to make a difference in whichever way
  possible. I also look forward to interacting more closely and
 learning from
  the rest of the designers - Brandon, Heather and Pau to do the
 wonderful
  things that designers like to do .So keep the usability bugs coming :)
  -Arun
 
  [1a] http://en.wikipedia.org/wiki/User:Planemad
  [1b] http://wikimediafoundation.org/wiki/Localization_team
  [2]
 
 http://tools.wikimedia.de/~daniel/WikiSense/Gallery.php?wiki=commons.wikimedia.orgimg_user_text=Planemad
  [3]
 
 http://yosmhm.neis-one.org/?zoom=4lat=21.96627lon=81.68268layers=B0Tu=PlaneMad
  [4]
 
 http://www.mediawiki.org/wiki/Universal_Language_Selector#Arun_Ganesh.27s_Original_design
  [5]
 http://commons.wikimedia.org/wiki/File:Mobile_language_selector.pdf
  [6]
 
 http://commons.wikimedia.org/wiki/File:L10n-ux-Universal_Language_Selector-Wireframes1.pdf
  [7] http://bit.ly/timesofindia-osm
  [8]
 
 http://www.guardian.co.uk/news/datablog/2010/jul/30/information-beautiful-india-cameron
  [9]
 
 http://www.thehindu.com/todays-paper/tp-national/tp-tamilnadu/article182223.ece
  [10] http://www.time.com/time/world/article/0,8599,1663025,00.html
 
 
  ___
  Wmfall mailing list
  wmf...@lists.wikimedia.org
  https://lists.wikimedia.org/mailman/listinfo/wmfall
 
 
 
 
  --
  Maggie Dennis
  Community Liaison
  WikimediaFoundation.org
 
 
  ___
  Wmfall mailing list
  wmf...@lists.wikimedia.org
  https://lists.wikimedia.org/mailman/listinfo/wmfall
 
 


 --
 *Subha*


 *Imagine a world in which every single human being can freely share in
 the
 sum of all knowledge.  Help us make it a reality!*

 

[Wikitech-l] What's the best place to do post-upload processing on a file? Etc.

2012-05-04 Thread emw
Hi all,

For a MediaWiki extension I'm working on (see
http://lists.wikimedia.org/pipermail/wikitech-l/2012-April/060254.html), an
effectively plain-text file will need to be converted into a static image.
I've got a set of scripts that does that, but it takes my medium-grade
consumer laptop about 30 seconds to convert the plain-text file into a
ray-traced static image.  Since ray-tracing the images being created here
substantially improves their visual quality, my impression is that it's
worth a moderately expensive transformation operation like this, but only
if the operation is done once.

Given that, I assume it'd be best to do this transformation immediately
after the plain-text file has completed uploading.  Is that right?  If not,
what's a better time/way to do that processing?

I've looked into MediaWiki's 'UploadComplete' event hook to accomplish
this. That handler gives a way to access information about the upload and
the local file.  However, I haven't been able to find a way to get the
uploaded file's path on the local file system, which I would need to do the
transformation.  Looking around related files I see references to $srcPath,
which seems like what I would need.  Am I just missing some getter method
for file system path data in UploadBase.php or LocalFile.php?  How can I
get the information about an uploaded file's location on the file system
while in an onUploadComplete-like object method in my extension?

Thanks,
Eric
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] What's the best place to do post-upload processing on a file? Etc.

2012-05-04 Thread Tei
I am just a random user lurking on the mail-list, nor a mw dev, but I
wonder why you don't look on the SVG handling already on mediawiki.
What you are doing is rendering, with one added dimension :D
http://www.mediawiki.org/wiki/Manual:Configuration_settings#SVG
This stuff has to do things in a stablished way, that you can just
expand, or replicate the strategy.

This is a super-casual comment. Wait for what the mw devs say.

On 4 May 2012 13:58, emw emw.w...@gmail.com wrote:
 Hi all,

 For a MediaWiki extension I'm working on (see
 http://lists.wikimedia.org/pipermail/wikitech-l/2012-April/060254.html), an
 effectively plain-text file will need to be converted into a static image.
 I've got a set of scripts that does that, but it takes my medium-grade
 consumer laptop about 30 seconds to convert the plain-text file into a
 ray-traced static image.



-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] User ID 0 on simple

2012-05-04 Thread Denny Vrandečić
Hi,

I am confused by the following edit on the Simple English Wikipedia:

https://simple.wikipedia.org/w/index.php?title=Apriloldid=2130

It is done by User:Ams80 it says, but the user does not exist. Also, when
you click on all the users contributions, you get an empty list -- also not
including the April article.

https://simple.wikipedia.org/wiki/Special:Contributions/Ams80

I am guessing that the Simple English Wikipedia was maybe started in 2003
with a copy of the English Wikipedia, and that the first edit is actually
done by a proxy editor name or something like that, that does not really
exist.

Anyone having a good memory?

Cheers,
Denny



-- 
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 2 | 10963 Berlin
Tel. +49-30-219 158 26-0 | http://wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] User ID 0 on simple

2012-05-04 Thread Bryan Tong Minh
A user will have id 0, but an associated user name, when a page is
imported via Special:Import, and if said user does not exist locally.


Bryan

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] User ID 0 on simple

2012-05-04 Thread Petr Kadlec
On 4 May 2012 15:43, Bryan Tong Minh bryan.tongm...@gmail.com wrote:
 A user will have id 0, but an associated user name, when a page is
 imported via Special:Import, and if said user does not exist locally.

See also https://bugzilla.wikimedia.org/show_bug.cgi?id=7240

-- [[cs:User:Mormegil | Petr Kadlec]]

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Wikimedia engineering report for April 2012

2012-05-04 Thread Guillaume Paumier
Hi,

The report covering Wikimedia engineering activities in April 2012 is
now available.

Wiki version: 
https://www.mediawiki.org/wiki/Wikimedia_engineering_report/2012/April
Blog version: 
https://blog.wikimedia.org/2012/05/04/engineering-april-2012-report/

-- 
Guillaume Paumier
Technical Communications Manager — Wikimedia Foundation
http://donate.wikimedia.org

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

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

2012-05-04 Thread MediaWiki Mail
Xqt changed the status of pywikipedia.r10176 to ok
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10176

Old status:  new
New status: ok

Commit summary for pywikipedia.r10176:

Localisation updates from http://translatewiki.net.

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[MediaWiki-CodeReview] [pywikipedia r10089]: New comment added

2012-05-04 Thread MediaWiki Mail
Valhallasw posted a comment on pywikipedia.r10089.
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10089#c32779

Commit summary for pywikipedia.r10089:

Enable ignore list for repeated runs + some error handling.

Valhallasw's comment:

Yep, I'm a moron. I had the patch from 
http://sourceforge.net/tracker/?func=detailaid=2790445group_id=93107atid=603140
 applied. So you're right, it's not in pagegenerators *yet*. However, this 
still is duplicate code, which should be refactored to a more general method 
(preferrably in pagegenerators.py).

It's also a bonus this patch hasn't been applied yet, because the naming wasn't 
well thought-out...

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[Wikitech-l] Gerrit 2.3 (and cloning all extensions)

2012-05-04 Thread Chad
Hi,

Ryan and I upgraded our Gerrit install to 2.3 today. This release
brings lots of fixes and various other improvements. The big feature
we're using in 2.3 is called submodule subscriptions which I've
already deployed for our extensions.

To check out all extensions in Gerrit, you can now do the following:
$ git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git
$ cd extensions
$ git submodule update --init

To update the extensions to their latest versions, just do this:
$ cd /path/to/extensions
$ git pull
$ git submodule update --init

I hope you all enjoy the new version of Gerrit. Please let me know if
you find any regressions.

-Chad

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] What's the best place to do post-upload processing on a file? Etc.

2012-05-04 Thread Benjamin Lees
On Fri, May 4, 2012 at 7:58 AM, emw emw.w...@gmail.com wrote:
 However, I haven't been able to find a way to get the
 uploaded file's path on the local file system, which I would need to do the
 transformation.
FileRepo::getHashPath() should be what you want.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[MediaWiki-CodeReview] [Wikimedia r1748]: Revision status changed

2012-05-04 Thread MediaWiki Mail
Pgehres (WMF) changed the status of Wikimedia.r1748 to ok
URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1748

Old status:  new
New status: ok

Commit summary for Wikimedia.r1748:

Adds a log grooming routine to the wr1 parsing, to reduce the sheer number of 
dumb file operations we had to do manually.

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[MediaWiki-CodeReview] [Wikimedia r1749]: Revision status changed

2012-05-04 Thread MediaWiki Mail
Pgehres (WMF) changed the status of Wikimedia.r1749 to ok
URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1749

Old status:  new
New status: ok

Commit summary for Wikimedia.r1749:

Refactoring in the name of eventually having a sane control loop for batching.

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[MediaWiki-CodeReview] [pywikipedia r10089]: New comment added

2012-05-04 Thread MediaWiki Mail
Bináris posted a comment on pywikipedia.r10089.
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10089#c32780

Commit summary for pywikipedia.r10089:

Enable ignore list for repeated runs + some error handling.

Bináris's comment:

Then you might set pagegenerators to fixme and my script to OK. :-) 

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


Re: [Wikitech-l] What's the best place to do post-upload processing on a file? Etc.

2012-05-04 Thread Michael Dale
You will want to put into a jobQueue you can take a look at the Timed 
Media Handler extension for how post upload processor intensive 
transformations can be handled.


--michael

On 05/04/2012 04:58 AM, emw wrote:

Hi all,

For a MediaWiki extension I'm working on (see
http://lists.wikimedia.org/pipermail/wikitech-l/2012-April/060254.html), an
effectively plain-text file will need to be converted into a static image.
I've got a set of scripts that does that, but it takes my medium-grade
consumer laptop about 30 seconds to convert the plain-text file into a
ray-traced static image.  Since ray-tracing the images being created here
substantially improves their visual quality, my impression is that it's
worth a moderately expensive transformation operation like this, but only
if the operation is done once.

Given that, I assume it'd be best to do this transformation immediately
after the plain-text file has completed uploading.  Is that right?  If not,
what's a better time/way to do that processing?

I've looked into MediaWiki's 'UploadComplete' event hook to accomplish
this. That handler gives a way to access information about the upload and
the local file.  However, I haven't been able to find a way to get the
uploaded file's path on the local file system, which I would need to do the
transformation.  Looking around related files I see references to $srcPath,
which seems like what I would need.  Am I just missing some getter method
for file system path data in UploadBase.php or LocalFile.php?  How can I
get the information about an uploaded file's location on the file system
while in an onUploadComplete-like object method in my extension?

Thanks,
Eric
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[MediaWiki-CodeReview] [Wikimedia r1750]: Revision status changed

2012-05-04 Thread MediaWiki Mail
Pgehres (WMF) changed the status of Wikimedia.r1750 to deferred
URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1750

Old status:  new
New status: deferred

Commit summary for Wikimedia.r1750:

MFT r1344, r1747, r1748, r1749

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[MediaWiki-CodeReview] [Wikimedia r1751]: Revision status changed

2012-05-04 Thread MediaWiki Mail
Pgehres (WMF) changed the status of Wikimedia.r1751 to ok
URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1751

Old status:  new
New status: ok

Commit summary for Wikimedia.r1751:

...dumb.

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


[MediaWiki-CodeReview] [Wikimedia r1752]: Revision status changed

2012-05-04 Thread MediaWiki Mail
Pgehres (WMF) changed the status of Wikimedia.r1752 to ok
URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1752

Old status:  new
New status: ok

Commit summary for Wikimedia.r1752:

Some comments, a slight function modification, and a dumb fix to prevent my 
missing arrays from being rekeyed.

___
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview


Re: [Wikitech-l] Informal English lessons for Wikimedia developers - May 5 or 6

2012-05-04 Thread Sumana Harihareswara
Sounds like no one wrote to Erika.  She'd prefer to do Sunday, so the
date will be

ALBUQUERQUE, 10am-noon, Sun, May 6 2012
MUMBAI, 9:30pm-11:30pm, Sun, May 6 2012
UTC, 16:00-18:00, Sun, May 6 2012
AMSTERDAM, 18:00-20:00, Sun, May 6 2012

Please put your writing into the Etherpad as soon as possible, and at
least 24 hours before the session.
http://notes.wikimediadc.org/p/english-lessons


-- 
Sumana Harihareswara
Engineering Community Manager
Wikimedia Foundation


On 05/02/2012 11:42 PM, Andrew Garrett wrote:
 I'm also happy to help out, if Erika does want a hand.
 
 On Sun, Apr 29, 2012 at 8:16 AM, Sumana Harihareswara suma...@wikimedia.org
 wrote:
 
 Samat - yes, I know this would be useful for a lot of people, but since
 this particular volunteer only has a limited amount of time and wants to
 learn more about software development, I'm choosing to ask her to
 specifically help our developer community.  You can email Erika (cc'd)
 to let her know which sessions you could attend.

 --
 Sumana Harihareswara
 Engineering Community Manager
 Wikimedia Foundation


 On 04/28/2012 06:11 PM, Samat wrote:
 This initiative would be helpful not just for developers (and thanks for
 this possibility Erika, Sumana in the name of developers).
 I would surely participate in a similar lesson...

 Samat


 On Sun, Apr 29, 2012 at 00:00, Sumana Harihareswara
 suma...@wikimedia.orgwrote:

 Some Wikimedia developers have requested help improving their English
 writing skills.  Erika Hanson is volunteering her proofreading skills to
 help by leading interactive proofreading sessions -- we ran a pilot
 today and it was successful enough that we'll do another one next
 weekend.

 Participants paste what they've written into the Etherpad
 http://notes.wikimediadc.org/p/english-lessons by Thursday night, so
 Erika has time to read it and mark problem areas in boldface.  Then,
 during the tutorial session, Erika gives the learner lessons in
 spelling, grammar, punctuation, etc., for about 15 minutes per student.
  If she has time in the 15 min., she'll then move on to matters of
 style.  Discussion can be within the Etherpad chat.

 If you want to participate, email Erika (cc'd) with the date/times that
 you can attend (your 2 choices are below - I don't know whether Erika
 can do both times or just the more popular 1), and put something you've
 written into the Etherpad by the end of Thursday.  It should be at least
 200 words long -- blog entry, email, school essay, whatever.


 ALBUQUERQUE, 1:30pm-3:30pm , Sat, May 5 2012
 UTC, 19:30-21:30 Sat, May 5 2012
 AMSTERDAM, 21:30-23:30 Sat, May 5 2012
 MUMBAI, 1am-3am Sun, May 6 2012

 or

 ALBUQUERQUE, 10am-noon, Sun, May 6 2012
 MUMBAI, 9:30pm-11:30pm, Sun, May 6 2012
 UTC, 16:00-18:00, Sun, May 6 2012
 AMSTERDAM, 18:00-20:00, Sun, May 6 2012

 If people learn effectively from this, then we could repeat it.

 --
 Sumana Harihareswara
 Engineering Community Manager
 Wikimedia Foundation

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l