MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/102463
Change subject: Fix fatal
......................................................................
Fix fatal
Change-Id: I53f61be86ae100ebf9e9faf44ab1dbecb5f595fc
---
M includes/specials/SpecialMobileContributions.php
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/63/102463/1
diff --git a/includes/specials/SpecialMobileContributions.php
b/includes/specials/SpecialMobileContributions.php
index 87edee6..ed25b3c 100644
--- a/includes/specials/SpecialMobileContributions.php
+++ b/includes/specials/SpecialMobileContributions.php
@@ -8,12 +8,13 @@
public function executeWhenAvailable( $par = '' ) {
wfProfileIn( __METHOD__ );
- $out = $this->getOutput();
if ( $par ) {
// enter article history view
$this->user = User::newFromName( $par );
- $this->renderHeaderBar( $this->msg(
'mobile-frontend-contribution-summary',
- $this->user->getName() ), true );
+ if ( $this->user ) {
+ $this->renderHeaderBar( $this->msg(
'mobile-frontend-contribution-summary',
+ $this->user->getName() ), true );
+ }
}
$res = $this->doQuery();
$this->showHistory( $res );
--
To view, visit https://gerrit.wikimedia.org/r/102463
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53f61be86ae100ebf9e9faf44ab1dbecb5f595fc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits