Nikerabbit has uploaded a new change for review.
https://gerrit.wikimedia.org/r/51840
Change subject: Avoid fatal error for unknown groups with tux
......................................................................
Avoid fatal error for unknown groups with tux
Bug: 44162
Change-Id: Ibb603d147716aca6274d3061290b3770a3723daf
---
M specials/SpecialTranslate.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate
refs/changes/40/51840/1
diff --git a/specials/SpecialTranslate.php b/specials/SpecialTranslate.php
index 2631d15..497ee32 100644
--- a/specials/SpecialTranslate.php
+++ b/specials/SpecialTranslate.php
@@ -57,14 +57,14 @@
}
$this->setup( $parameters );
+ $isBeta = self::isBeta( $request );
- if ( $this->options['group'] === '' ) {
+ if ( $this->options['group'] === '' || ( $isBeta &&
!$this->group ) ) {
$this->groupInformation();
return;
}
$errors = $this->getFormErrors();
- $isBeta = self::isBeta( $request );
if ( $isBeta ) {
$out->addHTML( Html::openElement( 'div', array(
--
To view, visit https://gerrit.wikimedia.org/r/51840
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb603d147716aca6274d3061290b3770a3723daf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits