r67818 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67817‎ | r67818 | r67819 >
Date:14:50, 10 June 2010
Author:devunt
Status:ok
Tags:
Comment:
Change Extension Name
LogoFunction to LogoFunctions
Modified paths:
  • /trunk/extensions/LogoFunctions/LogoFunctions.i18n.php (modified) (history)
  • /trunk/extensions/LogoFunctions/LogoFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LogoFunctions/LogoFunctions.i18n.php
@@ -1,27 +1,28 @@
22 <?php
33 /**
4 - * LogoFunction
 4+ * LogoFunctions
55 *
6 - * Add PaserFunctions about wiki's logo
 6+ * Add Paser hooks about wiki's logo
77 *
8 - * @link http://www.mediawiki.org/wiki/Extension:LogoFunction
 8+ * @link http://www.mediawiki.org/wiki/Extension:LogoFunctions
99 *
1010 * @author Devunt <devunt@devunt.kr>
1111 * @authorlink http://www.mediawiki.org/wiki/User:Devunt
1212 * @copyright Copyright © 2010 Devunt (Bae June Hyeon).
1313 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1414 */
 15+
1516 $messages = array();
1617
1718 /** English
1819 */
1920 $messages['en'] = array(
20 - 'logofunction-desc' => 'Add Paser hooks about wiki\'s logo.',
 21+ 'logofunctions-desc' => 'Add Paser hooks about wiki\'s logo.',
2122 );
2223
2324 /** Korean (한국어)
2425 * @author Devunt
2526 */
2627 $messages['ko'] = array(
27 - 'logofunction-desc' => '위키의 로고에 관한 파서 훅을 추가합니다.',
 28+ 'logofunctions-desc' => '위키의 로고에 관한 파서 훅들을 추가합니다.',
2829 );
Index: trunk/extensions/LogoFunctions/LogoFunctions.php
@@ -1,10 +1,10 @@
22 <?php
33 /**
4 - * LogoFunction
 4+ * LogoFunctions
55 *
6 - * Add PaserFunctions about wiki's logo
 6+ * Add Paser hooks about wiki's logo
77 *
8 - * @link http://www.mediawiki.org/wiki/Extension:LogoFunction
 8+ * @link http://www.mediawiki.org/wiki/Extension:LogoFunctions
99 *
1010 * @author Devunt <devunt@devunt.kr>
1111 * @authorlink http://www.mediawiki.org/wiki/User:Devunt
@@ -15,22 +15,22 @@
1616 if ( !defined( 'MEDIAWIKI' ) ) die('define error!');
1717
1818 $wgExtensionCredits[ 'parserhook' ][] = array(
19 - 'name' => 'LogoFunction',
 19+ 'name' => 'LogoFunctions',
2020 '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',
2323 'version' => '0.9',
2424 );
2525
26 -$wgHooks['ParserFirstCallInit'][] = 'efLogoFunction_Setup';
27 -$wgHooks['LanguageGetMagic'][] = 'efLogoFunction_Magic';
 26+$wgHooks['ParserFirstCallInit'][] = 'efLogoFunctions_Setup';
 27+$wgHooks['LanguageGetMagic'][] = 'efLogoFunctions_Magic';
2828
29 -function efLogoFunction_Setup( &$parser ) {
 29+function efLogoFunctions_Setup( &$parser ) {
3030 $parser->setFunctionHook( 'setlogo', 'efSetLogo_Render' );
3131 return true;
3232 }
3333
34 -function efLogoFunction_Magic( &$magicWords, $langCode ) {
 34+function efLogoFunctions_Magic( &$magicWords, $langCode ) {
3535 $magicWords['setlogo'] = array( 0, 'setlogo' );
3636 return true;
3737 }

Status & tagging log