r24817 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24816‎ | r24817 | r24818 >
Date:13:34, 15 August 2007
Author:yaron
Status:old
Tags:
Comment:
Removed unnecessary Scriptaculous includes
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_AddPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_AddPage.php
@@ -89,14 +89,5 @@
9090
9191 END;
9292 }
93 - $scriptaculousCssUrl = $sfgScriptPath . '/skins/scriptaculous.css';
94 - $wgOut->addLink( array(
95 - 'rel' => 'stylesheet',
96 - 'type' => 'text/css',
97 - 'media' => "screen, projection",
98 - 'href' => $scriptaculousCssUrl
99 - ));
100 - $wgOut->addScript('<script src="' . $sfgScriptPath . '/libs/scriptaculous-js-1.7.0/lib/prototype.js" type="text/javascript"></script>');
101 - $wgOut->addScript('<script src="' . $sfgScriptPath . '/libs/scriptaculous-js-1.7.0/src/scriptaculous.js" type="text/javascript"></script>');
10293 $wgOut->addHTML($text);
10394 }

Status & tagging log