Re: [Wikitech-l] Tag extensions in Block mode

2013-05-01 Thread Moritz Schubotz
Hi bawolff, I'm trying the following. Looking for example at http://math-test.instance-proxy.wmflabs.org/wiki/Summation The equations denoted with \n:math e.g. :math\sum_a^b/math should be rendered in displaystyle, whereas inline equations e.g. Let math\sum_i 2^{-i}/math should be rendered

Re: [Wikitech-l] Tag extensions in Block mode

2013-05-01 Thread Brian Wolff
Hmm. I don't think that is really possible. You may have to simply do math mode=block and math mode=inline instead. -bawolff On 2013-05-01 4:15 AM, Moritz Schubotz phy...@physikerwelt.de wrote: Hi bawolff, I'm trying the following. Looking for example at

Re: [Wikitech-l] Tag extensions in Block mode

2013-05-01 Thread Moritz Schubotz
The problem is that there are thousands of pages that use :math/ without block mode. Best Moritz On Wed, May 1, 2013 at 12:44 PM, Brian Wolff bawo...@gmail.com wrote: Hmm. I don't think that is really possible. You may have to simply do math mode=block and math mode=inline instead. -bawolff

[Wikitech-l] Tag extensions in Block mode

2013-04-28 Thread Moritz Schubotz
Hi, how can I figure out in a tag extension callback e.g. function wfSampleRender( $input, array $args, Parser $parser, PPFrame $frame ) if the parser is inside a block mode or not? With block mode I mean something like :mytag/mytag or #mytag/mytag or mytag/mytag but not blindtext mytag/mytag

Re: [Wikitech-l] Tag extensions in Block mode

2013-04-28 Thread Brian Wolff
On 2013-04-28 6:01 AM, Moritz Schubotz phy...@physikerwelt.de wrote: Hi, how can I figure out in a tag extension callback e.g. function wfSampleRender( $input, array $args, Parser $parser, PPFrame $frame ) if the parser is inside a block mode or not? With block mode I mean something like