mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-24 22:35:43 +00:00
Use ternary
Change-Id: Ia803f27c86453fa03f76025c0e6f65bbeb9007b7
This commit is contained in:
parent
d6bc4712b6
commit
cb068cd10c
|
@ -44,7 +44,7 @@ class SpecialInterwiki extends SpecialPage {
|
||||||
|
|
||||||
$out->addModules( 'ext.interwiki.specialpage' );
|
$out->addModules( 'ext.interwiki.specialpage' );
|
||||||
|
|
||||||
$action = $par ? $par : $request->getVal( 'action', $par );
|
$action = $par ?: $request->getVal( 'action', $par );
|
||||||
$return = $this->getPageTitle();
|
$return = $this->getPageTitle();
|
||||||
|
|
||||||
switch ( $action ) {
|
switch ( $action ) {
|
||||||
|
|
Loading…
Reference in a new issue