r96659 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96658‎ | r96659 | r96660 >
Date:12:49, 9 September 2011
Author:robin
Status:ok
Tags:
Comment:
Replace localisation cache check removed in r91432 with another check
Modified paths:
  • /trunk/phase3/includes/LocalisationCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LocalisationCache.php
@@ -645,6 +645,11 @@
646646 # Run hooks
647647 wfRunHooks( 'LocalisationCacheRecache', array( $this, $code, &$allData ) );
648648
 649+ if ( is_null( $allData['namespaceNames'] ) ) {
 650+ throw new MWException( __METHOD__.': Localisation data failed sanity check! ' .
 651+ 'Check that your languages/messages/MessagesEn.php file is intact.' );
 652+ }
 653+
649654 # Set the preload key
650655 $allData['preload'] = $this->buildPreload( $allData );
651656

Follow-up revisions

RevisionCommit summaryAuthorDate
r96849REL1_18: r96509, r96522, r96606, r96643, r96645, r96655, r96659, r96687, r967......reedy15:03, 12 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91432(see bug 29712) Removing the defaultUserOptionOverrides in MessagesXx.php bec...robin01:26, 5 July 2011

Status & tagging log