mediawiki-extensions-Visual.../modules/ve-mw
Thiemo Kreuz 50497ee7f3 Drop assumption that all template search index start at 1
The main advantage of this change is that it drops the assumption
that the index starts with 1. This is not necessarily the case when
we prepend extra search results. Dropping this assumption here allows
to simplify such code.

* The incoming list of pages is guaranteed to be an array.
* There is no point (any more) that could cause the array to become
  sparse.
* Note we still make a copy of the `origPages` array at some point,
  e.g. on `.filter()`.

Bug: T303524
Change-Id: Ifbd92bb052155c613d2ca21ab6d54a0b3ef28c0c
2022-04-21 11:23:48 +02:00
..
ce Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
dm Update VE core submodule to master (86de64d69) 2022-04-20 23:45:31 +01:00
init Merge "Simplify ve-mw/init/styles LESS files" 2022-04-08 22:37:10 +00:00
preinit DesktopArticleTarget.init: Wait for deactivating to finish before activating 2022-04-07 23:26:58 +02:00
tests Store copyright message in auto-save data 2022-04-07 23:03:37 +00:00
themes
ui Drop assumption that all template search index start at 1 2022-04-21 11:23:48 +02:00