Alexandre Emsenhuber <alex.emsenhuber <at> 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 <at>
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