Page MenuHomePhabricator

Deprecation warning from CentralNotice: OutputPage::parseInline
Closed, ResolvedPublic


We have two major versions of MediaWiki in which to clean this up, I believe?

Use of OutputPage::parseInline was deprecated in MediaWiki 1.33. [Called from SpecialCentralNoticeBanners::generateBannerEditForm in /X/mediawiki-extensions/CentralNotice/special/SpecialCentralNoticeBanners.php at line 546] in /X/mediawiki-core/includes/debug/MWDebug.php on line 309

Event Timeline

awight created this task.Jan 16 2019, 10:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 16 2019, 10:49 PM
Aklapper renamed this task from Deprecation warning from CentralNotice to Deprecation warning from CentralNotice: OutputPage::parseInline.Jan 17 2019, 10:23 AM

Turns out this is really annoying in a stock mediawiki-vagrant, it obscures the form:

The way I found to get my screen back and still develop while this is erroring is:
$wgDevelopmentWarnings = false;

awight removed a subscriber: awight.Mar 21 2019, 4:05 PM

Change 506044 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[mediawiki/extensions/CentralNotice@master] OutputPage::parseInline has been deprecated since 1.32

Change 506044 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] OutputPage::parseInline has been deprecated since 1.32

AndyRussG closed this task as Resolved.May 30 2019, 4:11 PM
AndyRussG claimed this task.