From cb068cd10ce0f46030e061b8d0873c129d7afe65 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 7 Mar 2016 15:26:57 +0100 Subject: [PATCH] Use ternary Change-Id: Ia803f27c86453fa03f76025c0e6f65bbeb9007b7 --- Interwiki_body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interwiki_body.php b/Interwiki_body.php index 36f16e65..5b74d257 100644 --- a/Interwiki_body.php +++ b/Interwiki_body.php @@ -44,7 +44,7 @@ class SpecialInterwiki extends SpecialPage { $out->addModules( 'ext.interwiki.specialpage' ); - $action = $par ? $par : $request->getVal( 'action', $par ); + $action = $par ?: $request->getVal( 'action', $par ); $return = $this->getPageTitle(); switch ( $action ) {