Go to file
vladshapik 71c4bd1f98 Adjust Parser related tests to DeprecationHelper
There is the patch(I4297aea3489bb66c98c664da2332584c27793bfa) which will
add DeprecationHelper trait to Parser class in order to deprecate public
Parser::mUser. DeprecationHelper trait has appropriate magic methods
which help to use dynamic properties. In order not to mock them via
createMock(), so getMockBuilder() and onlyMethods() was used.
onlyMethods() method helps to specify methods which need to be mocked.
Now we can use dynamic properties in Parser related tests of Cite
extension.

Bug: T285713
Change-Id: Ie75c9cd66d296ce7cf15432e2093817e18004443
2021-08-17 14:14:55 +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 Localisation updates from https://translatewiki.net. 2021-08-12 08:09:25 +02:00
modules Localisation updates from https://translatewiki.net. 2021-08-16 08:16:00 +02:00
src Merge "Refactor newline logic for auto-generated <references> sections" 2021-07-30 14:17:49 +00:00
tests Adjust Parser related tests to DeprecationHelper 2021-08-17 14:14:55 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-13 06:42:20 +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 Use json extension for .stylelintrc 2017-08-19 09:39:19 +02:00
AUTHORS.txt Fix expected remove data to match actual remove data exactly 2017-08-13 11:41:30 -04: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 mediawiki/mediawiki-codesniffer to 37.0.0 2021-07-22 12:34:32 +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 Finalize event platform migration 2021-02-25 08:52:18 +00:00
Gruntfile.js build: Remove 'grunt-svgmin' package 2021-05-17 17:51:41 -07:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package-lock.json selenium: Upgrade WebdriverIO to v7 2021-06-15 14:02:39 +02:00
package.json selenium: Upgrade WebdriverIO to v7 2021-06-15 14:02:39 +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.