mediawiki-extensions-Visual.../modules
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
..
ve-mw Give revision_id a fallback that'll validate 2020-11-30 11:17:23 -06:00
ve-mw-collab build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00