Go to file
thiemowmde 6a18eac513 Fix regular expressions not being case-insensitive
The "parser marker" placeholders are case-sensitive, e.g. for a tag
that's written like <rEf> the placeholder will also say …-rEf-…. This
was really just a mistake.

The error is as old as this code is. Added in commit 75004e33 in
2009.

Note we shouldn't use /i at the end because the marker itself should
not be case-insensitive. Only the tag name.

Instead of adding more (slow) test cases I update two that are
exactly about this part of Cite (nested tags) anyway.

Bug: T64335
Change-Id: I44c7a42a0da682a1082952fd1af817bf7d45378c
2023-12-11 19:21:12 +01:00
.phan build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 2019-05-19 11:26:43 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-12-11 10:42:48 +01:00
modules Drop unused …_suffix and …_key_with_num messages 2023-12-08 09:26:05 +01:00
src Fix regular expressions not being case-insensitive 2023-12-11 19:21:12 +01:00
tests Fix regular expressions not being case-insensitive 2023-12-11 19:21:12 +01:00
.eslintrc.json Convert Cite extention to ES6 2023-08-23 12:39:29 +00:00
.gitignore Selenium: Add selenium logs to .gitignore 2020-10-20 14:19:24 -04:00
.gitreview Whoops, track not trace 2016-10-24 17:02:15 -07:00
.phpcs.xml Improve function and property documentation 2021-01-16 13:44:19 +01:00
.stylelintrc.json build: Update stylelint config 2023-05-30 20:18:01 +00:00
AUTHORS.txt Move Cite-specific settings from WikiEditor 2023-06-28 20:22:14 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-02 23:29:58 +00:00
composer.json build: Updating dependencies 2023-04-29 00:59:28 +00:00
COPYING.txt Add license details and give credit to more authors (based on git shortlog) 2014-07-26 16:16:47 -07:00
extension.json Update UserOptionsLookup's FQN 2023-11-29 12:38:22 +00:00
Gruntfile.js Move eslint client config to modules, fix warnings 2021-11-03 16:38:31 +00:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package-lock.json [build] Bump wdio-mediawiki to v2.3.0 2023-09-22 16:01:56 +00:00
package.json [build] Bump wdio-mediawiki to v2.3.0 2023-09-22 16:01:56 +00:00
README.md Remove ApiQueryReferences support 2019-11-28 11:08:46 +01:00

Cite

The Cite extension provides a way for users to create references as footnotes to articles.

See https://www.mediawiki.org/wiki/Extension:Cite for detailed documentation.