r76313 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76312‎ | r76313 | r76314 >
Date:16:19, 8 November 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r76088: rewrite relative CSS urls
Modified paths:
  • /trunk/phase3/includes/installer/WebInstallerOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/WebInstallerOutput.php
@@ -93,10 +93,9 @@
9494 if( !$css ) {
9595 return "/** Your webserver cannot read $vectorCssFile, please check file permissions */";
9696 } elseif( $dir == 'rtl' ) {
97 - return CSSJanus::transform( $css, true );
98 - } else {
99 - return $css;
 97+ $css = CSSJanus::transform( $css, true );
10098 }
 99+ return str_replace( 'images/', '../skins/vector/images/', $css );
101100 }
102101
103102 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76088Dynamically generate CSS (using vector now). Handles RTL/LTR flip properly \o...demon13:14, 5 November 2010

Status & tagging log