mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
b10dd4ec27
The use case we care about is this: <ref extends="some_book"> </ref> It doesn't make sense that works, but the following doesn't: <ref extends="some_book"></ref> We decided that both need to behave the same. For consistency this patch is applying the same change to all references, no matter if they use the extends attribute or not. This is an actual change and might make existing wikitext render differently. However, I would like to argue that all wikitext that was using this was broken. The effect of a <ref> </ref> with some whitespace is that the <references> section at the end of the article will contain – well – an empty footnote. Bug: T237241 Change-Id: Iaee35583eabcb416b0a06849b89ebbfb0fb7fef9 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
modules | ||
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.
Configuration
$wgCiteStoreReferencesData
: If set to true, references are saved in the database so that other extensions can retrieve them independently of the main article content.$wgCiteCacheRawReferencesOnParse
: ($wgCiteStoreReferencesData
required) By default, references are cached only on database access. If set to true, references are also cached whenever pages are parsed.