Go to file
Amir E. Aharoni adf113af86 Change a condition with == to something more precise
It can be both NULL and an empty string here.
Tests for both cases are added in the following patches:
Ia6c10419a7a92dac642db6ea21908927a5830b69
Ibb3bb1ab3450a34889dcd66b34542f2dd25fdc2b

Change-Id: Ia2b2b6545bb889de59a363a2c1d7569cbc971361
2016-02-24 20:56:12 +00:00
i18n Localisation updates from https://translatewiki.net. 2016-02-23 22:31:39 +01:00
modules Use span with css instead of strong for cite errors 2016-02-24 18:57:37 +00:00
.gitignore composer test entry point 2015-11-23 22:15:36 +01:00
.gitreview Adding .gitreview 2012-03-23 10:16:54 -07:00
.jscsrc build: Test JS code with jshint and jscs via npm 2015-11-18 16:54:55 -08:00
.jshintignore Update packages 2015-12-19 09:52:30 +00:00
.jshintrc VisualEditor: Bring in unit tests from VE 2016-02-05 13:41:43 -08:00
AUTHORS.txt VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
Cite.php Add extension.json, empty PHP entry point 2015-05-03 06:36:25 +00:00
Cite_body.php Change a condition with == to something more precise 2016-02-24 20:56:12 +00:00
CiteCSSFileModule.php VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
CiteDataModule.php Use inLanguage() in CiteDataModule 2016-02-23 17:57:45 -07:00
CiteHooks.php Store references in page_props and cache 2016-02-10 14:47:02 +01:00
citeParserTests.txt Use span with css instead of strong for cite errors 2016-02-24 18:57:37 +00:00
composer.json build: Updating development dependencies 2016-01-05 10:32:19 -08: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 Store references in page_props and cache 2016-02-10 14:47:02 +01:00
Gruntfile.js VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
MIT-LICENSE.txt VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
package.json build: Updating development dependencies 2015-12-29 11:15:53 -08:00
phpcs.xml Add php code sniffer 2015-12-16 13:11:00 +00:00
README.md Store references in page_props and cache 2016-02-10 14:47:02 +01:00
SpecialCite.php Add SpecialCite stub file for backwards-compatability 2015-05-25 15:01:42 +02: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.

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.
  • $wgCiteCacheReferencesDataOnParse: ($wgCiteStoreReferencesData required) By default, references are cached only on database access. If set to true, references are also cached whenever pages are parsed.