MediaWiki:Gadget-Twinkle.js: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 81:
speedyWindowWidth: 800,
logSpeedyNominations: false,
speedyLogPageName: "CSDLog logCSD",
noLogOnSpeedyNomination: [ "u1" ],
// Unlink
Baris 135:
topWelcomes: false,
watchWelcomes: true,
welcomeHeading: "WelcomeSelamat datang",
insertHeadings: true,
insertUsername: true,
insertSignature: true, // sign welcome templates, where appropriate
quickWelcomeMode: "norm",
quickWelcomeTemplate: "welcomeselamatdatang",
customWelcomeList: [],
customWelcomeSignature: true,
Baris 147:
insertTalkbackSignature: true, // always sign talkback templates
talkbackHeading: "Talkback",
adminNoticeHeading: "NoticePerhatian",
mailHeading: "You'veAnda gotmendapat mailsurat!",
// Shared
markSharedIPAsMinor: true
Baris 4.354:
{
name: "summaryAd",
label: "\"AdIklan\" toyang beditambahkan appendedke toringkasan penyuntingan Twinkle's edit summaries",
helptip: "TheIklan summaryringkasan adharus shoulddimulai startdengan withsebuah a spacespasi, anddan bedijaga kepttetap shortpendek.",
type: "string"
},
Baris 4.363:
{
name: "deletionSummaryAd",
label: "SummaryIklan adringkasan tountuk useringkasan for deletion summariespenghapusan",
helptip: "NormallyBiasanya thesama samedengan asiklan theringkasan editpenyuntingan summarydi ad aboveatas.",
adminOnly: true,
type: "string"
Baris 4.373:
{
name: "protectionSummaryAd",
label: "SummaryIklan adringkasan tountuk useringkasan forperlindungan page protectionshalaman",
helptip: "NormallyBiasanya thesama samedengan asiklan theringkasan editpenyuntingan summarydi ad aboveatas.",
adminOnly: true,
type: "string"
Baris 4.385:
{
name: "userTalkPageMode",
label: "WhenKetika openingmembuka ahalaman userpembicaraan talk pagepengguna, open itbuka",
type: "enum",
enumValues: Twinkle.config.commonEnums.talkPageMode
Baris 4.393:
{
name: "dialogLargeFont",
label: "UseGunakan largerukuran textteks inyang Twinklelebih dialogsbesar di dialog Twinkle",
type: "boolean"
}
Baris 4.465:
 
{
title: "Revert anddan rollback", // twinklefluff module
preferences: [
// TwinkleConfig.openTalkPage (array)
Baris 4.471:
{
name: "openTalkPage",
label: "OpenBuka userhalaman talkpembicaraan pagepengguna aftersetelah thesepengembalian typesjebis of reversionsberikut",
type: "set",
setValues: { agf: "AGF rollback", norm: "Normal rollback", vand: "Vandalism rollback", torev: "\"Restore this version\"" }
Baris 4.544:
 
{
title: "SpeedyPenghapusan deletioncepat (CSD)",
preferences: [
{
name: "speedySelectionStyle",
label: "When to go ahead and tagTandai/delete thehapus pagehalaman",
type: "enum",
enumValues: { "buttonClick": 'Whenketika Isaya clickklik "Submit"', "radioClick": "Assaat soonsaya asklik Isebuah click an optionpilihan" }
},
{
name: "speedyPromptOnG7",
label: "PromptMinta foralasan rationaleketika whenmenandai tagging withdengan G7 (authorpermintaan requestpenulis)",
type: "boolean"
},
Baris 4.562:
{
name: "watchSpeedyPages",
label: "AddTambahkan pagehalaman toke watchlistpantauan whenketika taggingmemberi withtanda thesedengan criteriakriteria berikut",
type: "set",
setValues: Twinkle.config.commonSets.csdCriteria,
Baris 4.572:
{
name: "markSpeedyPagesAsPatrolled",
label: "MarkTandai pagehalaman assebagai patrolledterpatroli whenketika taggingmenandai (ifjika possiblememungkinkan)",
helptip: "Due to technical limitations, pages are only marked as patrolled when they are reached via Special:NewPages.",
type: "boolean"
Baris 4.581:
{
name: "notifyUserOnSpeedyDeletionNomination",
label: "NotifyBeri pagetahu creatorpembuat onlyhalaman whenketika taggingmenandari withdengan thesekriteria criteriaberikut",
helptip: "Even if you choose to notify from the CSD screen, the notification will only take place for those criteria selected here.",
type: "set",
Baris 4.593:
{
name: "welcomeUserOnSpeedyDeletionNotification",
label: "Memberi ucapan selamat datang kepada pembuat halaman bersamaan dengan pemberitahuan ketika menandai dengan kriteria berikut",
label: "Welcome page creator alongside notification when tagging with these criteria",
helptip: "The welcome is issued only if the user is notified about the deletion, and only if their talk page does not already exist. The template used is {{<a href=\"" + mw.util.wikiGetlink("Template:Firstarticle") + "\">firstarticle</a>}}.",
type: "set",
Baris 4.603:
{
name: "promptForSpeedyDeletionSummary",
label: "Izinkan penyuntingan ringkasan penuntingan ketika menghapus dengan kriteria berikut",
label: "Allow editing of deletion summary when deleting under these criteria",
adminOnly: true,
type: "set",
Baris 4.614:
{
name: "openUserTalkPageOnSpeedyDelete",
label: "OpenBuka userhalaman talkpembicaraan pagepengguna whenketika deletingmenghapus underdengan thesekriteria criteriaberikut",
adminOnly: true,
type: "set",
Baris 4.625:
{
name: "deleteTalkPageOnDelete",
label: "CheckCentang thekotak \"alsoJuga deletehapus talkhalaman pagepembicaraan\" boxsecara by defaultbaku",
adminOnly: true,
type: "boolean"
Baris 4.632:
{
name: "deleteRedirectsOnDelete",
label: "CheckCentang thekotak \"alsoJuga deletehapus redirectspengalihan\" boxsecara by defaultbaku",
adminOnly: true,
type: "boolean"
Baris 4.650:
{
name: "speedyWindowWidth",
label: "WidthLebar ofkotak speedydialog deletionpenghapusan windowcepat (pixelspiksel)",
type: "integer"
},
Baris 4.658:
{
name: "speedyWindowHeight",
label: "HeightTinggi ofkotak speedydialog deletionpenghapusan windowcepat (pixelspiksel)",
helptip: "IfJika youAnda have a bigmemiliki monitor besar, youmungkin Anda mightingin likememperbesar tokotak increasedialog thistersebut.",
type: "integer"
},
Baris 4.665:
{
name: "logSpeedyNominations",
label: "KeepSimpan acatatan logsemua innominasi userspaceKPC/CSD ofdi allruang CSDnama nominationspengguna",
helptip: "Since non-admins do not have access to their deleted contributions, the userspace log offers a good way to keep track of all pages you nominate for CSD using Twinkle. Files tagged using DI are also added to this log.",
type: "boolean"
Baris 4.671:
{
name: "speedyLogPageName",
label: "KeepSimpan thecatatan KPC/CSD userspacedi logsubhalaman at this user subpagepengguna",
helptip: "Enter a subpage name in this box. You will find your CSD log at User:<i>username</i>/<i>subpage name</i>. Only works if you turn on the CSD userspace log.",
type: "string"
Baris 4.677:
{
name: "noLogOnSpeedyNomination",
label: "DoJangan notbuat createentri acatatan userspaceketika logmenandai entrydengan whenkriteria tagging with these criteriaberikut",
type: "set",
setValues: Twinkle.config.commonSets.csdAndDICriteria,
Baris 4.691:
{
name: "watchTaggedPages",
label: "AddTambahkan pagehalaman toke watchlistpantauan whenketika taggingmenandai",
type: "boolean"
},
{
name: "markTaggedPagesAsMinor",
label: "MarkTandai additionpenambahan oftag tagssebagai assuntingan a minor editkecil",
type: "boolean"
},
{
name: "markTaggedPagesAsPatrolled",
label: "MarkTandai pageshalaman assebagai patrolledterpatroli whenketika taggingmemberi tag (ifjika possiblememungkinkan)",
helptip: "Due to technical limitations, pages are only marked as patrolled when they are reached via Special:NewPages.",
type: "boolean"
Baris 4.707:
{
name: "groupByDefault",
label: "CheckCentang thekotak \"groupgrupkan intoke {{multiple issues}}\" boxsecara by defaultbaku",
type: "boolean"
},
{
name: "tagArticleSortOrder",
label: "DefaultTampilan viewurutan orderbaku foruntuk articletag tagsartikel",
type: "enum",
enumValues: { "cat": "By categories", "alpha": "In alphabetical order" }
Baris 4.718:
{
name: "customTagList",
label: "CustomTag articleartikel maintenancetambahan tagsyang to displayditampilkan",
helptip: "These appear as additional options at the bottom of the list of tags. For example, you could add new maintenance tags which have not yet been added to Twinkle's defaults.",
type: "customList",
Baris 4.733:
{
name: "markTalkbackAsMinor",
label: "MarkTandai talkbackstalkback assebagai minorsuntingan editskecil",
type: "boolean"
},
{
name: "insertTalkbackSignature",
label: "InsertMasukkan signaturetanda withintangan talkbacksdalam talkback",
type: "boolean"
},
{
name: "talkbackHeading",
label: "SectionGunakan headingsubbagian tountuk use for talkbackstalkback",
type: "string"
},
{
name: "adminNoticeHeading",
label: "Gunakan subbagian untuk pemberitahuan WP:PPP",
label: "Section heading to use for administrators' noticeboard notices",
helptip: "Only relevant for AN and ANI.",
type: "string"
Baris 4.754:
{
name: "mailHeading",
label: "SectionGunakan headingsubbagian tountuk use forpemberitahuan \"you'veAnda gotmendapat mailsurat\" notices",
type: "string"
}
Baris 5.030:
var contentnotice = document.createElement("p");
// I hate innerHTML, but this is one thing it *is* good for...
contentnotice.innerHTML = "<b>BeforeSebelum modifyingmengubah yourpreferensi preferencesAnda heredi sini,</b> makepastikan sureAnda youtelah havemenghapus removed any oldsetelah <code>TwinkleConfig</code> anddan <code>FriendlyConfig</code> settingslama from yourdari <a href=\"" + mw.util.wikiGetlink("Special:MyPage/skin.js") + "\" title=\"Special:MyPage/skin.js\">userberkas JavaScript filepribadi Anda</a>.";
contentdiv.appendChild(contentnotice);
 
Baris 5.367:
 
if (mw.config.get("wgArticleId") > 0) { // page exists
box.appendChild(document.createTextNode("ThisHalaman pageini containsberisi yourpreferensi Twinkle preferencesAnda. YouAnda candapat changemengubahnya them using themenggunakan "));
} else { // page does not exist
box.appendChild(document.createTextNode("YouAnda candapat customizemengkustomisasi Twinkle toagar suitcocok yourdengan preferenceskesukaan byAnda using themenggunakan "));
}
link = document.createElement("a");
link.setAttribute("href", mw.util.wikiGetlink(mw.config.get("wgFormattedNamespaces")[mw.config.get("wgNamespaceIds").project] + ":Twinkle/Preferences") );
link.appendChild(document.createTextNode("TwinklePanel preferencesPreferensi panelTwinkle"));
box.appendChild(link);
box.appendChild(document.createTextNode(", oratau bydengan editingmenyunting thishalaman pageini."));
$(box).insertAfter($("#contentSub"));
 
Baris 5.386:
link = document.createElement("a");
link.setAttribute("href", mw.util.wikiGetlink(mw.config.get("wgFormattedNamespaces")[mw.config.get("wgNamespaceIds").project] + ":Twinkle/Preferences") );
link.appendChild(document.createTextNode("TwinklePanel preferencespreferensi panelTwinkle"));
box.appendChild(link);
box.appendChild(document.createTextNode("."));
Baris 5.401:
contentnotice.innerHTML = '<table class="plainlinks ombox ombox-content"><tr><td class="mbox-image">' +
'<img alt="" src="http://upload.wikimedia.org/wikipedia/en/3/38/Imbox_content.png" /></td>' +
'<td class="mbox-text"><p><big><b>BeforeSebelum modifyingmengubah yoursetelan settingsAnda heredi sini,</b> youAnda mustharus removemenghapus your oldsetelah Twinkle anddan Friendly settingslama fromAnda yourdari personal skinhalaman JavaScript pribadi Anda.</big></p>' +
'<p>ToUntuk do thismelakukannya, youAnda candapat <a href="' + mw.config.get("wgScript") + '?title=User:' + encodeURIComponent(mw.config.get("wgUserName")) + '/' + mw.config.get("skin") + '.js&action=edit" target="_tab"><b>editmenyunting yourhalaman personalJavaScript JavaScriptpribadi Anda</b></a>, removingmenghapus allsemua lines of codebaris thatyang refermengacu toke <code>TwinkleConfig</code> anddan <code>FriendlyConfig</code>.</p>' +
'</td></tr></table>';
} else {
Baris 5.458:
var dialog = new Morebits.simpleWindow(720, 400);
dialog.setTitle(curpref.label);
dialog.setScriptName("TwinklePreferensi preferencesTwinkle");
 
var dialogcontent = document.createElement("div");
Baris 5.524:
dialog.close();
}, false);
button.textContent = "SaveSimpan changesperubahan";
dialogcontent.appendChild(button);
button = document.createElement("button");
Baris 5.538:
dialog.close(); // the event parameter on this function seems to be broken
}, false);
button.textContent = "CancelBatal";
dialogcontent.appendChild(button);