dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417cfb9
)
watch.js: Let api.js do the joining of the array
author
Fomafix
<fomafix@googlemail.com>
Sun, 21 Jan 2018 21:35:37 +0000
(22:35 +0100)
committer
Fomafix
<fomafix@googlemail.com>
Sun, 21 Jan 2018 21:35:37 +0000
(22:35 +0100)
Change-Id: Ie283ed3e071fe1a041f040e72cac061ebc3209d0
resources/src/mediawiki/api/watch.js
patch
|
blob
|
history
diff --git
a/resources/src/mediawiki/api/watch.js
b/resources/src/mediawiki/api/watch.js
index
f50e59a
..
025c111
100644
(file)
--- a/
resources/src/mediawiki/api/watch.js
+++ b/
resources/src/mediawiki/api/watch.js
@@
-28,7
+28,7
@@
{
formatversion: 2,
action: 'watch',
- titles: Array.isArray( pages ) ? pages
.join( '|' )
: String( pages )
+ titles: Array.isArray( pages ) ? pages : String( pages )
},
addParams
)