Hi @all,
Actually I am trying to comprehend how the article text within monobook.php is
filled for the actually chosen article.
I've seen that it is processed by this line of code:
<?php $this->html('bodytext') ?>
Furthermore I found the definition of the function 'html' in SkinTemplate.php
function html( $str ) {
echo $this->data[$str];
}
...the way the filling of the array 'data' is defined (SkinTemplate.php)
function setRef($name, &$value) {
$this->data[$name] =& $value;
}
...and the call of the function setRef (SkinTemplate.php)
$tpl->setRef( 'bodytext', $out->mBodytext );
What I actually don't understand is the way the article content is allocated to
mBodytext.
The only sequence I found where some content is allocated to mBodytext is the
following line, which only contains the footer.
$out->mBodytext .= $printfooter ;
Thanks for your feedback
greets
magggus
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l