Index: trunk/extensions/TradeTrack/TradeTrack.alias.php |
— | — | @@ -0,0 +1,19 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$specialPageAliases = array(); |
| 11 | + |
| 12 | +/** English (English) */ |
| 13 | +$specialPageAliases['en'] = array( |
| 14 | + 'TradeTrack' => array( 'TradeTrack' ), |
| 15 | +); |
| 16 | + |
| 17 | +/** |
| 18 | + * For backwards compatibility with MediaWiki 1.15 and earlier. |
| 19 | + */ |
| 20 | +$aliases =& $specialPageAliases; |
\ No newline at end of file |
Property changes on: trunk/extensions/TradeTrack/TradeTrack.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 21 | + native |
Index: trunk/extensions/TradeTrack/TradeTrack.php |
— | — | @@ -14,16 +14,21 @@ |
15 | 15 | $wgTradeTrackEmailSubject = "A new Trademark Request has Arrived"; |
16 | 16 | $wgTradeTrackFromEmail = "tradetrack@wikimedia.org"; |
17 | 17 | |
18 | | -$wgAutoloadClasses['SpecialTradeTrack'] = dirname(__FILE__) . "/SpecialTradeTrack.php"; |
19 | | -$wgAutoloadClasses['TradeTrackScreen'] = dirname(__FILE__) . "/templates/TradeTrackScreen.php"; |
20 | | -$wgAutoloadClasses['TradeTrackScreenDetailsForm'] = dirname(__FILE__) . "/templates/TradeTrackScreenDetailsForm.php"; |
21 | | -$wgAutoloadClasses['TradeTrackScreenNonComAgreement'] = dirname(__FILE__) . "/templates/TradeTrackScreenNonComAgreement.php"; |
22 | | -$wgAutoloadClasses['TradeTrackScreenRouting'] = dirname(__FILE__) . "/templates/TradeTrackScreenRouting.php"; |
23 | | -$wgAutoloadClasses['TradeTrackScreenThanks'] = dirname(__FILE__) . "/templates/TradeTrackScreenThanks.php"; |
24 | | -$wgAutoloadClasses['TradeTrackEmail'] = dirname(__FILE__) . "/templates/TradeTrackEmail.php"; |
| 18 | +$dir = dirname(__FILE__); |
| 19 | +$wgAutoloadClasses['SpecialTradeTrack'] = $dir . "/SpecialTradeTrack.php"; |
| 20 | +$wgAutoloadClasses['TradeTrackScreen'] = $dir . "/templates/TradeTrackScreen.php"; |
| 21 | +$wgAutoloadClasses['TradeTrackScreenDetailsForm'] = $dir . "/templates/TradeTrackScreenDetailsForm.php"; |
| 22 | +$wgAutoloadClasses['TradeTrackScreenNonComAgreement'] = $dir . "/templates/TradeTrackScreenNonComAgreement.php"; |
| 23 | +$wgAutoloadClasses['TradeTrackScreenRouting'] = $dir . "/templates/TradeTrackScreenRouting.php"; |
| 24 | +$wgAutoloadClasses['TradeTrackScreenThanks'] = $dir . "/templates/TradeTrackScreenThanks.php"; |
| 25 | +$wgAutoloadClasses['TradeTrackEmail'] = $dir . "/templates/TradeTrackEmail.php"; |
25 | 26 | |
26 | | -$wgExtensionMessagesFiles['TradeTrack'] = dirname( __FILE__ ) . "/TradeTrack.i18n.php"; |
| 27 | +$wgSpecialPages['TradeTrack'] = 'SpecialTradeTrack'; |
| 28 | +$wgSpecialPageGroups['TradeTrack'] = 'other'; |
27 | 29 | |
| 30 | +$wgExtensionMessagesFiles['TradeTrack'] = $dir . "/TradeTrack.i18n.php"; |
| 31 | +$wgExtensionAliasesFiles['TradeTrack'] = $dir . "/TradeTrack.alias.php"; |
| 32 | + |
28 | 33 | $wgTradeTrackEmailCommercial = "bharris@wikimedia.org"; // Who gets commercial requests (Kul) |
29 | 34 | $wgTradeTrackEmailNonCommercial = "bharris@wikimedia.org"; // Who gets non-commercial requests (Mike) |
30 | 35 | $wgTradeTrackEmailMedia = "bharris@wikimedia.org"; // Who gets media requests (Jay) |