Page MenuHomePhabricator

Replace direct constructor of Parser with calls to ParserFactory in extensions
Open, MediumPublic

Description

Instantiating Parser objects directly is deprecated, the constructor is marked @internal. Extensions that call the constructor directly should be changed to use the ParserFactory service instead.

Extensions found via codesearch:

  • DonationInterface (false positive)
  • mediawiki-UserSnoop
  • ApprovedRevs
  • BlueSpiceBookshelf
  • CommentStreams
  • Expressions
  • MathSearch
  • RegexFun (false positive)
  • S5SlideShow
  • ParserHooks (only for MW < 1.32, i.e. if ParserFactory doesn't exist)
  • SemanticFormsSelect
  • SemanticInterlanguageLinks
  • SemanticMediaWiki
  • Tweeki

Extensions not maintained/used/released by Wikimedia can be ignored.