Index: trunk/extensions/DeletedContributions/DeletedContributions.php |
— | — | @@ -1,8 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - @ Extension based on SpecialContributions for archived revisions |
5 | | - @ Modifications made to SpecialContributions.php |
6 | | - @ copyright © 2007 Aaron Schulz |
| 4 | + * Extension based on SpecialContributions for archived revisions |
| 5 | + * Modifications made to SpecialContributions.php |
| 6 | + * @copyright © 2007 Aaron Schulz |
7 | 7 | */ |
8 | 8 | |
9 | 9 | $wgExtensionCredits['specialpage'][] = array( |
— | — | @@ -16,10 +16,13 @@ |
17 | 17 | ); |
18 | 18 | |
19 | 19 | # Internationalisation |
20 | | -$wgExtensionMessagesFiles['DeletedContributions'] = dirname(__FILE__) . '/DeletedContributions.i18n.php'; |
| 20 | +$dir = dirname(__FILE__) . '/'; |
| 21 | +$wgExtensionMessagesFiles['DeletedContributions'] = $dir . 'DeletedContributions.i18n.php'; |
| 22 | +$wgExtensionAliasesFiles['DeletedContributions'] = $dir . 'DeletedContributions.i18n.alias.php'; |
| 23 | + |
21 | 24 | $wgAutoloadClasses['DeletedContributionsPage'] |
22 | 25 | = $wgAutoloadClasses['DeletedContributionsPage'] |
23 | | - = dirname(__FILE__) . '/DeletedContributions_body.php'; |
| 26 | + = $dir . 'DeletedContributions_body.php'; |
24 | 27 | |
25 | 28 | $wgHooks['ContributionsToolLinks'][] = 'wfLoadContribsLink'; |
26 | 29 | $wgSpecialPages['DeletedContributions'] = 'DeletedContributionsPage'; |
— | — | @@ -40,4 +43,3 @@ |
41 | 44 | } |
42 | 45 | return true; |
43 | 46 | } |
44 | | - |
Index: trunk/extensions/DeletedContributions/DeletedContributions.i18n.alias.php |
— | — | @@ -0,0 +1,22 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for Special:DeletedContributions |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | + */ |
| 8 | + |
| 9 | +$aliases = array(); |
| 10 | + |
| 11 | +/** English |
| 12 | + * @author Aaron Schulz |
| 13 | + */ |
| 14 | +$aliases['en'] = array( |
| 15 | + 'DeletedContributions' => array( 'DeletedContributions' ), |
| 16 | +); |
| 17 | + |
| 18 | +/** German |
| 19 | + * @author Raimond Spekking |
| 20 | + */ |
| 21 | +$aliases['de'] = array( |
| 22 | + 'DeletedContributions' => array( 'Gelöschte Beiträge' ), |
| 23 | +); |
Property changes on: trunk/extensions/DeletedContributions/DeletedContributions.i18n.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 24 | + native |
Index: trunk/extensions/DeletedContributions/DeletedContributions_body.php |
— | — | @@ -356,10 +356,10 @@ |
357 | 357 | |
358 | 358 | $f .= Xml::openElement( 'fieldset' ) . |
359 | 359 | Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) . |
360 | | - Xml::tags( 'label', array( 'for' => 'target' ), wfMsgExt( 'sp-contributions-username', 'parseinline' ) ) . |
| 360 | + Xml::tags( 'label', array( 'for' => 'target' ), wfMsgExt( 'sp-contributions-username', 'parseinline' ) ) . ' ' . |
361 | 361 | Xml::input( 'target', 20, $options['target']) . ' '. |
362 | 362 | Xml::label( wfMsg( 'namespace' ), 'namespace' ) . ' ' . |
363 | | - Xml::namespaceSelector( $options['namespace'], '' ) . |
| 363 | + Xml::namespaceSelector( $options['namespace'], '' ) . ' ' . |
364 | 364 | Xml::submitButton( wfMsg( 'sp-contributions-submit' ) ) . |
365 | 365 | Xml::closeElement( 'fieldset' ) . |
366 | 366 | Xml::closeElement( 'form' ); |