diff --git a/modules/ve-mw/init/ve.init.mw.Target.js b/modules/ve-mw/init/ve.init.mw.Target.js index 7fca380122..ae0d76099b 100644 --- a/modules/ve-mw/init/ve.init.mw.Target.js +++ b/modules/ve-mw/init/ve.init.mw.Target.js @@ -1384,7 +1384,7 @@ ve.init.mw.Target.prototype.tryWithPreparedCacheKey = function ( doc, options, e } // This cache key is evidently bad, clear it target.clearPreparedCacheKey(); - if ( !isRetried ) { + if ( !isRetried && errorName === 'badcachekey' ) { // Try again without a cache key return ajaxRequest( null, true ); } else {