Index: includes/OutputPage.php =================================================================== --- includes/OutputPage.php (revision 81886) +++ includes/OutputPage.php (working copy) @@ -2495,6 +2495,12 @@ foreach ( $modules as $module ) { $timestamp = max( $timestamp, $module->getModifiedTime( $context ) ); } + // When the modules are empty, i.e. the wiki pages don't exist, skip doing the + // request in the first place + // FIXME: Need a cleaner interface for that + if( $timestamp === 1 ) { + continue; + } // Add a version parameter so cache will break when things change $query['version'] = wfTimestamp( TS_ISO_8601_BASIC, round( $timestamp, -2 ) ); }