Not sure why watch was marked as deprecated, but unwatch wasn't... Marking unwatch...
authorSam Reed <reedy@users.mediawiki.org>
Sat, 9 Oct 2010 13:59:15 +0000 (13:59 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 9 Oct 2010 13:59:15 +0000 (13:59 +0000)
includes/api/ApiDelete.php

index 714b358..bfae025 100644 (file)
@@ -228,7 +228,10 @@ class ApiDelete extends ApiBase {
                                        'nochange'
                                ),
                        ),
-                       'unwatch' => false,
+                       'unwatch' => array(
+                               ApiBase::PARAM_DFLT => false,
+                               ApiBase::PARAM_DEPRECATED => true,
+                       ),
                        'oldimage' => null
                );
        }