Closed edg2s closed 4 years ago
I'm not sure this is the best name for this rule. Suggestions welcome.
Tested this on mw-core and found lots of things to fix: https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/540965/
Will need a couple of inline exceptions, mostly for plain arrays of jQuery collections
(e.g. list[5] = $div
)
Given an assignment:
if the RHS is determined to return a jQuery collection, and the LHS doesn't match the
variablePattern
defined in settings, then an error can be thrown.