Remove meaningless default action name
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Mon, 27 Oct 2014 14:35:41 +0000 (15:35 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Mon, 27 Oct 2014 14:41:53 +0000 (15:41 +0100)
commita9cd3f449ed642251ec7aa92e2fffef575b5ce62
tree0d935fe93334e45f3b5edf9a049e43c678d95d13
parent71486e132657a7b18d26bada290eebfca1833175
Remove meaningless default action name

Before: Get the value of the action=... parameter. If it's undefined
return 'view'. Check if 'view' equals 'ajax'.

After: Get the value of the action=... parameter. If it's undefined
return null. Check if null equals 'ajax'.

Same for both places. The default value 'view' is never used.

Change-Id: I56656218cfb895bffe886919c67ebf3b79d91515
includes/MediaWiki.php