r66727 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66726‎ | r66727 | r66728 >
Date:17:14, 21 May 2010
Author:hartman
Status:deferred
Tags:
Comment:
Follow up r66722 Fix guard against multiple addition.
Modified paths:
  • /trunk/extensions/OggHandler/OggHandler_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OggHandler/OggHandler_body.php
@@ -428,7 +428,8 @@
429429 function setHeaders( $out ) {
430430 global $wgOggScriptVersion, $wgCortadoJarFile, $wgServer, $wgUser, $wgScriptPath;
431431
432 - if ( $out->hasHeadItem( 'OggHandler' ) ) {
 432+ if ( $out->hasHeadItem( 'OggHandlerScript' ) && $out->hasHeadItem( 'OggHandlerInlineScript' ) &&
 433+ $out->hasHeadItem( 'OggHandlerInlineCSS' ) ) {
433434 return;
434435 }
435436

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66722Fix OggHandler to use Html::linkedScript() and friends instead of selfwritten...hartman15:23, 21 May 2010

Status & tagging log