Re: [Wikitech-l] Correct method of pre-processing article text?

2008-11-27 Thread Mark Clements (HappyDog)
"Roan Kattouw" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mark Clements (HappyDog) schreef: >> It doesn't, and it isn't... :-( >> >> That said, the PHP_Compat PEAR module contains a PHP4 version of the >> clone >> function (providing you use clone($wgParser)) which I might try.

[Wikitech-l] autolink revision numbers

2008-11-27 Thread Jack Bates
What is the easiest way to automatically link the pattern /r(\d+)/ to a URL like http://code.google.com/p/qubit-toolkit/source/detail?r=\1 wherever it appears in MediaWiki articles? For example, I want an article containing: ... blah blah r1632 blah blah... - to have r1632 automatically replaced

Re: [Wikitech-l] autolink revision numbers

2008-11-27 Thread Ilmari Karonen
Jack Bates wrote: > What is the easiest way to automatically link the pattern /r(\d+)/ to a > URL like http://code.google.com/p/qubit-toolkit/source/detail?r=\1 > wherever it appears in MediaWiki articles? If you don't mind patching the MediaWiki core, a simple change to Parser::doMagicLinks() ou

Re: [Wikitech-l] Correct method of pre-processing article text?

2008-11-27 Thread Platonides
Mark Clements (HappyDog) wrote: > I don't do this on page view (in the tag handler), as it is a > relatively expensive operation to clear out the old entries and reparse the > data tags, and the data will not have changed, so it is not necessary. Why not rely on default MediaWiki caching to avo

[Wikitech-l] Depth and other quality estimates

2008-11-27 Thread Lars Aronsson
On my favorite page, http://meta.wikimedia.org/wiki/List_of_Wikipedias there is a column for "depth", which is "a rough indicator of a Wikipedia's quality, showing how frequently its articles are updated". Tomorrow that column has been there for two full years, with slight modifications of i

Re: [Wikitech-l] Depth and other quality estimates

2008-11-27 Thread Mathias Schindler
On Fri, Nov 28, 2008 at 3:08 AM, Lars Aronsson <[EMAIL PROTECTED]> wrote: > What other estimates of Wikipedia quality do we have, that can be > applied across language versions? The completeness of http://meta.wikimedia.org/wiki/List_of_articles_every_Wikipedia_should_have and the ratio of the qu

Re: [Wikitech-l] Correct method of pre-processing article text?

2008-11-27 Thread Mark Clements (HappyDog)
"Platonides" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mark Clements (HappyDog) wrote: >> I don't do this on page view (in the tag handler), as it is a >> relatively expensive operation to clear out the old entries and reparse >> the >> data tags, and the data will not have

[Wikitech-l] Local wikipedia server configuration

2008-11-27 Thread Bilal Abdul Kader
Greetings, I am trying to setup a local box to run it as a local Wikipedia server. It would have Ubuntu 8.04 with PHP5 and Mysql 5. I would like to replicate all en.wikipedia with the history and conversation. This would be part of an academic research on the quality of Wikipedia as an information