From: Kosta Harlan Date: Fri, 4 Jan 2019 02:37:21 +0000 (-0500) Subject: DeletedContribsPager: Add getters for properties accessed by Flow X-Git-Tag: 1.34.0-rc.0~3141^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=3215cd2cfae9b81de7b83904c76cb94c87cc28e1;p=lhc%2Fweb%2Fwiklou.git DeletedContribsPager: Add getters for properties accessed by Flow Bug: T212771 Follows-Up: I35dad85740cae47877e9eb62d179b1412099aad1 Change-Id: I9d324217cacc2d731945975b7066d4c17bd915fb --- diff --git a/includes/specials/pagers/DeletedContribsPager.php b/includes/specials/pagers/DeletedContribsPager.php index 7a8f2974ab..fa0fbf3520 100644 --- a/includes/specials/pagers/DeletedContribsPager.php +++ b/includes/specials/pagers/DeletedContribsPager.php @@ -29,10 +29,29 @@ use Wikimedia\Rdbms\FakeResultWrapper; class DeletedContribsPager extends IndexPager { + /** + * @var bool Default direction for pager + */ public $mDefaultDirection = IndexPager::DIR_DESCENDING; + + /** + * @var string[] Local cache for escaped messages + */ public $messages; + + /** + * @var string User name, or a string describing an IP address range + */ public $target; + + /** + * @var string|int A single namespace number, or an empty string for all namespaces + */ public $namespace = ''; + + /** + * @var \Wikimedia\Rdbms\Database + */ public $mDb; /** @@ -139,6 +158,20 @@ class DeletedContribsPager extends IndexPager { return 'ar_timestamp'; } + /** + * @return string + */ + public function getTarget() { + return $this->target; + } + + /** + * @return int|string + */ + public function getNamespace() { + return $this->namespace; + } + protected function getStartBody() { return "