Index: trunk/extensions/Special404/Special404.i18n.php |
— | — | @@ -12,17 +12,13 @@ |
13 | 13 | * @author Daniel Friesen |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | | - 'special404-desc' => "Provides a 404 special page destination for 404 Not Found errors.", |
17 | | - 'error404' => "404 Not Found", |
18 | | - 'special404-body' => <<<MSG |
19 | | -The URL you requested was not found. |
| 16 | + 'special404-desc' => 'Provides a 404 special page destination for 404 Not found errors', |
| 17 | + 'error404' => '404 Not found', |
| 18 | + 'special404-body' => 'The URL you requested was not found. |
20 | 19 | |
21 | | -Did you mean to type [{{fullurl:$1}} {{fullurl:$1}}]? |
| 20 | +Did you mean to type {{fullurl:$1}}? |
22 | 21 | |
23 | 22 | Maybe you would like to look at: |
24 | | -* [[{{int:mainpage}}|The main page]] |
25 | | - |
26 | | -MSG |
27 | | - , |
| 23 | +* [[{{int:mainpage}}|The main page]]', |
28 | 24 | ); |
29 | 25 | |
Index: trunk/extensions/Special404/Special404.php |
— | — | @@ -23,9 +23,10 @@ |
24 | 24 | 'descriptionmsg' => 'special404-desc', |
25 | 25 | ); |
26 | 26 | |
27 | | -$wgExtensionMessagesFiles['Special404'] = dirname( __FILE__ ) . '/Special404.i18n.php'; |
28 | | -$wgExtensionAliasesFiles['Special404'] = dirname( __FILE__ ) . '/Special404.alias.php'; |
| 27 | +$dir = dirname( __FILE__ ); |
| 28 | +$wgExtensionMessagesFiles['Special404'] = $dir . '/Special404.i18n.php'; |
| 29 | +$wgExtensionAliasesFiles['Special404'] = $dir . '/Special404.alias.php'; |
29 | 30 | |
30 | 31 | $wgSpecialPages['Error404'] = array( 'Special404' ); |
31 | | -$wgAutoloadClasses['Special404'] = dirname( __FILE__ ) . '/Special404_body.php'; |
| 32 | +$wgAutoloadClasses['Special404'] = $dir . '/Special404_body.php'; |
32 | 33 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1195,6 +1195,9 @@ |
1196 | 1196 | Spam Regex |
1197 | 1197 | aliasfile = SpamRegex/SpamRegex.alias.php |
1198 | 1198 | |
| 1199 | +Special 404 |
| 1200 | +aliasfile = Special404/Special404.alias.php |
| 1201 | + |
1199 | 1202 | Special File List |
1200 | 1203 | file = SpecialFileList/SpecialFilelist.i18n.php |
1201 | 1204 | descmsg = filelist-desc |