Re: [Wikitech-l] ParserAfterStrip: Bug, deliberate change or incorrect use?

2009-10-06 Thread Robert Rohde
On Tue, Oct 6, 2009 at 4:47 PM, Mark Clements (HappyDog) wrote: > Hi, > > I have an extension called BugSquish, which I have been happily using on > MediaWiki 1.6.10 for quite a long time.  I am also aware of other people > using it on later versions, but cannot cite specific version numbers where

[Wikitech-l] ParserAfterStrip: Bug, deliberate change or incorrect use?

2009-10-06 Thread Mark Clements (HappyDog)
Hi, I have an extension called BugSquish, which I have been happily using on MediaWiki 1.6.10 for quite a long time. I am also aware of other people using it on later versions, but cannot cite specific version numbers where it is known to work. The code works by performing a regex replace on

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread David Gerard
2009/10/7 Chad : > "Adobe said that a Flash Player for the iPhone is not being made available > because it uses a just-in-time compiler and virtual machine within a browser > plug-in to play back website content - technologies that aren’t currently > allowed on the iPhone." [1] Apple does not li

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread Chad
On Tue, Oct 6, 2009 at 6:59 PM, Aryeh Gregor wrote: > On Tue, Oct 6, 2009 at 6:35 PM, Steve Summit wrote: >> I'm not up on the details of Flash, so this comment may be >> misguided, but *if* the reason Apple restricts these unstated >> "technologies" is for security reasons, then I'm quite glad A

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread Aryeh Gregor
On Tue, Oct 6, 2009 at 6:35 PM, Steve Summit wrote: > I'm not up on the details of Flash, so this comment may be > misguided, but *if* the reason Apple restricts these unstated > "technologies" is for security reasons, then I'm quite glad Apple > does, and I'd say it's Adobe that deserves the snar

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread Steve Summit
dgerard wrote: > Are you *sure* we can't put a narky message when iPhone users click a > video? Adobe do! > > http://twitpic.com/kf361 I'm not up on the details of Flash, so this comment may be misguided, but *if* the reason Apple restricts these unstated "technologies" is for security reasons, th

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread David Gerard
2009/10/6 Michel Vuijlsteke : > 2009/10/6 David Gerard >> Are you *sure* we can't put a narky message when iPhone users click a >> video? Adobe do! >> http://twitpic.com/kf361 >> (assuming it's real - can anyone with an iPhone please check?) > It's real alright. > Michel I am of course ONLY JO

Re: [Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread Michel Vuijlsteke
It's real alright. Michel 2009/10/6 David Gerard > Are you *sure* we can't put a narky message when iPhone users click a > video? Adobe do! > > http://twitpic.com/kf361 > > (assuming it's real - can anyone with an iPhone please check?) > > > - d. > > _

[Wikitech-l] A suitable error message for iPhones

2009-10-06 Thread David Gerard
Are you *sure* we can't put a narky message when iPhone users click a video? Adobe do! http://twitpic.com/kf361 (assuming it's real - can anyone with an iPhone please check?) - d. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lis

Re: [Wikitech-l] Someone was considering Lua?

2009-10-06 Thread Platonides
David Gerard wrote: > indeed ;-) Perhaps an International Unobfuscated ParserFunctions Context? > > - d. There should be an alternative way to do: {{#if: {{{foo|}}}| {{!}}- {{!}} Foo {{!}} {{{foo}}} |}} Ie: If parameter foo exists, add it surrounded by a title and a table cell. We would need an

Re: [Wikitech-l] Someone was considering Lua?

2009-10-06 Thread Dmitriy Sintsov
* David Gerard [Tue, 6 Oct 2009 12:30:51 +0100]: > indeed ;-) Perhaps an International Unobfuscated ParserFunctions > Context? > ah, just forgot to add: template parameters will be $1 in the "interpreter context", not a horrible {{{1}}} (keep it for the compatibility in "wikitext context") . Int

Re: [Wikitech-l] Someone was considering Lua?

2009-10-06 Thread Dmitriy Sintsov
* David Gerard [Tue, 6 Oct 2009 12:30:51 +0100]: > 2009/10/6 Dmitriy Sintsov : > indeed ;-) Perhaps an International Unobfuscated ParserFunctions > Context? > I am not expert on this. The readability of templates can be improved: if there were separate wikitext context and Parser interpreter cont

Re: [Wikitech-l] Someone was considering Lua?

2009-10-06 Thread David Gerard
2009/10/6 Dmitriy Sintsov : > * David Gerard [Mon, 5 Oct 2009 19:16:08 +0100]: >> http://codepad.org/cmQIjdzI >> I suppose you can do that more easily than in ParserFunctions ... > Any language can be abused. The problem is opposite: when you need to > have clean, well-readable code, some langua

Re: [Wikitech-l] Someone was considering Lua?

2009-10-06 Thread Dmitriy Sintsov
* David Gerard [Mon, 5 Oct 2009 19:16:08 +0100]: > http://codepad.org/cmQIjdzI > > I suppose you can do that more easily than in ParserFunctions ... > Any language can be abused. The problem is opposite: when you need to have clean, well-readable code, some languages offer better help. Dmitriy _

Re: [Wikitech-l] Adding of JavaScript from extension not wo rking properly on fresh wiki

2009-10-06 Thread Micke Nordin
Ryan Lane gmail.com> writes: > The javascript you are outputting is dynamic content, and it is being > cached by the parser cache. You can disable the parser cache on pages > that use your extension Thank you so much! It seems to be working as expected now after I disabled the parser cache. C