Index: trunk/extensions/LogoFunctions/LogoFunctions.i18n.php |
— | — | @@ -1,27 +1,28 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * LogoFunction |
| 4 | + * LogoFunctions |
5 | 5 | * |
6 | | - * Add PaserFunctions about wiki's logo |
| 6 | + * Add Paser hooks about wiki's logo |
7 | 7 | * |
8 | | - * @link http://www.mediawiki.org/wiki/Extension:LogoFunction |
| 8 | + * @link http://www.mediawiki.org/wiki/Extension:LogoFunctions |
9 | 9 | * |
10 | 10 | * @author Devunt <devunt@devunt.kr> |
11 | 11 | * @authorlink http://www.mediawiki.org/wiki/User:Devunt |
12 | 12 | * @copyright Copyright © 2010 Devunt (Bae June Hyeon). |
13 | 13 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
14 | 14 | */ |
| 15 | + |
15 | 16 | $messages = array(); |
16 | 17 | |
17 | 18 | /** English |
18 | 19 | */ |
19 | 20 | $messages['en'] = array( |
20 | | - 'logofunction-desc' => 'Add Paser hooks about wiki\'s logo.', |
| 21 | + 'logofunctions-desc' => 'Add Paser hooks about wiki\'s logo.', |
21 | 22 | ); |
22 | 23 | |
23 | 24 | /** Korean (한국어) |
24 | 25 | * @author Devunt |
25 | 26 | */ |
26 | 27 | $messages['ko'] = array( |
27 | | - 'logofunction-desc' => '위키의 로고에 관한 파서 훅을 추가합니다.', |
| 28 | + 'logofunctions-desc' => '위키의 로고에 관한 파서 훅들을 추가합니다.', |
28 | 29 | ); |
Index: trunk/extensions/LogoFunctions/LogoFunctions.php |
— | — | @@ -1,10 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * LogoFunction |
| 4 | + * LogoFunctions |
5 | 5 | * |
6 | | - * Add PaserFunctions about wiki's logo |
| 6 | + * Add Paser hooks about wiki's logo |
7 | 7 | * |
8 | | - * @link http://www.mediawiki.org/wiki/Extension:LogoFunction |
| 8 | + * @link http://www.mediawiki.org/wiki/Extension:LogoFunctions |
9 | 9 | * |
10 | 10 | * @author Devunt <devunt@devunt.kr> |
11 | 11 | * @authorlink http://www.mediawiki.org/wiki/User:Devunt |
— | — | @@ -15,22 +15,22 @@ |
16 | 16 | if ( !defined( 'MEDIAWIKI' ) ) die('define error!'); |
17 | 17 | |
18 | 18 | $wgExtensionCredits[ 'parserhook' ][] = array( |
19 | | - 'name' => 'LogoFunction', |
| 19 | + 'name' => 'LogoFunctions', |
20 | 20 | 'author' => 'Devunt (Bae June Hyeon)', |
21 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:LogoFunction', |
22 | | - 'descriptionmsg' => 'logofunction-desc', |
| 21 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:LogoFunctions', |
| 22 | + 'descriptionmsg' => 'logofunctions-desc', |
23 | 23 | 'version' => '0.9', |
24 | 24 | ); |
25 | 25 | |
26 | | -$wgHooks['ParserFirstCallInit'][] = 'efLogoFunction_Setup'; |
27 | | -$wgHooks['LanguageGetMagic'][] = 'efLogoFunction_Magic'; |
| 26 | +$wgHooks['ParserFirstCallInit'][] = 'efLogoFunctions_Setup'; |
| 27 | +$wgHooks['LanguageGetMagic'][] = 'efLogoFunctions_Magic'; |
28 | 28 | |
29 | | -function efLogoFunction_Setup( &$parser ) { |
| 29 | +function efLogoFunctions_Setup( &$parser ) { |
30 | 30 | $parser->setFunctionHook( 'setlogo', 'efSetLogo_Render' ); |
31 | 31 | return true; |
32 | 32 | } |
33 | 33 | |
34 | | -function efLogoFunction_Magic( &$magicWords, $langCode ) { |
| 34 | +function efLogoFunctions_Magic( &$magicWords, $langCode ) { |
35 | 35 | $magicWords['setlogo'] = array( 0, 'setlogo' ); |
36 | 36 | return true; |
37 | 37 | } |