Re: [Wikitech-l] Enabling some string functions

2009-06-27 Thread Tim Starling
Aryeh Gregor wrote: On Fri, Jun 26, 2009 at 6:33 AM, Roan Kattouwroan.katt...@gmail.com wrote: The reason I believe breaking up templates improves performance is this: they're typically of the form {{#if:{{{someparam|}}}|{{foo}}|{{bar . The preprocessor will see that this is a parser

Re: [Wikitech-l] zh.wikipedia including a JavaScript from Google

2009-06-27 Thread Tim Starling
Petr Kadlec wrote: Hi, folks. Recently, the problem of user tracking via third party companies has been debated on mailing lists. I wonder, if an inclusion of the jQuery library linked directly from Google servers (!) does not qualify as a bad idea, too… (Even though no user tracking has

Re: [Wikitech-l] Mediawiki and html5

2009-06-27 Thread Stephen Bain
On Sat, Jun 27, 2009 at 6:39 PM, Strainustrain...@gmail.com wrote: 1) When will this support appear? 2) Has the code already been modified accordingly? The Wikimedia sites all have the OggHandler extension installed, which supports a number of different methods for playing audio and video,

Re: [Wikitech-l] Mediawiki and html5

2009-06-27 Thread Gregory Maxwell
On Sat, Jun 27, 2009 at 4:39 AM, Strainustrain...@gmail.com wrote: Hi, I've heard that wikipedia will be among the first content providers to support the video and audio tags in html5. I'm trying to put up a presentation about the subject for a FF3.5 release party and I would like to find

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-27 Thread Platonides
Victor Vasiliev wrote: I suggest to use a for external links extended syntax and parametrized [[]] for internal links so we can easily distinguish them. --vvv Kalan explained it as may be used by spammers, by the way. A talk page gets added the text 'This page explains it ipretty well/i a

Re: [Wikitech-l] Downloading using mwdumper

2009-06-27 Thread Platonides
Abhishek wrote: Hi, I'm looking to download the wiki-latest-stub-meta-history.xml for smaller languages and perform some analytics on it. I dont really care about the english wikipedia because its too large to handle. I want a csv file made out of this xml so that i can do stats modelling

Re: [Wikitech-l] Enabling some string functions

2009-06-27 Thread Platonides
Brian wrote: They want the functionality and they are willing to satisfy usability and quality of implementation in order to get it, plain and simple. ParserFunctions combined with StringFunctions is flat out unreadable. We should not facilitate the writing of unreadable code. As an

Re: [Wikitech-l] Enabling some string functions

2009-06-27 Thread Brian
You seem confused. You seem to think that I care about the proper way to program using templates and parser functions. That's not true, they are an ugly hack and I recognize that. If have absolutely no desire to learn how to use something so hideously inefficient in an efficient manner. On Sat,

Re: [Wikitech-l] Minify

2009-06-27 Thread Platonides
Andrew Dunbar wrote: This sounds great but I have a problem with making action=raw return something that is not raw. For MediaWiki I think it would be better to add a new action=minify What would the pluses and minuses of that be? Andrew Dunbar (hippietrail) +1 There are uses depending

Re: [Wikitech-l] Minify

2009-06-27 Thread Robert Rohde
On Sat, Jun 27, 2009 at 4:04 PM, Platonidesplatoni...@gmail.com wrote: Andrew Dunbar wrote: This sounds great but I have a problem with making action=raw return something that is not raw. For MediaWiki I think it would be better to add a new action=minify What would the pluses and minuses of

Re: [Wikitech-l] subst'ing #if parser functions loses line breaks, and other oddities

2009-06-27 Thread William Allen Simpson
As this thread has come back, I'd like to take the time to say thank you. Tisza Gergő wrote: Just put the templates on separate lines and wrap the whole thing in another #if to discard additional newlines at the end: {{#if:1|