Manual:$wgParser/ja

説明
Use MediaWikiServices::getInstance->getParser instead (T160811).

The Parser object is responsible for parsing the tags and wikitext contained in wiki pages. Parser extensions hooks are also registered in the Parser object.

Mode of Operation
は、 で以下のコードで呼び出されます:

StubObject は  で定義されています.

wgParserConf は、 で以下のコードで定義されています:

Replacement
New code should use dependency injection instead. The parser is now available in the service locator under the  service. Existing code that has not yet been changed to use dependency injection can call the service locator directly: