User:MusikAnimal/importWatchlist.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 19:
"<legend>Import watchlist</legend>" +
"<div><label for='import_watchlist_username'>Source watchlist username:</label><input type='text' id='import_watchlist_username' /></div>" +
"<div><label for='import_watchlist_token'>Source watchlist token:</label><input type='text' id='import_watchlist_token' />&nbsp;(can be found at <a href='https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-watchlist'>Special:Preferences#mw-prefsection-watchlist]]</a>)</div>" +
"<div id='import_watchlist_progress'></div>" +
"<button id='import_watchlist_submit'>Import</button>" +
Line 84:
(wrcontinue ? "&wrcontinue="+wrcontinue : "") +
"&wrlimit=500&format=json", null, function(data) {
debugger;
// first push to array
for(var i=0; i<data.watchlistraw.length; i++) {