$tpl->set( 'printfooter', $this->printSource() );
// Wrap the bodyText with #mw-content-text element
$out->mBodytext = $this->wrapHTML( $title, $out->mBodytext );
- $tpl->setRef( 'bodytext', $out->mBodytext );
+ $tpl->set( 'bodytext', $out->mBodytext );
$language_urls = $this->getLanguages();
if ( count( $language_urls ) ) {
- $tpl->setRef( 'language_urls', $language_urls );
+ $tpl->set( 'language_urls', $language_urls );
} else {
$tpl->set( 'language_urls', false );
}
$tpl->set( 'personal_urls', $this->buildPersonalUrls() );
$content_navigation = $this->buildContentNavigationUrls();
$content_actions = $this->buildContentActionUrls( $content_navigation );
- $tpl->setRef( 'content_navigation', $content_navigation );
- $tpl->setRef( 'content_actions', $content_actions );
+ $tpl->set( 'content_navigation', $content_navigation );
+ $tpl->set( 'content_actions', $content_actions );
$tpl->set( 'sidebar', $this->buildSidebar() );
$tpl->set( 'nav_urls', $this->buildNavUrls() );