r81734 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81733‎ | r81734 | r81735 >
Date:12:44, 8 February 2011
Author:catrope
Status:ok
Tags:
Comment:
Merge r81733 from 1.17wmf1: rudimetary fixup of ReaderFeedback JS/CSS loading so it works again
Modified paths:
  • /trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php
@@ -19,12 +19,12 @@
2020
2121 $stylePath = str_replace( '$wgScriptPath', $wgScriptPath, $wgFeedbackStylePath );
2222
23 - $encCssFile = htmlspecialchars( "$stylePath/readerfeedback.css?$wgFeedbackStyleVersion" );
24 - $encJsFile = htmlspecialchars( "$stylePath/readerfeedback.js?$wgFeedbackStyleVersion" );
 23+ $cssFile = "$stylePath/readerfeedback.css?$wgFeedbackStyleVersion";
 24+ $jsFile = "$stylePath/readerfeedback.js?$wgFeedbackStyleVersion";
2525 // Add CSS
26 - $wgOut->addExtensionStyle( $encCssFile );
 26+ $wgOut->addExtensionStyle( $cssFile );
2727 // Add JS
28 - $wgOut->addScriptFile( "$stylepath/readerfeedback.js?$wgFeedbackStyleVersion" );
 28+ $wgOut->addScriptFile( $jsFile );
2929
3030 return true;
3131 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81713Merge r81712 from 1.17wmf1: fix ReaderFeedback extension, was adding a <scrip...catrope10:46, 8 February 2011
r817331.17wmf1: Fix JS/CSS loading in ReaderFeedback, was totally brokencatrope12:42, 8 February 2011

Status & tagging log