Re: [Wikitech-l] Two ways to grant rollback and patrol right ?

2009-02-18 Thread Andre Engels
On Wed, Feb 18, 2009 at 11:34 AM, Jason Wong jwongw...@ymail.com wrote:
 The discussions about the open of rollback and patrol right are in progress
 at Chinese Wikipedia (zh.wikipedia.org). Some suggested that we can have two
 ways to grant right to the qualified users. One is auto-promote (by system),
 and one is by hand (by admin). That's mean two requirements are needed. The
 requirement for auto-promotion is higher, and if user met this requirement,
 he must be promoted by system. Before that, if users met another
 requirement, he can make an application, and admin can consider whether or
 not. I would like to know that, is this possible to run out practically?

Yes, it is possible. The German Wikipedia is using this exact same
system for allowing people to mark sighted versions.

-- 
André Engels, andreeng...@gmail.com

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

[Wikitech-l] API breakage a few hours ago

2009-02-18 Thread Robert Ullmann
The API return in XML for queries with no result elements was broken a
few hours ago. I believe the culprit is r46845
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46845 which does
say it is a breaking change, but the break intended is that
applications may see query-continue earlier than expected (i.e.
earlier than the limit the app set), which applications should usually
handle anyway.

However it changes the XML structure for no results; if I query for
(say) recentchanges in the last few hours, and there are none, it
should (and did) return (in part):

  queryrecentchanges //query

now it returns

  query recentchanges=

which is not the same thing. Application code looking for the
recentchanges element will see the return as missing, incomplete, or
some error, rather than an empty element.

For RC, the code diff is
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiQueryRecentChanges.php?pathrev=46845r1=46844r2=46845

given the way setIndexedTagName_internal apparently works.

I think (but haven't tested) this breaks null returns for everything,
and thus a lot of applications may have trouble. Can we get it backed
out and re-committed when it generates the correct XML? (I will patch
a couple of my things for now.)

Best regards,
Robert

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


Re: [Wikitech-l] API breakage a few hours ago

2009-02-18 Thread Tim Starling
Robert Ullmann wrote:
[...]
 now it returns
 
   query recentchanges=

Filed in Bugzilla at https://bugzilla.wikimedia.org/show_bug.cgi?id=17552

-- Tim Starling


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


Re: [Wikitech-l] API breakage a few hours ago

2009-02-18 Thread Nicolas Dumazet
(Did you read http://thread.gmane.org/gmane.org.wikimedia.mediawiki.api/911 ? )

And for future reference, mediawiki-api mailing list might be more
convenient to flag api-related issues ;)

Cheers,

2009/2/18 Tim Starling tstarl...@wikimedia.org:
 Robert Ullmann wrote:
 [...]
 now it returns

   query recentchanges=

 Filed in Bugzilla at https://bugzilla.wikimedia.org/show_bug.cgi?id=17552

 -- Tim Starling


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




-- 
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]

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

[Wikitech-l] Error After Upgrade on Ubuntu

2009-02-18 Thread Chris Spencer
Hi,

I'm running Mediawiki 1.11.2 on Ubuntu 8, and after a recent update,
I'm now getting the error:

Warning: Missing argument 5 for MediaWiki::initialize(), called in
/usr/share/mediawiki/index.php on line 89 and defined in
/var/lib/mediawiki/includes/Wiki.php on line 52

Fatal error: Call to a member function getCheck() on a non-object in
/var/lib/mediawiki/includes/Wiki.php on line 137

Why would an update break Mediawiki's homepage, and how can I fix it?
Interestingly, Google returns lot's of sites with this error, but
they're all Mediawiki sites containing the error, and not anyone
discussing why the error occurs or how to fix it.

Regards,
Chris

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


Re: [Wikitech-l] Error After Upgrade on Ubuntu

2009-02-18 Thread Jan Luca
Have you run php /usr/share/mediawiki/maintenance/update.php or php5
/usr/share/mediawiki/maintenance/update.php in the shell.

Gruß
Jan Luca

-Ursprüngliche Nachricht-
Von: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Chris Spencer
Gesendet: Mittwoch, 18. Februar 2009 19:58
An: wikitech-l@lists.wikimedia.org
Betreff: [Wikitech-l] Error After Upgrade on Ubuntu

Hi,

I'm running Mediawiki 1.11.2 on Ubuntu 8, and after a recent update,
I'm now getting the error:

Warning: Missing argument 5 for MediaWiki::initialize(), called in
/usr/share/mediawiki/index.php on line 89 and defined in
/var/lib/mediawiki/includes/Wiki.php on line 52

Fatal error: Call to a member function getCheck() on a non-object in
/var/lib/mediawiki/includes/Wiki.php on line 137

Why would an update break Mediawiki's homepage, and how can I fix it?
Interestingly, Google returns lot's of sites with this error, but
they're all Mediawiki sites containing the error, and not anyone
discussing why the error occurs or how to fix it.

Regards,
Chris

___
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] Microsoft’s IE 8 incompatibility w ith wikipedia.org

2009-02-18 Thread shi zhao
see http://blogs.zdnet.com/microsoft/?p=2072

Microsoft's IE 8 incompatibility with wikipedia.org

-- 
Chinese wikipedia: http://zh.wikipedia.org/
My blog: http://shizhao.org
twitter: https://twitter.com/shizhao

[[zh:User:Shizhao]]
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Microsoft’s IE 8 incompatibility with wikipedia.org

2009-02-18 Thread Brion Vibber
On 2/18/09 1:20 PM, shi zhao wrote:
 see http://blogs.zdnet.com/microsoft/?p=2072

 Microsoft's IE 8 incompatibility with wikipedia.org

I'd kind of prefer if they just fixed their browser. :)

What remaining IE8 issues are there? The first beta was so unusable in 
general we didn't bother attempting any workarounds on the assumption it 
would change entirely by later betas...

Tracking bug list:
https://bugzilla.wikimedia.org/showdependencytree.cgi?id=13361

Still listed as open are:
https://bugzilla.wikimedia.org/show_bug.cgi?id=13362
https://bugzilla.wikimedia.org/show_bug.cgi?id=13363
https://bugzilla.wikimedia.org/show_bug.cgi?id=13364

-- brion

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


[Wikitech-l] [SPAM] Re: Error After Upgrade on Ubuntu

2009-02-18 Thread Michael Daly
Jan Luca wrote:

 Have you run php /usr/share/mediawiki/maintenance/update.php

Could I have an official response on the relative appropriateness of 
the above versus:

cd /usr/share/mediawiki/maintenance
php update.php

At one time, following Jan's advice was not likely to work and running 
the script after cd-ing to the appropriate directory would work.  Now I 
see more people suggesting Jan's version of the command.

Is it the intent of Mediawiki developers to ensure that _all_ scripts 
should run from any directory if the path to the script is provided as 
part of the argument to php?

Mike


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


Re: [Wikitech-l] Microsoft's IE 8 incompatibility with wikipedia.org

2009-02-18 Thread Lane, Ryan
 2009/2/18 David Gerard dger...@gmail.com:
 Yeah, I think we should just wait until they fix their browser...
 We're standards compliant, aren't we?
 

Your reply was probably a joke, but, just in case it wasn't; Microsoft
may be getting OEMs to ship with IE8:

http://www.techarp.com/showarticle.aspx?artno=621

V/r,

Ryan Lane

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


Re: [Wikitech-l] Error After Upgrade on Ubuntu

2009-02-18 Thread Roan Kattouw
Chris Spencer schreef:
 Hi,
 
 I'm running Mediawiki 1.11.2
You should really be running a more recent version, like 1.13.4. Is 
1.11.2 the version you upgraded to, or the one you upgraded from?

Roan Kattouw (Catrope)

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


Re: [Wikitech-l] Microsoft's IE 8 incompatibility with wikipedia.org

2009-02-18 Thread Thomas Dalton
2009/2/18 Lane, Ryan ryan.l...@ocean.navo.navy.mil:
 2009/2/18 David Gerard dger...@gmail.com:
 Yeah, I think we should just wait until they fix their browser...
 We're standards compliant, aren't we?

David didn't say that, I did. Be careful with your quoting! (Who were
you actually replying to? Your reply doesn't seem to make sense in
response to either of our emails...)

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


Re: [Wikitech-l] Error After Upgrade on Ubuntu

2009-02-18 Thread Nicolas Dumazet
The version available in Ubuntu reps is sadly 1.12.0 for intrepid [0]

Apparently Ubuntu 9.04 (release date in the end of April) will support
MW 1.13.3 [1]

If update.php is not run on version update, we should probably get
more details and report this on ubuntu launchpad. :)

[0] http://packages.ubuntu.com/intrepid-updates/mediawiki
[1] http://packages.ubuntu.com/jaunty/mediawiki

2009/2/18 Roan Kattouw roan.katt...@home.nl:
 Chris Spencer schreef:
 Hi,

 I'm running Mediawiki 1.11.2
 You should really be running a more recent version, like 1.13.4. Is
 1.11.2 the version you upgraded to, or the one you upgraded from?

 Roan Kattouw (Catrope)

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




-- 
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]

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

Re: [Wikitech-l] Error After Upgrade on Ubuntu

2009-02-18 Thread Chris Spencer
It turned out this was partially my fault. A few months ago, version
1.13 was somehow manually installed overtop the standard version from
the Ubuntu repo. I guess the update reverted enough files to break
everything.

Thanks for the help.

Chris

On Wed, Feb 18, 2009 at 7:24 PM, Nicolas Dumazet nicd...@gmail.com wrote:
 The version available in Ubuntu reps is sadly 1.12.0 for intrepid [0]

 Apparently Ubuntu 9.04 (release date in the end of April) will support
 MW 1.13.3 [1]

 If update.php is not run on version update, we should probably get
 more details and report this on ubuntu launchpad. :)

 [0] http://packages.ubuntu.com/intrepid-updates/mediawiki
 [1] http://packages.ubuntu.com/jaunty/mediawiki

 2009/2/18 Roan Kattouw roan.katt...@home.nl:
 Chris Spencer schreef:
 Hi,

 I'm running Mediawiki 1.11.2
 You should really be running a more recent version, like 1.13.4. Is
 1.11.2 the version you upgraded to, or the one you upgraded from?

 Roan Kattouw (Catrope)

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




 --
 Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]

 ___
 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] [SPAM] Re: Error After Upgrade on Ubuntu

2009-02-18 Thread Aryeh Gregor
On Wed, Feb 18, 2009 at 4:48 PM, Michael Daly
michael.d...@kayakwiki.org wrote:
 Jan Luca wrote:

 Have you run php /usr/share/mediawiki/maintenance/update.php

 Could I have an official response on the relative appropriateness of
 the above versus:

 cd /usr/share/mediawiki/maintenance
 php update.php

It makes no difference.  I always use the first form (php
maintenance/xxx) for all scripts, and haven't had one break yet.
update.php doesn't access the filesystem anyway, except to get
includes, and those are always loaded in a working dir-independent
way.

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


[Wikitech-l] Mobile gateway testing

2009-02-18 Thread Brion Vibber
We're trying to get some more traffic onto the new mobile gateway for 
testing -- and figuring out how best to get people to the 
mobile-optimized site if they hit a regular Wikipedia link while on 
their mobile phone.

For the moment I've slipped in some JavaScript onto English Wikipedia 
which (intermittently for now) pops up a big link if it detects you’re 
on an iPhone, iPod Touch, or Android-based device.

Pretty screen shots at:

http://leuksman.com/log/2009/02/18/mobile-browser-links/

:D

-- brion

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


Re: [Wikitech-l] Mobile gateway testing

2009-02-18 Thread Chad
Is the new stuff in subversion? I know the hawpedia-
based code was.

-Chad

On Feb 18, 2009 9:00 PM, Brion Vibber br...@wikimedia.org wrote:

We're trying to get some more traffic onto the new mobile gateway for
testing -- and figuring out how best to get people to the
mobile-optimized site if they hit a regular Wikipedia link while on
their mobile phone.

For the moment I've slipped in some JavaScript onto English Wikipedia
which (intermittently for now) pops up a big link if it detects you're
on an iPhone, iPod Touch, or Android-based device.

Pretty screen shots at:

http://leuksman.com/log/2009/02/18/mobile-browser-links/

:D

-- brion

___
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] edit form oddity -- newly missing input type

2009-02-18 Thread Steve Summit
Sometime between yesterday and today, the edit summary field on
en.wp's edit page lost its type=text attribute.  It now reads:

input name=wpSummary size=60 value= id=wpSummary 
maxlength=200 tabindex=1 /

Lo and behold, type=text is the default, so it doesn't actually
break a standards-compliant browser, but it's kind of an an odd
change.  (I noticed because it mildly broke a bot of mine, that
assumed type=text only by accident, and after printing some
extraneous error messages.)

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


Re: [Wikitech-l] Two ways to grant rollback and patrol right ?

2009-02-18 Thread Jason Wong
If follow this system to grant right, is it possible to revoke the right from a
user?


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


Re: [Wikitech-l] Mobile gateway testing

2009-02-18 Thread Brion Vibber
On 2/18/09 6:08 PM, Chad wrote:
 Is the new stuff in subversion? I know the hawpedia-
 based code was.

It's being tried out in git so far -- 
http://github.com/hcatlin/wikimedia-mobile/tree/master

-- brion


 -Chad

 On Feb 18, 2009 9:00 PM, Brion Vibberbr...@wikimedia.org  wrote:

 We're trying to get some more traffic onto the new mobile gateway for
 testing -- and figuring out how best to get people to the
 mobile-optimized site if they hit a regular Wikipedia link while on
 their mobile phone.

 For the moment I've slipped in some JavaScript onto English Wikipedia
 which (intermittently for now) pops up a big link if it detects you're
 on an iPhone, iPod Touch, or Android-based device.

 Pretty screen shots at:

 http://leuksman.com/log/2009/02/18/mobile-browser-links/

 :D

 -- brion

 ___
 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