no longer triggers unexpectedly on delete, history etc.
* (bug 15641) Fixed positioning of permissions checks in Special:Import which
allowed users without the 'import' permission to import pages if they directly
submitted the form.
+* (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
+ no longer triggers unexpectedly on delete, history etc.
=== API changes in 1.18 ===
* (bug 26339) Throw warning when truncating an overlarge API result
if (
$this->getTitle()->getNamespace() != NS_SPECIAL &&
- !in_array( $action, array( 'edit', 'submit' ) ) &&
+ in_array( $action, array( 'view', 'purge' ) ) &&
$wgUser->getOption( 'editondblclick' )
)
{