Use ternary

Change-Id: Ia803f27c86453fa03f76025c0e6f65bbeb9007b7
This commit is contained in:
Siebrand Mazeland 2016-03-07 15:26:57 +01:00
parent d6bc4712b6
commit cb068cd10c

View file

@ -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 ) {