Deprecate WikiRevision::$importer
authoraddshore <addshorewiki@gmail.com>
Thu, 16 Mar 2017 10:18:59 +0000 (10:18 +0000)
committeraddshore <addshorewiki@gmail.com>
Tue, 21 Mar 2017 23:10:19 +0000 (23:10 +0000)
This was introduced in 9b3128eb2b654761f21fd4ca1d5a1a4b796dc912
but was not used there.
It also currently looks unused, even when grepping for possible
magic usages of 'importer' and "importer".

We could go ahead and just remove this now, as anything that wants
to set the $importer when the property is removed would still succeed.
But lets adhere to the deprecation policy here.

Change-Id: I5ac16dd87a95be6a3cdd4b16988d37d1d6104749

RELEASE-NOTES-1.29
includes/import/WikiRevision.php

index e2f74da..04f5578 100644 (file)
@@ -265,6 +265,7 @@ changes to languages because of Phabricator reports.
 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
 * WikiRevision::$fileIsTemp was deprecated.
 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
 * WikiRevision::$fileIsTemp was deprecated.
+* WikiRevision::$importer was deprecated.
 
 == Compatibility ==
 
 
 == Compatibility ==
 
index 1f577b6..4b76394 100644 (file)
  * @ingroup SpecialPage
  */
 class WikiRevision {
  * @ingroup SpecialPage
  */
 class WikiRevision {
-       /** @todo Unused? */
+
+       /**
+        * @since 1.17
+        * @deprecated in 1.29. Unused.
+        * @note Introduced in 9b3128eb2b654761f21fd4ca1d5a1a4b796dc912, unused there, unused now.
+        */
        public $importer = null;
 
        /** @var Title */
        public $importer = null;
 
        /** @var Title */