Content deleted Content added
Clear twinkleBlacklistedUsers, for clarity: This is old Twinkle, adding editors will not have the effect you expect. Twinkle v2 lives elsewhere, and doesn't have a blacklist. |
update as per edit request |
||
Line 1,379:
*/
Wikipedia.wiki = function( currentAction, query, oninit, onsuccess, onerror, onretry ) {
var node = document.createElement("div");
node.style.background = "#F9F9F9";
node.style.border = "1px solid maroon";
node.style.padding = "0.6em 0.8em";
node.style.margin = "0.5em";
node.style.fontSize = "small";
node.innerHTML = "<b>This user script is using the deprecated \"Wikipedia.wiki\" class to edit the wiki. " +
"It may cease to function in the near future.</b><br />Please pass this message on to the script's maintainer, to ensure the script is upgraded.<br />" +
"(The developers of Twinkle are happy to assist script maintainers with updating scripts.)";
Status.warn(currentAction, [ node ]);
this.currentAction = currentAction;
this.query = query;
|