Page MenuHomePhabricator

Remove Use of OutputPage::parserOptions in Extension\FundraiserLandingPage
Closed, DuplicatePublic

Event Timeline

jgleeson triaged this task as Unbreak Now! priority.
jgleeson moved this task from Backlog to In Progress on the Fundraising Tech - Chaos Crew board.

I was looking at this now, but it's hard to see how to do this properly. There's no replacement for addWikiTextAsInterface that also lets you set the page content to raw HTML.

Change #1131324 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/FundraiserLandingPage@master] Remove use of deprecated OutputPage::parserOptions()

https://gerrit.wikimedia.org/r/1131324

Change #1131329 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/FundraiserLandingPage@master] [WIP] Instead of calling deprecated parserOptions(), parse content ourselves

https://gerrit.wikimedia.org/r/1131329

Another option is to use a strip marker for the "raw html", which is the usual way to smuggle "known safe" HTML into the output.