အသုံးပြုသူ:Ninjastrikers/DisamAssist.js
မှတ်ချက်။ လွှင့်တင်လိုက်ပြီးသည့်နောက် ပြောင်းလဲမှုများ မြင်ရနိုင်ရန် သင့်အနေဖြင့် ဘရောက်ဇာ၏ cache အား ဖြတ်ကျော်နိုင်ရန် လိုအပ်ပါသည်။
- Firefox / Safari: Reload ကို နှိပ်နေစဉ်အတွင်း Shift ကို ဖိထားပါ၊ သို့မဟုတ် Ctrl-F5 သို့ Ctrl-R (Mac တွင် ⌘-R) ကို နှိပ်ပါ။
- Google Chrome: Ctrl-Shift-R (Mac တွင် ⌘-Shift-R) ကို နှိပ်ပါ။
- Internet Explorer / Edge: Refresh ကို နှိပ်နေစဉ်အတွင်း Ctrl ကို ဖိထားပါ၊ သို့မဟုတ် Ctrl-F5 ကို နှိပ်ပါ။
- Opera: Menu → Settings (Mac တွင် Opera → Preferences) သို့ သွားပြီး Privacy & security → Clear browsing data → Cached images and files ကို ပြုလုပ်ပါ။
//<source lang="javascript">
/**
* DisamAssist
*
* ဖော်ပြချက်။ သံတူကြောင်းကွဲ စာမျက်နှာများသို့ ချိတ်ဆက်ထားသည်များအား လင့်ခ်များ ပြောင်းလဲခြင်း၊ ဖယ်ရှားခြင်းတို့ကို ဆောင်ရွက်ပေးသည်။
*
* ဖန်တီးသူ။ [[User:Qwertyytrewqqwerty]]@ English Wikipedia
*/
window.DisamAssist = jQuery.extend( true, {
cfg: {
/*
* Categories where disambiguation pages are added (usually by a template like {{Disambiguation}}
*/
disamCategories: ['သံတူကြောင်းကွဲ စာမျက်နှာများအားလုံး'],
/*
* "Canonical names" of the templates that may appear after ambiguous links
* and which should be removed when fixing those links
*/
disamLinkTemplates: [
'Disambiguation needed',
'Ambiguous link',
'Amblink',
'Dab needed',
'Disamb-link',
'Disambig needed',
'Disambiguate',
'Dn',
'Needdab'
],
/*
* "Canonical names" of the templates that designate intentional links to
* disambiguation pages
*/
disamLinkIgnoreTemplates: [
'R from ambiguous page',
'R to disambiguation page',
'R from incomplete disambiguation'
],
/*
* Format string for "Foo (disambiguation)"-style pages
*/
disamFormat: '$1 (သံတူကြောင်းကွဲ)',
/*
* Regular expression matching the titles of disambiguation pages (when they are different from
* the titles of the primary topics)
*/
disamRegExp: '^(.*) \\(သံတူကြောင်းကွဲ\\)$',
/*
* Text that will be inserted after the link if the user requests help. If the value is null,
* the option to request help won't be offered
*/
disamNeededText: '{{dn|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}',
/*
* Content of the "Foo (disambiguation)" pages that will be created automatically when using
* DisamAssist from a "Foo" page
*/
redirectToDisam: '#REDIRECT [[$1]] {{R to disambiguation page}}',
/*
* Whether intentional links to disambiguation pages can be explicitly marked by adding " (disambiguation)"
*/
intentionalLinkOption: true,
/*
* Namespaces that will be searched for incoming links to the disambiguation page (pages in other
* namespaces will be ignored)
*/
targetNamespaces: [0, 6, 10, 14, 100, 108],
/*
* Number of backlinks that will be downloaded at once
* When using blredirect, the maximum limit is supposedly halved
* (see http://www.mediawiki.org/wiki/API:Backlinks)
*/
backlinkLimit: 250,
/*
* Number of titles we can query for at once
*/
queryTitleLimit: 50,
/*
* Number of characters before and after the incoming link that will be displayed
*/
radius: 300,
/*
* Height of the context box, in lines
*/
numContextLines: 4,
/*
* Number of pages that will be stored before saving, so that changes to them can be
* undone if need be
*/
historySize: 2,
/*
* Minimum time in seconds since the last change was saved before a new edit can be made. A
* negative value or 0 disables the cooldown. Users with the "bot" right won't be affected by
* the cooldown
*/
editCooldown: 5,
/*
* Specify how the watchlist is affected by DisamAssist edits. Possible values: "watch", "unwatch",
* "preferences", "nochange"
*/
watch: 'nochange'
},
txt: {
start: 'သံတူကြောင်းကွဲ လင့်ခ်များ',
startMain: 'ပင်မခေါင်းစဉ်သို့ သံတူကြောင်းကွဲလင့်ခ်များ',
startSame: 'DAB သို့ သံတူကြောင်းကွဲလင့်ခ်များ',
close: 'ပိတ်ရန်',
undo: 'မလုပ်တော့',
omit: 'ကျော်ရန်',
refresh: 'ရှင်းသန့်',
titleAsText: 'အခြား ရည်ရွယ်ရာသို့',
disamNeeded: 'Tag {{dn}}',
intentionalLink: 'Intentional link to DAB',
titleAsTextPrompt: 'ရည်ရွယ်ရာ အသစ်ကို ထည့်ပါ:',
removeLink: 'လင့်ခ်ဖြုတ်ရန်',
optionMarker: ' [ဤနေရာသို့ ချိတ်ဆက်ပါ]',
targetOptionMarker: ' [လက်ရှိ ရည်ရွယ်ရာ]',
redirectOptionMarker: ' [လက်ရှိ ရည်ရွယ်ရာ (ပြန်ညွှန်းပြီး)]',
pageTitleLine: '<a href="$1">$2</a> တွင်:',
noMoreLinks: 'သံတူကြောင်းကွဲသို့ ချိတ်ဆက်ထားမှုများ မရှိတော့ပါ။',
pendingEditCounter: 'သိမ်းဆည်းနေသည်: $1; ရာဇဝင်ထဲတွင်: $2',
pendingEditBox: 'DisamAssist သည် ပြောင်းလဲမှုများကို သိမ်းဆည်းနေသည် ($1)။',
pendingEditBoxTimeEstimation: '$1; ခန့်မှန်းကြာချိန်: $2',
pendingEditBoxLimited: 'ဆိုင်းငံ့ထားသော ပြောင်းလဲမှုများအားလုံး သိမ်းဆည်းမပြီးမီ ဤစာမျက်နှာကို ကျေးဇူးပြု၍ မပိတ်ပါနှင့် '
+ 'အခြား tab တွင် ဝီကီပီးဒီးယားကို တည်းဖြတ်နေနိုင်ပါသည်။ သို့သော် DisamAssist ကို တပြိုင်တည်း အများအပြား သုံးစွဲခြင်းကို '
+ 'အားမပေးပါ။ အချိန်တိုအတွင်း တည်းဖြတ်မှုကြိမ်ရေ များစွာဖြစ်ပေါ်နေနိုင်သဖြင့် အငြင်းပွားဖွယ်ရာများ ဖြစ်လာနိုင်ပါသည်။',
error: 'အမှား။ $1',
fetchRedirectsError: 'Unable to fetch redirects: "$1".',
getBacklinksError: 'Unable to download backlinks: "$1".',
fetchRightsError: 'Unable to fetch user rights: "$1",',
loadPageError: '$1 ကို ဝန်ဆွဲမတင်နိုင်ပါ: "$2"။',
savePageError: '$1 သို့ ပြောင်းလဲမှုများ မသိမ်းဆည်းနိုင်ပါ: "$2"။',
dismissError: 'ပယ်ဖျက်',
pending: 'DisamAssist တွင် မသိမ်းဆည်းထားရသေးသော ပြောင်းလဲမှုများ ရှိနေသည်။ ယင်းတို့ကို သိမ်းဆည်းရန် ကျေးဇူးပြု၍ ပိတ်ရန် ကိုနှိပ်ပါ။',
editInProgress: 'DisamAssist သည် လတ်တလောတွင် ပြောင်းလဲမှုများ ပြုလုပ်နေသည်။ ယခုအချိန်တွင် ဤစာမျက်နှာကို ပိတ်လိုက်ပါက ပြင်ဆင်မှုများ ဆုံးရှုံးနိုင်သည်။',
ellipsis: '...',
notifyCharacter: '✔',
summary: '[[:en:User:Qwertyytrewqqwerty/DisamAssist|DisamAssist]] ကို အသုံးပြု၍ [[$1]] သို့ သံတူကြောင်းကွဲလင့်ခ်ကို ပြင်ဆင်နေသည်။ ($2)',
summaryChanged: '[[$1]] သို့ လင့်ခ်ပြောင်းလဲပြီးပြီ',
summaryOmitted: 'လင့်ခ်အား ကျော်ပြီးပြီ',
summaryRemoved: 'လင့်ခ်အား ဖယ်ရှားပြီးပြီ',
summaryIntentional: 'intentional link to DAB',
summaryHelpNeeded: 'အကူအညီ လိုအပ်',
summarySeparator: '; ',
redirectSummary: '[[:en:User:Qwertyytrewqqwerty/DisamAssist|DisamAssist]] အသုံးပြု၍ [[$1]] သို့ ပြန်ညွှန်းဖန်တီးနေသည်။'
}
}, window.DisamAssist || {} );
mw.loader.load( '//es.wikipedia.org/w/index.php?title=Usuario:Qwertyytrewqqwerty/DisamAssist-core.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//es.wikipedia.org/w/index.php?title=Usuario:Qwertyytrewqqwerty/DisamAssist.css&action=raw&ctype=text/css', 'text/css' );
//</source>