ContribsPage: bring back getContribs() method
authordaniel <dkinzler@wikimedia.org>
Thu, 29 Aug 2019 18:00:27 +0000 (20:00 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 29 Aug 2019 19:16:41 +0000 (19:16 +0000)
Follows-up 73664393f8da2ec.

Apparently the method still has callers. Hot fix (UBN).

Bug: T231540
Change-Id: I09ba81fc7ac4afe4c5cc54c3a589a54e31e9c419

includes/specials/pagers/ContribsPager.php

index d62951c..0134443 100644 (file)
@@ -439,6 +439,16 @@ class ContribsPager extends RangeChronologicalPager {
                return $this->tagFilter;
        }
 
+       /**
+        * @deprecated since 1.34, redundant.
+        *
+        * @return string "users"
+        */
+       public function getContribs() {
+               // Brought back for backwards compatibility, see T231540.
+               return 'users';
+       }
+
        /**
         * @return string
         */