Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95358


Change subject: Exclude override to make method public from checks
......................................................................

Exclude override to make method public from checks

Change-Id: I66df2efa5900c5a192ae88217e736b7fc7335dcd
---
M includes/actions/HistoryAction.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/58/95358/1

diff --git a/includes/actions/HistoryAction.php 
b/includes/actions/HistoryAction.php
index e6f22e4..52fba4f 100644
--- a/includes/actions/HistoryAction.php
+++ b/includes/actions/HistoryAction.php
@@ -883,9 +883,11 @@
  * Backwards-compatibility alias
  */
 class HistoryPage extends HistoryAction {
-       public function __construct( Page $article ) { # Just to make it public
+       // @codingStandardsIgnoreStart Needed "useless" override to make it 
public.
+       public function __construct( Page $article ) {
                parent::__construct( $article );
        }
+       // @codingStandardsIgnoreEnd
 
        public function history() {
                $this->onView();

-- 
To view, visit https://gerrit.wikimedia.org/r/95358
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66df2efa5900c5a192ae88217e736b7fc7335dcd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to