diff --git a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js index 4f8c0af72f..2a8d4a7b40 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js @@ -460,7 +460,7 @@ ve.init.mw.ArticleTarget.prototype.parseMetadata = function ( response ) { // the request that gave us the lower revid this.loading = null; // HACK: Load with explicit revid to hopefully prevent this from happening again - this.requestedRevId = Math.max( docRevId, this.revid ); + this.requestedRevId = Math.max( docRevId || 0, this.revid ); this.load(); } return false;