r54112 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54111‎ | r54112 | r54113 >
Date:18:20, 31 July 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Crude support for localising extension magic words
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)
  • /trunk/extensions/Translate/aliases.txt (deleted) (history)
  • /trunk/extensions/Translate/groups/ComplexMessages.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)
  • /trunk/extensions/Translate/scripts/alias-export.php (modified) (history)
  • /trunk/extensions/Translate/scripts/magic-export.php (added) (history)
  • /trunk/extensions/Translate/scripts/mwcore-export.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/aliases.txt
@@ -1,335 +0,0 @@
2 -Abuse filter
3 -file = AbuseFilter/AbuseFilter.alias.php
4 -
5 -Admin Links
6 -file = AdminLinks/AdminLinks.alias.php
7 -
8 -Advanced random
9 -file = AdvancedRandom/AdvancedRandom.alias.php
10 -
11 -APC
12 -file = APC/ViewAPC.alias.php
13 -
14 -Ask SQL
15 -file = Asksql/Asksql.alias.php
16 -
17 -Bad images
18 -file = BadImage/BadImage.alias.php
19 -
20 -Call
21 -file = Call/Call.alias.php
22 -
23 -Category intersection
24 -file = CategoryIntersection/CategoryIntersection.alias.php
25 -
26 -Category tree
27 -file = CategoryTree/CategoryTree.alias.php
28 -
29 -CentralAuth
30 -file = CentralAuth/CentralAuth.alias.php
31 -
32 -Change author
33 -file = ChangeAuthor/ChangeAuthor.alias.php
34 -
35 -Check user
36 -file = CheckUser/CheckUser.alias.php
37 -
38 -Chemistry
39 -file = Chemistry/Chemicalsources.alias.php
40 -
41 -Cite special
42 -file = Cite/SpecialCite.alias.php
43 -
44 -Close Wikis
45 -file = CloseWikis/CloseWikis.alias.php
46 -
47 -Code review
48 -file = CodeReview/CodeReview.alias.php
49 -
50 -Collection
51 -file = Collection/Collection.alias.php
52 -
53 -CommunityVoice
54 -file = CommunityVoice/CommunityVoice.alias.php
55 -
56 -Configure
57 -file = Configure/Configure.alias.php
58 -
59 -Confirm account
60 -file = ConfirmAccount/ConfirmAccount.alias.php
61 -
62 -Confirm edit
63 -file = ConfirmEdit/ConfirmEdit.alias.php
64 -
65 -Contact page
66 -file = ContactPage/ContactPage.alias.php
67 -
68 -Contributors
69 -file = Contributors/Contributors.alias.php
70 -
71 -Contribution reporting
72 -file = ContributionReporting/ContributionReporting.alias.php
73 -
74 -Contribution scores
75 -file = ContributionScores/ContributionScores.alias.php
76 -
77 -Contribution tracking
78 -file = ContributionTracking/ContributionTracking.alias.php
79 -
80 -Cooperation statistics
81 -file = CooperationStatistics/CooperationStatistics.alias.php
82 -
83 -Cross namespace links
84 -file = CrossNamespaceLinks/SpecialCrossNamespaceLinks.alias.php
85 -
86 -Count edits
87 -file = CountEdits/CountEdits.alias.php
88 -
89 -Data transfer
90 -file = DataTransfer/languages/DT_Aliases.php
91 -
92 -Delete batch
93 -file = DeleteBatch/DeleteBatch.alias.php
94 -
95 -Delete queue
96 -file = DeleteQueue/DeleteQueue.alias.php
97 -
98 -Drafts
99 -file = Drafts/Drafts.alias.php
100 -
101 -Edit count
102 -file = Editcount/SpecialEditcount.alias.php
103 -
104 -Edit user
105 -file = EditUser/EditUser.alias.php
106 -
107 -Emergency DeSysop
108 -file = EmergencyDeSysop/EmergencyDeSysop.alias.php
109 -
110 -Eval
111 -file = Eval/SpecialEval.alias.php
112 -
113 -Expand templates
114 -file = ExpandTemplates/ExpandTemplates.alias.php
115 -
116 -Farmer
117 -file = Farmer/Farmer.alias.php
118 -
119 -Find spam
120 -file = FindSpam/FindSpam.alias.php
121 -
122 -Flagged revisions
123 -file = FlaggedRevs/language/FlaggedRevs.alias.php
124 -
125 -Gadgets
126 -file = Gadgets/Gadgets.alias.php
127 -
128 -Global blocking
129 -file = GlobalBlocking/GlobalBlocking.alias.php
130 -
131 -Global usage
132 -file = GlobalUsage/GlobalUsage.alias.php
133 -
134 -Global user rights
135 -file = GlobalUserrights/GlobalUserrights.alias.php
136 -
137 -Group permissions manager
138 -file = GroupPermissionsManager/GroupPermissionsManager.alias.php
139 -
140 -Image tagging
141 -file = ImageTagging/ImageTagging.alias.php
142 -
143 -Import free images
144 -file = ImportFreeImages/ImportFreeImages.alias.php
145 -
146 -Import users
147 -file = ImportUsers/SpecialImportUsers.alias.php
148 -
149 -Index Function
150 -file = IndexFunction/IndexFunction.alias.php
151 -
152 -Inspect cache
153 -file = InspectCache/InspectCache.alias.php
154 -
155 -Interwiki
156 -file = Interwiki/SpecialInterwiki.alias.php
157 -
158 -Interwiki list
159 -file = InterwikiList/InterwikiList.alias.php
160 -
161 -Invitations
162 -file = Invitations/Invitations.alias.php
163 -
164 -Liquid threads
165 -file = LiquidThreads/i18n/Lqt.alias.php
166 -
167 -Log entry
168 -file = LogEntry/LogEntry.alias.php
169 -
170 -Lookup user
171 -file = LookupUser/LookupUser.alias.php
172 -
173 -Maintenance
174 -file = Maintenance/Maintenance.alias.php
175 -
176 -Metavid Wiki
177 -file = MetavidWiki/languages/MV_Aliases.php
178 -
179 -Most revisors
180 -file = MostRevisors/MostRevisors.alias.php
181 -
182 -Multi upload
183 -file = MultiUpload/SpecialMultipleUpload.alias.php
184 -
185 -Newest pages
186 -file = NewestPages/NewestPages.alias.php
187 -
188 -News channel
189 -file = NewsChannel/NewsChannel.alias.php
190 -
191 -Nss MySQL authentication
192 -file = NssMySQLAuth/NssMySQLAuth.alias.php
193 -
194 -Nuke
195 -file = Nuke/SpecialNuke.alias.php
196 -
197 -OpenID
198 -file = OpenID/OpenID.alias.php
199 -
200 -Oversight
201 -file = Oversight/HideRevision.alias.php
202 -
203 -Password reset
204 -file = PasswordReset/PasswordReset.alias.php
205 -
206 -Patroller
207 -file = Patroller/Patroller.alias.php
208 -
209 -Piwik
210 -file = Piwik/Piwik.alias.php
211 -
212 -Player
213 -file = Player/Player.alias.php
214 -
215 -Plotters
216 -file = Plotters/Plotters.alias.php
217 -
218 -Profile monitor
219 -file = ProfileMonitor/ProfileMonitor.alias.php
220 -
221 -Purge cache
222 -file = PurgeCache/PurgeCache.alias.php
223 -
224 -POV watch
225 -file = PovWatch/PovWatch.alias.php
226 -
227 -Random in category
228 -file = RandomInCategory/SpecialRandomincategory.alias.php
229 -
230 -Reader Feedback
231 -file = ReaderFeedback/language/ReaderFeedback.alias.php
232 -
233 -Record admin
234 -file = RecordAdmin/RecordAdmin.alias.php
235 -
236 -Regex Block
237 -file = regexBlock/regexBlock.alias.php
238 -
239 -Refresh special
240 -file = RefreshSpecial/RefreshSpecial.alias.php
241 -
242 -Rename user
243 -file = Renameuser/SpecialRenameuser.alias.php
244 -
245 -Replace text
246 -file = ReplaceText/ReplaceText.alias.php
247 -
248 -Secure poll
249 -file = SecurePoll/SecurePoll.alias.php
250 -
251 -Semantic drilldown
252 -file = SemanticDrilldown/languages/SD_Aliases.php
253 -
254 -Semantic forms
255 -file = SemanticForms/languages/SF_Aliases.php
256 -
257 -Semantic MediaWiki
258 -file = SemanticMediaWiki/languages/SMW_Aliases.php
259 -
260 -Shared user rights
261 -file = SharedUserRights/SharedUserRights.alias.php
262 -
263 -Show processlist
264 -file = ShowProcesslist/ShowProcesslist.alias.php
265 -
266 -Sign document
267 -file = SignDocument/SignDocument.alias.php
268 -
269 -Site matrix
270 -file = SiteMatrix/SiteMatrix.alias.php
271 -
272 -Social profile
273 -file = SocialProfile/SocialProfile.alias.php
274 -
275 -Spam regex
276 -file = SpamRegex/SpamRegex.alias.php
277 -
278 -Special form
279 -file = SpecialForm/SpecialForm.alias.php
280 -
281 -Stale pages
282 -file = StalePages/StalePages.alias.php
283 -
284 -Template link
285 -file = TemplateLink/TemplateLink.alias.php
286 -
287 -Todo tasks
288 -file = TodoTasks/SpecialTaskList.alias.php
289 -
290 -Translate
291 -file = Translate/Translate.alias.php
292 -
293 -Uniwiki Create page
294 -file = uniwiki/CreatePage/CreatePage.alias.php
295 -
296 -Usability Initiative Opt in
297 -file = UsabilityInitiative/OptIn/OptIn.alias.php
298 -
299 -Usability Initiative Pref stats
300 -file = UsabilityInitiative/PrefStats/PrefStats.alias.php
301 -
302 -Usage statistics
303 -file = UsageStatistics/SpecialUserStats.alias.php
304 -
305 -User merge
306 -file = UserMerge/UserMerge.alias.php
307 -
308 -User option stats
309 -file = UserOptionStats/UserOptionStats.alias.php
310 -
311 -Vote
312 -file = Vote/Vote.alias.php
313 -
314 -Watchers
315 -file = Watchers/Watchers.alias.php
316 -
317 -Watch subpages
318 -file = WatchSubpages/WatchSubpages.alias.php
319 -
320 -Web Chat
321 -file = WebChat/WebChat.alias.php
322 -
323 -What is my IP
324 -file = WhatIsMyIP/WhatIsMyIP.alias.php
325 -
326 -White list
327 -file = WhiteList/WhiteListEdit.alias.php
328 -
329 -Who is watching
330 -file = WhoIsWatching/SpecialWhoIsWatching.alias.php
331 -
332 -Who is online
333 -file = WhosOnline/WhosOnline.alias.php
334 -
335 -Wiki At Home
336 -file = WikiAtHome/WikiAtHome.alias.php
Index: trunk/extensions/Translate/scripts/magic-export.php
@@ -0,0 +1,99 @@
 2+<?php
 3+/**
 4+ * Script to export special page aliases of extensions.
 5+ *
 6+ * @author Niklas Laxstrom
 7+ *
 8+ * @copyright Copyright © 2008-2009, Niklas Laxström
 9+ * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
 10+ * @file
 11+ */
 12+
 13+$optionsWithArgs = array( 'target', 'type' );
 14+require( dirname( __FILE__ ) . '/cli.inc' );
 15+
 16+function showUsage() {
 17+ STDERR( <<<EOT
 18+Magic exporter.
 19+
 20+Usage: php magic-export.php [options...]
 21+
 22+Options:
 23+ --target Target directory for exported files
 24+ --type magic or special
 25+EOT
 26+);
 27+ exit( 1 );
 28+}
 29+
 30+if ( isset( $options['help'] ) || $args === 1 ) {
 31+ showUsage();
 32+}
 33+
 34+if ( !isset( $options['target'] ) ) {
 35+ STDERR( "You need to specify target directory" );
 36+ exit( 1 );
 37+}
 38+
 39+if ( !is_writable( $options['target'] ) ) {
 40+ STDERR( "Target directory is not writable" );
 41+ exit( 1 );
 42+}
 43+
 44+if ( !isset( $options['type'] ) ) {
 45+ STDERR( "Type must be one of the following: special magic" );
 46+ exit( 1 );
 47+}
 48+
 49+
 50+$langs = Cli::parseLanguageCodes( '*' );
 51+$groups = MessageGroups::singleton()->getGroups();
 52+
 53+$type = $options['type'] ;
 54+
 55+foreach ( $groups as $group ) {
 56+ if ( !$group instanceof ExtensionMessageGroup ) continue;
 57+
 58+ if ( $type === 'special' ) {
 59+ $filename = $group->getAliasFile();
 60+ } else {
 61+ $filename = $group->getMagicFile();
 62+ }
 63+
 64+ if ( $filename === null ) continue;
 65+
 66+ $file = "$wgTranslateExtensionDirectory/$filename";
 67+ if ( !file_exists($file) ) continue;
 68+ $input = file_get_contents( $file );
 69+
 70+ $headerEnd = strpos( $input, "\n);\n" );
 71+
 72+ $output = substr( $input, 0, $headerEnd + 3 ) . "\n\n";
 73+
 74+ foreach ( $langs as $l ) {
 75+
 76+ switch ( $options['type'] ) {
 77+ case 'special':
 78+ $o = new SpecialPageAliasesCM( $l );
 79+ break;
 80+ case 'magic':
 81+ $o = new MagicWordsCM( $l );
 82+ break;
 83+ default:
 84+ STDERR( "Invalid type: must be one of: special, magic" );
 85+ exit( 1 );
 86+ }
 87+
 88+ $export = $o->export( $group->getId() );
 89+ if ( $export === '' ) continue;
 90+
 91+ # remove useles comment
 92+ $export = preg_replace( "~^# .*$\n~m", '', $export );
 93+
 94+ $output .= $export;
 95+
 96+ }
 97+
 98+ wfMkdirParents( dirname($options['target'] . "/$filename") );
 99+ file_put_contents( $options['target'] . "/$filename", trim( $output ) );
 100+}
Index: trunk/extensions/Translate/scripts/alias-export.php
@@ -16,7 +16,7 @@
1717 STDERR( <<<EOT
1818 Alias exporter.
1919
20 -Usage: php aliasexport.php [options...]
 20+Usage: php alias-export.php [options...]
2121
2222 Options:
2323 --target Target directory for exported files
@@ -46,35 +46,15 @@
4747
4848 $langs = Cli::parseLanguageCodes( $options['lang'] );
4949
 50+$groups = MessageGroups::singleton()->getGroups();
5051
51 -if ( !file_exists( TRANSLATE_ALIASFILE ) || !is_readable( TRANSLATE_ALIASFILE ) ) {
52 - STDERR( "Alias file not defined" );
53 - exit( 1 );
54 -}
 52+foreach ( $groups as $group ) {
 53+ if ( !$group instanceof ExtensionMessageGroup ) continue;
 54+ $file = $group->getAliasFile();
5555
56 -$defines = file_get_contents( TRANSLATE_ALIASFILE );
57 -$sections = preg_split( "/\n\n/", $defines, - 1, PREG_SPLIT_NO_EMPTY );
58 -
59 -foreach ( $sections as $section ) {
60 - $lines = array_map( 'trim', preg_split( "/\n/", $section ) );
61 - $name = '';
62 - foreach ( $lines as $line ) {
63 - if ( $line === '' ) continue;
64 - if ( strpos( $line, '=' ) === false ) {
65 - if ( $name === '' ) {
66 - $name = $line;
67 - } else {
68 - throw new MWException( "Trying to define name twice: " . $line );
69 - }
70 - } else {
71 - list( $key, $value ) = array_map( 'trim', explode( '=', $line, 2 ) );
72 - if ( $key === 'file' ) $file = $value;
73 - }
74 - }
75 -
76 - if ( $name !== '' ) {
 56+ if ( $file !== null ) {
7757 // Fake a group
78 - $group = new AliasMessageGroup( $name );
 58+ $group = new AliasMessageGroup( $group->getId() );
7959 $group->setMessageFile( $file );
8060 $group->setVariableName( 'aliases' );
8161 $writer = $group->getWriter();
Index: trunk/extensions/Translate/scripts/mwcore-export.php
@@ -72,7 +72,7 @@
7373 exit( 1 );
7474 }
7575
76 - $export = $o->export( 'MediaWiki Core' );
 76+ $export = $o->export( 'core' );
7777 if ( $export === '' ) continue;
7878
7979 $matches = array();
@@ -120,4 +120,4 @@
121121
122122 file_put_contents( $outFile, $data );
123123 }
124 -}
 124+}
\ No newline at end of file
Index: trunk/extensions/Translate/MessageGroups.php
@@ -312,6 +312,8 @@
313313 }
314314
315315 class ExtensionMessageGroup extends MessageGroupOld {
 316+ protected $magicFile, $aliasFile;
 317+
316318 /**
317319 * Name of the array where all messages are stored, if applicable.
318320 */
@@ -401,9 +403,21 @@
402404 return $checker;
403405 }
404406
 407+ public function getAliasFile() { return $this->aliasFile; }
 408+ public function setAliasFile( $file ) { $this->aliasFile = $file; }
 409+
 410+ public function getMagicFile() { return $this->magicFile; }
 411+ public function setMagicFile( $file ) { $this->magicFile = $file; }
 412+
405413 }
406414
407415 class AliasMessageGroup extends ExtensionMessageGroup {
 416+ protected $dataSource;
 417+
 418+ public function setDataSource( $page ) {
 419+ $this->dataSource = $page;
 420+ }
 421+
408422 public function initCollection( $code, $unique = false ) {
409423 $collection = parent::initCollection( $code, $unique );
410424
@@ -437,7 +451,7 @@
438452 }
439453
440454 public function fillContents( MessageCollection $collection ) {
441 - $data = TranslateUtils::getMessageContent( 'sp-translate-data-SpecialPageAliases', $collection->code );
 455+ $data = TranslateUtils::getMessageContent( $this->dataSource, $collection->code );
442456
443457 if ( !$data ) return;
444458
Index: trunk/extensions/Translate/groups/ComplexMessages.php
@@ -222,7 +222,7 @@
223223 $s = Xml::openElement( 'table', $this->tableAttributes );
224224
225225 foreach ( array_keys( $this->data ) as $group ) {
226 - $s .= $this->header( $group );
 226+ $s .= $this->header( $this->data[$group]['label'] );
227227
228228 foreach ( $this->getIterator( $group ) as $key ) {
229229 $rowContents = '';
@@ -395,7 +395,8 @@
396396 while ( strlen( $temp ) <= $padTo ) { $temp .= ' '; }
397397
398398 $from = self::LANG_CURRENT;
399 - if ( $this->firstMagic && !$data['code'] ) $from = self::LANG_CHAIN;
 399+ // Abuse of the firstMagic property, should use something proper
 400+ if ( $this->firstMagic ) $from = self::LANG_CHAIN;
400401
401402 // Check for translations
402403 $val = $this->val( $group, self::LANG_CURRENT, $key );
@@ -422,7 +423,7 @@
423424 }
424425
425426 if ( $out !== '' ) {
426 - $text = "# $group \n";
 427+ $text = "# {$data['label']} \n";
427428 $text .= "\$$var$extra = array(\n" . $out . ");\n\n";
428429 return $text;
429430 } else {
@@ -456,45 +457,32 @@
457458 protected $id = SpecialMagic::MODULE_SPECIAL;
458459 protected $databaseMsg = 'sp-translate-data-SpecialPageAliases';
459460 protected $chainable = true;
 461+ protected $groupFile = TRANSLATE_ALIASFILE;
460462
 463+
461464 public function __construct( $code ) {
462465 parent::__construct( $code );
463 - $this->data['MediaWiki Core'] = array(
 466+ $this->data['core'] = array(
 467+ 'label' => 'MediaWiki Core',
464468 'var' => 'specialPageAliases',
465469 'file' => Language::getMessagesFileName( '%CODE%' ),
466470 'code' => false,
467471 );
468472
469473 global $wgTranslateExtensionDirectory;
 474+ $groups = MessageGroups::singleton()->getGroups();
 475+ foreach( $groups as $g ) {
 476+ if ( !$g instanceof ExtensionMessageGroup ) continue;
 477+ $file = $g->getAliasFile();
 478+ if ( $file === null ) continue;
470479
471 - if ( !file_exists( TRANSLATE_ALIASFILE ) || !is_readable( TRANSLATE_ALIASFILE ) )
472 - return;
473 -
474 - $defines = file_get_contents( TRANSLATE_ALIASFILE );
475 - $sections = preg_split( "/\n\n/", $defines, - 1, PREG_SPLIT_NO_EMPTY );
476 -
477 - foreach ( $sections as $section ) {
478 - $lines = array_map( 'trim', preg_split( "/\n/", $section ) );
479 - $name = '';
480 - foreach ( $lines as $line ) {
481 - if ( $line === '' ) continue;
482 - if ( strpos( $line, '=' ) === false ) {
483 - if ( $name === '' ) {
484 - $name = $line;
485 - } else {
486 - throw new MWException( "Trying to define name twice: " . $line );
487 - }
488 - } else {
489 - list( $key, $value ) = array_map( 'trim', explode( '=', $line, 2 ) );
490 - if ( $key === 'file' ) $file = $value;
491 - }
492 - }
493 -
494 - if ( $name !== '' ) {
495 - $this->data[$name] = array(
496 - 'var' => 'aliases',
497 - 'file' => $wgTranslateExtensionDirectory . '/' . $file,
498 - 'code' => true,
 480+ $file = "$wgTranslateExtensionDirectory/$file";
 481+ if ( file_exists($file) ) {
 482+ $this->data[$g->getId()] = array(
 483+ 'label'=> $g->getLabel(),
 484+ 'var' => 'aliases',
 485+ 'file' => $file,
 486+ 'code' => $code,
499487 );
500488 }
501489 }
@@ -539,11 +527,30 @@
540528
541529 public function __construct( $code ) {
542530 parent::__construct( $code );
543 - $this->data['MediaWiki Core'] = array(
 531+ $this->data['core'] = array(
 532+ 'label'=> 'MediaWiki Core',
544533 'var' => 'magicWords',
545534 'file' => Language::getMessagesFileName( '%CODE%' ),
546535 'code' => false,
547536 );
 537+
 538+ global $wgTranslateExtensionDirectory;
 539+ $groups = MessageGroups::singleton()->getGroups();
 540+ foreach( $groups as $g ) {
 541+ if ( !$g instanceof ExtensionMessageGroup ) continue;
 542+ $file = $g->getMagicFile();
 543+ if ( $file === null ) continue;
 544+
 545+ $file = "$wgTranslateExtensionDirectory/$file";
 546+ if ( file_exists($file) ) {
 547+ $this->data[$g->getId()] = array(
 548+ 'label'=> $g->getLabel(),
 549+ 'var' => 'magicWords',
 550+ 'file' => $file,
 551+ 'code' => $code,
 552+ );
 553+ }
 554+ }
548555 }
549556
550557 public function highlight( $key, $values ) {
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -49,6 +49,8 @@
5050 case 'id':
5151 case 'descmsg':
5252 case 'desc':
 53+ case 'magicfile':
 54+ case 'aliasfile':
5355 $newgroup[$key] = $value;
5456 break;
5557 case 'optional':
@@ -125,7 +127,7 @@
126128 'url' => $url,
127129 );
128130
129 - $copyvars = array( 'ignored', 'optional', 'var', 'desc', 'prefix', 'mangle' );
 131+ $copyvars = array( 'ignored', 'optional', 'var', 'desc', 'prefix', 'mangle', 'magicfile', 'aliasfile' );
130132 foreach ( $copyvars as $var ) {
131133 if ( isset( $g[$var] ) ) {
132134 $newgroup[$var] = $g[$var];
@@ -197,7 +199,11 @@
198200 $group->setDescriptionMsg( $info['descmsg'], $info['url'] );
199201 }
200202
 203+ global $wgTranslateExtensionDirectory;
201204
 205+ if ( isset($info['aliasfile']) ) $group->setAliasFile( $info['aliasfile'] );
 206+ if ( isset($info['magicfile']) ) $group->setMagicFile( $info['magicfile'] );
 207+
202208 $group->setType( 'mediawiki' );
203209 return $group;
204210 }
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -6,11 +6,14 @@
77
88 Abuse Filter
99 optional = abusefilter-edit-builder-op-bool-xor
 10+aliasfile = AbuseFilter/AbuseFilter.alias.php
1011
1112 Admin Links
 13+aliasfile = AdminLinks/AdminLinks.alias.php
1214
1315 Advanced Random
1416 file = AdvancedRandom/SpecialAdvancedRandom.i18n.php
 17+aliasfile = AdvancedRandom/AdvancedRandom.alias.php
1518
1619 Ajax Login
1720
@@ -33,9 +36,11 @@
3437
3538 APC
3639 file = APC/ViewAPC.i18n.php
 40+aliasfile = APC/ViewAPC.alias.php
3741 descmsg = viewapc-desc
3842
3943 Asksql
 44+aliasfile = Asksql/Asksql.alias.php
4045
4146 Assert Edit
4247 descmsg = assert_edit_desc
@@ -61,6 +66,7 @@
6267 descmsg = backforth-desc
6368
6469 Bad Image
 70+aliasfile = BadImage/BadImage.alias.php
6571 descmsg = badimages-desc
6672
6773 Blahtex
@@ -77,8 +83,10 @@
7884 id = ext-breadcrumbs
7985
8086 Call
 87+aliasfile = Call/Call.alias.php
8188
8289 Category Intersection
 90+aliasfile = CategoryIntersection/CategoryIntersection.alias.php
8391
8492 Category On Upload
8593 optional = categoryonupload-none
@@ -87,6 +95,7 @@
8896 ignored = categorystepper
8997
9098 Category Tree
 99+aliasfile = CategoryTree/CategoryTree.alias.php
91100 ignored = categorytree-collapse-bullet, categorytree-expand-bullet,
92101 ignored = categorytree-empty-bullet,categorytree-page-bullet
93102 ignored = categorytree-member-num
@@ -98,21 +107,25 @@
99108 Category Watch
100109
101110 Central Auth
 111+aliasfile = CentralAuth/CentralAuth.alias.php
102112 optional = centralauth-editset-grouplink
103113
104114 Central Notice
105115
106116 Change Author
 117+aliasfile = ChangeAuthor/ChangeAuthor.alias.php
107118 optional = changeauthor-rev
108119 ignored = changeauthor-logpagetext, changeauthor-short
109120
110121 Char Insert
111122
112123 Check User
 124+aliasfile = CheckUser/CheckUser.alias.php
113125 ignored = checkuser-toollinks
114126
115127 Chemistry
116128 file = Chemistry/ChemFunctions.i18n.php
 129+aliasfile = Chemistry/Chemicalsources.alias.php
117130 descmsg = chemicalsource-desc
118131 optional = chemFunctions_SearchExplanation
119132 ignored = chemFunctions_EINECS, chemFunctions_CHEBI, chemFunctions_PubChem,
@@ -133,6 +146,7 @@
134147 Cite (special page)
135148 id = ext-citespecial
136149 file = Cite/SpecialCite.i18n.php
 150+aliasfile = Cite/SpecialCite.alias.php
137151 descmsg = cite_article_desc
138152 ignored = cite_text
139153
@@ -144,14 +158,17 @@
145159 Client Side
146160
147161 Close Wikis
 162+aliasfile = CloseWikis/CloseWikis.alias.php
148163 optional = closewikis-closed
149164
150165 Code Review
 166+aliasfile = CodeReview/CodeReview.alias.php
151167 descmsg = code-desc
152168
153169 Collection - Core
154170 id = ext-collection-core
155171 file = Collection/CollectionCore.i18n.php
 172+aliasfile = Collection/Collection.alias.php
156173 descmsg = coll-create_a_book
157174
158175 Collection - Other
@@ -166,8 +183,10 @@
167184 Comment Spammer
168185
169186 Community Voice
 187+aliasfile = CommunityVoice/CommunityVoice.alias.php
170188
171189 Configure
 190+aliasfile = Configure/Configure.alias.php
172191 optional = configure-section-html, configure-section-ajax
173192 optional = configure-section-djvu, configure-section-imagemagick
174193 optional = configure-section-interwiki, configure-section-memcached
@@ -180,10 +199,12 @@
181200 optional = configure-setting-desc
182201
183202 Confirm Account
 203+aliasfile = ConfirmAccount/ConfirmAccount.alias.php
184204 descmsg = confirmedit-desc
185205 optional = requestaccount-info, requestaccount-footer
186206
187207 Confirm Edit
 208+aliasfile = ConfirmEdit/ConfirmEdit.alias.php
188209 descmsg = captcha-desc
189210
190211 ConfirmEdit Fancy Captcha
@@ -197,30 +218,38 @@
198219 optional = questycaptcha-desc
199220
200221 Contact Page
 222+aliasfile = ContactPage/ContactPage.alias.php
201223
202224 Contribution Reporting
 225+aliasfile = ContributionReporting/ContributionReporting.alias.php
203226
204227 Contribution Scores
 228+aliasfile = ContributionScores/ContributionScores.alias.php
205229
206230 Contribution Tracking
 231+aliasfile = ContributionTracking/ContributionTracking.alias.php
207232
208233 Contributions Edit Count
209234 file = Contributionseditcount/Contributionseditcount.i18n.php
210235
211236 Contributors
 237+aliasfile = Contributors/Contributors.alias.php
212238
213239 Contributors Add-on
214240 id = ext-contributorsaddon
215241 file = ContributorsAddon/ContributorsAddon.i18n.php
216242
217243 Cooperation Statistics
 244+aliasfile = CooperationStatistics/CooperationStatistics.alias.php
218245 ignored = cooperationstatistics-users, cooperationstatistics-limit-few-revisors, cooperationstatistics-limit-many-revisors
219246
220247 Count Edits
 248+aliasfile = CountEdits/CountEdits.alias.php
221249
222250 Create Box
223251
224252 Cross Namespace Links
 253+aliasfile = CrossNamespaceLinks/SpecialCrossNamespaceLinks.alias.php
225254 file = CrossNamespaceLinks/SpecialCrossNamespaceLinks.i18n.php
226255
227256 Crosswiki Block
@@ -232,14 +261,17 @@
233262
234263 Data Transfer
235264 file = DataTransfer/languages/DT_Messages.php
 265+aliasfile = DataTransfer/languages/DT_Aliases.php
236266 descmsg = dt-desc
237267
238268 Delayed Definition
239269 descmsg = delaydef-desc
240270
241271 Delete Batch
 272+aliasfile = DeleteBatch/DeleteBatch.alias.php
242273
243274 Delete Queue
 275+aliasfile = DeleteQueue/DeleteQueue.alias.php
244276 optional = deletequeue-prod-reasons, deletequeue-speedy-reasons
245277
246278 Did You Mean
@@ -256,11 +288,13 @@
257289 file = DPLforum/DPLforum.i18n.php
258290
259291 Drafts
 292+aliasfile = Drafts/Drafts.alias.php
260293 ignored = accesskey-drafts-save
261294
262295 Duplicator
263296
264297 Edit Count
 298+aliasfile = Editcount/SpecialEditcount.alias.php
265299 file = Editcount/SpecialEditcount.i18n.php
266300
267301 Edit Messages
@@ -274,17 +308,21 @@
275309 Edit Subpages
276310
277311 Edit User
 312+aliasfile = EditUser/EditUser.alias.php
278313
279314 Email Address Image
280315
281316 Emergency DeSysop
 317+aliasfile = EmergencyDeSysop/EmergencyDeSysop.alias.php
282318
283319 Error Handler
284320
285321 Eval
286322 file = Eval/SpecialEval.i18n.php
 323+aliasfile = Eval/SpecialEval.alias.php
287324
288325 Expand Templates
 326+aliasfile = ExpandTemplates/ExpandTemplates.alias.php
289327
290328 Extension Distributor
291329 descmsg = extdist-desc
@@ -292,14 +330,21 @@
293331 External Data
294332
295333 Farmer
 334+aliasfile = Farmer/Farmer.alias.php
296335 optional = farmercreateurl
297336 ignored = farmerwikiurl, farmerinterwikiurl
298337
299338 FCK editor
300339
 340+Find Spam
 341+aliasfile = FindSpam/FindSpam.alias.php
 342+
 343+Fixed Image
 344+
301345 Flagged Revisions - Flagged Revs
302346 id = ext-flaggedrevs-flaggedrevs
303347 file = FlaggedRevs/language/FlaggedRevs.i18n.php
 348+aliasfile = FlaggedRevs/language/FlaggedRevs.alias.php
304349 optional = revreview-toggle, revreview-ak-review, accesskey-ca-current, accesskey-ca-stable
305350 descmsg = flaggedrevs-desc
306351
@@ -354,10 +399,6 @@
355400 file = FlaggedRevs/language/ValidationStatistics.i18n.php
356401 descmsg = validationstatistics
357402
358 -Find Spam
359 -
360 -Fixed Image
361 -
362403 Force Preview
363404
364405 Format Email
@@ -373,16 +414,20 @@
374415 Fundraiser Portal
375416
376417 Gadgets
 418+aliasfile = Gadgets/Gadgets.alias.php
377419 ignored = gadgets-definition
378420
379421 Get Family
380422
381423 Global Blocking
 424+aliasfile = GlobalBlocking/GlobalBlocking.alias.php
382425 ignored = globalblocking-expiry-options
383426
384427 Global Usage
 428+aliasfile = GlobalUsage/GlobalUsage.alias.php
385429
386430 Global User rights
 431+aliasfile = GlobalUserrights/GlobalUserrights.alias.php
387432 descmsg = gur-desc
388433
389434 Gnuplot
@@ -400,6 +445,7 @@
401446 Go To Category
402447
403448 Group Permissions Manager
 449+aliasfile = GroupPermissionsManager/GroupPermissionsManager.alias.php
404450 descmsg = grouppermissions-desc
405451 optional = grouppermissions-display
406452
@@ -411,6 +457,7 @@
412458 Parser i18n tags
413459 id = ext-i18ntags
414460 file = I18nTags/I18nTags.i18n.php
 461+magicfile = I18nTags/I18nTags.magic.php
415462
416463 Icon
417464
@@ -419,21 +466,26 @@
420467 optional = imagemap_desc_types
421468
422469 Image Tagging
 470+aliasfile = ImageTagging/ImageTagging.alias.php
423471
424472 Import Free Images
 473+aliasfile = ImportFreeImages/ImportFreeImages.alias.php
425474
426475 Import Users
427476 file = ImportUsers/SpecialImportUsers.i18n.php
 477+aliasfile = ImportUsers/SpecialImportUsers.alias.php
428478
429479 IM Status
430480
431481 Index Function
 482+aliasfile = IndexFunction/IndexFunction.alias.php
432483 descmsg = indexfunc-desc
433484 ignored = index-exclude-categories
434485
435486 Input Box
436487
437488 Inspect Cache
 489+aliasfile = InspectCache/InspectCache.alias.php
438490
439491 Intersection
440492 file = intersection/DynamicPageList.i18n.php
@@ -441,12 +493,15 @@
442494 Interwiki Edit Page
443495 id = ext-interwiki
444496 file = Interwiki/SpecialInterwiki.i18n.php
 497+aliasfile = Interwiki/SpecialInterwiki.alias.php
445498 optional = interwiki_defaulturl, interwiki_url
446499 ignored = interwiki_logentry
447500
448501 Interwiki List
 502+aliasfile = InterwikiList/InterwikiList.alias.php
449503
450504 Invitations
 505+aliasfile = Invitations/Invitations.alias.php
451506 ignored = invitations-uninvitedlist-item
452507
453508 JS Kit
@@ -464,6 +519,7 @@
465520
466521 Liquid Threads
467522 file = LiquidThreads/i18n/Lqt.i18n.php
 523+aliasfile = LiquidThreads/i18n/Lqt.alias.php
468524 descmsg = lqt-desc
469525 optional = lqt_rc_ellipsis
470526 ignored = lqt_header_warning_before_big
@@ -471,14 +527,17 @@
472528 Localisation Update
473529
474530 Log Entry
 531+aliasfile = LogEntry/LogEntry.alias.php
475532 descmsg = logentry-parserhook-desc
476533
477534 Lookup User
 535+aliasfile = LookupUser/LookupUser.alias.php
478536
479537 Lua
480538 descmsg = lua_desc
481539
482540 Maintenance
 541+aliasfile = Maintenance/Maintenance.alias.php
483542 ignored = maintenance-initEditCount, maintenance-runJobs, maintenance-showJobs
484543 ignored = maintenance-stats
485544
@@ -497,6 +556,7 @@
498557
499558 Metavid Wiki
500559 file = MetavidWiki/languages/MV_Messages.php
 560+aliasfile = MetavidWiki/languages/MV_Aliases.php
501561 descmsg = mv-desc
502562 optional = ao_file_64Kb_MPEG4, ao_file_256Kb_MPEG4, ao_file_MPEG1, ao_file_MPEG2
503563 optional = ao_file_flash_flv, ao_file_512Kb_MPEG4, ao_file_Ogg_Video
@@ -517,6 +577,7 @@
518578 Mini Preview
519579
520580 Most Revisors
 581+aliasfile = MostRevisors/MostRevisors.alias.php
521582 ignored = mostrevisors-limit-few-revisors
522583
523584 Multi Boilerplate
@@ -524,6 +585,7 @@
525586
526587 Multi Upload
527588 file = MultiUpload/SpecialMultipleUpload.i18n.php
 589+aliasfile = MultiUpload/SpecialMultipleUpload.alias.php
528590 descmsg = multipleupload-desc
529591
530592 MediaWiki Search
@@ -536,6 +598,7 @@
537599 optional = networkauth-name, networkauth-purltext
538600
539601 Newest Pages
 602+aliasfile = NewestPages/NewestPages.alias.php
540603
541604 News
542605 optional = newsextension-unknownformat, newsextension-feednotfound
@@ -547,6 +610,7 @@
548611 descmsg = newsextension-desc
549612
550613 News Channel
 614+aliasfile = NewsChannel/NewsChannel.alias.php
551615
552616 New User Message
553617 ignored = newusermessage-template, newusermessage-editor, newusermessage-substitute
@@ -558,10 +622,12 @@
559623 NS File Repo
560624
561625 Nss MySQL Auth
 626+aliasfile = NssMySQLAuth/NssMySQLAuth.alias.php
562627 descmsg = nss-desc
563628
564629 Nuke
565630 file = Nuke/SpecialNuke.i18n.php
 631+aliasfile = Nuke/SpecialNuke.alias.php
566632
567633 OAI-PMH repository
568634 id = ext-oai
@@ -579,6 +645,7 @@
580646 ignored = onlinestatus-levels
581647
582648 OpenID
 649+aliasfile = OpenID/OpenID.alias.php
583650 optional = prefs-openid, openid-urls-url
584651
585652 Open Search Xml
@@ -587,16 +654,19 @@
588655
589656 Oversight
590657 file = Oversight/HideRevision.i18n.php
 658+aliasfile = Oversight/HideRevision.alias.php
591659 descmsg = hiderevision-desc
592660
593661 Page By
594662
595663 Password Reset
 664+aliasfile = PasswordReset/PasswordReset.alias.php
596665
597666 Parser Functions
598667 descmsg = pfunc_desc
599668
600669 Patroller
 670+aliasfile = Patroller/Patroller.alias.php
601671 descmsg = patrol-desc
602672
603673 Pdf Handler
@@ -605,12 +675,15 @@
606676 Pipe Escape
607677
608678 Piwik
 679+aliasfile = Piwik/Piwik.alias.php
609680 optional = piwik
610681
611682 Player
 683+aliasfile = Player/Player.alias.php
612684 ignored = player-pagetext, player-imagepage-header
613685
614686 Plotters
 687+aliasfile = Plotters/Plotters.alias.php
615688
616689 PNG Handler
617690
@@ -625,11 +698,13 @@
626699
627700 POV Watch
628701 file = PovWatch/PovWatch.i18n.php
 702+aliasfile = PovWatch/PovWatch.alias.php
629703 descmsg = povwatch_desc
630704
631705 Preloader
632706
633707 Profile Monitor
 708+aliasfile = ProfileMonitor/ProfileMonitor.alias.php
634709 descmsg = profiling-desc
635710
636711 Proofread Page
@@ -644,6 +719,7 @@
645720 Purge
646721
647722 Purge Cache
 723+aliasfile = PurgeCache/PurgeCache.alias.php
648724
649725 Quiz
650726 descmsg = quiz_desc
@@ -652,6 +728,7 @@
653729
654730 Random in Category
655731 file = RandomInCategory/SpecialRandomincategory.i18n.php
 732+aliasfile = RandomInCategory/SpecialRandomincategory.alias.php
656733
657734 Random Root Page
658735 file = Randomrootpage/Randomrootpage.i18n.php
@@ -662,6 +739,7 @@
663740 Reader Feedback
664741 id = ext-readerfeedback-readerfeedback
665742 file = ReaderFeedback/language/ReaderFeedback.i18n.php
 743+aliasfile = ReaderFeedback/language/ReaderFeedback.alias.php
666744 descmsg = readerfeedback
667745
668746 Reader Feedback - Liked Pages
@@ -680,23 +758,28 @@
681759 descmsg = ratinghistory
682760
683761 Record Admin
 762+aliasfile = RecordAdmin/RecordAdmin.alias.php
684763 ignored = recordadmin-title
685764
686765 Redirect
687766 ignored = redirect-addnewaccount, redirect-userlogincomplete, redirect-userlogoutcomplete
688767
689768 Refresh Special
 769+aliasfile = RefreshSpecial/RefreshSpecial.alias.php
690770
691771 Regex Block
692772 file = regexBlock/regexBlock.i18n.php
 773+aliasfile = regexBlock/regexBlock.alias.php
693774
694775 RegexFunctions
695776
696777 Rename User
697778 file = Renameuser/SpecialRenameuser.i18n.php
 779+aliasfile = Renameuser/SpecialRenameuser.alias.php
698780 ignored = renameuser-summary
699781
700782 Replace Text
 783+aliasfile = ReplaceText/ReplaceText.alias.php
701784
702785 Review
703786
@@ -714,6 +797,7 @@
715798 Secure Passwords
716799
717800 Secure Poll
 801+aliasfile = SecurePoll/SecurePoll.alias.php
718802 optional = securepoll-header-ip, securepoll-header-xff, securepoll-header-token-match
719803 optional = securepoll-header-url, securepoll-header-id, securepoll-header-trans-id
720804 ignored = securepoll-custom-unqualified
@@ -724,9 +808,11 @@
725809
726810 Semantic Drilldown
727811 file = SemanticDrilldown/languages/SD_Messages.php
 812+aliasfile = SemanticDrilldown/languages/SD_Aliases.php
728813
729814 Semantic Forms
730815 file = SemanticForms/languages/SF_Messages.php
 816+aliasfile = SemanticForms/languages/SF_Aliases.php
731817
732818 Semantic Gallery
733819
@@ -736,6 +822,7 @@
737823
738824 Semantic MediaWiki
739825 file = SemanticMediaWiki/languages/SMW_Messages.php
 826+aliasfile = SemanticMediaWiki/languages/SMW_Aliases.php
740827 descmsg = smw-desc
741828 ignored = smw_ask_doculink, smw_service_online_maps, smw_uri_blacklist
742829 optional = smw_rss_link, smw_decseparator, smw_kiloseparator
@@ -751,11 +838,14 @@
752839 Semantic Tasks
753840
754841 Shared User Rights
 842+aliasfile = SharedUserRights/SharedUserRights.alias.php
755843 descmsg = gblrights-desc
756844
757845 Show Processlist
 846+aliasfile = ShowProcesslist/ShowProcesslist.alias.php
758847
759848 Sign Document
 849+aliasfile = SignDocument/SignDocument.alias.php
760850 descmsg = signature-desc
761851
762852 Sign Document Special Create
@@ -774,6 +864,7 @@
775865 descmsg = security-desc
776866
777867 Site Matrix
 868+aliasfile = SiteMatrix/SiteMatrix.alias.php
778869
779870 Skin Per Page
780871
@@ -786,6 +877,7 @@
787878 ignored = smoothgallery-pagetext
788879
789880 Social Profile - System Gifts
 881+aliasfile = SocialProfile/SocialProfile.alias.php
790882 id = ext-socialprofile-systemgifts
791883 file = SocialProfile/SystemGifts/SystemGift.i18n.php
792884 descmsg = systemgiftmanager
@@ -828,12 +920,14 @@
829921 Spam Diff Tool
830922
831923 Spam Regex
 924+aliasfile = SpamRegex/SpamRegex.alias.php
832925
833926 Special File List
834927 file = SpecialFileList/SpecialFilelist.i18n.php
835928 descmsg = filelist-desc
836929
837930 Special Form
 931+aliasfile = SpecialForm/SpecialForm.alias.php
838932 ignored = formtemplatepattern
839933 descmsg = form-desc
840934
@@ -848,6 +942,7 @@
849943 descmsg = spl3-desc
850944
851945 Stale Pages
 946+aliasfile = StalePages/StalePages.alias.php
852947
853948 String Functions
854949
@@ -867,6 +962,7 @@
868963 descmsg = tasks_desc
869964
870965 Template Link
 966+aliasfile = TemplateLink/TemplateLink.alias.php
871967 descmsg = templatelink_desc
872968
873969 Throttle
@@ -889,6 +985,7 @@
890986
891987 Todo Tasks
892988 file = TodoTasks/SpecialTaskList.i18n.php
 989+aliasfile = TodoTasks/SpecialTaskList.alias.php
893990 descmsg = tasklist-parser-desc
894991
895992 Tooltip
@@ -899,6 +996,7 @@
900997 id = ext-translate-core
901998 descmsg = translate-desc
902999 file = Translate/Translate.i18n.php
 1000+aliasfile = Translate/Translate.alias.php
9031001 optional = translate-page-paging-links, translate-languagestats-groups
9041002
9051003 Translate - Page Translation
@@ -932,6 +1030,7 @@
9331031 Uniwiki - Create Page
9341032 id = ext-uniwiki-createpage
9351033 file = uniwiki/CreatePage/CreatePage.i18n.php
 1034+aliasfile = uniwiki/CreatePage/CreatePage.alias.php
9361035 descmsg = createpage-desc
9371036
9381037 Uniwiki - Css Hooks
@@ -1003,6 +1102,7 @@
10041103 Usability Initiative - Opt In
10051104 id = ext-ui-optin
10061105 file = UsabilityInitiative/OptIn/OptIn.i18n.php
 1106+aliasfile = UsabilityInitiative/OptIn/OptIn.alias.php
10071107 descmsg = optin-desc
10081108 optional = optin-survey-answer-browser-ie5, optin-survey-answer-browser-ie6, optin-survey-answer-browser-ie7, optin-survey-answer-browser-ie8
10091109 optional = optin-survey-answer-browser-ff1, optin-survey-answer-browser-ff2, optin-survey-answer-browser-ff3, optin-survey-answer-browser-cb
@@ -1013,6 +1113,7 @@
10141114 Usability Initiative - Pref Stats
10151115 id = ext-ui-prefstats
10161116 file = UsabilityInitiative/PrefStats/PrefStats.i18n.php
 1117+aliasfile = UsabilityInitiative/PrefStats/PrefStats.alias.php
10171118 descmsg = prefstats-desc
10181119 ignored = prefstats-list-elem
10191120
@@ -1023,7 +1124,9 @@
10241125
10251126 Usage Statistics
10261127 file = UsageStatistics/SpecialUserStats.i18n.php
 1128+aliasfile = UsageStatistics/SpecialUserStats.alias.php
10271129
 1130+
10281131 User Contact Links
10291132 file = UserContactLinks/UserSignature.i18n.php
10301133 descmsg = usercontactlink-desc
@@ -1031,32 +1134,42 @@
10321135 User Images
10331136
10341137 User Merge
 1138+aliasfile = UserMerge/UserMerge.alias.php
10351139
10361140 User Option Stats
 1141+aliasfile = UserOptionStats/UserOptionStats.alias.php
10371142
10381143 User Rights Notification
10391144 id = ext-userrightsnotif
10401145 file = UserRightsNotif/UserRightsNotif.i18n.php
10411146
10421147 Vote
 1148+aliasfile = Vote/Vote.alias.php
10431149
10441150 Watchers
 1151+aliasfile = Watchers/Watchers.alias.php
10451152
10461153 Watch Subpages
 1154+aliasfile = WatchSubpages/WatchSubpages.alias.php
10471155
10481156 Web Chat
 1157+aliasfile = WebChat/WebChat.alias.php
10491158
10501159 Web Store
10511160
10521161 What Is My IP
 1162+aliasfile = WhatIsMyIP/WhatIsMyIP.alias.php
10531163
10541164 White List
10551165 file = WhiteList/WhiteListEdit.i18n.php
 1166+aliasfile = WhiteList/WhiteListEdit.alias.php
10561167
10571168 Whos Online
 1169+aliasfile = WhosOnline/WhosOnline.alias.php
10581170
10591171 Who Is Watching
10601172 file = WhoIsWatching/SpecialWhoIsWatching.i18n.php
 1173+aliasfile = WhoIsWatching/SpecialWhoIsWatching.alias.php
10611174
10621175 Widgets
10631176
@@ -1065,6 +1178,7 @@
10661179 Wiki At Home
10671180 descmsg = wah-desc
10681181 ignored = specialwikiathome
 1182+aliasfile = WikiAtHome/WikiAtHome.alias.php
10691183
10701184 Wikidata
10711185 descmsg = wikidata-desc
Index: trunk/extensions/Translate/Translate.php
@@ -194,7 +194,7 @@
195195 $wgHooks['LoadExtensionSchemaUpdates'][] = 'PageTranslationHooks::schemaUpdates';
196196
197197 // Do not activate hooks if not setup properly
198 - if ( !efTranslateCheckPT() ) {
 198+ if ( false && !efTranslateCheckPT() ) {
199199 $wgEnablePageTranslation = false;
200200 return true;
201201 }
@@ -310,4 +310,4 @@
311311 function STDERR() {}
312312 }
313313
314 -$wgTranslateTM = false;
\ No newline at end of file
 314+$wgTranslateTM = false;

Status & tagging log