Re: [Wikitech-l] help about the extension about the URL's argument's value transfer to content's area.

2010-02-02 Thread Evel liu
Dear all,

my new problem: I have the format csv files. now I need a extension to
import them and then create the new fix template's page.
which extension I should use?
thanks for you kindly help or reply.


2010/2/2 Evel liu :
> help about the extension about the URL's argument's value transfer to
> content's area:
>
> 1, the URL is 
> http://localhost/wiki/index.php?title=ProjectSpin:your_project_name&action=edit&redlink=1
> and I want to make the project name auto add into the editor project
> template's area (your project name)  .so how should I do and
> and which extension I should use?
>
>  Experience sharing
>
>    * Edit and Put the Project Experience Sharing information into below link
>
> ProjectExperenice:your project name
>

___
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-02-02 Thread 李琴
The error shows when I search the Template:Babel article.Also my wiki is  
'zh_cn'.
I think maybe this template is not the only one causes this error.
 


-Original Message-
From: Platonides 
To: wikitech-l@lists.wikimedia.org
Date: Sat, 30 Jan 2010 20:21:46 +0100
Subject: Re: [Wikitech-l] Search article error (Inner error)


李琴 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
___
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-02-02 Thread Peter Gervai
On Tue, Feb 2, 2010 at 00:44, Gregory Maxwell  wrote:

> People are really bad at complaining, especially web users.  We've had
> prolonged obvious glitches which must have effected hundreds of
> thousands of people and maybe we get a couple of reports.

For Average Joe and Jane it usually isn't obvious what to do when
something's broken. I've observed people using really broken websites
(fallen apart layout, broken menus) and never "report" but complain to
their colleagues. I second that people are bad at reporting problems,
and I must add that computer people are usually bad to get the
complaints and fix them. ;-) I guess if you have a problem and you
know someone who can do something about it, then it'll get fixed,
otherwise it _may_ get fixed, one day or other. [I've experienced this
latter problem regarding email config bugs and [not] having them
fixed.]

Nevertheless I wouldn't miss any IE features, but then again I'm an
anti m$ fascist by genetics. ;-)

g

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


Re: [Wikitech-l] help about the extension about the URL's argument's value transfer to content's area.

2010-02-02 Thread Roan Kattouw
2010/2/2 Evel liu :
> help about the extension about the URL's argument's value transfer to
> content's area:
>
> 1, the URL is 
> http://localhost/wiki/index.php?title=ProjectSpin:your_project_name&action=edit&redlink=1
> and I want to make the project name auto add into the editor project
> template's area (your project name)  .so how should I do and
> and which extension I should use?
>
You can use a hook for that:
http://www.mediawiki.org/wiki/Manual:Hooks/EditFormPreloadText

Roan Kattouw (Catrope)

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


Re: [Wikitech-l] help about the extension about the URL's argument's value transfer to content's area.

2010-02-02 Thread Roan Kattouw
2010/2/2 Evel liu :
> Dear all,
>
> my new problem: I have the format csv files. now I need a extension to
> import them and then create the new fix template's page.
> which extension I should use?
> thanks for you kindly help or reply.
>
You haven't provided any specific information about what's in these
CSV files or what you want the import to do with them. Writing a shell
script that converts them to pages and adds them to the wiki shouldn't
be hard though.

Roan Kattouw (Catrope)

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


Re: [Wikitech-l] help about the extension about the URL's argument's value transfer to content's area.

2010-02-02 Thread Evel liu
Dear Roan,

so I cannot find some example for script of converts.

2010/2/2 Roan Kattouw :
> 2010/2/2 Evel liu :
>> Dear all,
>>
>> my new problem: I have the format csv files. now I need a extension to
>> import them and then create the new fix template's page.
>> which extension I should use?
>> thanks for you kindly help or reply.
>>
> You haven't provided any specific information about what's in these
> CSV files or what you want the import to do with them. Writing a shell
> script that converts them to pages and adds them to the wiki shouldn't
> be hard though.
>
> Roan Kattouw (Catrope)
>
> ___
> 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] "Google phases out support for IE6"

2010-02-02 Thread Aryeh Gregor
On Mon, Feb 1, 2010 at 6:44 PM, Gregory Maxwell  wrote:
> People are really bad at complaining, especially web users.  We've had
> prolonged obvious glitches which must have effected hundreds of
> thousands of people and maybe we get a couple of reports.

Like this:

https://bugzilla.wikimedia.org/show_bug.cgi?id=7906

October 17, 2006: All hangul (Korean) usernames stop working.
November 13, 2006: Someone files a bug.
November 13, 2006: A developer asks for clarification.
November 14, 2006: The user provides enough clarification to allow the
bug to be easily tracked down and fixed by any developer.

Silence.  New Korean Wikipedia users create only ASCII usernames for
seven months.

May 7, 2007: The original reporter provides a one-line patch that
fixes the problem, spending who knows how much effort to come up with
it.
May 8, 2007: Developer commits the fix, which ends up being two lines
for good measure.

If we had more people complaining more loudly, we'd have fixed that
within a day or two.  But . . .

On Mon, Feb 1, 2010 at 7:13 PM, Tisza Gerő  wrote:
> By the same line of thought, they can use nostalgia or some other old skin.

No, that's not the same line of thought.  There is a difference
between deliberately breaking Monobook when it currently works, on the
one hand; and not putting in the effort to get Vector to work in the
first place, on the other.  The latter is entirely reasonable, given
IE5's market share.  The former is not reasonable.

> At
> any rate, few people know there are skins in the first place, and even fewer
> would be willing to bother with them

Sure.  But those people are not worth the effort to get new skins like
Vector to support IE5.  Spending a few hours getting basic
functionality for a few hundred thousand IE5 users, rather than
spending those few hours adding a minor feature for a billion people,
is not reasonable.  Especially since the IE5 users probably have
access to other computers anyway.

___
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-02-02 Thread Sam Reed
And in related news, the BBC have reported [1] that the UK Government have
been petitioned to upgrade away from IE6 [2]




Sam Reed

[1] http://news.bbc.co.uk/1/hi/technology/8492862.stm
[2] http://petitions.number10.gov.uk/ie6upgrade/



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


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Domas Mituzas
> However, that article is just rumour. I think it's more likely they made
> some apc-like cache/optimizer than a compiler.

http://www.facebook.com/note.php?note_id=280583813919&id=9445547199&ref=nf

> And the conclusion that
> it will be open source is questionable. In such case, why would they
> made them sign NDAs?

It is under PHP license.

> Domas intervention is also noticeable, since he probably knows what's
> going on.

Hehehe.

Domas

P.S. we have full hiphop dev support in our quest of running wikipedia on it.

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


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Tei
On 2 February 2010 18:53, Domas Mituzas  wrote:
>> However, that article is just rumour. I think it's more likely they made
>> some apc-like cache/optimizer than a compiler.
>
> http://www.facebook.com/note.php?note_id=280583813919&id=9445547199&ref=nf
>

He say is a rewriter,read  PHP, outputs C++  (probably he have
some custom classes like 'PHPString' to act like the PHP counterpart )

>>> Facebook 
One common way to address these inefficiencies is to rewrite the more
complex parts of your PHP application directly in C++ as PHP
Extensions. This largely transforms PHP into a glue language between
your front end HTML and application logic in C++. From a technical
perspective this works well, but drastically reduces the number of
engineers who are able to work on your entire application.
<<<

I was thinking about that the other day, I understand why MediaWiki
don't follow that route.
There are any profile of  MediaWiki somewhere to see what parts of
MediaWiki consume most CPU cycles?  I bet is some regex.




-- 
--
ℱin del ℳensaje.

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

Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Chad
On Tue, Feb 2, 2010 at 12:53 PM, Domas Mituzas  wrote:
>> However, that article is just rumour. I think it's more likely they made
>> some apc-like cache/optimizer than a compiler.
>
> http://www.facebook.com/note.php?note_id=280583813919&id=9445547199&ref=nf
>
>> And the conclusion that
>> it will be open source is questionable. In such case, why would they
>> made them sign NDAs?
>
> It is under PHP license.
>
>> Domas intervention is also noticeable, since he probably knows what's
>> going on.
>
> Hehehe.
>
> Domas
>
> P.S. we have full hiphop dev support in our quest of running wikipedia on it.
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

I find the comments to be the best part of that page.

-Chad

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


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Gregory Maxwell
On Tue, Feb 2, 2010 at 1:22 PM, Tei  wrote:
> I was thinking about that the other day, I understand why MediaWiki
> don't follow that route.


Mediawiki often runs in enviroments where users have no shell access,
no ability to install extensions, etc.

There is some C++ stuff for mediawiki, such as wikidiff3 but its optional.

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