mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
6a4a0fd013
… if possible. In most cases it's possible to use the real object, and reach into it's private parts via TestingAccessWrapper. This is almost the same as using a mock, but I feel it's much more "light-weight". The main change is that there is no strict assertion any more for the number of ReferenceStack::pushInvalidRef() calls. Before this was mixed into the same array as the valid references, as elements set to "false". I think the test is as valueable as before without this extra check. If the rollback stack works or not is already covered by other tests. Change-Id: I90213557b164b3e43233a3dc393ee3f3d3d556a9 |
||
---|---|---|
.phan | ||
i18n | ||
modules | ||
src | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AUTHORS.txt | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING.txt | ||
extension.json | ||
Gruntfile.js | ||
MIT-LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md |
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.