Go to file
thiemowmde 5aa6cb0c7b Replace extremely slow parser test with fast unit tests
This parser test is a bit obscure, in my opinion. We added it in
I8c4de96 to make sure we don't get thousand separators in most
places.

We continued reworking the code since then. By now it's effectively
impossible to "accidentally" get thousand separators. The
problematic methods from the Language class are not even accessible
any more from this code.

To make the tests more robust we now use createNoOpMock (done via
the previous patch) where it matters, specifically for all Language
and Parser mocks. This proves the problematic Language methods are
never called.

Bug: T253743
Bug: T238187
Change-Id: I9bfe1f4decfaf699996da63e19473c2c0d581d9d
2023-07-28 00:32:38 +00: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 Revert "Localisation updates from https://translatewiki.net." 2023-07-27 09:50:58 +00:00
modules Localisation updates from https://translatewiki.net. 2023-07-24 09:36:47 +02:00
src Merge "Remove (revert) expensive parsing of 1-character message" 2023-07-25 20:29:47 +00:00
tests Replace extremely slow parser test with fast unit tests 2023-07-28 00:32:38 +00:00
.eslintrc.json build: Updating dependencies 2022-02-06 07:44:34 +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 Rename ext.cite.style.css to ext.cite.parsoid.styles.css 2023-07-13 11:31:41 -05: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: Updating npm dependencies 2023-05-30 19:12:10 +02:00
package.json build: Updating npm dependencies 2023-05-30 19:12:10 +02: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.