Re: [Wikitech-l] Wikipedia Dump

2011-01-28 Thread zh509
Dear all,

I have used the dump from 
http://download.wikimedia.org/enwiki/20101011/enwiki-20101011-stub-meta-history.xml.gz,
 
imported into sql database.

However, I could see any data on 2001 to 2004, anyone know what's wrong?

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


Re: [Wikitech-l] OT: Sunday in San Francisco

2011-01-28 Thread Daniel Kinzler
Thanks for the input everyone!

Roan said:
 Have you seen http://wikimediafoundation.org/wiki/Visiting_San_Francisco ?

No, I didn't see that, thanks!

 If you like doing hikes, you can do what I did last Saturday and walk
 the Land's End Trail. 

That sounds like a really good idea. I could use a bit of walking and fresh air
after all the conferencing. I hope the weather isn't too wet :)

 Another fun thing to do is get lost in Golden Gate Park, which is a
 huge (roughly 7x1 km) park in the middle of the city. 

Yea, I have fond memories of Golden Gate Park, from when I was in SF in, oh
my... 1994?...

Andrew said:
 I'm in town until next Thursday, so we can hang out if you like.
 Sunday is my 20th birthday, and, if you feel up to it, you'd be
 welcome to join the celebrations.

That would be Sunday the 30th, right? Damn, I'll just be flying in on that day,
I probably can't handle a party after a transatlantic flight... also, I have to
get to Santa Clara, not SF - I'll be stuck there until Friday, I'm attending the
Strata conference. I'd love to hang out, but I doubt that I'll have an
opportunity to come to SF before the weekend. If you want to come down to SC, by
all means, do :)

Neil said:
 FYI, Feb 6th is Super Bowl Sunday. A sporting event whose celebration tends 
 to eclipse the actual sports part.
 
 Depending on your inclination you could either embrace the AMERICA FUCK 
 YEAH aspect of the day, or avoid it entirely. 

uhuh... I'm not one for national chest bumping, nor am I much into sports.
Though sporting events *can* be fun with the right crowd :) We'll see.

Thanks for the warning though, I guess I'll stay away from bars that night...


Anyway, see you soon!
-- daniel


PS: if anyone as more infos/ideas - keep them coming!

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


[Wikitech-l] Checkered background on file description pages

2011-01-28 Thread MZMcBride
Wikimedia Commons and the English Wikipedia have customized their site-wide
CSS to put a checkered pattern on the transparent part of files on the file
description page.

Because I view this code as almost necessary on any wiki that supports
uploading PNGs, I filed a bug about including it in the default site-wide
CSS: https://bugzilla.wikimedia.org/show_bug.cgi?id=26470

There's definitely missing functionality here. On wikis that don't use a
checkered background, a lot of users end up downloading the images to their
computer to look at them in order to determine if a background is white or
transparent. That sucks.

There was previous discussion about this, but more discussion is needed,
apparently. Is site-wide CSS the best way to do this? Would a toggle on the
file description page make more sense? User preference?

MZMcBride



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


[Wikitech-l] Re sourceLoader + Windows + PHP bug 47689

2011-01-28 Thread Aaron Schulz

In JavaScriptDistiller,  inside of the createParser() function, we have:
$parser-add( '/\\/\\*(.|[\\r\\n])*?\\*\\//' );

It took me hours to track down that this was causing Apache 2.1.11 to crash
on nearly any page view on my test wiki. This happened when a large JS
bundle is loaded, such as:
load.php?debug=falselang=enmodules=jquery.checkboxShiftClick|jquery.client|jquery.cookie|jquery.makeCollapsible|jquery.placeholder|mediawiki.action.watch.ajax|mediawiki.language|mediawiki.legacy.ajax|mediawiki.legacy.diff|mediawiki.legacy.mwsuggest|mediawiki.legacy.wikibits|mediawiki.utilskin=vectorversion=20110129T005517Z

I made a simple php file to reproduce this. It crashes when viewed over
apache but not CLI. It appears to be http://bugs.php.net/bug.php?id=47689
(which uses a similar regex).

Is something worth adding a note somewhere about or tweaking some code?
-- 
View this message in context: 
http://old.nabble.com/ResourceLoader-%2B-Windows-%2B-PHP-bug-47689-tp30792236p30792236.html
Sent from the Wikipedia Developers mailing list archive at Nabble.com.


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