Index: trunk/extensions/ProofreadPage/ProofreadPage.alias.php |
— | — | @@ -0,0 +1,20 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$specialPageAliases = array(); |
| 11 | + |
| 12 | +/** English */ |
| 13 | +$specialPageAliases['en'] = array( |
| 14 | + 'IndexPages' => array( 'IndexPages' ), |
| 15 | + 'PagesWithoutScans' => array( 'PagesWithoutScans' ), |
| 16 | +); |
| 17 | + |
| 18 | +/** |
| 19 | + * For backwards compatibility with MediaWiki 1.15 and earlier. |
| 20 | + */ |
| 21 | +$aliases =& $specialPageAliases; |
Property changes on: trunk/extensions/ProofreadPage/ProofreadPage.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 22 | + native |
Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -27,8 +27,13 @@ |
28 | 28 | |
29 | 29 | |
30 | 30 | $wgExtensionFunctions[] = 'wfProofreadPage'; |
31 | | -$wgExtensionMessagesFiles['ProofreadPage'] = dirname( __FILE__ ) . '/ProofreadPage.i18n.php'; |
32 | | -$wgAutoloadClasses['ProofreadPage'] = dirname( __FILE__ ) . "/ProofreadPage_body.php"; |
| 31 | + |
| 32 | +$dir = dirname( __FILE__ ) . '/'; |
| 33 | +$wgExtensionMessagesFiles['ProofreadPage'] = $dir . 'ProofreadPage.i18n.php'; |
| 34 | +$wgExtensionAliasesFiles['ProofreadPage'] = $dir . 'ProofreadPage.alias.php'; |
| 35 | + |
| 36 | +$wgAutoloadClasses['ProofreadPage'] = $dir . 'ProofreadPage_body.php'; |
| 37 | + |
33 | 38 | $wgExtensionCredits['other'][] = array( |
34 | 39 | 'path' => __FILE__, |
35 | 40 | 'name' => 'ProofreadPage', |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -867,6 +867,7 @@ |
868 | 868 | descmsg = profiling-desc |
869 | 869 | |
870 | 870 | Proofread Page |
| 871 | +aliasfile = ProofreadPage/ProofreadPage.alias.php |
871 | 872 | descmsg = proofreadpage_desc |
872 | 873 | ignored = proofreadpage_default_header, proofreadpage_default_footer, proofreadpage_quality_message |
873 | 874 | ignored = proofreadpage_specialpage_text |