Re: [Wikitech-l] Search article error (Inner error)

2010-01-30 Thread Dmitriy Sintsov
* 李琴  [Sat, 30 Jan 2010 14:31:43 +0800]:
> I added some existing extentions like "
> wikihiero,ParserFunctions,Cite,CharInsert,CategoryTree". Is anyone of
> them
> lead to that error?
>
These extensions are all used by Wikimedia and are very stable. Parser 
is a large and complex code. I'd rather suspect that MediaWiki version 
and extension version could be incompatible, or, perhaps an outdated 
version of PHP is being used, or the core of MediaWiki was patched. Why 
not to paste the modified code or to provide the diffs somewhere? But I 
doubt that Parser questions can be answered quickly, because there are 
not many experts and they are busy on high profile jobs. You probably 
have to study the Parser yourself, although it's not easy task. I wonder 
also if a lot of xml mixed with wikitext in source of article can bring 
a difficulty to PHP DOM parser, I don't know.
Dmitriy

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

[Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Thomas Dalton
"Google phases out support for IE6"
http://news.bbc.co.uk/1/hi/technology/8488751.stm

It's only a small step, but it is one more step towards the end of IE6
and the nightmare of supporting it!

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


[Wikitech-l] Revise Permissions of Local wiki problem

2010-01-30 Thread 李琴
 Hi,
I want to revise permissions of Local wiki. But this problem  bothers me.
  For example,
  
  in DefaultSetting.php, there is $wgGroupPermissions['user' ]['read'] = 
true;
  I want to revise in this way.
   If(……)
   {
$wgGroupPermissions['user' ]['read'] = false;
   }
  But the result is the value of $wgGroupPermissions['user' ]['read'] is 
still true,it can not be revised under the condition.
  
  Look forward to your reply.Thanks.

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

Re: [Wikitech-l] Revise Permissions of Local wiki problem

2010-01-30 Thread Liangent
What are the conditions in if()? When LocalSettings.php is executed, a
lot of things are not ready.

On 1/30/10, 李琴  wrote:
>  Hi,
> I want to revise permissions of Local wiki. But this problem  bothers me.
>   For example,
>
>   in DefaultSetting.php, there is $wgGroupPermissions['user' ]['read'] =
> true;
>   I want to revise in this way.
>If(……)
>{
> $wgGroupPermissions['user' ]['read'] = false;
>}
>   But the result is the value of $wgGroupPermissions['user' ]['read'] is
> still true,it can not be revised under the condition.
>
>   Look forward to your reply.Thanks.
>
> ___
> 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] Search article error (Inner error)

2010-01-30 Thread Chad
On Sat, Jan 30, 2010 at 3:27 AM, Dmitriy Sintsov  wrote:
> * 李琴  [Sat, 30 Jan 2010 14:31:43 +0800]:
>> I added some existing extentions like "
>> wikihiero,ParserFunctions,Cite,CharInsert,CategoryTree". Is anyone of
>> them
>> lead to that error?
>>
> These extensions are all used by Wikimedia and are very stable. Parser
> is a large and complex code. I'd rather suspect that MediaWiki version
> and extension version could be incompatible, or, perhaps an outdated
> version of PHP is being used, or the core of MediaWiki was patched. Why
> not to paste the modified code or to provide the diffs somewhere? But I
> doubt that Parser questions can be answered quickly, because there are
> not many experts and they are busy on high profile jobs. You probably
> have to study the Parser yourself, although it's not easy task. I wonder
> also if a lot of xml mixed with wikitext in source of article can bring
> a difficulty to PHP DOM parser, I don't know.
> Dmitriy
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

At the very least, you can file a bug[1] with the backtrace and your error
so hopefully it can be diagnosed (and fixed, if it's indeed a bug on our
end). And always take a peak at the currently open bugs, you might
be experiencing an already-reported issue--although no bugs come to
mind offhand.

https://bugzilla.wikimedia.org

-Chad

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

Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Chad
On Sat, Jan 30, 2010 at 6:58 AM, Thomas Dalton  wrote:
> "Google phases out support for IE6"
> http://news.bbc.co.uk/1/hi/technology/8488751.stm
>
> It's only a small step, but it is one more step towards the end of IE6
> and the nightmare of supporting it!
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

IE6 really is holding everyone back. But at such a high market share
(still!), it's still worth providing services to these users--dear lord lets
not start using the "Optimized for IEx/NNy" banners from days gone
by. We've recently dropped the IE5[1] and 5.5[2] stylesheets, since their
combined market share is less than a percent. Of course we shouldn't
bend over backwards to help IE6, but they can't be ignored, yet.

As has been stated in many places by many people: IE6's penetration
remains mostly in corporate environments, where users don't have a
choice in browsers and the company doesn't want risk breaking working
web applications. The fact that Microsoft is supporting it for another 4
years--it should've been shelved already--doesn't improve matters either.

-Chad

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


Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Chad
On Sat, Jan 30, 2010 at 9:37 AM, Chad  wrote:
> On Sat, Jan 30, 2010 at 6:58 AM, Thomas Dalton  
> wrote:
>> "Google phases out support for IE6"
>> http://news.bbc.co.uk/1/hi/technology/8488751.stm
>>
>> It's only a small step, but it is one more step towards the end of IE6
>> and the nightmare of supporting it!
>>
>> ___
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>
> IE6 really is holding everyone back. But at such a high market share
> (still!), it's still worth providing services to these users--dear lord lets
> not start using the "Optimized for IEx/NNy" banners from days gone
> by. We've recently dropped the IE5[1] and 5.5[2] stylesheets, since their
> combined market share is less than a percent. Of course we shouldn't
> bend over backwards to help IE6, but they can't be ignored, yet.
>
> As has been stated in many places by many people: IE6's penetration
> remains mostly in corporate environments, where users don't have a
> choice in browsers and the company doesn't want risk breaking working
> web applications. The fact that Microsoft is supporting it for another 4
> years--it should've been shelved already--doesn't improve matters either.
>
> -Chad
>

Whoops, haven't had any caffeine yet this morning, left the two links
off here. They're:

[1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61083
and
[2] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61085

-Chad

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


Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread David Gerard
On 30 January 2010 14:37, Chad  wrote:

> As has been stated in many places by many people: IE6's penetration
> remains mostly in corporate environments, where users don't have a
> choice in browsers and the company doesn't want risk breaking working
> web applications. The fact that Microsoft is supporting it for another 4
> years--it should've been shelved already--doesn't improve matters either.


This is oh so tempting:

http://danielrw.tumblr.com/post/266672251/hilarious-ie6-splash-screens


- d.

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


Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Thomas Dalton
On 30 January 2010 14:42, Chad  wrote:
> Whoops, haven't had any caffeine yet this morning, left the two links
> off here. They're:
>
> [1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61083

Interestingly, the revision summary for that revision gives a link to
general browser stats, rather than Wikimedia browser stats, which are
obviously the relevant ones (although we have such high reach that
there isn't a large difference). We have stats from Nov 2009
(http://stats.wikimedia.org/wikimedia/squids/SquidReportClients.htm) -
were those generated by a script that could be run again? Getting some
trends could help us work out when to ditch IE6. The recent
Google/China/IE story has received lots of coverage, including the
authorities in France and Germany advising people to ditch IE
entirely, so IE6 usage has probably shown a noticeable dip.

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


Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Chad
On Sat, Jan 30, 2010 at 10:12 AM, Thomas Dalton  wrote:
> On 30 January 2010 14:42, Chad  wrote:
>> Whoops, haven't had any caffeine yet this morning, left the two links
>> off here. They're:
>>
>> [1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61083
>
> Interestingly, the revision summary for that revision gives a link to
> general browser stats, rather than Wikimedia browser stats, which are
> obviously the relevant ones (although we have such high reach that
> there isn't a large difference). We have stats from Nov 2009
> (http://stats.wikimedia.org/wikimedia/squids/SquidReportClients.htm) -
> were those generated by a script that could be run again? Getting some
> trends could help us work out when to ditch IE6. The recent
> Google/China/IE story has received lots of coverage, including the
> authorities in France and Germany advising people to ditch IE
> entirely, so IE6 usage has probably shown a noticeable dip.
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

Right, I did link to a general report, but it's only because I couldn't
find the Wikimedia stats offhand and I knew they were more or less
on par with the wider picture.

And more data here would be helpful. Are browsers not listed there
not tracked, or were they just too small of a percentage to include?
I'd love to know what the numbers for IE for Mac (5.2 is the latest
I believe) and Opera 6/7. These have custom stylesheets that can
be phased out as well.

-Chad

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


Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread Thomas Dalton
On 30 January 2010 15:46, Chad  wrote:
> And more data here would be helpful. Are browsers not listed there
> not tracked, or were they just too small of a percentage to include?
> I'd love to know what the numbers for IE for Mac (5.2 is the latest
> I believe) and Opera 6/7. These have custom stylesheets that can
> be phased out as well.

I don't know, but the OS stats show only 6.75% of hits come from Macs,
and I doubt many of them are using a browser that hasn't had an update
since 2003.

http://www.webdevelopersnotes.com/articles/internet_explorer_macintosh.php

This is the only page I can find with any browser stats for IE for Mac
and it shows that that domain receives less than 0.05% of hits from
the browser (that was 6 months ago, but the graph shows that it has
pretty much levelled out - varying between about 0.01% and 0.03%).

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


Re: [Wikitech-l] Search article error (Inner error)

2010-01-30 Thread Platonides
李琴 wrote:
> I turned off all my extentions,but it still has that error  
> 
> :(
> 
> vanessa

What's the wikitext of that Infobox_housi(ing?) template / the pages
containing it?
Try finding the wikitext that produces the error.
It's probably that search is truncating the wikitext, but still that
shouldn't produce errors.


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

Re: [Wikitech-l] "Google phases out support for IE6"

2010-01-30 Thread John Vandenberg
On Sun, Jan 31, 2010 at 2:46 AM, Chad  wrote:
>...
> And more data here would be helpful. Are browsers not listed there
> not tracked, or were they just too small of a percentage to include?
> I'd love to know what the numbers for IE for Mac (5.2 is the latest
> I believe) and Opera 6/7. These have custom stylesheets that can
> be phased out as well.

An important distinction is that IE for Mac users on Mac OS (classic)
don't have the copious upgrade options available to IE 5.5 users on
Windows.

Most IE5.2 users should have upgraded to iCab.  Do we have good iCab support?

What are the remaining browsers available for Classic Mac OS users?
Classilla is the only browser that I can quickly see is still
maintained.

--
John Vandenberg

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


[Wikitech-l] Description of process flow available?

2010-01-30 Thread Jean-Marc van Leerdam
Hi,

Does MW.org provide some relatively high level description of the
process flow / object interaction that is followed when rendering
mediawiki pages?

I've been searching mediawiki.org and the source tree from my mw
installation but so far I only found class-based 'local' information.

I am happy to contribute a more high level description, if that is not
yet available, but would much prefer to use (and if needed contribute
to) an existing description.

Do we have class models and process flow descriptions available somewhere?

I am most interested in the way Parser, ParserOutput, Skin and the
related classes interoperate, as well as how user extensions and hooks
are supposed to interact with the core mediawiki software.

--
Regards,

Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net

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