Go to file
Thiemo Kreuz 826f5f6ffb Modernize ImageMap implementation a bit
Notable:
* Use strict === for string comparisons.
* Use ?? instead of isset(), where it makes sense.
* Avoid expensive recursiveTagParse() with empty strings.
* Add strict Parser type hint. Note this would have failed anyway
  because the code below just assumes this is a Parser.
* Use the actual $lineNum from the loop instead of manually counting.
  Note the loop is 0-based, while $lineNum is meant to be 1-based.
  Therefor the ++.

Change-Id: I907b6c9ce3eef404dc7f048c14c4707dd1d0d98a
2020-05-20 08:48:52 +02:00
.phan Upgrade ImageMap extension to use newer phan 2019-03-11 19:46:47 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-04-20 08:41:50 +02:00
includes Modernize ImageMap implementation a bit 2020-05-20 08:48:52 +02:00
resources Move images in resources directory 2019-03-02 22:06:50 +01:00
tests/parser Update parserTests to v2 (tidy by default) 2020-04-01 20:09:52 +00:00
.eslintrc.json build: Install eslint 2019-05-06 16:18:51 -07:00
.gitignore build: Install eslint 2019-05-06 16:18:51 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:02:44 -07:00
.phpcs.xml build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-11 10:21:44 -07:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 13:29:02 +00:00
composer.json build: Updating dependencies 2020-04-22 12:35:59 +00:00
COPYING Add COPYING 2014-01-16 02:34:30 +00:00
extension.json Convert to manifest_version 2 2020-05-12 00:02:53 +01:00
Gruntfile.js build: Updating npm dependencies 2020-01-09 15:09:19 +00:00
package-lock.json build: Updating dependencies 2020-04-22 12:35:59 +00:00
package.json build: Updating dependencies 2020-04-22 12:35:59 +00:00