वापरपी:ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ/common.js
चत्राय: सांबाळ्ळ्या उपरांत, तुका घडयेक तुज्या ब्रावसराचो कॅश कडसरावंक पडत बदल पळोंवचे खातीर.
- Firefox / Safari: Shift > धर Reload क्लीक करताना, वा दाम Ctrl-F5 वा Ctrl-R (⌘-R मॅक-आचेर)
- Google Chrome: Ctrl-Shift-R दाम (⌘-Shift-R एका मॅक-आचेर)
- Internet Explorer: Ctrl dhor Refresh क्लीक करताना, वा दाम Ctrl-F5
- Opera: हांगा वच: Menu → Settings (Opera → Preferences मॅक-आचेर) आनी उपरांत Privacy & security → Clear browsing data → Cached images and files.
function replace_queryString(p) {
var re = RegExp('[&?]' + p + '=([^&]*)');
var matches;
if (matches = re.exec(document.location)) {
try {
return decodeURI(matches[1]);
} catch (e) { }
}
return null;
}
//Add a 'replace' tab
if(mw.config.get('wgArticleId') != 0 ) {
$( function replaceEditButton() {
mw.util.addPortletLink('p-cactions',
mw.util.getUrl(null,{action:'edit',replaceedit:true}),
'replace',
'p-replace',
'replace');
}
)}
if(mw.config.get('wgAction') == 'edit' && replace_queryString('replaceedit') == 'true') {
$(function lint() {
var myContent = document.getElementById('wpTextbox1').value;
myContent = myContent.replace(/ಪಳೆಇಯಾತ್/gi,'ಪಳೇಯಾತ್');
if(document.getElementById('wpTextbox1').value != myContent) {
if(document.getElementById('wpTextbox1').value != myContent) {
document.getElementById('wpTextbox1').value=myContent;
document.getElementById('wpSummary').value='ಪಳೆಇಯಾತ್ → ಪಳೇಯಾತ್';
document.getElementById('wpMinoredit').checked = true;
}
}
}
)}