Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//mw.loader.load('http://localhost/Gadget.js');$('#ca-abar-abzar').hide();$('#ca-history a').text('تاریخچه');$('#ca-addsection a').text('+');// no -- prefix for signature button$(document).ready(function(){$("#mw-editbutton-signature").unbind("click").click(function(){insertTags('~~'+'~~')});});// shorten the "edit" tab label$(function(){$('li#ca-edit span a').text('ویرایش');});// don't collapse watchlist-details$(function(){$(".watchlist-details tr").css("display","block").css("width","100%");});// editzero$(function(){varx;if(!(x=document.getElementById('ca-edit')))return;varurl;if(!(url=x.getElementsByTagName('a')[0]))return;if(!(url=url.href))return;vary=mw.util.addPortletLink('p-cactions',url+"§ion=0",'ویرایش لید','ca-edit-0','ویرایش بخش آغازین صفحه','ویرایش لید',x.nextSibling);y.className=x.className;// steal classes from the the edit tab...x.className='istalk';// ...and make the edit tab have no right margin// exception: don't steal the "selected" class unless actually editing section 0:if(/(^| )selected( |$)/.test(y.className)){if(!document.editform||!document.editform.wpSection||document.editform.wpSection.value!="0"){y.className=y.className.replace(/(^| )selected( |$)/g,"$1");x.className+=' selected';}}y.style.marginLeft='6px';});importScript('User:Huji/infobox.js');