r73296 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73295‎ | r73296 | r73297 >
Date:17:18, 18 September 2010
Author:robin
Status:ok
Tags:
Comment:
getHeadLinks() requires a skin parameter (added in r72349 for makeResourceLoaderLink(), although that parameter is not used there)
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -217,7 +217,7 @@
218218 $tpl->setRef( 'xhtmldefaultnamespace', $wgXhtmlDefaultNamespace );
219219 $tpl->set( 'xhtmlnamespaces', $wgXhtmlNamespaces );
220220 $tpl->set( 'html5version', $wgHtml5Version );
221 - $tpl->set( 'headlinks', $out->getHeadLinks() );
 221+ $tpl->set( 'headlinks', $out->getHeadLinks( $this->getSkinName() ) );
222222 $tpl->set( 'csslinks', $out->buildCssLinks() );
223223
224224 if( $wgUseTrackbacks && $out->isArticleRelated() ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72349Merging resourceloader branch into trunk. Full documentation is at http://www...catrope04:00, 4 September 2010

Status & tagging log