مستخدمة:Mervat/common.js
ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.
var homeWiki = "ar";
var fromLang = "en"; //the source language
var translatorBarFormat = "$1translate $2 this link from $3 to $4"; // translate it to your language
var templateTranslatorText = "Template translation"; // translate it to your language
var removeLinksAliasesText = "Remove Links Aliases";
var doneText = "Done!"; // translate it to your language
mw.loader.load("en.wikipedia.org/w/index.php?title=User:Ebraminio/ArticleTranslator.js&action=raw&ctype=text/javascript");
//<nowiki>
/*
* Copied from [[User:Hoo man/tagger.js]] with some additions
* [[m:user:Hoo man]]; Version 1.0.1; 2016-03-20;
* This tool can tag pages with a few clicks (which is much faster than editing the whole page per Hand).
* Per default it is able to tag page for speedy deletion using {{delete}}, but it can be customized to use up to every template.
* Uses tagger-core.js
* Tested in IE and FF with vector and monobook, uses my (Hoo man) wiki tools (functions.js)
*
* DO NOT COPY AND PASTE, instead see http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Tagger
*/
if(typeof(hoo) === 'undefined') {
var hoo = {};
}
/*global mediaWiki, hoo */
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, unused:true, curly:true, browser:true, jquery:true, indent:4, maxerr:50, loopfunc:true, white:false */
(function(mw, $) {
"use strict";
var taggerDefaultConfig = {};
//templates and edit summaries
taggerDefaultConfig.tags = {};
taggerDefaultConfig.editSummary = {};
taggerDefaultConfig.tags[1] = '{{معلومات شخص}}';
taggerDefaultConfig.editSummary[taggerDefaultConfig.tags[1]] = '+ قالب معلومات شخص';
taggerDefaultConfig.tags[2] = '{{يحرر}}{{bots}}';
taggerDefaultConfig.editSummary[taggerDefaultConfig.tags[2]] = '+ يحرر ومنع تعديل البوتات';
taggerDefaultConfig.tags[3] = '{{ترجمة آلية|تاريخ={{نسخ:اسم_شهر}} {{نسخ:عام}}}}';
taggerDefaultConfig.editSummary[taggerDefaultConfig.tags[3]] = 'للأسف ترجمة آلية واضحة';
taggerDefaultConfig.tags[4] = '{{تدقيق لغوي}}';
taggerDefaultConfig.editSummary[taggerDefaultConfig.tags[4]] = '+ قالب تدقيق لغوي';
if(typeof(window.taggerConfig) === 'undefined') {
window.taggerConfig = {};
}
var init = function() {
$.ajax({
url: '//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger-core.js&action=raw&ctype=text/javascript',
dataType: 'script',
cache: true,
success: function() { hoo.instances.tagger = new hoo.tagger(taggerDefaultConfig, window.taggerConfig); }
});
};
if(typeof(hoo.objectDiff) === 'undefined') {
if(typeof(hoo.load) === 'undefined') {
hoo.load = [ init ];
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/functions.js&action=raw&ctype=text/javascript');
}else{
hoo.load.push( init );
}
}else{
init();
}
})(mediaWiki, jQuery);
//</nowiki>
importScript('مستخدم:Gerges Shamon/Gadget-speed-deletion.js');
mw.loader.load('//ar.wikipedia.org/w/index.php?title=User:حبيشان/Gadget-ArabicAds.js&action=raw&ctype=text/javascript');
importScript('مستخدم:لوقا/PendingEditsChecker.js');