[Mediawiki-l] MW 1.9.1 - Version page blank?

Niedziela, Jennifer niedziela at bnl.gov
Mon Feb 5 14:49:46 UTC 2007


I found that the error was an umlaut in the name of the author under the extension credits (I had installed the LoopFunctions extension by Carl Fürstenberg).  I don't know why this made the Version page blank.

Thanks,
Jen




did you install the google map extension, I noticed that enabling it makes
your version page blank. didn't check it in deep detail though as I don't
need the extension on my site.

cheers,
Peter

On 2/2/07, Niedziela, Jennifer <niedziela at bnl.gov> wrote:
>
> When I navigate to the Special:Version page of my wiki, it appears as
> though the page is entirely empty.  All of the other special pages appear as
> expected.  Any ideas?
>
> Jen
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


------------------------------

Message: 5
Date: Mon, 5 Feb 2007 11:24:57 +0000
From: "aretai aretai" <aretaiuc at gmail.com>
Subject: Re: [Mediawiki-l] tags and template parameters
To: "MediaWiki announcements and site admin list"
	<mediawiki-l at lists.wikimedia.org>
Message-ID:
	<5783abc70702050324x1f50fc8ct615bad0c4a6a7fb4 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I think that would be rather extension not a template. Usually extensions
use <extension></extension> tags to perform given activity. Hooks specifies
details:
$wgParser->setHook( "absHTML", "renderHTML" );
In this case <absHTML></absHTML>
http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#How_do_I_write_my_own_extension.3F

If you want to have a template that contains a parameter then just create a:
wiki/template:MyTemplate
and create content like this on your page:
{{{1}}}
Then if you want a wikipage to make use of it just write
{{MyTemplate|1="Some text"}}
More details here:
http://meta.wikimedia.org/wiki/Help:Template#Parameters

Regards,
Aretai


On 2/5/07, Ittay Dror <ittayd at qlusters.com> wrote:
>
> Hi,
>
> How can I write a template that contains:
> <my-tag>
> {{{1}}}
> </my-tag>
>
> so {{{1}}} is replaced?
>
> thanks,
> ittay
>
> --
> ===================================
> Ittay Dror,
> Chief architect,
> R&D, Qlusters Inc.
> ittayd at qlusters.com
> +972-3-6081994 Fax: +972-3-6081841
>
> www.openqrm.org - Data Center Provisioning
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


------------------------------

Message: 6
Date: Mon, 05 Feb 2007 13:40:19 +0200
From: Ittay Dror <ittayd at qlusters.com>
Subject: Re: [Mediawiki-l] tags and template parameters
To: MediaWiki announcements and site admin list
	<mediawiki-l at lists.wikimedia.org>
Message-ID: <45C717A3.4060906 at qlusters.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


aretai aretai wrote:
> I think that would be rather extension not a template. Usually extensions
> use <extension></extension> tags to perform given activity. Hooks specifies
> details:
> $wgParser->setHook( "absHTML", "renderHTML" );
> In this case <absHTML></absHTML>
> http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#How_do_I_write_my_own_extension.3F
> 
> If you want to have a template that contains a parameter then just create a:
> wiki/template:MyTemplate
> and create content like this on your page:
> {{{1}}}
> Then if you want a wikipage to make use of it just write
> {{MyTemplate|1="Some text"}}
> More details here:
> http://meta.wikimedia.org/wiki/Help:Template#Parameters

i have written several extensions, parser functions and templates already, so this was not my question

say i write a tag extension:
function qwfProcessMyTag($text, $argv, &$parser) {

}

now, if the user uses it in a template as:
<my-tag>
{{{1}}}
</my-tag>

then $text in the function will be {{{1}}}. this will be the case regardless if the template is viewed, or a page containing it. the reason is the parser doesn't replace variables inside tags.

i tried using the mArgStack variable, but apparently tags are evaluated before replaceVariables is called. so when my tag is processed, the arguments have not been set yet

ittay

> 
> Regards,
> Aretai
> 
> 
> On 2/5/07, Ittay Dror <ittayd at qlusters.com> wrote:
>> Hi,
>>
>> How can I write a template that contains:
>> <my-tag>
>> {{{1}}}
>> </my-tag>
>>
>> so {{{1}}} is replaced?
>>
>> thanks,
>> ittay
>>
>> --
>> ===================================
>> Ittay Dror,
>> Chief architect,
>> R&D, Qlusters Inc.
>> ittayd at qlusters.com
>> +972-3-6081994 Fax: +972-3-6081841
>>
>> www.openqrm.org - Data Center Provisioning
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 


-- 
===================================
Ittay Dror, 
Chief architect, 
R&D, Qlusters Inc.
ittayd at qlusters.com
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning



------------------------------

Message: 7
Date: Mon, 5 Feb 2007 11:56:49 +0000
From: "aretai aretai" <aretaiuc at gmail.com>
Subject: Re: [Mediawiki-l] tags and template parameters
To: "MediaWiki announcements and site admin list"
	<mediawiki-l at lists.wikimedia.org>
Message-ID:
	<5783abc70702050356x3d184be0h6087470727296929 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Sorry have misunderstood you.

Aretai



On 2/5/07, Ittay Dror <ittayd at qlusters.com> wrote:
>
>
> aretai aretai wrote:
> > I think that would be rather extension not a template. Usually
> extensions
> > use <extension></extension> tags to perform given activity. Hooks
> specifies
> > details:
> > $wgParser->setHook( "absHTML", "renderHTML" );
> > In this case <absHTML></absHTML>
> >
> http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#How_do_I_write_my_own_extension.3F
> >
> > If you want to have a template that contains a parameter then just
> create a:
> > wiki/template:MyTemplate
> > and create content like this on your page:
> > {{{1}}}
> > Then if you want a wikipage to make use of it just write
> > {{MyTemplate|1="Some text"}}
> > More details here:
> > http://meta.wikimedia.org/wiki/Help:Template#Parameters
>
> i have written several extensions, parser functions and templates already,
> so this was not my question
>
> say i write a tag extension:
> function qwfProcessMyTag($text, $argv, &$parser) {
>
> }
>
> now, if the user uses it in a template as:
> <my-tag>
> {{{1}}}
> </my-tag>
>
> then $text in the function will be {{{1}}}. this will be the case
> regardless if the template is viewed, or a page containing it. the reason is
> the parser doesn't replace variables inside tags.
>
> i tried using the mArgStack variable, but apparently tags are evaluated
> before replaceVariables is called. so when my tag is processed, the
> arguments have not been set yet
>
> ittay
>
> >
> > Regards,
> > Aretai
> >
> >
> > On 2/5/07, Ittay Dror <ittayd at qlusters.com> wrote:
> >> Hi,
> >>
> >> How can I write a template that contains:
> >> <my-tag>
> >> {{{1}}}
> >> </my-tag>
> >>
> >> so {{{1}}} is replaced?
> >>
> >> thanks,
> >> ittay
> >>
> >> --
> >> ===================================
> >> Ittay Dror,
> >> Chief architect,
> >> R&D, Qlusters Inc.
> >> ittayd at qlusters.com
> >> +972-3-6081994 Fax: +972-3-6081841
> >>
> >> www.openqrm.org - Data Center Provisioning
> >>
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> MediaWiki-l at lists.wikimedia.org
> >> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >>
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
> --
> ===================================
> Ittay Dror,
> Chief architect,
> R&D, Qlusters Inc.
> ittayd at qlusters.com
> +972-3-6081994 Fax: +972-3-6081841
>
> www.openqrm.org - Data Center Provisioning
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


------------------------------

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


End of MediaWiki-l Digest, Vol 41, Issue 15
*******************************************



More information about the MediaWiki-l mailing list