dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Language: s/error_log/wfWarn/"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.api
/
mediawiki.api.js
diff --git
a/resources/src/mediawiki.api/mediawiki.api.js
b/resources/src/mediawiki.api/mediawiki.api.js
index
f8dc836
..
51b3238
100644
(file)
--- a/
resources/src/mediawiki.api/mediawiki.api.js
+++ b/
resources/src/mediawiki.api/mediawiki.api.js
@@
-225,7
+225,7
@@
// Return the Promise
return apiDeferred.promise( { abort: xhr.abort } ).fail( function ( code, details ) {
// Return the Promise
return apiDeferred.promise( { abort: xhr.abort } ).fail( function ( code, details ) {
- if (
code !== 'abort'
) {
+ if (
!( code === 'http' && details && details.textStatus === 'abort' )
) {
mw.log( 'mw.Api error: ', code, details );
}
} );
mw.log( 'mw.Api error: ', code, details );
}
} );