مستخدم:Khaled/monobook.js
الملف المصاحب .css لهذا المظهر يمكن إضافته إلى في مستخدم:Khaled/monobook.css. |
ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.
// عداد تاريخ الصفحة
$(function (){
var N = 77;
var x = document.getElementById('ca-history');
if(!x) return;
x.getElementsByTagName('a')[0].href += "&limit=" + N;
});
//importScript('User:Antime/morebits.js');
//importScript('User:Antime/twinkle.js');
//importScript('User:Antime/twinkle2.js');
//importScript('User:Antime/twinkle-on.js');
importScript('User:Salam32/morebits.js');
//importScript('User:Antime/morebits-old.js');
//importScript('User:Antime/morebits-og.js');
//incompatible with ar-twinklefluff
//importScript('User:Salam32/twinklediff.js');
importScript('User:Antime/twinklediff-old.js');
//importScript('User:Antime/twinklediff-partly.js');
//importScript('User:Salam32/twinklefluff.js');
importScript('User:Antime/twinklefluff-old.js');
//importScript('User:Antime/twinklefluff-partly.js');
//importScript('en:User:AzaToth/twinklefluff.js');
importScript('User:Salam32/twinklewarn.js');
//importScript('User:Salam32/twinklearv.js');
importScript('User:Salam32/twinklespeedy.js');
importScript('User:Salam32/twinklexfd.js');
importScript('User:Salam32/twinkleunlink.js');
importScript('User:Salam32/twinklebatchdelete.js');
importScript('User:Antime/twinkleundelete.js');
importScript('User:Antime/twinklebatchundelete.js');
importScript('User:Salam32/twinkleprotect.js');
importScript('User:Salam32/twinklebatchprotect.js');
//importScript('User:Salam32/twinkleimage.js');
importScript('User:Antime/twinkleimagetraverse.js');
importScript('User:Salam32/twinkledelimages.js');
importScript('User:AhmadSherif/copyright-vio.js');
importScript('User:Antime/searchbox.js');
importScript('User:Salam32/collapsible-list.js');
//importScript('en:User:Stevage/EnhanceHistory.user.js');
TwinkleConfig = {
userTalkPageMode : 'window',
showSharedIPNotice : true,
openTalkPage : [ 'agf', 'norm', 'vand' ],
openTalkPageOnAutoRevert : false,
summaryAd : " ([[وب:لمح البصر|لمح]])",
deletionSummaryAd : " ([[وب:لمح البصر|لمح]])",
protectionSummaryAd : " ([[وب:لمح البصر|لمح]])",
watchSpeedyPages : [ 'g3', 'g5', 'g10', 'g11', 'g12' ],
watchProdPages : true,
openUserTalkPageOnSpeedyDelete : [ 'g1', 'g2', 'g3', 'g4', 'g5', 'g10', 'g11', 'g12', 'a1', 'a3', 'a7', 'a9', 'i3', 'i4', 'i5', 'i6', 'i7', 'i9', 'i11', 'u3', 't1', 't2' ],
watchRevertedPages : [ ],
markRevertedPagesAsMinor : [ 'agf', 'norm', 'vand', 'torev' ],
deleteTalkPageOnDelete : false,
watchWarnings : true,
markAIVReportAsMinor : true,
markSpeedyPagesAsMinor : true,
defaultWarningGroup : 1,
offerReasonOnNormalRevert : false,
orphanBacklinksOnSpeedyDelete : {orphan:true, exclude:['g6']}
};
TwinkleConfig.orphanBacklinksOnSpeedyDelete = {};
//
function fixtabs()
{
if(document.getElementById('ca-delete')) {
document.getElementById('ca-delete').firstChild.innerHTML = 'حذف';
}
if(document.getElementById('ca-move')) {
document.getElementById('ca-move').firstChild.innerHTML = 'نقل';
}
if(document.getElementById('ca-watch')) {
document.getElementById('ca-watch').firstChild.innerHTML = 'راقب';
}
if(document.getElementById('ca-unwatch')) {
document.getElementById('ca-unwatch').firstChild.innerHTML = 'لا تراقب';
}
wgAjaxWatch.watchMsg = 'راقب';
wgAjaxWatch.unwatchMsg = 'لا تراقب';
if(document.getElementById('ca-edit')) {
document.getElementById('ca-edit').firstChild.innerHTML = 'عدل';
}
if(document.getElementById('ca-talk')) {
document.getElementById('ca-talk').firstChild.innerHTML = 'نقاش';
}
if(document.getElementById('ca-protect')) {
document.getElementById('ca-protect').firstChild.innerHTML = 'حماية';
}
if(document.getElementById('ca-unprotect')) {
document.getElementById('ca-unprotect').firstChild.innerHTML = 'لا حماية';
}
}
$(fixtabs);