Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -27,6 +27,15 @@ |
28 | 28 | exit( 1 ); |
29 | 29 | } |
30 | 30 | |
| 31 | +$wgExtensionCredits['other'][] = array( |
| 32 | + 'path' => __FILE__, |
| 33 | + 'name' => 'Narayam', |
| 34 | + 'version' => 0.1, |
| 35 | + 'author' => array( 'Junaid P V (http://junaidpv.in)', 'Roan Kattouw' ), |
| 36 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Narayam', |
| 37 | + 'descriptionmsg' => 'narayam-desc' |
| 38 | +); |
| 39 | + |
31 | 40 | /* Configuration */ |
32 | 41 | |
33 | 42 | // Whether the input method should be active as default or not |
— | — | @@ -96,16 +105,6 @@ |
97 | 106 | |
98 | 107 | $dir = dirname( __FILE__ ); |
99 | 108 | |
100 | | -// Register extension credits |
101 | | -$wgExtensionCredits['other'][] = array( |
102 | | - 'path' => __FILE__, |
103 | | - 'name' => 'Narayam', |
104 | | - 'version' => 0.1, |
105 | | - 'author' => array( 'Junaid P V (http://junaidpv.in)', 'Roan Kattouw' ), |
106 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:Narayam', |
107 | | - 'descriptionmsg' => 'narayam-desc' |
108 | | -); |
109 | | - |
110 | 109 | // Localization |
111 | 110 | $wgExtensionMessagesFiles['Narayam'] = $dir . '/Narayam.i18n.php'; |
112 | 111 | |