r81713 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r81712
|
r81713
|
r81714
>
Date:
10:46, 8 February 2011
Author:
catrope
Status:
resolved (
Comments
)
Tags:
Comment:
Merge
r81712
from 1.17wmf1: fix ReaderFeedback extension, was adding a <script> to the <head> in an ugly way, causing JS errors with ResourceLoader
Modified paths:
/trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php
—
—
@@ -24,8 +24,7 @@
25
25
// Add CSS
26
26
$wgOut->addExtensionStyle( $encCssFile );
27
27
// Add JS
28
- $head = "<script type=\"$wgJsMimeType\" src=\"$encJsFile\"></script>\n";
29
- $wgOut->addHeadItem( 'ReaderFeedback', $head );
28
+ $wgOut->addScriptFile( "$stylepath/readerfeedback.js?$wgFeedbackStyleVersion" );
30
29
31
30
return true;
32
31
}
Follow-up revisions
Revision
Commit summary
Author
Date
r81734
Merge
r81733
from 1.17wmf1: rudimetary fixup of ReaderFeedback JS/CSS loading...
catrope
12:44, 8 February 2011
r85027
MFT various extension fixes:
r81713
,
r81742
,
r81743
,
r81908
,
r81966
,
r81969
, ...
demon
18:23, 30 March 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r81712
1.17wmf1: Fix ReaderFeedback, which was adding a <script> to the <head> in an...
catrope
10:43, 8 February 2011
Comments
#
Comment by
Bryan
(
talk
|
contribs
)
21:01, 10 February 2011
Capitalization of $style
P
ath.
Status & tagging log
16:10, 16 August 2011
😂
(
talk
|
contribs
)
changed the
tags
for r81713
[
removed:
nodeploy]
18:23, 30 March 2011
😂
(
talk
|
contribs
)
changed the
tags
for r81713
[
removed:
1.17]
14:09, 30 March 2011
MarkAHershberger
(
talk
|
contribs
)
changed the
status
of r81713
[
removed:
fixme
added:
resolved]
21:34, 10 February 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r81713
[
added:
nodeploy]
21:01, 10 February 2011
Bryan
(
talk
|
contribs
)
changed the
status
of r81713
[
removed:
new
added:
fixme]
10:46, 8 February 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r81713
[
added:
1.17]