MediaWiki:Gadget-Twinkle.js

Nga Wikipedia, enciklopedia e lirë

Shënim: Pas ruajtjes së parapëlqimeve ose kryerjes së ndryshimet, për t'ju shfaqur dallimet duhet të pastroni ruajtësin (cache) e shfletuesit. Pastrimi i ruajtësit të shfletuesve bëhet duke shtypur në të njëjten kohë Ctrl+Shift+Reload për Mozilla/Safari/Konqueror ose ctrl+shift+r për IE ose Ctrl+f5 për Opera: F5.

/*  _______________________________________________________________________________	
 * |                                                                               |
 * |                     === WARNING: GLOBAL GADGET FILE ===                       |
 * |                   Changes to this page affect many users.                     |
 * |  Please discuss changes on the talk page or on [[WT:Gadget]] before editing.  |
 * |_______________________________________________________________________________|
 *
 * Built from source code at GitHub repository [https://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#]
 * All changes should be made in the repository. Please do not attempt to edit this file directly.
 */
/* <nowiki> */
!function(){var e={795:function(e){function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.exports=function(){"use strict";var e=function(){function e(e){this.locale=e}var t=e.prototype;return t.convertPlural=function(t,n){var a=new RegExp("\\d+=","i");if(!n||0===n.length)return"";for(var i=0;i<n.length;i++){var r=n[i];if(a.test(r)){if(parseInt(r.slice(0,r.indexOf("=")),10)===t)return r.slice(r.indexOf("=")+1);n[i]=void 0}}n=n.filter((function(e){return!!e}));var o=e.pluralRules[this.locale];o||(o={one:"i = 1 and v = 0"});var s=this.getPluralForm(t,o);return n[s=Math.min(s,n.length-1)]},t.getPluralForm=function(e,t){for(var n=["zero","one","two","few","many","other"],a=0,i=mw.libs.pluralRuleParser,r=0;r<n.length;r++)if(t[n[r]]){if(i(t[n[r]],e))return a;a++}return a},t.convertNumber=function(e,t){var n=this.digitTransformTable(this.locale),a=String(e),i="";if(!n)return e;if(t){if(parseFloat(e,10)===e)return e;var r=[];for(var o in n)r[n[o]]=o;n=r}for(var s=0;s<a.length;s++)n[a[s]]?i+=n[a[s]]:i+=a[s];return t?parseFloat(i,10):i},t.convertGrammar=function(e,t){return e},t.gender=function(e,t){if(!t||0===t.length)return"";for(;t.length<2;)t.push(t[t.length-1]);return"male"===e?t[0]:"female"===e?t[1]:3===t.length?t[2]:t[0]},t.digitTransformTable=function(t){return!!e.digitTransforms[t]&&e.digitTransforms[t].split("")},e}();e.pluralRules={},e.digitTransforms={};var n={bs:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"instrumental":e="s "+e;break;case"lokativ":e="o "+e}return e},n}(e),default:e,dsb:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"instrumental":e="z "+e;break;case"lokatiw":e="wo "+e}return e},n}(e),fi:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){var n=e.match(/[aou][^\xe4\xf6y]*$/i),a=e;switch(e.match(/wiki$/i)&&(n=!1),e.match(/[bcdfghjklmnpqrstvwxz]$/i)&&(e+="i"),t){case"genitive":e+="n";break;case"elative":e+=n?"sta":"st\xe4";break;case"partitive":e+=n?"a":"\xe4";break;case"illative":e+=e.slice(-1)+"n";break;case"inessive":e+=n?"ssa":"ss\xe4";break;default:e=a}return e},n}(e),ga:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){if("ainmlae"===t)switch(e){case"an Domhnach":e="D\xe9 Domhnaigh";break;case"an Luan":e="D\xe9 Luain";break;case"an Mh\xe1irt":e="D\xe9 Mh\xe1irt";break;case"an Ch\xe9adaoin":e="D\xe9 Ch\xe9adaoin";break;case"an D\xe9ardaoin":e="D\xe9ardaoin";break;case"an Aoine":e="D\xe9 hAoine";break;case"an Satharn":e="D\xe9 Sathairn"}return e},n}(e),he:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"prefixed":case"\u05ea\u05d7\u05d9\u05dc\u05d9\u05ea":"\u05d5"===e.slice(0,1)&&"\u05d5\u05d5"!==e.slice(0,2)&&(e="\u05d5"+e),"\u05d4"===e.slice(0,1)&&(e=e.slice(1)),(e.slice(0,1)<"\u05d0"||e.slice(0,1)>"\u05ea")&&(e="\u05be"+e)}return e},n}(e),hsb:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"instrumental":e="z "+e;break;case"lokatiw":e="wo "+e}return e},n}(e),hu:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"rol":e+="r\xf3l";break;case"ba":e+="ba";break;case"k":e+="k"}return e},n}(e),hy:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){return"genitive"===t&&("\u0561"===e.slice(-1)?e=e.slice(0,-1)+"\u0561\u0575\u056b":"\u0578"===e.slice(-1)?e=e.slice(0,-1)+"\u0578\u0575\u056b":"\u0563\u056b\u0580\u0584"===e.slice(-4)?e=e.slice(0,-4)+"\u0563\u0580\u0584\u056b":e+="\u056b"),e},n}(e),la:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"genitive":e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/u[ms]$/i,"i")).replace(/ommunia$/i,"ommunium")).replace(/a$/i,"ae")).replace(/libri$/i,"librorum")).replace(/nuntii$/i,"nuntiorum")).replace(/tio$/i,"tionis")).replace(/ns$/i,"ntis")).replace(/as$/i,"atis")).replace(/es$/i,"ei");break;case"accusative":e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/u[ms]$/i,"um")).replace(/ommunia$/i,"am")).replace(/a$/i,"ommunia")).replace(/libri$/i,"libros")).replace(/nuntii$/i,"nuntios")).replace(/tio$/i,"tionem")).replace(/ns$/i,"ntem")).replace(/as$/i,"atem")).replace(/es$/i,"em");break;case"ablative":e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/u[ms]$/i,"o")).replace(/ommunia$/i,"ommunibus")).replace(/a$/i,"a")).replace(/libri$/i,"libris")).replace(/nuntii$/i,"nuntiis")).replace(/tio$/i,"tione")).replace(/ns$/i,"nte")).replace(/as$/i,"ate")).replace(/es$/i,"e")}return e},n}(e),os:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){var n,a,i,r;switch(n="\u043c\xe6",a="",i="",r="",e.match(/\u0442\xe6$/i)?(e=e.slice(0,-1),n="\xe6\u043c"):e.match(/[\u0430\xe6\u0435\u0451\u0438\u043e\u044b\u044d\u044e\u044f]$/i)?a="\u0439":e.match(/\u0443$/i)?e.slice(-2,-1).match(/[\u0430\xe6\u0435\u0451\u0438\u043e\u044b\u044d\u044e\u044f]$/i)||(a="\u0439"):e.match(/[\u0431\u0432\u0433\u0434\u0436\u0437\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0444\u0445\u0446\u0447\u0448\u0449\u044c\u044a]$/i)||(i="-"),t){case"genitive":r=i+a+"\u044b";break;case"dative":r=i+a+"\xe6\u043d";break;case"allative":r=i+n;break;case"ablative":r="\u0439"===a?i+a+"\xe6":i+a+"\xe6\u0439";break;case"superessive":r=i+a+"\u044b\u043b";break;case"equative":r=i+a+"\u0430\u0443";break;case"comitative":r=i+"\u0438\u043c\xe6"}return e+r},n}(e),ru:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){return"genitive"===t&&("\u044c"===e.slice(-1)?e=e.slice(0,-1)+"\u044f":"\u0438\u044f"===e.slice(-2)?e=e.slice(0,-2)+"\u0438\u0438":"\u043a\u0430"===e.slice(-2)?e=e.slice(0,-2)+"\u043a\u0438":"\u0442\u0438"===e.slice(-2)?e=e.slice(0,-2)+"\u0442\u0435\u0439":"\u0434\u044b"===e.slice(-2)?e=e.slice(0,-2)+"\u0434\u043e\u0432":"\u043d\u0438\u043a"===e.slice(-3)&&(e=e.slice(0,-3)+"\u043d\u0438\u043a\u0430")),e},n}(e),sl:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"mestnik":e="o "+e;break;case"orodnik":e="z "+e}return e},n}(e),uk:function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.convertGrammar=function(e,t){switch(t){case"genitive":"\u044c"===e.slice(-1)?e=e.slice(0,-1)+"\u044f":"\u0456\u044f"===e.slice(-2)?e=e.slice(0,-2)+"\u0456\u0457":"\u043a\u0430"===e.slice(-2)?e=e.slice(0,-2)+"\u043a\u0438":"\u0442\u0438"===e.slice(-2)?e=e.slice(0,-2)+"\u0442\u0435\u0439":"\u0434\u044b"===e.slice(-2)?e=e.slice(0,-2)+"\u0434\u043e\u0432":"\u043d\u0438\u043a"===e.slice(-3)&&(e=e.slice(0,-3)+"\u043d\u0438\u043a\u0430");break;case"accusative":"\u0456\u044f"===e.slice(-2)&&(e=e.slice(0,-2)+"\u0456\u044e")}return e},n}(e)},a=new RegExp("(?:([A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u02bb-\u02c1\u02d0\u02d1\u02e0-\u02e4\u02ee\u0370-\u0373\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0482\u048a-\u052f\u0531-\u0556\u0559-\u055f\u0561-\u0587\u0589\u0903-\u0939\u093b\u093d-\u0940\u0949-\u094c\u094e-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd-\u09c0\u09c7\u09c8\u09cb\u09cc\u09ce\u09d7\u09dc\u09dd\u09df-\u09e1\u09e6-\u09f1\u09f4-\u09fa\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3e-\u0a40\u0a59-\u0a5c\u0a5e\u0a66-\u0a6f\u0a72-\u0a74\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd-\u0ac0\u0ac9\u0acb\u0acc\u0ad0\u0ae0\u0ae1\u0ae6-\u0af0\u0af9\u0b02\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b3e\u0b40\u0b47\u0b48\u0b4b\u0b4c\u0b57\u0b5c\u0b5d\u0b5f-\u0b61\u0b66-\u0b77\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe\u0bbf\u0bc1\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd0\u0bd7\u0be6-\u0bf2\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c41-\u0c44\u0c58-\u0c5a\u0c60\u0c61\u0c66-\u0c6f\u0c7f\u0c82\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd-\u0cc4\u0cc6-\u0cc8\u0cca\u0ccb\u0cd5\u0cd6\u0cde\u0ce0\u0ce1\u0ce6-\u0cef\u0cf1\u0cf2\u0d02\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d4e\u0d57\u0d5f-\u0d61\u0d66-\u0d75\u0d79-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dcf-\u0dd1\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df4\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e4f-\u0e5b\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0ed0-\u0ed9\u0edc-\u0edf\u0f00-\u0f17\u0f1a-\u0f34\u0f36\u0f38\u0f3e-\u0f47\u0f49-\u0f6c\u0f7f\u0f85\u0f88-\u0f8c\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fda\u1000-\u102c\u1031\u1038\u103b\u103c\u103f-\u1057\u105a-\u105d\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108c\u108e-\u109c\u109e-\u10c5\u10c7\u10cd\u10d0-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1360-\u137c\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u167f\u1681-\u169a\u16a0-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1735\u1736\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17b6\u17be-\u17c5\u17c7\u17c8\u17d4-\u17da\u17dc\u17e0-\u17e9\u1810-\u1819\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1923-\u1926\u1929-\u192b\u1930\u1931\u1933-\u1938\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a16\u1a19\u1a1a\u1a1e-\u1a55\u1a57\u1a61\u1a63\u1a64\u1a6d-\u1a72\u1a80-\u1a89\u1a90-\u1a99\u1aa0-\u1aad\u1b04-\u1b33\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b4b\u1b50-\u1b6a\u1b74-\u1b7c\u1b82-\u1ba1\u1ba6\u1ba7\u1baa\u1bae-\u1be5\u1be7\u1bea-\u1bec\u1bee\u1bf2\u1bf3\u1bfc-\u1c2b\u1c34\u1c35\u1c3b-\u1c49\u1c4d-\u1c7f\u1cc0-\u1cc7\u1cd3\u1ce1\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200e\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u214f\u2160-\u2188\u2336-\u237a\u2395\u249c-\u24e9\u26ac\u2800-\u28ff\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d70\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u302e\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u3190-\u31ba\u31f0-\u321c\u3220-\u324f\u3260-\u327b\u327f-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\u3400-\u4db5\u4e00-\u9fd5\ua000-\ua48c\ua4d0-\ua60c\ua610-\ua62b\ua640-\ua66e\ua680-\ua69d\ua6a0-\ua6ef\ua6f2-\ua6f7\ua722-\ua787\ua789-\ua7ad\ua7b0-\ua7b7\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua824\ua827\ua830-\ua837\ua840-\ua873\ua880-\ua8c3\ua8ce-\ua8d9\ua8f2-\ua8fd\ua900-\ua925\ua92e-\ua946\ua952\ua953\ua95f-\ua97c\ua983-\ua9b2\ua9b4\ua9b5\ua9ba\ua9bb\ua9bd-\ua9cd\ua9cf-\ua9d9\ua9de-\ua9e4\ua9e6-\ua9fe\uaa00-\uaa28\uaa2f\uaa30\uaa33\uaa34\uaa40-\uaa42\uaa44-\uaa4b\uaa4d\uaa50-\uaa59\uaa5c-\uaa7b\uaa7d-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaaeb\uaaee-\uaaf5\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab65\uab70-\uabe4\uabe6\uabe7\uabe9-\uabec\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ue000-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b]|\ud800[\udc0d-\udc26]|\ud800[\udc28-\udc3a]|\ud800\udc3c|\ud800\udc3d|\ud800[\udc3f-\udc4d]|\ud800[\udc50-\udc5d]|\ud800[\udc80-\udcfa]|\ud800\udd00|\ud800\udd02|\ud800[\udd07-\udd33]|\ud800[\udd37-\udd3f]|\ud800[\uddd0-\uddfc]|\ud800[\ude80-\ude9c]|\ud800[\udea0-\uded0]|\ud800[\udf00-\udf23]|\ud800[\udf30-\udf4a]|\ud800[\udf50-\udf75]|\ud800[\udf80-\udf9d]|\ud800[\udf9f-\udfc3]|\ud800[\udfc8-\udfd5]|\ud801[\udc00-\udc9d]|\ud801[\udca0-\udca9]|\ud801[\udd00-\udd27]|\ud801[\udd30-\udd63]|\ud801\udd6f|\ud801[\ude00-\udf36]|\ud801[\udf40-\udf55]|\ud801[\udf60-\udf67]|\ud804\udc00|\ud804[\udc02-\udc37]|\ud804[\udc47-\udc4d]|\ud804[\udc66-\udc6f]|\ud804[\udc82-\udcb2]|\ud804\udcb7|\ud804\udcb8|\ud804[\udcbb-\udcc1]|\ud804[\udcd0-\udce8]|\ud804[\udcf0-\udcf9]|\ud804[\udd03-\udd26]|\ud804\udd2c|\ud804[\udd36-\udd43]|\ud804[\udd50-\udd72]|\ud804[\udd74-\udd76]|\ud804[\udd82-\uddb5]|\ud804[\uddbf-\uddc9]|\ud804\uddcd|\ud804[\uddd0-\udddf]|\ud804[\udde1-\uddf4]|\ud804[\ude00-\ude11]|\ud804[\ude13-\ude2e]|\ud804\ude32|\ud804\ude33|\ud804\ude35|\ud804[\ude38-\ude3d]|\ud804[\ude80-\ude86]|\ud804\ude88|\ud804[\ude8a-\ude8d]|\ud804[\ude8f-\ude9d]|\ud804[\ude9f-\udea9]|\ud804[\udeb0-\udede]|\ud804[\udee0-\udee2]|\ud804[\udef0-\udef9]|\ud804\udf02|\ud804\udf03|\ud804[\udf05-\udf0c]|\ud804\udf0f|\ud804\udf10|\ud804[\udf13-\udf28]|\ud804[\udf2a-\udf30]|\ud804\udf32|\ud804\udf33|\ud804[\udf35-\udf39]|\ud804[\udf3d-\udf3f]|\ud804[\udf41-\udf44]|\ud804\udf47|\ud804\udf48|\ud804[\udf4b-\udf4d]|\ud804\udf50|\ud804\udf57|\ud804[\udf5d-\udf63]|\ud805[\udc80-\udcb2]|\ud805\udcb9|\ud805[\udcbb-\udcbe]|\ud805\udcc1|\ud805[\udcc4-\udcc7]|\ud805[\udcd0-\udcd9]|\ud805[\udd80-\uddb1]|\ud805[\uddb8-\uddbb]|\ud805\uddbe|\ud805[\uddc1-\udddb]|\ud805[\ude00-\ude32]|\ud805\ude3b|\ud805\ude3c|\ud805\ude3e|\ud805[\ude41-\ude44]|\ud805[\ude50-\ude59]|\ud805[\ude80-\udeaa]|\ud805\udeac|\ud805\udeae|\ud805\udeaf|\ud805\udeb6|\ud805[\udec0-\udec9]|\ud805[\udf00-\udf19]|\ud805\udf20|\ud805\udf21|\ud805\udf26|\ud805[\udf30-\udf3f]|\ud806[\udca0-\udcf2]|\ud806\udcff|\ud806[\udec0-\udef8]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e]|\ud809[\udc70-\udc74]|\ud809[\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38]|\ud81a[\ude40-\ude5e]|\ud81a[\ude60-\ude69]|\ud81a\ude6e|\ud81a\ude6f|\ud81a[\uded0-\udeed]|\ud81a\udef5|\ud81a[\udf00-\udf2f]|\ud81a[\udf37-\udf45]|\ud81a[\udf50-\udf59]|\ud81a[\udf5b-\udf61]|\ud81a[\udf63-\udf77]|\ud81a[\udf7d-\udf8f]|\ud81b[\udf00-\udf44]|\ud81b[\udf50-\udf7e]|\ud81b[\udf93-\udf9f]|\ud82c\udc00|\ud82c\udc01|\ud82f[\udc00-\udc6a]|\ud82f[\udc70-\udc7c]|\ud82f[\udc80-\udc88]|\ud82f[\udc90-\udc99]|\ud82f\udc9c|\ud82f\udc9f|\ud834[\udc00-\udcf5]|\ud834[\udd00-\udd26]|\ud834[\udd29-\udd66]|\ud834[\udd6a-\udd72]|\ud834\udd83|\ud834\udd84|\ud834[\udd8c-\udda9]|\ud834[\uddae-\udde8]|\ud834[\udf60-\udf71]|\ud835[\udc00-\udc54]|\ud835[\udc56-\udc9c]|\ud835\udc9e|\ud835\udc9f|\ud835\udca2|\ud835\udca5|\ud835\udca6|\ud835[\udca9-\udcac]|\ud835[\udcae-\udcb9]|\ud835\udcbb|\ud835[\udcbd-\udcc3]|\ud835[\udcc5-\udd05]|\ud835[\udd07-\udd0a]|\ud835[\udd0d-\udd14]|\ud835[\udd16-\udd1c]|\ud835[\udd1e-\udd39]|\ud835[\udd3b-\udd3e]|\ud835[\udd40-\udd44]|\ud835\udd46|\ud835[\udd4a-\udd50]|\ud835[\udd52-\udea5]|\ud835[\udea8-\udeda]|\ud835[\udedc-\udf14]|\ud835[\udf16-\udf4e]|\ud835[\udf50-\udf88]|\ud835[\udf8a-\udfc2]|\ud835[\udfc4-\udfcb]|\ud836[\udc00-\uddff]|\ud836[\ude37-\ude3a]|\ud836[\ude6d-\ude74]|\ud836[\ude76-\ude83]|\ud836[\ude85-\ude8b]|\ud83c[\udd10-\udd2e]|\ud83c[\udd30-\udd69]|\ud83c[\udd70-\udd9a]|\ud83c[\udde6-\ude02]|\ud83c[\ude10-\ude3a]|\ud83c[\ude40-\ude48]|\ud83c\ude50|\ud83c\ude51|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6]|\ud869[\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34]|\ud86d[\udf40-\udfff]|\ud86e[\udc00-\udc1d]|\ud86e[\udc20-\udfff]|[\ud86f-\ud872][\udc00-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]|[\udb80-\udbbe][\udc00-\udfff]|\udbbf[\udc00-\udffd]|[\udbc0-\udbfe][\udc00-\udfff]|\udbff[\udc00-\udffd])|([\u0590\u05be\u05c0\u05c3\u05c6\u05c8-\u05ff\u07c0-\u07ea\u07f4\u07f5\u07fa-\u0815\u081a\u0824\u0828\u082e-\u0858\u085c-\u089f\u200f\ufb1d\ufb1f-\ufb28\ufb2a-\ufb4f\u0608\u060b\u060d\u061b-\u064a\u066d-\u066f\u0671-\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u0710\u0712-\u072f\u074b-\u07a5\u07b1-\u07bf\u08a0-\u08e2\ufb50-\ufd3d\ufd40-\ufdcf\ufdf0-\ufdfc\ufdfe\ufdff\ufe70-\ufefe]|\ud802[\udc00-\udd1e]|\ud802[\udd20-\ude00]|\ud802\ude04|\ud802[\ude07-\ude0b]|\ud802[\ude10-\ude37]|\ud802[\ude3b-\ude3e]|\ud802[\ude40-\udee4]|\ud802[\udee7-\udf38]|\ud802[\udf40-\udfff]|\ud803[\udc00-\ude5f]|\ud803[\ude7f-\udfff]|\ud83a[\udc00-\udccf]|\ud83a[\udcd7-\udfff]|\ud83b[\udc00-\uddff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\udf00-\udfff]|\ud83b[\ude00-\udeef]|\ud83b[\udef2-\udeff]))"),i=function(){function e(e){this.locale=e,this.language=new(n[e]||n.default)(e)}var t=e.prototype;return t.emit=function(e,t){var n,a,i,o=this;switch(typeof e){case"string":case"number":n=e;break;case"object":a=e.slice(1).map((function(e){return o.emit(e,t)})),n="function"==typeof this[i=e[0].toLowerCase()]?this[i](a,t):"{{"+new r(this.locale).simpleParse(e[0],t)+a.map((function(e){return"|"+e}))+"}}";break;case"undefined":n="";break;default:throw new Error("unexpected type in AST: "+typeof e)}return n},t.concat=function(e){var t="";return e.forEach((function(e){t+=e})),t},t.replace=function(e,t){var n=parseInt(e[0],10);return n<t.length?t[n]:"$"+(n+1)},t.plural=function(e){var t=parseFloat(this.language.convertNumber(e[0],10)),n=e.slice(1);return n.length?this.language.convertPlural(t,n):""},t.gender=function(e){var t=e[0],n=e.slice(1);return this.language.gender(t,n)},t.grammar=function(e){var t=e[0],n=e[1];return n&&t&&this.language.convertGrammar(n,t)},t.bidi=function(e){var t=function(e){var t=e.match(a);return t?void 0===t[2]?"ltr":"rtl":null}(e[0]);return"ltr"===t?"\u202a"+e[0]+"\u202c":"rtl"===t?"\u202b"+e[0]+"\u202c":e[0]},t.formatnum=function(e){var t=!!e[1]&&"R"===e[1],n=e[0];return"string"==typeof n||"number"==typeof n?this.language.convertNumber(n,t):n},e}(),r=function(){function e(e){this.locale=e,this.emitter=new i(this.locale)}var t=e.prototype;return t.parse=function(e,t){if(e.includes("{{")){var n=function(e){var t,n,a,i,r,o,s,l=0;function d(e){return function(){for(var t=0;t<e.length;t++){var n=e[t]();if(null!==n)return n}return null}}function c(e){for(var t=l,n=[],a=0;a<e.length;a++){var i=e[a]();if(null===i)return l=t,null;n.push(i)}return n}function u(e,t){return function(){for(var n=l,a=[],i=t();null!==i;)a.push(i),i=t();return a.length<e?(l=n,null):a}}function p(t){var n=t.length;return function(){var a=null;return e.slice(l,l+n)===t&&(a=t,l+=n),a}}function f(t){return function(){var n=e.slice(l).match(t);return null===n?null:(l+=n[0].length,n[0])}}var m,g,b=p("|"),h=p(":"),v=p("\\"),k=f(/^./),w=p("$"),y=f(/^\d+/),$=f(/^[^{}$\\]/),C=f(/^[^{}$\\|]/);function A(){var e=c([v,k]);return null===e?null:e[1]}function T(){var e=c([w,y]);return null===e?null:["REPLACE",parseInt(e[1],10)-1]}function x(){var e=c([b,u(0,o)]);if(null===e)return null;var t=e[1];return t.length>1?["CONCAT"].concat(t):t[0]}function E(){var e=c([i,h,T]);return null===e?null:[e[0],e[2]]}function P(){var e=c([i,h,o]);return null===e?null:[e[0],e[2]]}t=d([A,C]),n=d([A,$]),m=f(/^[ !"$&'()*,./0-9;=?@A-Z^_`a-z~\x80-\xFF+-]+/),g=function(e){return e.toString()},i=function(){var e=m();return null===e?null:g(e)},a=d([function(){var e=c([d([E,P]),u(0,x)]);return null===e?null:e[0].concat(e[1])},function(){var e=c([i,u(0,x)]);return null===e?null:[e[0]].concat(e[1])}]);var N=p("{{"),R=p("}}");function I(){var e=c([N,a,R]);return null===e?null:e[1]}if(r=d([I,T,function(){var e=u(1,n)();return null===e?null:e.join("")}]),o=d([I,T,function(){var e=u(1,t)();return null===e?null:e.join("")}]),null===(s=function(){var e=u(0,r)();return null===e?null:["CONCAT"].concat(e)}())||l!==e.length)throw new Error("Parse error at position "+l.toString()+" in input: "+e);return s}(e);return this.emitter.emit(n,t)}return this.simpleParse(e,t)},t.simpleParse=function(e,t){return e.replace(/\$(\d+)/g,(function(e,n){var a=parseInt(n,10)-1;return void 0!==t[a]?t[a]:"$"+n}))},e}(),o=function(){function e(e){this.sourceMap=new Map}var t=e.prototype;return t.load=function(e,t){if("object"!=typeof e)throw new Error("Invalid message source. Must be an object");if(t){if(!/^[a-zA-Z0-9-]+$/.test(t))throw new Error("Invalid locale "+t);for(var n in e)if(0!==n.indexOf("@")){if("object"==typeof e[n])return this.load(e);if("string"!=typeof e[n])throw new Error("Invalid message for message "+n+" in "+t+" locale.");break}this.sourceMap.has(t)?this.sourceMap.set(t,Object.assign(this.sourceMap.get(t),e)):this.sourceMap.set(t,e)}else for(t in e)this.load(e[t],t)},t.getMessage=function(e,t){var n=this.sourceMap.get(t);return n?n[e]:null},t.hasLocale=function(e){return this.sourceMap.has(e)},e}();return function(){function t(e,t){var n=void 0===t?{}:t,a=n.finalFallback,i=void 0===a?"en":a,s=n.messages;this.locale=e,this.parser=new r(this.locale),this.messageStore=new o,s&&this.load(s,this.locale),this.fallbackLocales=[],this.finalFallback=i}var n=t.prototype;return n.load=function(e,t){return this.messageStore.load(e,t||this.locale)},n.i18n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return this.parser.parse(this.getMessage(e),n)},n.setLocale=function(e){this.locale=e,this.parser=new r(this.locale)},n.getFallbackLocales=function(){return[].concat(this.fallbackLocales,[this.finalFallback])},n.setFallbackLocales=function(e){this.fallbackLocales=e},n.setPluralRules=function(t,n){e.pluralRules[t]=n},n.setDigitTransforms=function(t,n){e.digitTransforms[t]=n},n.getMessage=function(e){for(var t=this.locale,n=0,a=this.getFallbackLocales();t;){var i=t.split("-"),r=i.length;do{var o=i.slice(0,r).join("-"),s=this.messageStore.getMessage(e,o);if("string"==typeof s)return s;r--}while(r);t=a[n],n++}return e},n.registerParserPlugin=function(e,t){i.prototype[e]=t},t}()}()},702:function(e,t,n){"use strict";var i;!function(e){e.scriptName="Twinkle",e.userAgent="Twinkle ("+mw.config.get("wgWikiID")+")",e.changeTags="",e.summaryAd=" ("+e.scriptName+")",e.preModuleInitHooks=[],e.preModuleInitHooksWithConfig=[],e.registeredModules=[],e.activeSpecialPages=["Block","Contributions","Recentchanges","Recentchangeslinked"].concat(Morebits.userIsSysop?["DeletedContributions","Prefixindex"]:[]),e.messageOverrides={},e.extraMwMessages=[]}(i||(i={}));var r,o=mw.config.get("wgNamespaceIds"),s=o[""],l=(o.talk,o.special,o.file,o.template,o.category,o.project);o.user,o.user_talk;!function(e){e.botUsernameRegex=/bot\b/i,e.flaggedRevsNamespaces=[s,l],e.permalinkSpecialPageName="Special:PermanentLink",e.redirectTagAliases=["#REDIRECT"],e.signatureTimestampFormat=null}(r||(r={}));var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.create;function p(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),i=0;for(t=0;t<n;t++)for(var r=arguments[t],o=0,s=r.length;o<s;o++,i++)a[i]=r[o];return a}Object.create;var f=n(795),m=n.n(f),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t}(Error);function b(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function h(e){return Object.entries?Object.entries(e):Object.keys(e).map((function(t){return[t,e[t]]}))}var v,k=function(e){function t(t,n,a){return n=$.extend({action:"query",format:"json",formatversion:"2",uselang:x,errorlang:x,errorsuselocal:!0,tags:i.changeTags},n),e.call(this,t,n,null,a,null)||this}return c(t,e),t.prototype.post=function(t){return t||(t={}),t.headers||(t.headers={}),t.headers["Api-User-Agent"]=i.userAgent,e.prototype.post.call(this,t)},t}(Morebits.wiki.api);var w,y,C,A=["colon-separator","semicolon-separator","word-separator","comma-separator","and","parentheses","percent","blanknamespace","protectlogpage","stable-logpage","duration-hours","duration-days","duration-weeks","duration-years","protect-expiry-indefinite","group-autoconfirmed","group-sysop","protectexpiry","restriction-edit","restriction-move","restriction-create","restriction-level-autoconfirmed","restriction-level-sysop","block-expiry","blocklogpage","period-am","period-pm","january","jan","february","feb","march","mar","april","apr","may_long","may","june","jun","july","jul","august","aug","september","sep","october","oct","november","nov","december","dec","sunday","sun","monday","mon","tuesday","tue","wednesday","wed","thursday","thu","friday","fri","saturday","sat","sunday","sun"],T=JSON.parse('{"@metadata":{"authors":["SD0001"]},"tooltip-mark":"?","relative-today":"[Today at] h:mm A","relative-prevday":"[Yesterday at] h:mm A","relative-nextday":"[Tomorrow at] h:mm A","relative-thisweek":"dddd [at] h:mm A","relative-pastweek":"[Last] dddd [at] h:mm A","relative-other":"YYYY-MM-DD","done":"Done","api-error":"$1 \\"$2\\" occurred while contacting the API.","invalid-token-retrying":"Invalid token. Getting a new token and retrying...","getting-token":"Retrieving token...","opening-page":"Opening page \\"$1\\"","retrieving-page":"Retrieving page...","protected-edit-warning":"You are about to make an edit to the fully protected page \\"$1\\" (protection expiring {{date:$1|relative|utc}} (UTC)).\\n\\nClick OK to proceed with the edit, or Cancel to skip this edit.","protected-indef-edit-warning":"You are about to make an edit to the fully protected page \\"$1\\" (protected indefinitely).\\n\\nClick OK to proceed with the edit, or Cancel to skip this edit.","protected-aborted":"Edit to fully protected page was aborted.","saving-page":"Saving page...","getting-creator":"Retrieving page creation information","token-fetch-fail":"Failed to retrieve edit token.","invalid-title":"The page title is invalid: $1","cross-redirect-abort":"$1 is a cross-namespace redirect to $2, aborted","redirected":"Redirected from $1 to $2","redirect-resolution-fail":"Could not resolve redirects for: $1","api-error-unknown":"Unknown error received from API while saving page","editconflict-purging":"Edit conflict detected, purging server cache","editconflict-retrying":"Edit conflict detected, reapplying edit","save-failed-retrying":"Save failed, retrying in $1 seconds ...","moving-page":"moving page...","batch-starting":"Performing batch operation","batch-no-pages":"no pages specified","batch-done-page":"completed ([[$1]])","batch-progress":"Done ($1/$2 actions completed successfully)","submit":"Submit Query","bullet-separator":" \u2022&#32;","revert-mismatch":"The retrieved revision does not match the requested revision.","revert-curid-fail":"Failed to retrieve current revision ID.","revert-user-fail":"Failed to retrieve user who made the revision.","revert-summary":"Restored revision $1 by $2","hidden-user":"an unknown user","querying-user":"Querying user \\"$1\\"","fetching-userinfo":"Retrieving user information...","failed-timestamp":"Failed to retrieve current timestamp.","failed-token":"Failed to retrieve token.","failed-userinfo":"Failed to retrieve user info for $1.","already-blocked-indef":"$1 is already blocked (indefinitely; by $2), would you like to override the block?","already-blocked":"$1 is already blocked (until {{date:$2|relative}}; by $3), would you like to override the block?","reblock-aborted":"Reblock aborted","invalid-block-expiry":"You must provide a valid block expiration.","ip-indef-confirm":"$1 is an IP address, do you really want to block it indefinitely? \\n\\nClick OK to proceed with the block, or Cancel to abort.","ip-indef-aborted":"Indefinite block of IP address was aborted.","admin-block-confirm":"$1 is an administrator, are you sure you want to block them? \\n\\nClick OK to proceed with the block, or Cancel to abort.","admin-block-aborted":"Block of administrator was aborted.","partial-usertalk":"Partial blocks cannot prevent talk page access unless also restricting {{ns:3}} namespace.","blocking":"blocking user...","not-blocked":"User is not blocked.","indirect-block":"User is not directly blocked, but rather $1 is.","unblocking":"unblocking user...","notify-fail-iprange":"Cannot notify IP ranges","notify-self-skip":"You ($1) created this page; skipping user notification","notify-fail-noexist":"Cannot notify the user because the user does not exist.","notify-fail-template":"User talk page transcludes {{$1}}, aborting notification","notify-fail-optout":"User has opted out of this notification, aborting","notify-fail-bot":"User is a bot, aborting notification","notify-fail-blocked":"User is indefinitely blocked, aborting notification","notifying-user":"Notifying $1","watching-user":"Watching user page...","info":"Info","note":"Note","error":"Error","link-rollback":"rollback","link-vandalism":"vandalism","link-goodfaith-rollback":"rollback (AGF)","restore-revision":"restore this version","fetching-data":"Grabbing data of earlier revisions","saving-reverted":"Saving reverted contents","prompt-reason-restore":"Please specify a reason for the revert:                                ","reversion-complete":"Reversion completed","cant-edit-protected":"Unable to edit the page, it\'s probably protected.","no-revisions":"We have less than one additional revision, thus impossible to revert.","bad-revid":"The most recent revision ID received from the server, <strong>$1</strong>, is less than the ID of the displayed revision. This could indicate that the current revision has been deleted, the server is lagging, or that bad data has been received. Stopping revert.","revid-mismatch":"Latest revision <strong>$1</strong> doesn\'t equal our revision <strong>$2</strong>","latest-rev-same-user":"Latest revision was also made by <strong>$1</strong>. As we assume vandalism, we will proceed to revert.","latest-rev-same-64":"Latest revision was made by <strong>$1</strong>, which is on the same /64 subnet. As we assume vandalism, we will proceed to revert.","latest-rev-other-user-goodfaith":"Latest revision was made by <strong>$1</strong>. As we assume good faith, we will stop the revert, as the problem might have been fixed.","latest-rev-other-user":"Latest revision was made by <strong>$1</strong>, but we will stop the revert.","latest-rev-bot":"Latest revision was made by <strong>$1</strong>, a trusted bot, and the revision before was made by our vandal, so we will proceed with the revert.","latest-rev-reverted":"Latest revision was made by <strong>$1</strong>, so it might have already been reverted, we will stop the revert.","bot-revert":"Vandalism revert was chosen on <strong>$1</strong>. As this is a trusted bot, we assume you wanted to revert vandalism made by the previous user instead.","bot-revert-goodfaith":"Good faith revert was chosen on <strong>$1</strong>. This is a trusted bot and thus AGF rollback will not proceed.","bot-revert-prompt":"Normal revert was chosen, but the most recent edit was made by a trusted bot ($1). Do you want to revert the revision before instead?","bot-revert-previous":"Normal revert was chosen on <strong>$1</strong>. This is a trusted bot, and per confirmation, we\'ll revert the previous revision instead.","bot-revert-selected":"Normal revert was chosen on <strong>$1</strong>. This is a trusted bot, but per confirmation, revert on selected revision will proceed.","ipv6-same-user":"Treating consecutive IPv6 addresses in the same /64 as the same user","no-previous-revision":"No previous revision found. Perhaps <strong>$1</strong> is the only contributor, or they have made more than {{formatnum:$2}} edits in a row.","no-edits-revert":"As it is not possible to revert zero revisions, we will stop this revert. It could be that the edit has already been reverted, but the revision ID was still the same.","revert-multiple-prompt":"$1 has made {{formatnum:$2}} edits in a row. Are you sure you want to revert them all?","stopping":"Stopping revert.","revision-age":" revision <strong>$1</strong> that was made <strong>{{formatnum:$2}}</strong> revisions ago by $3","summary-prompt":"An optional comment for the edit summary:                              ","user-aborted":"Aborted by user.","restore-summary":"Restored revision $1 by %USER%","goodfaith-summary":"Reverted good faith edits by %USER%","vandalism-summary":"Reverted {{formatnum:$1}} {{plural:$1|edit|edits}} by %USER% to last revision by $2","normal-summary":"Reverted {{formatnum:$1}} {{plural:$1|edit|edits}} by %USER%","revert-confirm":"Reverting page: are you sure?","revert-complete":"Reversion completed","opening-talk":"Opening user talk page edit form for user <strong>$1</strong>","pcreview-comment":"Automatically reviewing reversion","pcreview-accepting":"Automatically accepting your changes","diff-last":"Last","diff-last-tooltip":"Show most recent diff","diff-since":"Since","diff-since-tooltip":"Show difference between last diff and the revision made by previous user","diff-sincemine":"Since mine","diff-sincemine-tooltip":"Show difference between last diff and my last revision","diff-current":"Current","diff-current-tooltip":"Show difference to current revision","diff-error":"no suitable earlier revision found, or $1 is the only contributor. Aborting.","reason":"Reason:","reason-tooltip":"You can use wikimarkup in your reason. Twinkle will automatically sign your post.","loading":"Loading...","select-all":"Select All","deselect-all":"Deselect All","fetching-list":"Grabbing list of pages","option-delete":"Delete pages","option-talks":"Delete associated talk pages (except user talk pages)","option-redirects":"Delete redirects to deleted pages","option-subpages":"Delete subpages of deleted pages","option-subpage-talks":"Delete talk pages of deleted subpages","option-subpage-redirects":"Delete redirects to deleted subpages","option-subpage-unlink":"Unlink backlinks to each deleted subpage (in Main and Portal namespaces only)","option-unlink":"Unlink backlinks to each page (in Main and Portal namespaces only)","option-unlink-file":"Remove usages of each file (in all namespaces)","pages-label":"Pages to delete","complete":"Batch deletion is now complete","confirm-protected":"You are about to delete {{formatnum:$1}} fully protected page(s). Are you sure?","dbatch-give-reason":"You need to give a reason, you cabal crony!","dbatch-no-pages":"nothing to delete, aborting","deleting":"Deleting pages","starting":"Initiating requested tasks","deleting-page":"Deleting page $1","deleting-subpages":"Deleting subpages","deleting-subpage":"Deleting subpage $1","fetching-backlinks":"Grabbing backlinks","fetching-filelinks":"Grabbing file links","fetching-redirects":"Grabbing redirects","check-talk":"Checking whether talk page exists","deleting-redirects":"Deleting redirects to $1","delete-redirect-summary":"Redirect to deleted page \\"$1\\"","deleting-talk":"Deleting talk page of page $1","delete-talk-summary":"Talk page of deleted page \\"$1\\"","unlink-page":"Unlinking backlinks to $1","unlink-on":"Unlinking on $1","unlink-summary":"Removing link(s) to deleted page $1","unlink-img-on":"Removing file usages on $1","img-comment":"Commented out because image was deleted","unlink-img-summary":"Removing instance of file $1 that has been deleted because \\"$2\\"","undbatch-restore-talks":"Restore talk pages of undeleted pages if they existed","undbatch-pages-label":"Pages to undelete","undbatch-complete":"Batch undeletion is now complete","undbatch-confirm-protected":"You are about to undelete {{formatnum:$1}} fully create protected page(s). Are you sure?","undbatch-no-pages":"nothing to undelete, aborting","undeleting":"Undeleting pages","undeleting-page":"Undeleting page $1","check-talk-deleted":"Checking talk page for deleted revisions","undeleting-talk-status":"Undeleting talk page of $1","undeleting-talk-summary":"Undeleting talk page of \\"$1\\"","create-protected-indef":"(fully create protected indefinitely)","create-protected":"(fully create protected, expires $1 (UTC))","unlink-title":"Unlinking backlinks","unlink-title-file":"Unlinking backlinks and file usages","unlink-intro":"This tool allows you to unlink all incoming links (\\"backlinks\\") that point to this page. For instance, <code>[[$1|link text]]</code> would become <code>link text</code> and <code>[[$1]]</code> would become <code>$1</code>. Use it with caution.","unlink-intro-file":"This tool allows you to unlink all incoming links (\\"backlinks\\") that point to this page  and/or hide all inclusions of this file by wrapping them in &lt;!-- --&gt; comment markup. For instance, <code>[[:$1|link text]]</code> would become <code>link text</code> and <code>[[$1]]</code> would become <code>&lt;!-- [[$1]] --&gt;</code>. Use it with caution.","unlink-give-reason":"You must specify a reason for unlinking.","unlink-select-one":"You must select at least one item to unlink.","unlink-status-links-files":"Unlinking backlinks and instances of file usage","unlink-status-links":"Unlinking backlinks","unlink-status-files":"Unlinking instances of file usage","unlink-in":"Unlinking in page \\"$1\\"","no-file-usage":"No instances of file usage found.","file-usage":"File usage","first-n-files":"First {{formatnum:$1}} file usages shown.","backlinks":"Backlinks","no-backlinks":"No backlinks found.","first-n-links":"First {{formatnum:$1}} backlinks shown.","change-twpref":"You can change this with your Twinkle preferences, linked at the bottom of this Twinkle window","selected-namespaces":"Selected namespaces: {{list:$1}}","commented-out":"Commented out","no-links-files-found":"Didn\'t find any backlinks or file usages on the page.","no-links-found":"Didn\'t find any backlinks on the page.","no-files-found":"Didn\'t find any file usages on the page.","summary-links-files":"Commenting out use(s) of file / Removing link(s) to \\"$1\\"","summary-links":"Removing link(s) to \\"$1\\"","summary-files":"Commenting out use(s) of file to \\"$1\\"","protect-action-type":"Type of action","protect-protect-label":"Protect page","protect-protect-tooltip":"Apply actual protection to the page.","protect-tag-label":"Tag page with protection template","protect-tag-tooltip":"If the protecting admin forgot to apply a protection template, or you have just protected the page without tagging, you can use this to apply the appropriate protection tag.","protect-request-label":"Request page protection","protect-request-tooltip":"If you want to request protection via WP:RPP.","protect-request-sysop-tooltip":"If you want to request protection via WP:RPP instead of doing the protection by yourself.","preset":"Preset","choose-preset":"Choose a preset:","prev-protections":"Previous protections","past-protected":"This page has been protected in the past","sysops-contacted":"Have you attempted to contact the protecting admins ({{list:$1}}) first?","unprotected-time":"unprotected {{date:$1|relative|utc}}","expired-time":"expired {{date:$1|relative|utc}}","expires-time":"expires {{date:$1|relative|utc}}","reset-time":"reset {{date:$1|relative|utc}}","duration-months":"$1 {{plural:$1|month|months}}","protect-options":"Protection options","protect-edit-modify":"Modify edit protection","protect-edit-modify-tooltip":"If this is turned off, the edit protection level, and expiry time, will be left as is.","protect-edit-label":"Edit protection:","protect-move-modify":"Modify move protection","protect-move-modify-tooltip":"If this is turned off, the move protection level, and expiry time, will be left as is.","protect-move-label":"Move protection:","protect-stable-modify":"Modify pending changes protection","protect-stable-modify-tooltip":"If this is turned off, the pending changes level, and expiry time, will be left as is.","protect-stable-label":"Pending changes:","protect-create-label":"Create protection:","protect-reason":"Reason (for protection log):","protect-current-label":"Current protection level","protect-current-none":"<b>no protection</b>","protect-current":"<b>$1: $2</b>","protect-current-cascading":"<b>$1: $2 (cascading)</b>","protect-current-stable":"<b>Pending changes: $1</b>","protect-cascade-from":"<b>Cascading protection</b> from [[$1]]","by-sysop":"by [[{{ns:3}}:$1|$1]]","duration-label":"Duration:","protect-notes-label":"Notes:","note-requested-label":"$1 request","note-requested-tooltip":"Add a note to the protection log that this was requested at $1","note-requested":"requested at $1","request-revid-label":"$1 revision ID","request-revid-tooltip":"Optional revision ID of the $1 page where protection was requested.","protect-select-tag":"Choose protection template:","protect-tag-small-label":"Iconify","protect-tag-small-tooltip":"Will use the |small=yes feature of the template, and only render it as a keylock","protect-tag-noinclude-label":"Wrap protection template with &lt;noinclude&gt;","protect-tag-noinclude-tooltip":"Will wrap the protection template in &lt;noinclude&gt; tags, so that it won\'t transclude","protect-request-preset-label":"Type of protection","protect-request-type-label":"Type and reason:","temporary":"Temporary","custom-expiry-prompt":"Enter a custom expiry time.  \\nYou can use relative times, like \\"1 minute\\" or \\"19 days\\", or absolute timestamps, \\"yyyymmddhhmm\\" (e.g. \\"200602011405\\" is Feb 1, 2006, at 14:05 UTC).","all-users":"All","custom-expiry-label":"Custom...","protect-request-exists":"There is already a protection request for this page at [[$1]], aborting.","protect-tag-adding":"Applying protection template","protect-tag-none-status":"nothing to do","protect-tag-exists-prompt":"{{$1}} was found on the page. \\nClick OK to remove it, or click Cancel to leave it there.","protect-tag-removing":"Removing protection template","protect-tag-abort":"Redirect category shell present","nothing-to-do":"nothing to do","block-window-title":"Block or issue block template to $1","block-self-warn":"You are about to block yourself! Are you sure you want to proceed?","block-action":"Block user","block-action-tooltip":"Block the relevant user with the given options. If partial block is unchecked, this will be a sitewide block.","block-partial":"Partial block","block-partial-tooltip":"Enable partial blocks and partial block templates.","block-tag":"Add block template to user talk page","block-tag-tooltip":"Add block template to user talk page","block-64-field-label":"Convert to /64 rangeblock","block-64-help":"It\'s usually fine, if not better, to block the /64 range ([[Special:Contributions/$1|$1]]).","block-64-label":"Block the /64 instead","block-64-template":"Any template issued will go to the original IP: $1","block-tag-options":"Template options","block-block-options":"Block options","block-expiry-indefinite":"indefinite","unblock-label":"Unblock this user","block-custom-expiry":"Custom expiry","block-custom-expiry-tooltip":"You can use relative times, like \\"1 minute\\" or \\"19 days\\", or absolute timestamps, \\"yyyymmddhhmm\\" (e.g. \\"200602011405\\" is Feb 1, 2006, at 14:05 UTC).","fetching-userinfo-error":"Error fetching user info","block-prior-label":"Prior block settings","block-pages-label":"Specific pages to block from editing","block-pages-tooltip":"10 page max.","block-namespaces-label":"Namespace blocks","block-namespaces-tooltip":"Block from editing these namespaces.","block-nocreate-label":"Block account creation","block-noemail-label":"Block user from sending email","block-disabletalk-label":"Prevent this user from editing their own talk page while blocked","block-partial-disabletalk-tooltip":"If issuing a partial block, this MUST remain unchecked unless you are also preventing them from editing User talk space","block-auto-label":"Autoblock any IP addresses used (hardblock)","block-hard-label":"Block logged-in users from using this IP address (hardblock)","block-watch-label":"Watch user and user talk pages","block-reason-label":"Reason (for block log):","block-reason-tooltip":"Consider adding helpful details to the default message.","block-see-label":"See also:","block-see-tooltip":"Insert a \\"see also\\" message to indicate whether the filter log or deleted contributions played a role in the decision to block.","block-see-filter":"Filter log","block-see-deleted":"Deleted contribs","block-tag-template":"Choose talk page template:","block-linked-label":"Linked page","block-linked-tooltip":"A page can be linked within the notice, perhaps if it was the primary target of disruption. Leave empty for no page to be linked.","block-partial-area-label":"Area blocked from","block-partial-area-tooltip":"Optional explanation of the pages or namespaces the user was blocked from editing.","block-tag-expiry":"Period of blocking:","block-tag-expiry-tooltip":"The period the blocking is due for, for example 24 hours, 2 weeks, indefinite etc...","block-tag-reason-label":"You have been blocked for ...","block-tag-reason-tooltip":"An optional reason, to replace the default generic reason. Only available for the generic block templates.","block-tag-noexpiry-label":"Do not include expiry in template","block-tag-noexpiry-tooltip":"Instead of including the duration, make the block template read \\"You have been blocked temporarily...\\"","block-tag-notalk-label":"Talk page access disabled","block-tag-notalk-tooltip":"Make the block template state that the user\'s talk page access has been removed","block-tag-noemail-label":"User blocked from sending email","block-tag-noemail-tooltip":"If the area is not provided, make the block template state that the user\'s email access has been removed","block-tag-nocreate-label":"User blocked from creating accounts","block-tag-nocreate-tooltip":"If the area is not provided, make the block template state that the user\'s ability to create accounts has been removed","select2-badsearch":"Incomplete or invalid search term","block-namespaces-placeholder":"Select namespaces to block user from","block-pages-placeholder":"Select pages to block user from","block-current-partial":"$1 is partially blocked","block-current":"$1 is blocked sitewide","block-current-range":"$1 is blocked sitewide as a rangeblock","block-current-in-range":"$1 is blocked sitewide within a /$2 rangeblock ($3)","block-current-partial-range":"$1 is partially blocked as a rangeblock","block-current-partial-in-range":"$1 is partially blocked within a /$2 rangeblock ($3)","block-expiry-date":"expires {{date:$1|relative|utc}}","block-current-change":"This form will change the existing block.","block-current-add":"This form will add an additional block.","unblocked-ago":"unblocked {{date:$1|relative|utc}}","block-expired":"$1, expired {{date:$2|relative|utc}}","block-log-current":"Previous blocks","block-log-past":"This user has been blocked in the past","block-partial-blank":"No pages or namespaces were selected, nor were email or account creation restrictions applied; please select at least one option to apply a partial block!","block-warn-noexpiry":"Please provide an expiry!","block-warn-indef-ip":"Can\'t indefinitely block an IP address!","block-warn-noreason":"Please provide a reason for the block!","block-doing":"Executing block","block-warn-partial-usertalk":"Partial blocks cannot prevent talk page access unless also restricting them from editing User talk space!","block-conflict":"The block status of $1 has changed. Last block log entry:","block-conflict-block":"Blocked by $1 with comment \\"$2\\". Expiring {{date:$3|relative|utc}}. Do you want to override with your settings?","block-conflict-unblock":"Unblocked by $1 with comment \\"$2\\". ({{date:$3|relative|utc}}.) Do you want to override with your settings?","block-noop":"Please give Twinkle something to do!","block-complete":"Actions complete, loading user talk page in a few seconds","block-tagging-status":"User talk page modification","block-blank-talk":"Blanking talk page per preferences and creating a new talk page section for this month","block-new-section":"Will create a new talk page section for this month, as none was found","search-tags":"Filter tag list:","summary-added":"Added {{list:$1}} {{plural:$2|tag|tags}}","summary-removed":"Removed {{list:$1}} {{plural:$2|tag|tags}}","summary-added-removed":"Added {{list:$1}}; and removed {{list:$2}} {{plural:$3|tag|tags}}","status-added":"Added $1 {{plural:$1|tag|tags}}","status-removed":"Removed $1 {{plural:$1|tag|tags}}","status-added-removed":"Added $1 {{plural:$1|tag|tags}}; Removed $2 {{plural:$2|tag|tags}}","untag-from-read":"For removal of existing tags, please open Tag menu from the current version of article","tags-present-header":"Tags already present","mark-patrolled":"Mark the page as patrolled/reviewed","tag-complete":"Tagging complete, reloading $1 in a few seconds","select-one":"You must select at least one tag!","getting-redirects":"Getting template redirects","cant-reposition":"Failed to find {{$1}} on the page... skip repositioning","cant-remove":"Failed to find {{$1}} on the page... cannot remove","untagging":"Untagging","removing":"Already present tags: removing de-selected tags","resolved-redirect":"Resolved template redirect {{$1}} to {{$2}}","tagging-status":"Tagging $1","tag-fetching-redirects":"Getting redirects for {{list:$1}}","xfd-venue-label":"Deletion discussion venue:","xfd-venue-tooltip":"When activated, a default choice is made, based on what namespace you are in. This default should be the most appropriate.","notify-creator-label":"Notify page creator if possible","notify-creator-tooltip":"A notification template will be placed on the creator\'s talk page if this is true.","deletion-reason-here":"Your deletion rationale is provided below, which you can copy and paste into a new XFD dialog if you wish to try again:","looking-old-nominations":"Looking for prior nominations of this page","bad-venue":"Unrecognised venue: $1","nomination-complete-redirect":"Nomination complete, now redirecting to the discussion page","protected-no-editreq":"Page protected and nowhere to add an edit request, aborting","protected-editreq":"Page protected, requesting edit","posting-editreq":"Automatically posting edit request on talk page","xfd-editreq-title":"Edit request to complete $1 nomination","xfd-editreq-failed":"Unable to add edit request, the talk page may be protected","fetching-creator":"Finding page creator","notifying-creator":"Notifying initial contributor ($1)","pref-logxfdnominations-label":"Keep a log in userspace of all pages you nominate for a deletion discussion (XfD)","pref-logxfdnominations-tooltip":"The userspace log offers a good way to keep track of all pages you nominate for XfD using Twinkle.","pref-xfdlogpagename-label":"Keep the deletion discussion userspace log at this user subpage","pref-xfdlogpagename-tooltip":"Enter a subpage name in this box. You will find your XfD log at User:<i>username</i>/<i>subpage name</i>. Only works if you turn on the XfD userspace log.","pref-xfdwatchpage-label":"Add the nominated page to watchlist","pref-xfdwatchdiscussion-label":"Add the deletion discussion page to watchlist","pref-xfdwatchlist-label":"Add the daily log or list page to the watchlist","pref-xfdwatchlist-tooltip":"This only applies for venues where the discussion takes place on a newly-created page which is transcluded on to a log or list page.","pref-xfdwatchuser-label":"Add user talk page of initial contributor to watchlist (when notifying)"}'),x=(y="uselang",mw.util.getParamValue(y)||mw.config.get("wgContentLanguage")),E={date:function(e){var t="function"==typeof e[0].getTime?new Morebits.date(e[0].getTime()):new Morebits.date(e[0]),n=e[1],a="utc"===e[2]?"utc":void 0;return"relative"===n?t.calendar(a):t.format(n,a)},int:function(e){var t=e[0],n=e.slice(1);return N.apply(void 0,p([t],n))},ns:function(e){var t=String(e[0]).trim();return/^\d+$/.test(t)||(t=String(mw.config.get("wgNamespaceIds")[t.replace(/ /g,"_").toLowerCase()])),(t=mw.config.get("wgFormattedNamespaces")[t])||""},ucfirst:function(e){return Morebits.string.toUpperCaseFirstChar(e[0])},lcfirst:function(e){return Morebits.string.toLowerCaseFirstChar(e[0])},list:function(e){for(var t=e[0],n="",a=0;a<t.length;a++)n+=t[a],t.length-2===a?n+=N("and")+N("word-separator"):t.length-1!==a&&(n+=N("comma-separator"));return n},sysop:function(e){return Morebits.userIsSysop?e[1]:e[2]}};function P(e){w.load(e,x)}function N(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!w)throw new Error("Can't emit messages before initMessaging() has run!");return C?"("+e+")":w.i18n.apply(w,p([e],t))}var R;function I(e,t){for(var n=[],a=0;a<e.length;a+=50)n.push(v.getMessages(e.slice(a,a+50),{amlang:t,maxage:31536e3,smaxage:31536e3,uselang:"content"}).then((function(e){P(e)})));return Promise.all(n)}function M(e){if("en"===e)return Promise.resolve();var t="tw-i18n-"+e,n=mw.storage.getObject(t);return n&&new Morebits.date(n["@timestamp"]).add(2,"days").isAfter(new Date)?(S(n),Promise.resolve()):$.get("https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/gadgets/TwinkleCore/+/i18n/build-i18n/"+e+".json?format=text").then((function(e){var n=JSON.parse(decodeURIComponent(window.atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")));n["@timestamp"]=(new Date).toISOString(),mw.storage.setObject(t,n),S(n)}),(function(e){mw.log.warn("[twinkle]: no messages loaded from gerrit.",e)}))}function S(e){w.setFallbackLocales(e["@fallbacks"]),delete e["@fallbacks"],delete e["@timestamp"];for(var t=0,n=h(e);t<n.length;t++){var a=n[t],i=a[0],r=a[1];r["@pluralrules"]&&w.setPluralRules(i,r["@pluralrules"]),r["@digittransforms"]&&w.setDigitTransforms(i,r["@digittransforms"])}w.load(e)}var O={optionsVersion:2,userTalkPageMode:"tab",dialogLargeFont:!1,disabledModules:[],disabledSysopModules:[],portletArea:null,portletId:null,portletName:null,portletType:null,portletNext:null,autolevelStaleDays:3,revertMaxRevisions:50,batchMax:5e3,batchChunks:50,summaryAd:" ([[WP:TW|TW]])",deletionSummaryAd:" ([[WP:TW|TW]])",protectionSummaryAd:" ([[WP:TW|TW]])",logXfdNominations:!1,xfdLogPageName:"XfD log",noLogOnXfdNomination:[],xfdWatchDiscussion:"default",xfdWatchList:"no",xfdWatchPage:"default",xfdWatchUser:"default",xfdWatchRelated:"default",markXfdPagesAsPatrolled:!0,autoMenuAfterRollback:!1,openTalkPage:["agf","norm","vand"],openTalkPageOnAutoRevert:!1,rollbackInPlace:!1,markRevertedPagesAsMinor:["vand"],watchRevertedPages:["agf","norm","vand","torev"],watchRevertedExpiry:"1 month",offerReasonOnNormalRevert:!0,confirmOnFluff:!1,confirmOnMobileFluff:!0,showRollbackLinks:["diff","others"],speedySelectionStyle:"buttonClick",watchSpeedyPages:["g3","g5","g10","g11","g12"],watchSpeedyExpiry:"1 month",markSpeedyPagesAsPatrolled:!1,defaultWarningGroup:"1",combinedSingletMenus:!1,showSharedIPNotice:!0,watchWarnings:"1 month",oldSelect:!1,customWarningList:[],spiWatchReport:"yes",topWelcomes:!1,watchWelcomes:"3 months",insertUsername:!0,quickWelcomeMode:"norm",quickWelcomeTemplate:"welcome",customWelcomeList:[],customWelcomeSignature:!0,markSharedIPAsMinor:!0,markTalkbackAsMinor:!0,insertTalkbackSignature:!0,talkbackHeading:"New message from "+mw.config.get("wgUserName"),mailHeading:"You've got mail!"};function U(e){e.forEach((function(e){O[e.name]=e.value}))}function D(e){return"object"==typeof R&&void 0!==R[e]?R[e]:"object"==typeof window.TwinkleConfig&&void 0!==window.TwinkleConfig[e]?window.TwinkleConfig[e]:"object"==typeof window.FriendlyConfig&&void 0!==window.FriendlyConfig[e]?window.FriendlyConfig[e]:O[e]}var L=function(){function e(){}return e.addGroup=function(t,n){e.sections[t]=n},e.addPreference=function(t,n){e.sections[t].preferences.push(n)},e.init=function(){if(mw.config.get("wgNamespaceNumber")===mw.config.get("wgNamespaceIds").project&&"Twinkle/Preferences"===mw.config.get("wgTitle")&&"view"===mw.config.get("wgAction")){if(!document.getElementById("twinkle-config"))return;document.getElementById("twinkle-config-titlebar").style.backgroundImage="url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB%2FqqA%2BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEhQTFRFr73ZobTPusjdsMHZp7nVwtDhzNbnwM3fu8jdq7vUt8nbxtDkw9DhpbfSvMrfssPZqLvVztbno7bRrr7W1d%2Fs1N7qydXk0NjpkW7Q%2BgAAADVJREFUeNoMwgESQCAAAMGLkEIi%2FP%2BnbnbpdB59app5Vdg0sXAoMZCpGoFbK6ciuy6FX4ABAEyoAef0BXOXAAAAAElFTkSuQmCC)";var t=document.getElementById("twinkle-config-content");if(t.textContent="",window.TwinkleConfig||window.FriendlyConfig){var n=document.createElement("p");n.innerHTML='<table class="plainlinks ombox ombox-content"><tr><td class="mbox-image"><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/3/38/Imbox_content.png" /></td><td class="mbox-text"><p><big><b>Before modifying your settings here,</b> you must remove your old Twinkle and Friendly settings from your personal skin JavaScript.</big></p><p>To do this, you can <a href="'+mw.util.getUrl("User:"+mw.config.get("wgUserName")+"/"+mw.config.get("skin")+".js",{action:"edit"})+'" target="_blank"><b>edit your personal skin javascript file</b></a> or <a href="'+mw.util.getUrl("User:"+mw.config.get("wgUserName")+"/common.js",{action:"edit"})+'" target="_blank"><b>your common.js file</b></a>, removing all lines of code that refer to <code>TwinkleConfig</code> and <code>FriendlyConfig</code>.</p></td></tr></table>',t.appendChild(n)}var a=document.createElement("div");a.className="toc",a.style.marginLeft="0.4em";var i=document.createElement("div");i.id="toctitle";var r=document.createElement("h2");r.textContent="Contents ",i.appendChild(r);var o=document.createElement("span");o.className="toctoggle",o.appendChild(document.createTextNode("["));var s=document.createElement("a");s.className="internal",s.setAttribute("href","#tw-tocshowhide"),s.textContent="hide",o.appendChild(s),o.appendChild(document.createTextNode("]")),i.appendChild(o),a.appendChild(i);var l=document.createElement("ul");s.addEventListener("click",(function(){var e=$(l);e.toggle(),e.find(":visible").length?s.textContent="hide":s.textContent="show"}),!1),a.appendChild(l),t.appendChild(a);var d=document.createElement("form");d.setAttribute("action","javascript:void(0)"),d.addEventListener("submit",e.save,!0),t.appendChild(d);var c=document.createElement("table");c.style.width="100%",d.appendChild(c),b(e.sections).forEach((function(t){if(t.hidden||t.adminOnly&&!Morebits.userIsSysop)return!0;var n=document.createElement("li");n.className="toclevel-1";var a=document.createElement("a");a.setAttribute("href","#"+t.module),a.appendChild(document.createTextNode(t.title)),n.appendChild(a),l.appendChild(n);var i=document.createElement("tr"),r=document.createElement("td");r.setAttribute("colspan","3");var o=document.createElement("h4");o.style.borderBottom="1px solid gray",o.style.marginTop="0.2em",o.id=t.module,o.appendChild(document.createTextNode(t.title)),r.appendChild(o),i.appendChild(r),c.appendChild(i);var s=1;return t.preferences.forEach((function(t){if(t.adminOnly&&!Morebits.userIsSysop)return!0;(i=document.createElement("tr")).style.marginBottom="0.2em",s++%2==0&&(i.style.backgroundColor="rgba(128, 128, 128, 0.1)"),r=document.createElement("td");var n,a,o=D(t.name);switch(t.type){case"boolean":r.setAttribute("colspan","2"),n=document.createElement("label"),(a=document.createElement("input")).setAttribute("type","checkbox"),a.setAttribute("id",t.name),a.setAttribute("name",t.name),!0===o&&a.setAttribute("checked","checked"),n.appendChild(a),n.appendChild(document.createTextNode(" "+t.label)),r.appendChild(n);break;case"string":case"integer":r.style.textAlign="right",r.style.paddingRight="0.5em",(n=document.createElement("label")).setAttribute("for",t.name),n.appendChild(document.createTextNode(t.label+":")),r.appendChild(n),i.appendChild(r),(r=document.createElement("td")).style.paddingRight="1em",(a=document.createElement("input")).setAttribute("type","text"),a.setAttribute("id",t.name),a.setAttribute("name",t.name),"integer"===t.type&&(a.setAttribute("size",6),a.setAttribute("type","number"),a.setAttribute("step","1")),o&&a.setAttribute("value",o),r.appendChild(a);break;case"enum":r.style.textAlign="right",r.style.paddingRight="0.5em",(n=document.createElement("label")).setAttribute("for",t.name),n.appendChild(document.createTextNode(t.label+":")),r.appendChild(n),i.appendChild(r),(r=document.createElement("td")).style.paddingRight="1em",(a=document.createElement("select")).setAttribute("id",t.name),a.setAttribute("name",t.name),$.each(t.enumValues,(function(e,t){var n=document.createElement("option");n.setAttribute("value",e),(o===e||"boolean"==typeof o&&(o&&"yes"===e||!o&&"no"===e))&&n.setAttribute("selected","selected"),n.appendChild(document.createTextNode(t)),a.appendChild(n)})),r.appendChild(a);break;case"set":r.setAttribute("colspan","2"),(n=document.createElement("label")).appendChild(document.createTextNode(t.label+":")),r.appendChild(n);var l=document.createElement("div");l.style.paddingLeft="1em";var d=function(e,n){var a=document.createElement("label");a.style.marginRight="0.7em",a.style.display="inline-block";var i=document.createElement("input");i.setAttribute("type","checkbox"),i.setAttribute("id",t.name+"_"+e),i.setAttribute("name",t.name+"_"+e),o&&-1!==o.indexOf(e)&&i.setAttribute("checked","checked"),"unlinkNamespaces"===t.name&&o&&-1!==o.indexOf(parseInt(e,10))&&i.setAttribute("checked","checked"),a.appendChild(i),a.appendChild(document.createTextNode(n)),l.appendChild(a)};t.setDisplayOrder?$.each(t.setDisplayOrder,(function(e,n){d(n,t.setValues[n])})):$.each(t.setValues,d),r.appendChild(l);break;case"customList":r.style.textAlign="right",r.style.paddingRight="0.5em",(n=document.createElement("label")).setAttribute("for",t.name),n.appendChild(document.createTextNode(t.label+":")),r.appendChild(n),i.appendChild(r),(r=document.createElement("td")).style.paddingRight="1em";var u=document.createElement("button");u.setAttribute("id",t.name),u.setAttribute("name",t.name),u.setAttribute("type","button"),u.addEventListener("click",F.display,!1),$(u).data({value:o,pref:t}),u.appendChild(document.createTextNode("Edit items")),r.appendChild(u);break;default:alert("twinkleconfig: unknown data type for preference "+t.name)}if(i.appendChild(r),(r=document.createElement("td")).style.fontSize="90%",r.style.color="gray",t.helptip&&(r.innerHTML=t.helptip.replace(/{{(.+?)}}/g,'{{<a href="'+mw.util.getUrl("Template:")+'$1" target="_blank">$1</a>}}')),"customList"!==t.type){var p=document.createElement("a");p.setAttribute("href","#tw-reset"),p.setAttribute("id","twinkle-config-reset-"+t.name),p.addEventListener("click",e.resetPrefLink,!1),p.style.cssFloat="right",p.style.margin="0 0.6em",p.appendChild(document.createTextNode("Reset")),r.appendChild(p)}return i.appendChild(r),c.appendChild(i),!0})),!0}));var u=document.createElement("div");u.setAttribute("id","twinkle-config-buttonpane"),u.style.backgroundColor="#BCCADF",u.style.padding="0.5em";var p=document.createElement("button");p.setAttribute("id","twinkle-config-submit"),p.setAttribute("type","submit"),p.appendChild(document.createTextNode("Save changes")),u.appendChild(p);var f=document.createElement("span");f.className="plainlinks",f.style.marginLeft="2.4em",f.style.fontSize="90%";var m=document.createElement("a");if(m.setAttribute("href","#tw-reset-all"),m.setAttribute("id","twinkle-config-resetall"),m.addEventListener("click",e.resetAllPrefs,!1),m.appendChild(document.createTextNode("Restore defaults")),f.appendChild(m),u.appendChild(f),d.appendChild(u),window.location.hash){var g=window.location.hash;window.location.hash="",window.location.hash=g}}else if(mw.config.get("wgNamespaceNumber")===mw.config.get("wgNamespaceIds").user&&0===mw.config.get("wgTitle").indexOf(mw.config.get("wgUserName"))&&".js"===mw.config.get("wgPageName").slice(-3)){var h=document.createElement("div");h.setAttribute("id","twinkle-config-headerbox");var v,k=mw.config.get("wgPageName").slice(mw.config.get("wgPageName").lastIndexOf("/")+1,mw.config.get("wgPageName").lastIndexOf(".js"));"twinkleoptions"===k?(h.setAttribute("class","config-twopt-box"),mw.config.get("wgArticleId")>0?h.appendChild(document.createTextNode("This page contains your Twinkle preferences. You can change them using the ")):h.appendChild(document.createTextNode("You can customize Twinkle to suit your preferences by using the ")),(v=document.createElement("a")).setAttribute("href",mw.util.getUrl(mw.config.get("wgFormattedNamespaces")[mw.config.get("wgNamespaceIds").project]+":Twinkle/Preferences")),v.appendChild(document.createTextNode("Twinkle preferences panel")),h.appendChild(v),h.appendChild(document.createTextNode(", or by editing this page.")),$(h).insertAfter($("#contentSub"))):-1!==["monobook","vector","cologneblue","modern","timeless","minerva","common"].indexOf(k)&&(h.setAttribute("class","config-userskin-box"),h.appendChild(document.createTextNode("If you want to set Twinkle preferences, you can use the ")),(v=document.createElement("a")).setAttribute("href",mw.util.getUrl(mw.config.get("wgFormattedNamespaces")[mw.config.get("wgNamespaceIds").project]+":Twinkle/Preferences")),v.appendChild(document.createTextNode("Twinkle preferences panel")),h.appendChild(v),h.appendChild(document.createTextNode(".")),$(h).insertAfter($("#contentSub")))}},e.resetPrefLink=function(t){var n=t.target.id.substring(21);return b(e.sections).forEach((function(t){if(t.hidden||t.adminOnly&&!Morebits.userIsSysop)return!0;var a=!1;return t.preferences.forEach((function(t){return t.name!==n||(e.resetPref(t),a=!0,!1)})),!a&&void 0})),!1},e.resetPref=function(e){switch(e.type){case"boolean":document.getElementById(e.name).checked=O[e.name];break;case"string":case"integer":case"enum":document.getElementById(e.name).value=O[e.name];break;case"set":$.each(e.setValues,(function(t){var n=document.getElementById(e.name+"_"+t);n&&(n.checked=-1!==O[e.name].indexOf(t))}));break;case"customList":$(document.getElementById(e.name)).data("value",O[e.name]);break;default:alert("twinkleconfig: unknown data type for preference "+e.name)}},e.resetAllPrefs=function(){return b(e.sections).forEach((function(t){return t.hidden||t.adminOnly&&!Morebits.userIsSysop||t.preferences.forEach((function(t){t.adminOnly&&!Morebits.userIsSysop||e.resetPref(t)})),!0})),!1},e.save=function(t){Morebits.status.init(document.getElementById("twinkle-config-content"));var n=mw.config.get("wgFormattedNamespaces")[mw.config.get("wgNamespaceIds").user]+":"+mw.config.get("wgUserName")+"/twinkleoptions.js",a=new Morebits.wiki.page(n,"Saving preferences to "+n);return a.setCallbackParameters(t.target),a.load(e.writePrefs),!1},e.writePrefs=function(t){var n=t.getCallbackParameters(),a={optionsVersion:2.1};b(e.sections).forEach((function(e){e.adminOnly&&!Morebits.userIsSysop||e.preferences.forEach((function(t){var i;if(!t.adminOnly||Morebits.userIsSysop)if(e.hidden)R&&(i=R[t.name]);else switch(t.type){case"boolean":i=n[t.name].checked;break;case"string":case"enum":i=n[t.name].value;break;case"integer":i=parseInt(n[t.name].value,10),isNaN(i)&&(Morebits.status.warn("Saving","The value you specified for "+t.name+" ("+n[t.name].value+") was invalid.  The save will continue, but the invalid data value will be skipped."),i=null);break;case"set":i=[],t.setDisplayOrder?$.each(t.setDisplayOrder,(function(e,a){n[t.name+"_"+a].checked&&i.push(a)})):$.each(t.setValues,(function(e){n[t.name+"_"+e].checked&&i.push(e)}));break;case"customList":i=$(n[t.name]).data("value");break;default:alert("twinkleconfig: unknown data type for preference "+t.name)}void 0===i||function(e,t){if(Array.isArray(e)){if(e.length!==t.length)return!1;for(var n=e.sort(),a=t.sort(),i=0;n[i];++i){if("object"==typeof n[i]&&(n[i].label!==a[i].label||n[i].value!==a[i].value))return!1;if(n[i].toString()!==a[i].toString())return!1}return!0}return e===t}(i,O[t.name])||(a[t.name]=i)}))}));var r="// twinkleoptions.js: personal Twinkle preferences file\n//\n// NOTE: The easiest way to change your Twinkle preferences is by using the\n// Twinkle preferences panel, at [["+Morebits.pageNameNorm+']].\n//\n// This file is AUTOMATICALLY GENERATED.  Any changes you make (aside from\n// changing the configuration parameters in a valid-JavaScript way) will be\n// overwritten the next time you click "save" in the Twinkle preferences\n// panel.  If modifying this file, make sure to use correct JavaScript.\n// <no"+"wiki>\n\nwindow.Twinkle.prefs = ';r+=JSON.stringify(a,null,2),r+=";\n\n// </no"+"wiki>\n// End of twinkleoptions.js\n",t.setPageText(r),t.setEditSummary("Saving Twinkle preferences: automatic edit from [[:"+Morebits.pageNameNorm+"]]"),t.setChangeTags(i.changeTags),t.setCreateOption("recreate"),t.save(e.saveSuccess)},e.saveSuccess=function(e){e.getStatusElement().info("successful");var t=document.createElement("div");t.className="successbox",t.style.fontSize="100%",t.style.marginTop="2em",t.innerHTML='<p><b>Your Twinkle preferences have been saved.</b></p><p>To see the changes, you will need to <b>clear your browser cache entirely</b> (see <a href="'+mw.util.getUrl("WP:BYPASS")+'" title="WP:BYPASS">WP:BYPASS</a> for instructions).</p>',Morebits.status.root.appendChild(t);var n=document.createElement("br");n.style.clear="both",Morebits.status.root.appendChild(n)},e.sections={general:{title:"General",module:"general",preferences:[{name:"userTalkPageMode",label:"When opening a user talk page, open it",type:"enum",enumValues:{window:"In a window, replacing other user talks",tab:"In a new tab",blank:"In a totally new window"},default:"tab"},{name:"dialogLargeFont",label:"Use larger text in Twinkle dialogs",type:"boolean",default:!1},{name:"disabledModules",label:"Turn off the selected Twinkle modules",helptip:"Anything you select here will NOT be available for use, so act with care. Uncheck to reactivate.",type:"set",setValues:{arv:"ARV",warn:"Warn",welcome:"Welcome",shared:"Shared IP",talkback:"Talkback",speedy:"CSD",prod:"PROD",xfd:"XfD",image:"Image (DI)",protect:"Protect (RPP)",tag:"Tag",diff:"Diff",unlink:"Unlink",fluff:"Revert and rollback"},default:[]},{name:"disabledSysopModules",label:"Turn off the selected admin-only modules",helptip:"Anything you select here will NOT be available for use, so act with care. Uncheck to reactivate.",adminOnly:!0,type:"set",setValues:{block:"Block",deprod:"DePROD",batchdelete:"D-batch",batchprotect:"P-batch",batchundelete:"Und-batch"},default:[]}]},hidden:{title:"Hidden",hidden:!0,preferences:[{name:"portletArea",type:"string"},{name:"portletId",type:"string"},{name:"portletName",type:"string"},{name:"portletType",type:"string"},{name:"portletNext",type:"string"},{name:"revertMaxRevisions",type:"integer",default:50},{name:"autolevelStaleDays",type:"integer",default:3},{name:"batchMax",type:"integer",adminOnly:!0,default:5e3},{name:"batchChunks",type:"integer",adminOnly:!0,default:50}]}},e.watchlistEnums={yes:"Add to watchlist (indefinitely)",no:"Don't add to watchlist",default:"Follow your site preferences","1 week":"Watch for 1 week","1 month":"Watch for 1 month","3 months":"Watch for 3 months","6 months":"Watch for 6 months"},e.commonSets={csdCriteria:{db:"Custom rationale ({{db}})",g1:"G1",g2:"G2",g3:"G3",g4:"G4",g5:"G5",g6:"G6",g7:"G7",g8:"G8",g10:"G10",g11:"G11",g12:"G12",g13:"G13",g14:"G14",a1:"A1",a2:"A2",a3:"A3",a5:"A5",a7:"A7",a9:"A9",a10:"A10",a11:"A11",u1:"U1",u2:"U2",u3:"U3",u5:"U5",f1:"F1",f2:"F2",f3:"F3",f7:"F7",f8:"F8",f9:"F9",f10:"F10",c1:"C1",r2:"R2",r3:"R3",r4:"R4",p1:"P1",p2:"P2"},csdCriteriaDisplayOrder:["db","g1","g2","g3","g4","g5","g6","g7","g8","g10","g11","g12","g13","g14","a1","a2","a3","a5","a7","a9","a10","a11","u1","u2","u3","u5","f1","f2","f3","f7","f8","f9","f10","c1","r2","r3","r4","p1","p2"],csdCriteriaNotification:{db:"Custom rationale ({{db}})",g1:"G1",g2:"G2",g3:"G3",g4:"G4",g6:'G6 ("copy-paste move" only)',g10:"G10",g11:"G11",g12:"G12",g13:"G13",g14:"G14",a1:"A1",a2:"A2",a3:"A3",a5:"A5",a7:"A7",a9:"A9",a10:"A10",a11:"A11",u3:"U3",u5:"U5",f1:"F1",f2:"F2",f3:"F3",f7:"F7",f9:"F9",f10:"F10",c1:"C1",r2:"R2",r3:"R3",r4:"R4",p1:"P1",p2:"P2"},csdCriteriaNotificationDisplayOrder:["db","g1","g2","g3","g4","g6","g10","g11","g12","g13","g14","a1","a2","a3","a5","a7","a9","a10","a11","u3","u5","f1","f2","f3","f7","f9","f10","c1","r2","r3","r4","p1","p2"],csdAndDICriteria:{db:"Custom rationale ({{db}})",g1:"G1",g2:"G2",g3:"G3",g4:"G4",g5:"G5",g6:"G6",g7:"G7",g8:"G8",g10:"G10",g11:"G11",g12:"G12",g13:"G13",g14:"G14",a1:"A1",a2:"A2",a3:"A3",a5:"A5",a7:"A7",a9:"A9",a10:"A10",a11:"A11",u1:"U1",u2:"U2",u3:"U3",u5:"U5",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",c1:"C1",r2:"R2",r3:"R3",r4:"R4",p1:"P1",p2:"P2"},csdAndDICriteriaDisplayOrder:["db","g1","g2","g3","g4","g5","g6","g7","g8","g10","g11","g12","g13","g14","a1","a2","a3","a5","a7","a9","a10","a11","u1","u2","u3","u5","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","c1","r2","r3","r4","p1","p2"],namespacesNoSpecial:{0:"Article",1:"Talk (article)",2:"User",3:"User talk",4:"Wikipedia",5:"Wikipedia talk",6:"File",7:"File talk",8:"MediaWiki",9:"MediaWiki talk",10:"Template",11:"Template talk",12:"Help",13:"Help talk",14:"Category",15:"Category talk",100:"Portal",101:"Portal talk",108:"Book",109:"Book talk",118:"Draft",119:"Draft talk",710:"TimedText",711:"TimedText talk",828:"Module",829:"Module talk"}},e}(),F=function(){function e(){}return e.addRow=function(e,t,n){var a=document.createElement("tr"),i=document.createElement("td"),r=document.createElement("button");r.setAttribute("type","button"),r.addEventListener("click",(function(){$(a).remove()}),!1),r.textContent="Remove",i.appendChild(r),a.appendChild(i),i=document.createElement("td");var o=document.createElement("input");o.setAttribute("type","text"),o.className="twinkle-config-customlist-value",o.style.width="97%",t&&o.setAttribute("value",t),i.appendChild(o),a.appendChild(i),i=document.createElement("td"),(o=document.createElement("input")).setAttribute("type","text"),o.className="twinkle-config-customlist-label",o.style.width="98%",n&&o.setAttribute("value",n),i.appendChild(o),a.appendChild(i),e.appendChild(a)},e.display=function(t){var n=$(t.target),a=n.data("value"),i=n.data("pref"),r=new Morebits.simpleWindow(720,400);r.setTitle(i.label),r.setScriptName("Twinkle preferences");var o=document.createElement("div"),s=document.createElement("table");s.className="wikitable",s.style.margin="1.4em 1em",s.style.width="auto";var l=document.createElement("tbody"),d=document.createElement("tr"),c=document.createElement("th");c.style.width="5%",d.appendChild(c),(c=document.createElement("th")).style.width="35%",c.textContent=i.customListValueTitle?i.customListValueTitle:"Value",d.appendChild(c),(c=document.createElement("th")).style.width="60%",c.textContent=i.customListLabelTitle?i.customListLabelTitle:"Label",d.appendChild(c),l.appendChild(d);var u=!1;$.each(a,(function(t,n){u=!0,e.addRow(l,n.value,n.label)})),u||e.addRow(l);var p=document.createElement("tfoot");d=document.createElement("tr");var f=document.createElement("td");f.setAttribute("colspan","3");var m=document.createElement("button");m.style.minWidth="8em",m.setAttribute("type","button"),m.addEventListener("click",(function(){e.addRow(l)}),!1),m.textContent="Add",f.appendChild(m),d.appendChild(f),p.appendChild(d),s.appendChild(l),s.appendChild(p),o.appendChild(s);var g=document.createElement("button");g.setAttribute("type","submit"),g.addEventListener("click",(function(){e.save(n,l),r.close()}),!1),g.textContent="Save changes",o.appendChild(g),(g=document.createElement("button")).setAttribute("type","submit"),g.addEventListener("click",(function(){e.reset(n,l)}),!1),g.textContent="Reset",o.appendChild(g),(g=document.createElement("button")).setAttribute("type","submit"),g.addEventListener("click",(function(){r.close()}),!1),g.textContent="Cancel",o.appendChild(g),r.setContent(o),r.display()},e.reset=function(t,n){var a=$(t),i=a.data("pref"),r=a.data("value");L.resetPref(i),$(n).find("tr").slice(1).remove();var o=a.data("value");$.each(o,(function(t,a){e.addRow(n,a.value,a.label)})),a.data("value",r)},e.save=function(e,t){var n=[],a={};$(t).find('input[type="text"]').each((function(e,t){$(t).hasClass("twinkle-config-customlist-value")?a={value:t.value}:(a.label=t.value,(a.value||a.label)&&n.push(a))})),$(e).data("value",n)},e}();function B(e,t,n,a){null!==D("portletArea")&&function(e,t,n,a,i){var r=document.getElementById(e)||document.querySelector(e);if(!r)return null;var o,s=document.getElementById(t);if(s)return s.parentNode&&s.parentNode===r?s:null;i&&(o=document.getElementById(i));var l,d,c=mw.config.get("skin");("vector"!==c||"left-navigation"!==e&&"right-navigation"!==e)&&(a=null);switch(c){case"vector":"portal"!==e&&"left-navigation"!==e&&"right-navigation"!==e&&(e="mw-panel"),l="mw-portlet vector-menu vector-menu-"+("mw-panel"===e?"portal":"menu"===a?"dropdown vector-menu-dropdown-noicon":"tabs"),d="vector-menu-content";break;case"modern":"mw_portlets"!==e&&"mw_contentwrapper"!==e&&(e="mw_portlets"),l="portlet";break;case"timeless":l="mw-portlet",d="mw-portlet-body";break;default:e="column-one",l="portlet"}var u=document.createElement("nav");u.setAttribute("aria-labelledby",t+"-label"),u.className=l+" emptyPortlet",u.id=t,o&&o.parentNode===r?r.insertBefore(u,o):r.appendChild(u);var p=document.createElement("h3");p.id=t+"-label";var f=document.createElement("ul");if("vector"===c){if(f.className="vector-menu-content-list",-1!==l.indexOf("vector-menu-dropdown")){var m=document.createElement("input");m.className="vector-menu-checkbox",m.setAttribute("type","checkbox"),m.setAttribute("aria-labelledby",t+"-label"),u.appendChild(m);var g=document.createElement("span");g.appendChild(document.createTextNode(n)),p.appendChild(g);var b=document.createElement("a");b.href="#",$(b).click((function(e){e.preventDefault()})),p.appendChild(b)}}else p.appendChild(document.createTextNode(n));if(u.appendChild(p),d){var h=document.createElement("div");h.className=d,h.appendChild(f),u.appendChild(h)}else u.appendChild(f)}(D("portletArea"),D("portletId"),D("portletName"),D("portletType"),D("portletNext"));var i=mw.util.addPortletLink(D("portletId"),"string"==typeof e?e:"#",t,n,a);return $(".client-js .skin-vector #p-cactions").css("margin-right","initial"),"function"==typeof e&&$(i).click((function(t){e(),t.preventDefault()})),$.collapsibleTabs&&$.collapsibleTabs.handleResize(),i}var G=function(){function e(){}return e.userPreferences=function(){},e.prototype.addPreference=function(e){L.addPreference(this.moduleName,e)},e.prototype.addMenu=function(){var e=this;B((function(){return e.makeWindow()}),this.portletName,this.portletId||"twinkle-"+this.moduleName.toLowerCase(),this.portletTooltip)},e.prototype.makeWindow=function(){},e}();function j(e){var t=e.userPreferences();t&&(L.addGroup(e.moduleName,u(u({},t),{module:e.moduleName})),U(t.preferences.map((function(e){return{name:e.name,value:e.default}})))),W.includes(e.moduleName)||(i[e.moduleName.toLowerCase()]=new e)}var W=[];var q=JSON.parse('{"@comment":"This file contains project-specific overrides for twinkle-core messages."}'),_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.trustedBots=[],t.hiddenName="an unknown user",t}return c(t,e),t}(function(e){function t(){var t=e.call(this)||this;return t.moduleName="fluff",t.skipTalk=null,t.rollbackInPlace=null,t.flaggedRevsEnabled=!!mw.loader.moduleRegistry["ext.flaggedRevs.basic"],t.linkBuilder={spanTag:function(e,t){var n=document.createElement("span");return n.style.color=e,n.appendChild(document.createTextNode(t)),n},buildLink:function(e,n){var a=document.createElement("a");return a.appendChild(t.linkBuilder.spanTag("Black","[")),a.appendChild(t.linkBuilder.spanTag(e,n)),a.appendChild(t.linkBuilder.spanTag("Black","]")),a.href="#",a},rollbackLinks:function(e,n,a,i){void 0===n&&(n=!1),e=e||null;var r=n?"span":"div",o=document.createElement(r);(a=parseInt(a,10))?o.setAttribute("id","tw-revert"+a):o.setAttribute("id","tw-revert");var s=document.createElement("strong"),l=document.createElement("strong"),d=t.linkBuilder.buildLink("SteelBlue",N("link-rollback")),c=t.linkBuilder.buildLink("Red",N("link-vandalism"));$(d).click((function(){t.revert("norm",e,a,i),t.disableLinks(o)})),$(c).click((function(){t.revert("vand",e,a,i),t.disableLinks(o)})),l.appendChild(c),s.appendChild(d);var u=n?" ":" || ";if(!n){var p=document.createElement("strong"),f=t.linkBuilder.buildLink("DarkOliveGreen",N("link-goodfaith-rollback"));$(f).click((function(){t.revert("agf",e,a,i)})),p.appendChild(f),o.appendChild(p)}return o.appendChild(document.createTextNode(u)),o.appendChild(s),o.appendChild(document.createTextNode(u)),o.appendChild(l),o},restoreThisRevisionLink:function(e,n){void 0===n&&(n=!1),e="number"==typeof e?e:mw.config.get(e);var a=n?"span":"div",i=document.createElement(a);i.setAttribute("id","tw-revert-to-"+e),i.style.fontWeight="bold";var r=t.linkBuilder.buildLink("SaddleBrown",N("restore-revision"));return $(r).click((function(){t.revertToRevision(e)})),n&&i.appendChild(document.createTextNode(" ")),i.appendChild(r),i}},t.addLinks={contributions:function(){var e=!!$("#sp-contributions-footer-anon-range")[0];if(mw.config.exists("wgRelevantUserName")||e){var n=mw.config.get("wgRelevantUserName");if(-1!==D("showRollbackLinks").indexOf("contribs")||mw.config.get("wgUserName")!==n&&-1!==D("showRollbackLinks").indexOf("others")||mw.config.get("wgUserName")===n&&-1!==D("showRollbackLinks").indexOf("mine"))$("#mw-content-text").find("ul li:has(span.mw-uctop):has(.mw-changeslist-diff)").each((function(a,i){var r=$(i).find(".mw-contributions-title").text();e&&(n=$(i).find(".mw-userlink:not(.history-deleted)").text()),i.appendChild(t.linkBuilder.rollbackLinks(n,!0,i.dataset.mwRevid,r))}))}},recentchanges:function(){if(-1!==D("showRollbackLinks").indexOf("recent")){var e=$(".mw-changeslist .mw-changeslist-last.mw-changeslist-src-mw-edit");(e=e.not(".mw-rcfilters-ui-highlights-enhanced-toplevel").find(".mw-changeslist-line-inner, td.mw-enhanced-rc-nested")).each((function(e,n){var a=$(n).find(".mw-userlink:not(.history-deleted)").text(),i=$(n).find(".mw-changeslist-diff").attr("href"),r=mw.util.getParamValue("diff",i),o=n.dataset.targetPage;n.appendChild(t.linkBuilder.rollbackLinks(a,!0,r,o))}))}},history:function(){if(-1!==D("showRollbackLinks").indexOf("history")){var e=$("#pagehistory li").toArray();if(!$(".mw-firstlink").length)for(var n=e.shift(),a=$(n).find(".mw-userlink:not(.history-deleted)").text(),i=0;i<e.length;i++)if($(e[i]).find(".mw-userlink").text()!==a){n.appendChild(t.linkBuilder.rollbackLinks(a,!0));break}e.forEach((function(e){var n=e.querySelector(".mw-changeslist-date").href,a=parseInt(mw.util.getParamValue("oldid",n),10);isNaN(a)||e.appendChild(t.linkBuilder.restoreThisRevisionLink(a,!0))}))}},diff:function(){var e=function(e){var t=$("#mw-diff-"+e+"2 .mw-usertoollinks a").first();if(t.length){var n="vanarticle="+mw.util.rawurlencode(Morebits.pageNameNorm)+"&noautowarn=true";n+="&vanarticlerevid=",n+="otitle"===e?mw.config.get("wgDiffOldId"):mw.config.get("wgDiffNewId");var a=t.attr("href");-1===a.indexOf("?")?t.attr("href",a+"?"+n):t.attr("href",a+"&"+n)}};if(e("otitle"),mw.config.get("wgDiffOldId")&&mw.config.get("wgDiffOldId")!==mw.config.get("wgDiffNewId")){var n=document.getElementById("mw-diff-otitle1").parentNode;n.insertBefore(t.linkBuilder.restoreThisRevisionLink("wgDiffOldId"),n.firstChild)}if(e("ntitle"),document.getElementById("differences-nextlink")){var a=document.getElementById("mw-diff-ntitle1").parentNode;a.insertBefore(t.linkBuilder.restoreThisRevisionLink("wgDiffNewId"),a.firstChild)}else if(-1!==D("showRollbackLinks").indexOf("diff")&&mw.config.get("wgDiffOldId")&&(mw.config.get("wgDiffOldId")!==mw.config.get("wgDiffNewId")||document.getElementById("differences-prevlink"))){var i=$("#mw-diff-ntitle2").find(".mw-userlink")[0].textContent,r=document.getElementById("mw-diff-ntitle1").parentNode;r.insertBefore(t.linkBuilder.rollbackLinks(i),r.firstChild)}},oldid:function(){var e=document.getElementById("mw-revision-info").parentNode;e.insertBefore(t.linkBuilder.restoreThisRevisionLink("wgRevisionId"),e.firstChild)}},t.callbacks={toRevision:function(e){var n=prompt(N("prompt-reason-restore"),"");if(null!==n){var a=t.formatSummary(N("restore-summary",e.getRevisionID()),e.getRevisionUser(),n);e.setChangeTags(i.changeTags),e.setEditSummary(a),-1!==D("watchRevertedPages").indexOf("torev")&&e.setWatchlist(D("watchRevertedExpiry")),-1!==D("markRevertedPagesAsMinor").indexOf("torev")&&e.setMinorEdit(!0),Morebits.wiki.actionCompleted.redirect=e.getPageName(),Morebits.wiki.actionCompleted.notice=N("reversion-complete"),e.revert()}else e.getStatusElement().error(N("user-aborted"))},main:function(e){var n=e.getResponse().query.pages[0];if(n.actions.edit){var a=e.statelem,r=e.params,o=parseInt(n.lastrevid,10),s=n.revisions;if(s.length<1)a.error(N("no-revisions"));else{var l=s[0],d=l.user;if(o<r.revid)Morebits.status.error("Error",N("bad-revid",o));else{var c=r.user||N("hidden-user"),u=1;if(r.revid!==o)if(Morebits.status.warn("Warning",N("revid-mismatch",o,r.revid)),d===r.user||mw.util.isIPv6Address(r.user)&&Morebits.ip.get64(d)===Morebits.ip.get64(r.user))switch(r.type){case"vand":d!==r.user?Morebits.status.info("Info",N("latest-rev-same-64",c)):Morebits.status.info("Info",N("latest-rev-same-user",c));break;case"agf":return void Morebits.status.warn("Warning",N("latest-rev-other-user-goodfaith",c));default:return void Morebits.status.warn("Notice",N("latest-rev-other-user",c))}else{if(!("vand"===r.type&&-1!==t.trustedBots.indexOf(l.user)&&s.length>1&&s[1].revid===r.revid))return void Morebits.status.error("Error",N("latest-rev-reverted",d));Morebits.status.info("Info",N("latest-rev-bot",d)),u=2}else r.user=d,c=r.user||N("hidden-user");if(-1!==t.trustedBots.indexOf(r.user))switch(r.type){case"vand":Morebits.status.info("Info",N("bot-revert",c)),u=2,r.user=s[1].user,r.userHidden=!!s[1].userhidden;break;case"agf":return void Morebits.status.warn("Notice",N("bot-revert-goodfaith",c));case"norm":default:confirm(N("bot-revert-prompt"))?(Morebits.status.info("Info",N("bot-revert-previous",c)),u=2,r.user=s[1].user,r.userHidden=!!s[1].userhidden,c=r.user||N("hidden-user")):Morebits.status.warn("Notice",N("bot-revert-selected",c))}for(var p=!1,f=0,m=!1,g=u;g<s.length;++g)if(++f,s[g].user!==r.user){if(mw.util.isIPv6Address(s[g].user)&&Morebits.ip.get64(s[g].user)===Morebits.ip.get64(r.user)){m||(new Morebits.status("Note",N("ipv6-same-user")),m=!0);continue}p=g;break}if(p)if(f){var b,h,v=s[p],k=!1;if("vand"!==r.type&&f>1){if(!confirm(N("revert-multiple-prompt",c,f)))return void Morebits.status.info("Notice",N("stopping"));k=!0}switch(r.count=f,r.goodid=v.revid,r.gooduser=v.user,r.gooduserHidden=!!v.userhidden,a.status(N("revision-age",r.goodid,f,r.gooduserHidden?N("hidden-user"):r.gooduser)),r.type){case"agf":if(null===(h=prompt(N("summary-prompt"),"")))return void a.error(N("user-aborted"));k=!0,b=t.formatSummary(N("goodfaith-summary"),r.userHidden?null:r.user,h);break;case"vand":b=t.formatSummary(N("vandalism-summary",r.count,r.gooduserHidden?N("hidden-user"):r.gooduser),r.userHidden?null:r.user);break;case"norm":default:if(D("offerReasonOnNormalRevert")){if(null===(h=prompt(N("summary-prompt"),"")))return void a.error(N("user-aborted"));k=!0}b=t.formatSummary(N("normal-summary",r.count),r.userHidden?null:r.user,h)}if(!(D("confirmOnFluff")||D("confirmOnMobileFluff")&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|Opera Mini/i.test(navigator.userAgent))||k||confirm(N("revert-confirm"))){t.skipTalk||-1===D("openTalkPage").indexOf(r.type)||r.userHidden||mw.config.get("wgUserName")===r.user||(r.notifyUser=!0,r.vantimestamp=l.timestamp),t.flaggedRevsEnabled&&(Morebits.userIsInGroup("reviewer")||Morebits.userIsSysop)&&n.flagged&&n.flagged.stable_revid>=r.goodid&&n.flagged.pending_since&&(r.reviewRevert=!0,r.csrftoken=e.getResponse().query.tokens.csrftoken);var w=new Morebits.wiki.page(r.pagename,N("saving-reverted"));w.setEditSummary(b),w.setChangeTags(i.changeTags),w.setOldID(r.goodid),w.setCallbackParameters(r),-1!==D("watchRevertedPages").indexOf(r.type)&&w.setWatchlist(D("watchRevertedExpiry")),-1!==D("markRevertedPagesAsMinor").indexOf(r.type)&&w.setMinorEdit(!0),t.rollbackInPlace||(Morebits.wiki.actionCompleted.redirect=r.pagename),Morebits.wiki.actionCompleted.notice=N("revert-complete"),w.revert(t.callbacks.complete)}else a.error(N("user-aborted"))}else Morebits.status.error("Error",N("no-edits-revert"));else a.error(N("no-previous-revision",c,D("revertMaxRevisions")))}}}else e.statelem.error(N("cant-edit-protected"))},complete:function(e){var t=e.getCallbackParameters();if(t.notifyUser&&!t.userHidden){Morebits.status.info("Info",N("opening-talk",t.user));var n={title:"User talk:"+t.user,action:"edit",preview:"yes",vanarticle:t.pagename.replace(/_/g," "),vanarticlerevid:t.revid,vantimestamp:t.vantimestamp,vanarticlegoodrevid:t.goodid,type:t.type,count:t.count};switch(D("userTalkPageMode")){case"tab":window.open(mw.util.getUrl("",n),"_blank");break;case"blank":window.open(mw.util.getUrl("",n),"_blank","location=no,toolbar=no,status=no,directories=no,scrollbars=yes,width=1200,height=800");break;case"window":default:window.open(mw.util.getUrl("",n),"twinklewarnwindow"===window.name?"_blank":"twinklewarnwindow","location=no,toolbar=no,status=no,directories=no,scrollbars=yes,width=1200,height=800")}}if(t.reviewRevert){var a={action:"review",revid:e.getSaveResponse().edit.newrevid,token:t.csrftoken,comment:N("pcreview-comment")+i.summaryAd};new Morebits.wiki.api(N("pcreview-accepting"),a).post()}}},mw.config.get("wgIsProbablyEditable")?mw.config.get("wgDiffNewId")||mw.config.get("wgDiffOldId")?mw.hook("wikipage.diff").add((function(){t.addLinks.diff()})):"view"===mw.config.get("wgAction")&&mw.config.get("wgRevisionId")&&mw.config.get("wgCurRevisionId")!==mw.config.get("wgRevisionId")?t.addLinks.oldid():"history"===mw.config.get("wgAction")&&mw.config.get("wgArticleId")&&t.addLinks.history():-1===mw.config.get("wgNamespaceNumber")&&(t.skipTalk=!D("openTalkPageOnAutoRevert"),t.rollbackInPlace=D("rollbackInPlace"),"Contributions"===mw.config.get("wgCanonicalSpecialPageName")?t.addLinks.contributions():"Recentchanges"!==mw.config.get("wgCanonicalSpecialPageName")&&"Recentchangeslinked"!==mw.config.get("wgCanonicalSpecialPageName")||mw.hook("wikipage.content").add((function(e){e.is("div")&&t.addLinks.recentchanges()}))),t}return c(t,e),t.prototype.disableLinks=function(e){$(e).children().each((function(e,t){t.innerHTML=t.textContent,$(t).css("font-weight","normal").css("color","darkgray")}))},t.prototype.revert=function(e,t,n,a){var i=this;mw.util.isIPv6Address(t)&&(t=Morebits.ip.sanitizeIPv6(t));var r=a||mw.config.get("wgPageName"),o=n||mw.config.get("wgCurRevisionId");if(this.rollbackInPlace){var s=document.createElement("span");mw.notify(s,{autoHide:!1,title:"Rollback on "+a,tag:"twinklefluff_"+n}),Morebits.status.init(s)}else Morebits.status.init(document.getElementById("mw-content-text")),$("#catlinks").remove();var l={type:e,user:t,userHidden:!t,pagename:r,revid:o},d={action:"query",prop:["info","revisions"].concat(this.flaggedRevsEnabled?"flagged":[]),titles:r,inprop:"watched",intestactions:"edit",rvlimit:D("revertMaxRevisions"),rvprop:["ids","timestamp","user"],curtimestamp:"",meta:"tokens",type:"csrf",format:"json"},c=new Morebits.wiki.api(N("fetching-data"),d);c.params=l,c.post().then((function(e){return i.callbacks.main(e)}))},t.prototype.revertToRevision=function(e){Morebits.status.init(document.getElementById("mw-content-text"));var t=new Morebits.wiki.page(mw.config.get("wgPageName"),N("saving-reverted"));t.setOldID(e),t.load(this.callbacks.toRevision)},t.prototype.formatSummary=function(e,t,n){var a=e;if(n&&(a+=": "+Morebits.string.toUpperCaseFirstChar(n)),/%USER%/.test(e))if(t){var i=unescape(encodeURIComponent(a.replace("%USER%",""))).length,r="[[Special:Contributions/"+t+"|"+t+"]]",o=unescape(encodeURIComponent(r)).length;if(i+o<=499){var s=" ([[User talk:"+t+"|talk]])";a=i+o+unescape(encodeURIComponent(s)).length<=499?Morebits.string.safeReplace(a,"%USER%",r+s):Morebits.string.safeReplace(a,"%USER%",r)}else a=Morebits.string.safeReplace(a,"%USER%",t)}else a=Morebits.string.safeReplace(a,"%USER%",N("hidden-user"));return a},t.moduleName="fluff",t}(G)),Y=function(e){function t(){var t=e.call(this)||this;return mw.config.get("wgNamespaceNumber")<0||!mw.config.get("wgArticleId")?t:(B(mw.util.getUrl(mw.config.get("wgPageName"),{diff:"cur",oldid:"prev"}),N("diff-last"),"twinkle-lastdiff",N("diff-last-tooltip")),mw.util.getParamValue("diff")?(B((function(){return t.evaluate(!1)}),N("diff-since"),"tw-since",N("diff-since-tooltip")),B((function(){return t.evaluate(!0)}),N("diff-sincemine"),"tw-sincemine",N("diff-sincemine-tooltip")),B(mw.util.getUrl(mw.config.get("wgPageName"),{diff:"cur",oldid:/oldid=(.+)/.exec($("#mw-diff-ntitle1").find("strong a").first().attr("href"))[1]}),N("diff-current"),"tw-curdiff",N("diff-current-tooltip")),t):t)}return c(t,e),t.prototype.evaluate=function(e){var t;if(e)t=mw.config.get("wgUserName");else{var n=document.getElementById("mw-diff-ntitle2");if(!n)return;t=$(n).find("a").first().text()}Morebits.status.init(document.getElementById("mw-content-text"));var a=new k("Grabbing data of initial contributor",{prop:"revisions",action:"query",titles:mw.config.get("wgPageName"),rvlimit:1,rvprop:["ids","user"],rvstartid:mw.config.get("wgCurRevisionId")-1,rvuser:t,format:"json"});a.post().then((function(e){var n=e.getResponse().query.pages[0].revisions,a=n&&n[0].revid;a?window.location.href=mw.util.getUrl(mw.config.get("wgPageName"),{diff:mw.config.get("wgCurRevisionId"),oldid:a}):e.getStatusElement().error(N("diff-error",t))})),a.post()},t.moduleName="Diff",t}(G),H=function(e){function t(t,n){var a=e.call(this,t,n)||this;if(i.changeTags.length)a.setChangeTags(i.changeTags);else{var r=a.setEditSummary.bind(a);a.setEditSummary=function(e){r(e+i.summaryAd)}}return["load","lookupCreation","save","append","prepend","newSection","deletePage","undeletePage","protect","stabilize"].forEach((function(e){var t=a[e].bind(a);a[e]=function(e,n){var a=this,i=$.Deferred();return t((function(t){e&&e.call(a,a),i.resolve(t instanceof Morebits.wiki.api?t:a)}),(function(e){if(n&&n.call(a,a),e instanceof Morebits.wiki.api){var t=new g(e.getErrorCode()+": "+e.getErrorText());t.code=e.getErrorCode(),t.info=e.getErrorText(),t.response=e.getResponse(),i.reject(t)}else i.reject(new Error(e))})),i}})),a}return c(t,e),t}(Morebits.wiki.page);if(window.Twinkle=i,$.extend(i,{registerModule:j,msg:N,Page:H,Api:k}),void 0!==a&&(jQuery.Deferred.exceptionHook=function(e){throw e}),!Morebits.userIsInGroup("autoconfirmed")&&!Morebits.userIsInGroup("confirmed"))throw new Error("Twinkle: forbidden!");i.userAgent="Twinkle ("+mw.config.get("wgWikiID")+")",i.summaryAd=" ([[Project:TW|TW]])",i.changeTags="",i.messageOverrides=q,i.extraMwMessages=[],i.registeredModules=[_,Y],r.permalinkSpecialPageName="Special:PermanentLink",r.botUsernameRegex=/bot\b/i,r.flaggedRevsNamespaces=[],r.redirectTagAliases=["#REDIRECT"],(-1!==mw.config.get("wgNamespaceNumber")||i.activeSpecialPages.includes(mw.config.get("wgCanonicalSpecialPageName")))&&window.top===window.self&&(function(){switch(mw.config.get("skin")){case"vector":U([{name:"portletArea",value:"right-navigation"},{name:"portletId",value:"p-twinkle"},{name:"portletName",value:"TW"},{name:"portletType",value:"menu"},{name:"portletNext",value:"p-search"}]);break;case"timeless":U([{name:"portletArea",value:"#page-tools .sidebar-inner"},{name:"portletId",value:"p-twinkle"},{name:"portletName",value:"Twinkle"},{name:"portletType",value:null},{name:"portletNext",value:"p-userpagetools"}]);break;default:U([{name:"portletArea",value:null},{name:"portletId",value:"p-cactions"},{name:"portletName",value:null},{name:"portletType",value:null},{name:"portletNext",value:null}])}}(),Morebits.l10n.redirectTagAliases=r.redirectTagAliases,"function"==typeof r.signatureTimestampFormat&&(Morebits.l10n.signatureTimestampFormat=r.signatureTimestampFormat),v=new mw.Api({parameters:{action:"query",format:"json",formatversion:"2",uselang:x,errorlang:x,errorsuselocal:!0,tags:i.changeTags},ajax:{headers:{"Api-User-Agent":i.userAgent}}}),i.preModuleInitHooks.push((function(){!function(){if(w=new(m())(x),h(E).forEach((function(e){var t=e[0],n=e[1];w.registerParserPlugin(t,n)})),Morebits.i18n.setParser({get:N}),C="qqx"===x)return Promise.resolve();w.load(T,"en");var e=A.concat(i.extraMwMessages);Promise.all([I(e,x),M(x)]).catch((function(e){mw.notify("Failed to load messages needed for Twinkle",{type:"error"})})).finally((function(){P(i.messageOverrides)}))}()}),(function(){return(e=mw.util.wikiScript("index")+"?title=",$.ajax({url:e+"User:"+encodeURIComponent(mw.config.get("wgUserName"))+"/twinkleoptions.js&action=raw&ctype=text/javascript&happy=yes",dataType:"text"}).then((function(e){if(""!==e){0===(e=e.replace(/(?:^(?:\/\/[^\n]*\n)*\n*|(?:\/\/[^\n]*(?:\n|$))*$)/g,"")).lastIndexOf("window.Twinkle.prefs = ",0)&&(e=e.replace(/(?:^window.Twinkle.prefs = |;\n*$)/g,""));try{var t=JSON.parse(e);t&&((R=t.twinkle||t.friendly?$.extend(t.twinkle,t.friendly):t).optionsVersion=R.optionsVersion||1)}catch(e){mw.notify("Could not parse your Twinkle preferences",{type:"error"})}}})).catch((function(){mw.notify("Could not load your Twinkle preferences",{type:"error"})}))).then((function(){return D("dialogLargeFont")&&mw.util.addCSS(".morebits-dialog-content, .morebits-dialog-footerlinks { font-size: 100% !important; } .morebits-dialog input, .morebits-dialog select, .morebits-dialog-content button { font-size: inherit !important; }"),W=W.concat(D("disabledModules"),D("disabledSysopModules")),Promise.all(i.preModuleInitHooksWithConfig.map((function(e){return e()})))}));var e})),Promise.all(i.preModuleInitHooks.map((function(e){return e()}))).then((function(){mw.hook("twinkle.preModuleInit").fire();for(var e=0,t=i.registeredModules;e<t.length;e++)j(t[e]);"vector"===mw.config.get("skin")&&"menu"===D("portletType")&&0===$("#p-twinkle").length&&$("#p-cactions").css("margin-right","initial"),L.init()})))}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var a=n(702)}();
/* </nowiki> */