ParserOptions: added comment regarding editsections usage.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 26 Feb 2015 21:35:18 +0000 (22:35 +0100)
committerDaniel Kinzler <daniel.kinzler@wikimedia.de>
Thu, 3 Sep 2015 11:58:27 +0000 (11:58 +0000)
commita86ad78b558f390fd5195f39dd544c51b6611f94
treed9c10ca85256d00b90bf6f04b302e5f61e3949f0
parent4b7ba45d0c20609fc376b081ae80810e8d6e88d4
ParserOptions: added comment regarding editsections usage.

// @note: as of Feb 2015, core never sets the editsection flag, since it uses
// <mw:editsection> tags to inject editsections on the fly. However, extensions
// may be using it by calling ParserOption::optionUsed resp. ParserOutput::registerOption
// directly. At least Wikibase does at this point in time.

Change-Id: Ief95ecb3ae1f5699b788dd3dad0eaf1aa6cc163c
includes/parser/ParserOptions.php