Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -3,9 +3,9 @@ |
4 | 4 | /** |
5 | 5 | * NAME |
6 | 6 | * Narayam |
7 | | - * |
| 7 | + * |
8 | 8 | * SYNOPSIS |
9 | | - * |
| 9 | + * |
10 | 10 | * INSTALL |
11 | 11 | * Put this whole directory under your Mediawiki extensions directory |
12 | 12 | * Then add this line to LocalSettings.php to load the extension |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | * |
18 | 18 | * AUTHOR |
19 | 19 | * Junaid P V <http://junaidpv.in> |
20 | | - * |
| 20 | + * |
21 | 21 | * @package extensions |
22 | 22 | * @version 0.1 |
23 | 23 | * @copyright Copyright 2010 Junaid P V |
— | — | @@ -118,11 +118,11 @@ |
119 | 119 | $this->_sk = $sk; |
120 | 120 | // add script tag for each scheme |
121 | 121 | foreach ( $wgNarayamConfig['schemes'] as $scheme ) { |
122 | | - $out->addScriptFile( "$wgExtensionAssetsPath/Nayaram/{$scheme}_rules.js" ); |
| 122 | + $out->addScriptFile( "$wgExtensionAssetsPath/Narayam/{$scheme}_rules.js" ); |
123 | 123 | } |
124 | 124 | |
125 | 125 | // Load Narayam.js file |
126 | | - $out->addScriptFile( "$wgExtensionAssetsPath/Nayaram/Narayam.js" ); |
| 126 | + $out->addScriptFile( "$wgExtensionAssetsPath/Narayam/Narayam.js" ); |
127 | 127 | |
128 | 128 | // Place generated JS code according to configuration settings |
129 | 129 | $out->addInlineScript( $this->getInitJSCode() ); |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | * @global array $wgNarayamConfig |
141 | 141 | * @param Skin $skinName |
142 | 142 | * @return string Generated JS code |
143 | | - * @todo Nees rewriting |
| 143 | + * @todo Needs rewriting |
144 | 144 | */ |
145 | 145 | private function getInitJSCode() { |
146 | 146 | global $wgNarayamConfig; |