Page MenuHomePhabricator

Is zordius/lightncandy used by MW core?
Closed, InvalidPublic

Description

Related to T1283, is it used by MW core, or only by Flow and extensions?

If it's not used by core... https://gerrit.wikimedia.org/r/#/c/185334/ should be reverted, and we should stop shipping it in MW tarballs. It obviously needs to stay in the Vendor repo used by WMF

Event Timeline

Reedy created this task.Oct 15 2016, 5:03 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 15 2016, 5:03 PM
Reedy closed this task as Invalid.Oct 15 2016, 5:04 PM

Oh, I'm being dumb, it's in core in TemplateParser

		return LightnCandy::compile(
			$code,
			[
				// Do not add more flags here without discussion.
				// If you do add more flags, be sure to update unit tests as well.
				'flags' => LightnCandy::FLAG_ERROR_EXCEPTION,
				'basedir' => $this->templateDir,
				'fileext' => '.mustache',
			]
		);