commit | fc48a763e0af30a02a82eabdde62673d711d7164 | [log] [tgz] |
---|---|---|
author | Antoine Musso <hashar@free.fr> | Fri Oct 14 23:40:54 2016 +0200 |
committer | Antoine Musso <hashar@free.fr> | Fri Feb 17 20:24:41 2017 +0100 |
tree | c719f17cd58d9dd30db755c80f817869a7dd4f05 | |
parent | 90128c2d784067e0512f2a9e48cf32b283e228b3 [diff] |
Skip registering RL modules depending on VisualEditor When VisualEditor is not installed, there is no point in registered resource loader modules that depends on it. A use case is trying to run tests for the MediaWiki tarball. It comes with Cite but without VisualEditor. The patch is based on GuidedTour patch by Matthew Flaschen https://gerrit.wikimedia.org/r/#/c/305691/ for T143297 Remove the message "cite-ve-othergroup-item" which got introduced in REL1_28 by 724d890 and is not in REL1_27. Adjust base directory for REL1_27 since CiteHooks.php is at the root when REL1_28 had it moved under includes/Cite.hooks.php Change-Id: Idf769e0149f93c099a94b1b7a6cb203273dab881 (cherry picked from commit 5fcecf9e5f18a355327a883ecd745b9255f21173)
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.
$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.