From: Reedy Date: Sat, 11 May 2019 15:25:26 +0000 (+0100) Subject: Remove support for calling OutputPage::wrapWikiMsg() with an options parameter X-Git-Tag: 1.34.0-rc.0~1305^2~1 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=65b8992f7cdbbc77bf0478d82a96b481f29f02ff;p=lhc%2Fweb%2Fwiklou.git Remove support for calling OutputPage::wrapWikiMsg() with an options parameter Bug: T220656 Change-Id: If9103eb702f3879172d6e860d974603b7b32d6f5 --- diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index dd8377afba..f3baa52a95 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -227,6 +227,8 @@ because of Phabricator reports. * The global function wfBCP47, deprecated in 1.31, has been removed. * wfCountDown() function, deprecated in 1.31, has been removed. Use \Maintenance::countDown() method instead. +* OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was + deprecated since 1.20. * … === Deprecations in 1.34 === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 6c49696a2b..b8cbff1da2 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3992,13 +3992,6 @@ class OutputPage extends ContextSource { if ( is_array( $spec ) ) { $args = $spec; $name = array_shift( $args ); - if ( isset( $args['options'] ) ) { - unset( $args['options'] ); - wfDeprecated( - 'Adding "options" to ' . __METHOD__ . ' is no longer supported', - '1.20' - ); - } } else { $args = []; $name = $spec;