Index: trunk/extensions/Babel/Babel.i18n.php |
— | — | @@ -16,8 +16,8 @@ |
17 | 17 | 'babel-desc' => 'Adds the <tt>#babel</tt> parser function to allow automated generation of a babel userbox column with the ability to include custom templates', |
18 | 18 | 'babel-url' => 'Project:Babel', |
19 | 19 | |
20 | | - 'babel-autocreate-abort' => 'The username you specified is used for Babel category auto-creation and cannot be registered.', |
21 | | - 'babel-autocreate-reason' => 'Automatically creating Babel category page.', |
| 20 | + 'babel-autocreate-abort' => 'The username you specified is used for [[$1|Babel]] category auto-creation and cannot be registered.', // $1 is babel-url |
| 21 | + 'babel-autocreate-reason' => 'Automatically creating [[$1|Babel]] category page.', // $1 is babel-url |
22 | 22 | 'babel-autocreate-text-levels' => 'Users in this category indicate they have skill level $1 for language $2.', |
23 | 23 | 'babel-autocreate-text-main' => 'Users in this category indicate they have knowledge of language $1.', |
24 | 24 | 'babel-autocreate-user' => 'Babel AutoCreate', |
Index: trunk/extensions/Babel/BabelAutoCreate.class.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | static $user = false; |
6 | 6 | public static function RegisterAbort( User $user, &$message ) { |
7 | 7 | wfLoadExtensionMessages( 'Babel' ); |
8 | | - $message = wfMsg( 'babel-autocreate-abort' ); |
| 8 | + $message = wfMsg( 'babel-autocreate-abort', wfMsg( 'babel-url' ) ); |
9 | 9 | return !( $user->getName() === wfMsgForContent( 'babel-autocreate-user' ) ); |
10 | 10 | } |
11 | 11 | public static function create( $category, $language, $level = null ) { |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | $text = wfMsgForContent( 'babel-autocreate-text-levels', $language, $level ); |
19 | 19 | } |
20 | 20 | $article = new Article( $title ); |
21 | | - $article->doEdit( $text, wfMsgForContent( 'babel-autocreate-reason' ), EDIT_SUPPRESS_RC, false, self::user() ); |
| 21 | + $article->doEdit( $text, wfMsgForContent( 'babel-autocreate-reason', wfMsgForContent( 'babel-url' ) ), EDIT_SUPPRESS_RC, false, self::user() ); |
22 | 22 | } |
23 | 23 | public static function user() { |
24 | 24 | if( !self::$user ) { |