[MediaWiki-commits] [Gerrit] mediawiki...WhoIsWatching[REL1_27]: replace parent::execute with something that makes more sense.

2017-09-08 Thread MarkAHershberger (Code Review)
MarkAHershberger has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376863 )

Change subject: replace parent::execute with something that makes more sense.
..

replace parent::execute with something that makes more sense.

Change-Id: I66d62ab412923fdf138a4071ed47b6ab7f4328c0
(cherry picked from commit c7a60277be51f3d7fbe12a2604a8141a515b4861)
---
M WhoIsWatching_body.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WhoIsWatching 
refs/changes/63/376863/1

diff --git a/WhoIsWatching_body.php b/WhoIsWatching_body.php
index a87e585..263998e 100644
--- a/WhoIsWatching_body.php
+++ b/WhoIsWatching_body.php
@@ -23,7 +23,9 @@
}
 
function execute( $par ) {
-   parent::execute( $par );
+   $this->setHeaders();
+   $this->checkPermissions();
+   $this->outputHeader();
 
if ( $this->getTargetPage( $par ) ) {
if ( $this->addWatchersForm() ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66d62ab412923fdf138a4071ed47b6ab7f4328c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WhoIsWatching
Gerrit-Branch: REL1_27
Gerrit-Owner: MarkAHershberger 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WhoIsWatching[REL1_27]: replace parent::execute with something that makes more sense.

2017-09-08 Thread MarkAHershberger (Code Review)
MarkAHershberger has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/376863 )

Change subject: replace parent::execute with something that makes more sense.
..


replace parent::execute with something that makes more sense.

Change-Id: I66d62ab412923fdf138a4071ed47b6ab7f4328c0
(cherry picked from commit c7a60277be51f3d7fbe12a2604a8141a515b4861)
---
M WhoIsWatching_body.php
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  MarkAHershberger: Verified; Looks good to me, approved



diff --git a/WhoIsWatching_body.php b/WhoIsWatching_body.php
index a87e585..263998e 100644
--- a/WhoIsWatching_body.php
+++ b/WhoIsWatching_body.php
@@ -23,7 +23,9 @@
}
 
function execute( $par ) {
-   parent::execute( $par );
+   $this->setHeaders();
+   $this->checkPermissions();
+   $this->outputHeader();
 
if ( $this->getTargetPage( $par ) ) {
if ( $this->addWatchersForm() ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I66d62ab412923fdf138a4071ed47b6ab7f4328c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WhoIsWatching
Gerrit-Branch: REL1_27
Gerrit-Owner: MarkAHershberger 
Gerrit-Reviewer: MarkAHershberger 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits