[04:54:36] OK WTF is up with the reject params in mw.Api [04:55:27] Hm I think I found the historical explanation at least [04:55:39] https://gerrit.wikimedia.org/r/#/c/280217/ changed some reject calls but not all of them [04:55:58] Some look like apiDeferred.reject( code, result, result, jqXHR ); [04:56:19] Others look like apiDeferred.reject( 'http', { xhr: xhr, textStatus: textStatus, exception: exception } ); [04:57:11] Oh and return $.Deferred().reject( 'token-missing', res ); in getToken, which is inconsistent with both [04:57:12] * RoanKattouw files a task [05:11:51] T176704 [05:11:53] T176704: mediawiki.api does not use consistent reject parameters - https://phabricator.wikimedia.org/T176704 [17:19:45] AaronSchulz: Heya, https://logstash.wikimedia.org/goto/3da9f7e6018d8ebcbede246e5656d807 [17:19:59] MWException from line 145 of /srv/mediawiki/php-1.30.0-wmf.19/includes/filerepo/file/ArchivedFile.php: No specifications provided to ArchivedFile constructor.