Remove support for calling OutputPage::wrapWikiMsg() with an options parameter
authorReedy <reedy@wikimedia.org>
Sat, 11 May 2019 15:25:26 +0000 (16:25 +0100)
committerJames D. Forrester <jforrester@wikimedia.org>
Fri, 21 Jun 2019 20:45:11 +0000 (13:45 -0700)
Bug: T220656
Change-Id: If9103eb702f3879172d6e860d974603b7b32d6f5

RELEASE-NOTES-1.34
includes/OutputPage.php

index dd8377a..f3baa52 100644 (file)
@@ -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 ===
index 6c49696..b8cbff1 100644 (file)
@@ -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;