[Wikitech-l] IRC office hours with the Localisation team 2012-09-19 16:30 UTC

2012-09-17 Thread Srikanth Lakshmanan (WMF)
Hello everyone,

You're invited to the IRC office hours with the Localisation team[1] at the
Wikimedia Foundation.

Date: 2012-09-19
Time: 16.30 UTC
Venue: #wikimedia-office

Agenda:
1. Project Milkshake update.
2. Language teams and tracking i18n metrics.
3. Q  A

For more logistical info and time conversion links check the page on
Meta.[2] To know what the localisation team has been up to recently, check
out

* https://www.mediawiki.org/wiki/Project_Milkshake
*
https://commons.wikimedia.org/wiki/File:Wikimedia_Localisation_team_Sprint_23_demo.pdf
*
https://commons.wikimedia.org/wiki/File:Wikimedia_Localisation_team_Sprint_23_demo.ogv

Thanks, and we hope to talk to you soon!

[1] https://wikimediafoundation.org/wiki/Localisation_team
[2] https://meta.wikimedia.org/wiki/IRC_office_hours

-- 
Srikanth L
Wikimedia Localisation Team
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] a slightly weird search result in the Italian Wikipedia

2012-09-17 Thread Oren Bochman
The algorithm used to rank search results uses ... a variant of page rank
so the reasons may lay off the actual page.

- Oren Bochman

On Mon, Sep 17, 2012 at 12:11 AM, Federico Leva (Nemo)
nemow...@gmail.comwrote:

 Autopratica is actually not a valid word: or rather, it's a neologism
 from a new/fringe theory, possibly grammatical thanks to the productivity
 of auto- but slightly confusing due to the jargon-meaning of pratica here.

 That said, the reason is surely in that link label, which is the only use
 of the word on the wiki.

 Nemo


 __**_
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/**mailman/listinfo/wikitech-lhttps://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 

Oren Bochman

Office tel. 061 4921492
Mobile +36 30 866 6706
skype id: orenbochman
e-mail: o...@romai-horizon.com
site http://www.riverport.hu
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Notification bubble system

2012-09-17 Thread Daniel Friesen

On Sun, 16 Sep 2012 22:44:14 -0700, S Page sp...@wikimedia.org wrote:


Great stuff.

I think it should be in mw.util , alongside mw.util.jsMessage() , which I
assume it obsoletes.


https://gerrit.wikimedia.org/r/#/c/19199/

Krinkle, Aug 27th


Is the system documented somewhere already so gadget/script authors can

start using it?


I don't see anything yet in
https://www.mediawiki.org/wiki/ResourceLoader/Default_modules




--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]


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


[Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread David Gerard
Do we have any stats on IPv6 accesses and edits on Wikimedia sites?

I see this page on stats, which suggests it's literally so small we
can't even count it:

http://stats.wikimedia.org/wikimedia/squids/SquidReportCountryData.htm

Is that actually the case? 'Cos we do know IPv6 edits occur, therefore
IPv6 page views occur.


- d.

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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Thomas Dalton
On 17 September 2012 11:25, David Gerard dger...@gmail.com wrote:
 Do we have any stats on IPv6 accesses and edits on Wikimedia sites?

 I see this page on stats, which suggests it's literally so small we
 can't even count it:

 http://stats.wikimedia.org/wikimedia/squids/SquidReportCountryData.htm

 Is that actually the case? 'Cos we do know IPv6 edits occur, therefore
 IPv6 page views occur.

That's a split by country, why would it mention IPv6?

Judging by the number of anonymous edits coming from IPv6 addresses,
there might be fairly high usage.

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


Re: [Wikitech-l] Disabling direct pushing to master for extensions

2012-09-17 Thread Raimond Spekking
Am 29.08.2012 21:58, schrieb Chad:
 Hi everyone,
 
 This is something I've been meaning to bring up for some time, but have
 just been delaying getting it done. For a bunch of reasons, we need to
 look at disabling direct pushing on the master branch for all extensions in
 Gerrit. This doesn't affect other branches, just master. There's a couple
 of big reasons this is a problem right now, and why we need to change:
 
 1) Eventually, we'll be running tests for all extensions (at the very least
 linting if no phpunit tests have been written). Jenkins doesn't have the
 change to -1 a commit if you skip review.
 2) It doesn't give anyone a place to complain about the patch. Every
 commit to master needs a place to say Hey wait a minute -- even if it's
 already been merged.
 3) Changes that are directly pushed aren't searchable from Gerrit. This is
 more a feature request for Gerrit, but one that's easily worked around by
 just pushing through Gerrit.
 
 I realize that feature branches don't necessarily need the same level of
 scrutiny, but the primary branch for a repository needs to be as public
 as possible--direct pushing makes this difficult. I don't plan on changing
 this requirement for any branch that's not master or wmf/ (the latter
 relating to deployment config). Before I make the change though, I
 wanted to ask about it publicly to make sure there's no major blockers
 to me doing so.
 
 Thanks for any feedback you can give.
 
 -Chad
 

Just a note from point of Translatewiki.net staff:

All pushes to Git bypassing Gerrit are lost for Translatewiki.net. I
read every merged patchset but and decide what to do in case of changes
to i18n files (importing, syncing, fuzzying, mass replaces, moves etc).

Raimond



signature.asc
Description: OpenPGP digital signature
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread David Gerard
On 17 September 2012 12:36, Thomas Dalton thomas.dal...@gmail.com wrote:
 On 17 September 2012 11:25, David Gerard dger...@gmail.com wrote:

 Do we have any stats on IPv6 accesses and edits on Wikimedia sites?
 I see this page on stats, which suggests it's literally so small we
 can't even count it:
 http://stats.wikimedia.org/wikimedia/squids/SquidReportCountryData.htm
 Is that actually the case? 'Cos we do know IPv6 edits occur, therefore
 IPv6 page views occur.

 That's a split by country, why would it mention IPv6?
 Judging by the number of anonymous edits coming from IPv6 addresses,
 there might be fairly high usage.


Indeed. So where are the actual stats?


- d.

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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Diederik van Liere
On World IP6 day (June 6th 2012), we had about 5000 IP6 hits,
however, for the first 17 days of September we had a total
of 1,000,032,000 hits coming from IP6 addresses. This is based on the
sampled squid log data.

Best,
Diederik

On Mon, Sep 17, 2012 at 8:03 AM, David Gerard dger...@gmail.com wrote:

 On 17 September 2012 12:36, Thomas Dalton thomas.dal...@gmail.com wrote:
  On 17 September 2012 11:25, David Gerard dger...@gmail.com wrote:

  Do we have any stats on IPv6 accesses and edits on Wikimedia sites?
  I see this page on stats, which suggests it's literally so small we
  can't even count it:
  http://stats.wikimedia.org/wikimedia/squids/SquidReportCountryData.htm
  Is that actually the case? 'Cos we do know IPv6 edits occur, therefore
  IPv6 page views occur.

  That's a split by country, why would it mention IPv6?
  Judging by the number of anonymous edits coming from IPv6 addresses,
  there might be fairly high usage.


 Indeed. So where are the actual stats?


 - d.

 ___
 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] IPv6 usage on Wikimedia?

2012-09-17 Thread Thomas Dalton
Are you sure about that number? There are a suspicious number of zeros in
it!
On Sep 17, 2012 6:51 PM, Diederik van Liere dvanli...@wikimedia.org
wrote:

 On World IP6 day (June 6th 2012), we had about 5000 IP6 hits,
 however, for the first 17 days of September we had a total
 of 1,000,032,000 hits coming from IP6 addresses. This is based on the
 sampled squid log data.

 Best,
 Diederik

 On Mon, Sep 17, 2012 at 8:03 AM, David Gerard dger...@gmail.com wrote:

  On 17 September 2012 12:36, Thomas Dalton thomas.dal...@gmail.com
 wrote:
   On 17 September 2012 11:25, David Gerard dger...@gmail.com wrote:
 
   Do we have any stats on IPv6 accesses and edits on Wikimedia sites?
   I see this page on stats, which suggests it's literally so small we
   can't even count it:
  
 http://stats.wikimedia.org/wikimedia/squids/SquidReportCountryData.htm
   Is that actually the case? 'Cos we do know IPv6 edits occur, therefore
   IPv6 page views occur.
 
   That's a split by country, why would it mention IPv6?
   Judging by the number of anonymous edits coming from IPv6 addresses,
   there might be fairly high usage.
 
 
  Indeed. So where are the actual stats?
 
 
  - d.
 
  ___
  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

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


Re: [Wikitech-l] HTML5, it's a coming (again)!

2012-09-17 Thread Rob Lanphier
This change has been made now.

Rob

On Thu, Sep 6, 2012 at 9:15 AM, Rob Lanphier ro...@wikimedia.org wrote:
 Forwarded as this is of potentially wider interest.  This may be a
 breaking change for some older bots that haven't been maintained.

 -- Forwarded message --
 From: Sam Reed re...@wikimedia.org
 Date: Wed, Sep 5, 2012 at 3:06 PM
 Subject: [Wikitech-l] HTML5, it's a coming (again)!
 To: wikitech-l@lists.wikimedia.org


 It's been a long time coming (for the nth time..), but we're scheduling a
 deployment of HTML5 across the Wikimedia cluster [1]. This is set for Monday
 17th September at 18:00-20:00 UTC [2].



 The intention is to set $wgHtml5 [3] to true everywhere. It's been running
 on MediaWiki.org and our 2 test wikis for quite a while, and other sites
 like translatewiki.net with no issues.



 The intention is to leave it enabled unless it causes major problems. If
 you're running an application that screen scrapes, shame on you; you've had
 enough notice to get it fixed! ;)



 Now is the time to fix up your scripts and programs (where necessary), tell
 your friends!





 Sam





 [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=27478

 [2] http://wikitech.wikimedia.org/view/Software_deployments#Week_of_Sept_17

 [3] https://www.mediawiki.org/wiki/Manual:$wgHtml5



 ___
 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] IPv6 usage on Wikimedia?

2012-09-17 Thread Derric Atzrott
Are you sure about that number? There are a suspicious number of zeros in
it!

Agreed.  Have that many ISPs started to roll out their IPv6 networks to
subscribers?

Do we have an alternative log that could be used to double check those numbers?

Thank you,
Derric Atzrott


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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Antoine Musso
 On Sep 17, 2012 6:51 PM, Diederik van Liere wrote:
 On World IP6 day (June 6th 2012), we had about 5000 IP6 hits,
 however, for the first 17 days of September we had a total
 of 1,000,032,000 hits coming from IP6 addresses. This is based on the
 sampled squid log data.

Le 17/09/12 20:10, Thomas Dalton a écrit :
 Are you sure about that number? There are a suspicious number of zeros
 in it!

The squid logs are sampled, we only collect 1/1000th of them. So if we
ever end up with 1 000 032 hits in them, you have to times by 1000 to
get an estimation of the correct value.

Nothing wrong, great to know we already have passed a billion hits ;)

-- 
Antoine hashar Musso


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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Ryan Lane
On Mon, Sep 17, 2012 at 11:24 AM, Derric Atzrott
datzr...@alizeepathology.com wrote:
Are you sure about that number? There are a suspicious number of zeros in
it!

 Agreed.  Have that many ISPs started to roll out their IPv6 networks to
 subscribers?

 Do we have an alternative log that could be used to double check those 
 numbers?


At peak we can get between 100,000 - 140,000 requests per second. The
number provided by Diederik isn't very surprising.

- Ryan

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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Antoine Musso
Le 17/09/12 20:24, Derric Atzrott a écrit :
 Agreed.  Have that many ISPs started to roll out their IPv6 networks to
 subscribers?

IPv6  started kicking off at the end of 2010. It is linearly growing
since that. I know at least of Japan and France having a good number of
IPv6 eyeballs.

Google has a nice chart showing IPv6 connectivity percentage among its
users:
  http://www.google.com/ipv6/statistics.html

I know a ton of ISP have IPv6 internally already, deploying it to end
users is a bit more challenging since it needs to work on various
materials using your custom configuration and you will need your
customer support team ready to solve the issues that might arise.

The french ISP did enable it a few years ago. They use a few kind of
homemade hardware for all their subscriber and IPv6 is an option that
need to be enabled by the end user.
Comcast (a cable operator in US) has already ran out of IPv4 private IP
to manage their network so happily worked on IPv6.
I don't know about mobile ISP, but I am pretty sure some of them are
using IPv6 as well. Though they probably use v6-v4 NAT systems :(

To sum it up, ISP and major content providers are ready. Migrating
eyeballs will take slightly more time :-]

Anyway, we are diverging from the topic.

-- 
Antoine hashar Musso


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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Derric Atzrott
Anyway, we are diverging from the topic.

Thank you for it though.  It was very informative and puts those numbers (and
therefore the rest of the conversation that will likely occur) in context.  I'm
sure Thomas and I weren't the only two people reading this list that didn't know
that.

Sorry for our tangent.

Thank you,
Derric Atzrott


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


Re: [Wikitech-l] IPv6 usage on Wikimedia?

2012-09-17 Thread Diederik van Liere
.log-20120907.gz,57145
/a/squid/archive/sampled/sampled-1000.log-20120908.gz,55405
/a/squid/archive/sampled/sampled-1000.log-20120909.gz,57327
/a/squid/archive/sampled/sampled-1000.log-20120910.gz,62846
/a/squid/archive/sampled/sampled-1000.log-20120911.gz,64504
/a/squid/archive/sampled/sampled-1000.log-20120912.gz,67244
/a/squid/archive/sampled/sampled-1000.log-20120913.gz,66028
/a/squid/archive/sampled/sampled-1000.log-20120914.gz,64032
/a/squid/archive/sampled/sampled-1000.log-20120915.gz,57753
/a/squid/archive/sampled/sampled-1000.log-20120916.gz,57763
/a/squid/archive/sampled/sampled-1000.log-20120917.gz,65775


On Mon, Sep 17, 2012 at 3:22 PM, Derric Atzrott 
datzr...@alizeepathology.com wrote:

 Anyway, we are diverging from the topic.

 Thank you for it though.  It was very informative and puts those numbers
 (and
 therefore the rest of the conversation that will likely occur) in context.
  I'm
 sure Thomas and I weren't the only two people reading this list that
 didn't know
 that.

 Sorry for our tangent.

 Thank you,
 Derric Atzrott


 ___
 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] Notification bubble system

2012-09-17 Thread Steven Walling
On Sat, Sep 15, 2012 at 6:11 AM, Krinkle krinklem...@gmail.com wrote:

 ... yes, but now that we're on the subject, lets try to aim for
 standardization here instead of encouraging arbitrary HTML for layout (I'd
 like to phase that out sooner rather than later). We can allow HTML inside
 the body (e.g. for hyperlinks which are allowed even in edit summaries),
 though we could call jQuery .text() on html and disallow HTML completely
 (while still keeping output clean of html characters). We'll see about that
 later. One step at a time.

 I propose to implement the following content options (in addition to the
 configuration options we have like autoHide and tag). Inspired by API
 for Notification Center as found in OS X and iOS:

 * icon (optional)
 Must be square and transparent. Can potentially be displayed in different
 sizes. Important here to know that this icon is for source identification,
 not message type. I think it is good design to keep images out of
 notifications. No smilies, check marks or the like (unless the icon of a
 feature contains it).

 * title (optional)
 Title of the message. If too long, will be auto-ellipsis-ified.

 * body (required)
 Spans around up to 3 or 4 lines. If too long, will be auto-ellipsis-ified
 (in the case of a confirmation it would contain just one or two sentences,
 in case of a notification of en edit it might show (part of an) edit
 summary).

 * buttons (optional, multi, recommendation is to use 2 buttons, not 1 or
 3+ )
 Similar to jQuery UI dialog buttons): Label text and callback function.
 There can be be no two buttons with the same label. When a message has
 buttons it basically becomes what would be called an Alert (has buttons
 and doesn't autohide) in Notification Center lingo (as opposed to
 Banner, which autohides and has no buttons). It makes sense to
 automatically enforce autoHide:false if buttons are set.

 Applications / Features that send many notifications might abstract part
 of this internally, like:

 code
 var extPath = mw.config.get( 'wgExtensionAssetsPath' ) + '/Feature';
 /**
  * @param {mw.Title} title
  * @param {Object} revision Information about revision as given by the API.
  */
 Feature.prototype.editNotif = function( title, revision ) {
   return mw.notify({
 content: {,
   icon: extPath + '/modules/ext.Feature.foo/images/notify.icon.png',
   title: title.getPrefixedText(),
   body: $.parseHTML(  revision.parsedcomment )
   },
   config: {
 autoHide: true
   });
 };
 /code


Following up on what I said previously about wanting to build on top of
this, there are some usability enhancements proposed at bug #40307.

On the truncation issue: length is already something of an issue, from my
perspective. For example: the default watchlist message, which is 37 words,
seems to have been written on the assumption that the notification
container would be much wider. I've heard some complaints about it.[1] I'm
not sure if truncation is the correct method, but we should do something to
keep messages short.

Steven

1. [10:22:25] Fluffernutter: the javascript flash for watchlisting is
driving me very slightly nuts - it lasts too long and blocks out text
https://meta.wikimedia.org/wiki/IRC_office_hours/Office_hours_2012-09-08
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Proposal to add an API/Developer/Developer Hub link to the footer of Wikimedia wikis

2012-09-17 Thread MZMcBride
Hi.

There's a fairly straightforward request to add an API/Developer/Developer
Hub link to the footer of Wikimedia wikis, near the Disclaimers, Mobile
view, etc. links: https://bugzilla.wikimedia.org/show_bug.cgi?id=33464.

This should be fairly trivial to implement, but I wanted to check if there
were any objections to such an idea. The basic rationale for including such
a link is that other sites such as Twitter and Facebook and Wordnik have
similar links. This kind of link encourages viewers to become involved in
development for the project (e.g., Wikipedia), as opposed to the MediaWiki
logo, which serves a somewhat different purpose/functionality.

Assuming there aren't any objections to the idea, the only remaining
question seems to be where to point such a link. Brandon suggested
https://www.mediawiki.org/wiki/Project:Help. I'm wondering if there's an
API basics FAQ or something similar on mediawiki.org that could be
included in whatever landing page is chosen. Something that includes common
questions about the API such as What formats are available?, Do I need an
API key? (which I think is a pretty major question to answer, given how
many other APIs I've come across work), How can I get started developing
for Wikimedia wikis?, etc. Does anyone know if such a page exists already?

MZMcBride



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