r73039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73038‎ | r73039 | r73040 >
Date:01:38, 15 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Fixed mistake of using dynamic values in static statements
Modified paths:
  • /trunk/extensions/Vector/Vector.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Vector/Vector.hooks.php
@@ -14,8 +14,8 @@
1515 'collapsiblenav' => array(
1616 'name' => 'vector.collapsibleNav',
1717 'resources' => array(
18 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.collapsibleNav.js',
19 - 'styles' => dirname( __FILE__ ) . '/modules/vector.collapsibleNav.css',
 18+ 'scripts' => 'extensions/Vector/modules/vector.collapsibleNav.js',
 19+ 'styles' => 'extensions/Vector/modules/vector.collapsibleNav.css',
2020 'messages' => array(
2121 'vector-collapsiblenav-more',
2222 ),
@@ -37,13 +37,13 @@
3838 'collapsibletabs' => array(
3939 'name' => 'vector.collapsibleTabs',
4040 'resources' => array(
41 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.collapsibleTabs.js',
 41+ 'scripts' => 'extensions/Vector/modules/vector.collapsibleTabs.js',
4242 )
4343 ),
4444 'editwarning' => array(
4545 'name' => 'vector.editWarning',
4646 'resources' => array(
47 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.editWarning.js',
 47+ 'scripts' => 'extensions/Vector/modules/vector.editWarning.js',
4848 'messages' => array(
4949 'vector-editwarning-warning',
5050 ),
@@ -61,8 +61,8 @@
6262 'expandablesearch' => array(
6363 'name' => 'vector.expandableSearch',
6464 'resources' => array(
65 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.expandableSearch.js',
66 - 'styles' => dirname( __FILE__ ) . '/modules/vector.expandableSearch.css',
 65+ 'scripts' => 'extensions/Vector/modules/vector.expandableSearch.js',
 66+ 'styles' => 'extensions/Vector/modules/vector.expandableSearch.css',
6767 'dependencies' => array( 'jquery.client' ),
6868 ),
6969 'preferences' => array(
@@ -72,14 +72,14 @@
7373 'footercleanup' => array(
7474 'name' => 'vector.footerCleanup',
7575 'resources' => array(
76 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.footerCleanup.js',
77 - 'styles' => dirname( __FILE__ ) . '/modules/vector.footerCleanup.css',
 76+ 'scripts' => 'extensions/Vector/modules/vector.footerCleanup.js',
 77+ 'styles' => 'extensions/Vector/modules/vector.footerCleanup.css',
7878 ),
7979 ),
8080 'simplesearch' => array(
8181 'name' => 'vector.simpleSearch',
8282 'resources' => array(
83 - 'scripts' => dirname( __FILE__ ) . '/modules/vector.simpleSearch.js',
 83+ 'scripts' => 'extensions/Vector/modules/vector.simpleSearch.js',
8484 'messages' => array(
8585 'vector-simplesearch-search',
8686 'vector-simplesearch-containing',

Status & tagging log