[Wikitech-l] how to force type of zh conversion?

2010-09-13 Thread Sean Moss-Pultz
Hi List

I have a local copy of mediawiki (v1.15) and I'm trying to force
output of content in zh-tw format for testing. I figured this could
be done by setting:

  $wgLanguageCode = 'zh-tw';

inside of LocalSettings.php. But this doesn't seem to work. Could
somebody shed some light on how to do this?

Thanks!

  -Sean

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


Re: [Wikitech-l] how to force type of zh conversion?

2010-09-13 Thread Sean Moss-Pultz
On Mon, Sep 13, 2010 at 2:09 PM, Sean Moss-Pultz s...@openmoko.com wrote:

 Hi List

 I have a local copy of mediawiki (v1.15) and I'm trying to force
 output of content in zh-tw format for testing. I figured this could
 be done by setting:

  $wgLanguageCode = 'zh-tw';

 inside of LocalSettings.php. But this doesn't seem to work. Could
 somebody shed some light on how to do this?

I figured this out. This works as I wanted:

  $wgLanguageCode = 'zh';
  $wgDefaultLanguageVariant = 'zh-tw';

Hope that helps somebody... sometime.

Sean

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


Re: [Wikitech-l] Proposal: reversion collapsing in edit history

2010-09-13 Thread Roan Kattouw
2010/9/13 Tgr gti...@gmail.com:
 It would be nice if the system would be generic enough to be used for hiding
 minor bot edits (not necessarily reversions)
The only common factor between collapsing reversions and hiding minor
and/or bot edits is the fact that you're hiding things from the
history view. As far as detection goes, the two are completely
separate problems: one requires a checksum to be added to the revision
table, the other requires the minor/bot flags to be added to that
table.

Roan Kattouw (Catrope)

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


Re: [Wikitech-l] Proposal: reversion collapsing in edit history

2010-09-13 Thread Platonides
Roan Kattouw wrote:
 2010/9/13 Tgr gti...@gmail.com:
 It would be nice if the system would be generic enough to be used for hiding
 minor bot edits (not necessarily reversions)

 The only common factor between collapsing reversions and hiding minor
 and/or bot edits is the fact that you're hiding things from the
 history view. As far as detection goes, the two are completely
 separate problems: one requires a checksum to be added to the revision
 table, the other requires the minor/bot flags to be added to that
 table.
 
 Roan Kattouw (Catrope)

Seems a good point to me. It should be designed right the first time, so
it can easily be extended to handle all similar revision collapsings.

PS: The minor flag is already there.


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


Re: [Wikitech-l] Community vs. centralized development

2010-09-13 Thread Ryan Kaldari
On 9/11/10 2:48 PM, Jamie Morken wrote:
 Doing the same on my log of the secret channel gives 100903 00:03:40, meaning 
 it has roughly the same traffic level as #wikimedia-tech over that period.  
 Anyone who hangs out there can tell you that almost nothing there is secret.  
 I can't speak for private-l, because I'm not on it.


Which channel are you talking about? Regarding private-l, my 
understanding is that that list was originally set up to deal with 
real-life wikistalking issues, which obviously requires privacy to 
discuss. Please correct me if that is incorrect.

Ryan Kaldari

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


[Wikitech-l] Selenium Framework - standard directory for selenium tests

2010-09-13 Thread Dan Nessett
Are there any standards for where to put selenium tests? Right now the 
Simple Selenium test is in phase3/maintenance/tests/selenium and the 
PagedTiffHandler selenium tests are in PagedTiffHandler/selenium. This 
suggests a convention of putting extension selenium test files in a sub-
directory of the top-level directory named 'selenium'. Is that an 
official convention?

-- 
-- Dan Nessett


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


Re: [Wikitech-l] Selenium Framework - standard directory for selenium tests

2010-09-13 Thread Priyanka Dhanda
Hi Dan,

I believe we decided that selenium tests should go under:
Extension/tests/selenium/

-p

On 09/13/2010 12:04 PM, Dan Nessett wrote:
 Are there any standards for where to put selenium tests? Right now the
 Simple Selenium test is in phase3/maintenance/tests/selenium and the
 PagedTiffHandler selenium tests are in PagedTiffHandler/selenium. This
 suggests a convention of putting extension selenium test files in a sub-
 directory of the top-level directory named 'selenium'. Is that an
 official convention?




-- 
Priyanka Dhanda
Code Maintenance Engineer
Wikimedia Foundation
http://wikimediafoundation.org
San Francisco, CA



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


Re: [Wikitech-l] Community vs. centralized development

2010-09-13 Thread David Gerard
On 13 September 2010 21:14, emijrp emi...@gmail.com wrote:

 I think that Jamie has started an important topic. I don't think that WMF is
 going to usurp Wikipedia and the sister projects now or in the future, but
 it is statistically possible. If we want to protect us, the human knowledge
 and our work of this hypothetical scenario, we need complete full dumps
 frequently. But this scenario is a malicious one, and I think that there are
 many more dangerous posibilities, and unfortunately, they are common.
 For example, small or massive lost of data due to natural disasters,
 crackers attacks, stolen passwords, hardware and software bugs, sudden crazy
 sysops, and _human errors_. Is WMF ready for that?


Shit happening is by far more likely than malice. Denise considers job
#1 the elimination of existing single points of failure, so that's
something. And she knows her stuff. And has the proper sysadminly
horror at the notion of systems susceptible to such.


- d.

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


[Wikitech-l] SUL statistics

2010-09-13 Thread Marcus Buck
  Are there any recent statistics about SUL? How many accounts exist on 
Wikimedia projects, how many accounts are SUL, how many unconflicting 
non-SUL accounts remain, how many conflicts remain? How many Wikimedia 
projects participate in SUL and how many and which are not part of it?

Thanks
Marcus Buck
User:Slomox

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


Re: [Wikitech-l] SUL statistics

2010-09-13 Thread Gerard Meijssen
Hoi,
It is impossible to guess how many SUL user names remain as user names can
be in any Unicode script. As more scripts will be added to Unicode, there is
no method to even guess at the number.
Thanks,
  GerardM

On 13 September 2010 23:31, Marcus Buck w...@marcusbuck.org wrote:

  Are there any recent statistics about SUL? How many accounts exist on
 Wikimedia projects, how many accounts are SUL, how many unconflicting
 non-SUL accounts remain, how many conflicts remain? How many Wikimedia
 projects participate in SUL and how many and which are not part of it?

 Thanks
 Marcus Buck
 User:Slomox

 ___
 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] Community vs. centralized development

2010-09-13 Thread Tomasz Finc

 Also, I think that we need to start mirroring Wiki[mp]edia dumps to other
 servers around the globe, as the common GNU/Linux ISOs mirrors do. Also,
 Library of Congress said some time ago that they are going to save a copy of
 all the tweets sent to Twitter.[6] When are they going to save a copy of
 Wiki[mp]edia? I hope we have learnt a bit since Library of Alexandria was
 destroyed.

They've actually just reached out to us to discuss archiving all of the 
Wikimedia projects :) 

Discussions are in their early stages but I'll happily update as I know more.

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


[Wikitech-l] Get full-protecting article list monthly

2010-09-13 Thread zh509
Dear All,

May I ask how I can get the full-protecting article lists monthly? I can 
get the current one by searching lock link. Is that some tools for this?

thanks,

Zeyi


___
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] Weekly test framework deployment meetings

2010-09-13 Thread Rob Lanphier
Hi everyone,

There's a few of us that have been having regular meetings every other
week over Skype to discuss test framework deployment (e.g. Selenium,
phpUnit, CruiseControl, etc).

The project page for this project is here:
http://www.mediawiki.org/wiki/Test_framework_deployment

The notes from the last meeting are here:
http://www.mediawiki.org/wiki/Test_framework_deployment/Meeting_notes_2010-09-10

We wanted to make these meetings more inclusive, while still
preserving our ability to hold a voice session.  Here's the plan we
cooked up:

*  We hold the meeting every week, alternating between using voice one
week and using IRC (#mediawiki) the next
*  Publish the notes on mediawiki.org
*  Establish a low bar for being invited to the Skype session

The bar we generally want to establish for being on the Skype call:
*  You've productively contributed to the test framework conversation
in email and/or IRC
*  You've been productive and non-disruptive on any previous calls
you've been on
*  You ask to be on the call ahead of time (giving your Skype ID).

The next meeting we plan to have is Friday, September 17, 9:30am PDT
(16:30 UTC) on #mediawiki.  Hope to see you there!

Rob

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


Re: [Wikitech-l] SUL statistics

2010-09-13 Thread Mark Williamson
I don't believe Marcus Buck asked that. Here's what he did ask, as far
as I can tell:

- How many accounts exist on Wikimedia projects
- how many accounts are SUL
- how many unconflicting non-SUL accounts remain
- how many conflicts remain
- How many Wikimedia projects participate in SUL
- how many are not part of it
- which [projects] are not part of it

Even if usernames were limited to the Latin alphabet, the fact that
they can be up to 64 characters long as far as I can tell means that
the number of possible combinations would be astronomical in nature; I
can't imagine why someone would ask such a question on this list.

On Mon, Sep 13, 2010 at 2:34 PM, Gerard Meijssen
gerard.meijs...@gmail.com wrote:
 Hoi,
 It is impossible to guess how many SUL user names remain as user names can
 be in any Unicode script. As more scripts will be added to Unicode, there is
 no method to even guess at the number.
 Thanks,
      GerardM

 On 13 September 2010 23:31, Marcus Buck w...@marcusbuck.org wrote:

  Are there any recent statistics about SUL? How many accounts exist on
 Wikimedia projects, how many accounts are SUL, how many unconflicting
 non-SUL accounts remain, how many conflicts remain? How many Wikimedia
 projects participate in SUL and how many and which are not part of it?

 Thanks
 Marcus Buck
 User:Slomox

 ___
 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] Community vs. centralized development

2010-09-13 Thread Casey Brown
On Mon, Sep 13, 2010 at 1:44 PM, Ryan Kaldari rkald...@wikimedia.org wrote:
 Regarding private-l, my
 understanding is that that list was originally set up to deal with
 real-life wikistalking issues, which obviously requires privacy to
 discuss. Please correct me if that is incorrect.

My understanding of private-l is that it's the Wikimedia shell/root
sysadmin discussion list, it just has a very bad name.  I could be
wrong too though. :-)

-- 
Casey Brown
Cbrown1023

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


Re: [Wikitech-l] SUL statistics

2010-09-13 Thread Platonides
Marcus Buck wrote:
   Are there any recent statistics about SUL? How many accounts exist on 
 Wikimedia projects, how many accounts are SUL, how many unconflicting 
 non-SUL accounts remain, how many conflicts remain? How many Wikimedia 
 projects participate in SUL and how many and which are not part of it?

All Wikimedia projects are part of SUL now.
The wikis under WMF control that are not on it are either private wikis
or sandbox wikis.


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


Re: [Wikitech-l] Community vs. centralized development

2010-09-13 Thread Chad
On Mon, Sep 13, 2010 at 6:24 PM, Casey Brown li...@caseybrown.org wrote:
 On Mon, Sep 13, 2010 at 1:44 PM, Ryan Kaldari rkald...@wikimedia.org wrote:
 Regarding private-l, my
 understanding is that that list was originally set up to deal with
 real-life wikistalking issues, which obviously requires privacy to
 discuss. Please correct me if that is incorrect.

 My understanding of private-l is that it's the Wikimedia shell/root
 sysadmin discussion list, it just has a very bad name.  I could be
 wrong too though. :-)


Yep. It's a sysadmin list. Name kinda sucks :)

-Chad

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

Re: [Wikitech-l] Weekly test framework deployment meetings

2010-09-13 Thread Siebrand Mazeland
Rob, you forgot to mention where/whom to ask to be invited for the Skype call. 
I'm sure you'd not want those requests to go to the mailing list (I at least 
wouldn't want them to).

Siebrand

-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org 
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Rob Lanphier
Sent: Tuesday, September 14, 2010 12:16 AM
To: Wikimedia developers
Subject: [Wikitech-l] Weekly test framework deployment meetings

[..]
*  You ask to be on the call ahead of time (giving your Skype ID).
[..]


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


[Wikitech-l] WikiXMLArticleIndexer

2010-09-13 Thread Jamie Morken
Hi all,

We have a beta version of the code for reading the XML dump and 
extracting the article names with their associated images.  It is in 
the yahoo group wikishare files section folder 
WikiXMLArticleIndexer.  Also uploaded to:
http://nekrom.com/red79/WikiXMLArticleIndexer.zip
It uses a zipreader library: 
http://www.icsharpcode.net/opensource/sharpziplib/; 
so that it can stream the data from the file without having to unzip
the file.  I tested it on these two files so far:
enwiki-20100622-pages-articles.xml.bz2 
simplewiki-20100902-pages-articles.xml.bz2

The output file has one article name per line, and then has the
images (including the full download URL) in that article in 
quotation marks.

One cool thing we came across was the image download URL's.
Like for 2/28/Bakuninfull.jpg, the 2/28 folder is encoded in the
file name Bakuninfull.jpg using an MD5 hash (neato!)

The full path of the images are these url's:
http://upload.wikimedia.org/wikipedia/commons/2/28/Bakuninfull.jpg;

and when we make the download script we can add the desired thumbnail
scaling to the image ie. like this:

http://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Bakuninfull.jpg/220px-Bakuninfull.jpg;

Only bad news is its in C# :P

cheers,
Jamie


Here's the top few lines of output from running on
enwiki-20100622-pages-articles.xml.bz2

Anarchism 2/28/Bakuninfull.jpg 3/36/German_anti-communist_poster_1918.jpg 
8/84/Members_of_the_Maquis_in_La_Tresorerie.jpg 0/0f/ParcGuellOkupas.jpg 
b/b5/Max_stirner.jpg a/a6/WilliamGodwin.jpg 
e/ea/Portrait_of_Pierre_Joseph_Proudhon_1865.jpg 0/00/Kropotkin2.jpg 
e/ed/Jarach_and_Zerzan.JPG 2/23/Emilearmand01.jpg 
b/b8/Fransisco_Ferrer_Guardia.jpg 7/7d/Gadewar.jpg
Autism 0/0d/Autistic-sweetiepie-boy-with-ducksinarow.jpg 
8/83/Autismbrain.jpg 7/72/Opening_a_window_to_the_autistic_brain.jpg
Albedo b/ba/water_reflectivity.jpg
Alabama b/bb/Alabama.JPG 4/48/AlabamaWelcome.JPG 
8/87/Map_of_Alabama_terrain_NA.jpg 6/6e/Birmingham_panorama.jpg 
3/39/Downtown_Mobile_2008_01.jpg b/b2/100_1830.JPG 
b/be/Montgomery_Alabama_panorama.jpg e/e1/Alabama_winter_2008.jpg 
c/cd/Alabama_quarter,_reverse_side,_2003.jpg 
7/7f/Mobile_Alabama_harbor_aerial_view.jpg 
b/b1/Alabama_state_capitol,_Montgomery.jpg 
1/19/Bob_Riley_greeting_soldiers_in_Birmingham,_19_Jan,_2004.jpg 
d/d4/Harrison-plaza2.jpg
Achilles c/cf/Leon_Benouville_The_Wrath_of_Achilles.jpg 
1/11/The_Education_of_Achilles,_by_James_Barry.jpg 
d/dd/AmbrosianIliadPict47Achilles.jpg 
5/58/Triumph_of_Achilles_in_Corfu_Achilleion.jpg 
1/1c/Achilles_thniskon_in_Corfu.jpg 
a/a0/Aias_body_Akhilleus_Staatliche_Antikensammlungen_1884.jpg 
c/c4/Achilles_in_Corfu.JPG 0/01/Wenceslas_Hollar_-_Briseis_and_Achilles.jpg
Abraham Lincoln 3/38/Abe-Lincoln-Birthplace-2.jpg f/f6/Aamp;TLincoln.jpg 
4/4f/Abe_Lincoln_young.jpg 4/4b/Young_Lincoln-1c.jpg 
2/27/Abraham_Lincoln_by_Alexander_Helser,_1860-crop.jpg 
c/cf/Lincoln_Douglas_Debates_1958_issue-4c.jpg 1/13/The_Rail_Candidate.jpg 
4/41/Lincoln_1896_issue-4c.jpg 6/60/Abraham_lincoln_inauguration_1861.jpg 
6/64/RunningtheMachine-LincAdmin.jpg 6/67/PinkertonLincolnMcClernand.jpg 
b/bb/Lincoln_second.jpg 5/52/Abraham_Lincoln_1866_Issue-15c.jpg 
a/a2/Al16.jpg a/ab/TheApotheosisLincolnAndWashington1860s.jpg 
8/84/Abraham_Lincoln_Airmail_1960_Issue-25c.jpg
Aristotle e/e7/Arabic_aristotle.jpg 
a/ae/Aristotle_in_Nuremberg_Chronicle.jpg 
9/98/Sanzio_01_Plato_Aristotle.jpg 7/77/Uni_Freiburg_-_Philosophen_4.jpg 
3/33/Octopus3.jpg 1/13/Torpedo_fuscomaculata2.jpg 
c/cd/Triakis_semifasciata.jpg 6/63/161Theophrastus_161_frontespizio.jpg 
a/a4/Aristoteles_Louvre.jpg
Academy Award d/d6/31st_Acad_Awards.jpg 
d/d9/81st_Academy_Awards_Ceremony.JPG
Animalia (book) f/f2/Animalia.jpg
Altruism a/a9/Belisaire_demandant_l'aumone_Jacques-Louis_David.jpg


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


Re: [Wikitech-l] Weekly test framework deployment meetings

2010-09-13 Thread Rob Lanphier
On Mon, Sep 13, 2010 at 4:03 PM, Siebrand Mazeland s.mazel...@xs4all.nl wrote:
 Rob, you forgot to mention where/whom to ask to be invited for the Skype 
 call. I'm sure you'd not want those requests to go to the mailing list (I at 
 least wouldn't want them to).

Oops...sorry.  Ask me directly.

Thanks
Rob

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


Re: [Wikitech-l] Community vs. centralized development

2010-09-13 Thread Jamie Morken

Hi Tomasz,

That is great news, congrats!  I am happy they are spending time to archive 
wikis, I also am praying that my post ends up in the correct thread.

cheers,
Jamie

- Original Message -
From: Tomasz Finc tf...@wikimedia.org
Date: Monday, September 13, 2010 3:09 pm
Subject: Re: [Wikitech-l] Community vs. centralized development
To: Wikimedia developers wikitech-l@lists.wikimedia.org
Cc: Wikimedia Foundation Mailing List foundatio...@lists.wikimedia.org

 
  Also, I think that we need to start mirroring Wiki[mp]edia 
 dumps to other
  servers around the globe, as the common GNU/Linux ISOs mirrors 
 do. Also,
  Library of Congress said some time ago that they are going to 
 save a copy of
  all the tweets sent to Twitter.[6] When are they going to save 
 a copy of
  Wiki[mp]edia? I hope we have learnt a bit since Library of 
 Alexandria was
  destroyed.
 
 They've actually just reached out to us to discuss archiving all 
 of the Wikimedia projects :) 
 
 Discussions are in their early stages but I'll happily update as 
 I know more.
 
 --tomasz
 ___
 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