[Wikitech-l] $this->html('bodytext')

2009-05-29 Thread magggus
Hi @all,

Could someone please tell me how the value of 'bodytext' in MonoBook.php page
content is set?
Seems that it references to the variable $mBodytext in SkinTemplate.php
($tpl->setRef( 'bodytext', $out->mBodytext );)

But I can't comprehend where $mBodytext is filled?


greets & thanks
magggus


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] $this->html('bodytext')

2009-05-29 Thread Alexandre Emsenhuber
This is OutputPage::$mBodytext from OutputPage.php ($out is generally  
$wgOut in this context).

cheers,
Alexandre Emsenhuber (ialex)

Le 29 mai 09 à 11:32, magggus a écrit :

> Hi @all,
>
> Could someone please tell me how the value of 'bodytext' in  
> MonoBook.php page
> content is set?
> Seems that it references to the variable $mBodytext in  
> SkinTemplate.php
> ($tpl->setRef( 'bodytext', $out->mBodytext );)
>
> But I can't comprehend where $mBodytext is filled?
>
>
> greets & thanks
> magggus
>
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] $this->html('bodytext')

2009-05-29 Thread magggus
Alexandre Emsenhuber  bluewin.ch> writes:

> 
> This is OutputPage::$mBodytext from OutputPage.php ($out is generally  
> $wgOut in this context).
> 
> cheers,
> Alexandre Emsenhuber (ialex)
> 
> Le 29 mai 09 à 11:32, magggus a écrit :
> 
> > Hi @all,
> >
> > Could someone please tell me how the value of 'bodytext' in  
> > MonoBook.php page
> > content is set?
> > Seems that it references to the variable $mBodytext in  
> > SkinTemplate.php
> > ($tpl->setRef( 'bodytext', $out->mBodytext );)
> >
> > But I can't comprehend where $mBodytext is filled?
> >
> >
> > greets & thanks
> > magggus
> >
> >
> > ___
> > Wikitech-l mailing list
> > Wikitech-l  lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 


Hi,

Thanks for your quickly feedback.

I've seen that the variable is defined in 'OutputPage.php'.
But I can't follow the steps which fill the variable.

The problem is that I want to duplicate the content area within each article to
display some kind of meta content.
Therefore I try to understand how the value of $mBodytext is set to duplicate
and adapt the necessary areas within the code and the DB.


greets
magggus




___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] $this->html('bodytext')

2009-05-29 Thread Andrew Garrett
On Fri, May 29, 2009 at 10:49 AM, magggus  wrote:
> I've seen that the variable is defined in 'OutputPage.php'.
> But I can't follow the steps which fill the variable.
>
> The problem is that I want to duplicate the content area within each article 
> to
> display some kind of meta content.
> Therefore I try to understand how the value of $mBodytext is set to duplicate
> and adapt the necessary areas within the code and the DB.

You should instead investigate our Hooks infrastructure at:
http://www.mediawiki.org/wiki/Manual:Hooks

A good hook for this purpose would be ArticleViewHeader.

-- 
Andrew Garrett

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Testing of the LocalisationUpdate extension

2009-05-29 Thread Gerard Meijssen
Hoi,
We have been testing the LocalisationUpdate extension for some time now and,
we consider it quite good at the moment. We have been testing it in a test
environment and we would like to expand our testing to MediaWiki wikis that
do not run in English or any of the other languages that are already
completely localised. What we are looking for are Wikis that are/will be
running MediaWiki 1.15 and would like to experience that the localisation
for their Wiki gets updated with later localisations.

Obviously in order for this to work, there have to be people localising for
your language.

What we offer is help with the installation of the extension and support
with the running of the extension on your MediaWiki wiki. We are looking for
five wikis with five different languages. We can make this offer for wikis
where you are able to install new extensions and, where you can add a
chronjob.
Thanks,
  GerardM
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Does mediawiki do browser checking and does it support double digit version numbers?

2009-05-29 Thread K. Peachey
As per the subject, does mediawiki do browser version checking and
does it support double digit version numbers?. Opera is about to hit
v10 in their user agent strings which currently breaks a few scripts
on other websites currently although they have put in a tempoary stop
gap (naming as v9.80) we should make sure mediawiki detects v10
properly.

More information can be found in their Dev.Opera blog posting entitled
"Changes in Opera’s user agent string format".[1]

[1]. "Changes in Opera’s user agent string format"


-Peachey

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l