Page MenuHomePhabricator

parseWikitextFragment() expects exactly 3 parameters, 2 given in ApiVisualEditor
Closed, ResolvedPublic1 Estimated Story PointsPRODUCTION ERROR

Description

Spotted in production:

Warning: parseWikitextFragment() expects exactly 3 parameters, 2 given in /srv/mediawiki/php-1.31.0-wmf.20/extensions/VisualEditor/ApiVisualEditor.php on line 135

Event Timeline

demon triaged this task as Medium priority.Feb 9 2018, 2:55 PM
demon created this task.

@Esanders: It's duelling patches. Your https://gerrit.wikimedia.org/r/406770 merged at the end of January, but was originally written before I added getPreloadContent, so it didn't update the call to parseWikitextFragment in it. I can throw up a quick patch to update said call.

Change 409439 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/VisualEditor@master] ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call

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

Change 409439 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call

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

Change 409630 had a related patch set uploaded (by Jforrester; owner: DLynch):
[mediawiki/extensions/VisualEditor@wmf/1.31.0-wmf.20] ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call

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

Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.

Change 409630 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@wmf/1.31.0-wmf.20] ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call

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

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM