Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -294,6 +294,9 @@ |
295 | 295 | |
296 | 296 | Create Box |
297 | 297 | |
| 298 | +Create Redirect |
| 299 | +aliasfile = CreateRedirect/CreateRedirect.alias.php |
| 300 | + |
298 | 301 | Cross Namespace Links |
299 | 302 | aliasfile = CrossNamespaceLinks/CrossNamespaceLinks.alias.php |
300 | 303 | |
Index: trunk/extensions/CreateRedirect/CreateRedirect.alias.php |
— | — | @@ -0,0 +1,17 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for Special:CreateRedirect |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$aliases = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Marco Zafra |
| 14 | + */ |
| 15 | +$aliases['en'] = array( |
| 16 | + 'CreateRedirect' => array( 'CreateRedirect' ), |
| 17 | +); |
| 18 | + |
Property changes on: trunk/extensions/CreateRedirect/CreateRedirect.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 19 | + native |
Index: trunk/extensions/CreateRedirect/CreateRedirect.i18n.php |
— | — | @@ -13,10 +13,11 @@ |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | 16 | 'createredirect' => 'Create Redirect', |
| 17 | + 'createredirect-desc' => 'Adds special page [[Special:CreateRedirect|CreateRedirect]] to easily create redirects', |
17 | 18 | 'createredirect-error' => 'ERROR: Authentication failed.' // TODO: Figure out error cases. One message just is not going to do. --Digi 11/5/07 |
18 | 19 | 'createredirect-instructions' => 'Using the form below, you can create a redirect page or replace an existing page with a redirect.', |
19 | 20 | 'createredirect-page-title' => 'Page title:', |
20 | | - 'createredirect-redirect-done' => 'Redirect created from $1 to $2', |
| 21 | + 'createredirect-redirect-done' => 'Redirect created from "$1" to "$2"', |
21 | 22 | 'createredirect-redirect-to' => 'Redirect to:', |
22 | 23 | 'createredirect-save' => 'Save page', |
23 | | -); |
\ No newline at end of file |
| 24 | +); |
Index: trunk/extensions/CreateRedirect/CreateRedirect.php |
— | — | @@ -41,11 +41,12 @@ |
42 | 42 | |
43 | 43 | // Add this extension to Special:Credits. |
44 | 44 | $wgExtensionCredits['specialpage'][] = array( |
| 45 | + 'path' => __FILE__, |
45 | 46 | 'name' => 'CreateRedirect', |
46 | 47 | 'author' => 'Marco Zafra', |
47 | | - 'version' => 1.0, |
48 | | - 'description' => 'Adds [[Special:CreateRedirect]] to easily create redirects.', |
| 48 | + 'version' => 1.0.1, |
49 | 49 | 'url' => 'http://www.mediawiki.org/wiki/Extension:CreateRedirect', |
| 50 | + 'descriptionmsg' => 'createredirect-desc', |
50 | 51 | ); |
51 | 52 | |
52 | 53 | // Set up the actual extension functionality. |