mediawiki-extensions-Visual.../modules/ve-mw
David Lynch efd2cc0d03 Give revision_id a fallback that'll validate
In the new-page case, wgRevisionId will be 0 so it'll try looking for
parentRevId and the cast-to-int on an undefined will get us NaN. That
fails validation, so we should give one last fallback to 0.

It's _possible_ that we could instead make this an explicit check for
using wgRevisionId if it's anything not-undefined, but I'm not certain
about whether there are cases that wouldn't cover.

Bug: T237063
Change-Id: I8a38c0f3b8f8b2b596f5d0933e1a9e7f1326d7be
2020-11-30 11:17:23 -06:00
..
ce build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
dm Merge "Allow alien extension node encapsulation wrappers to be of various types" 2020-11-05 00:55:37 +00:00
init Give revision_id a fallback that'll validate 2020-11-30 11:17:23 -06:00
preinit stylelint: Remove needless disables 2020-11-19 23:38:11 +00:00
tests Update reference paste test with "reference" class 2020-11-06 18:50:00 +01:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Merge "Don't block media dialog on initialising upload booklet" 2020-11-26 20:10:47 +00:00