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: "
noLogOnSpeedyNomination: [ "u1" ],
// Unlink
Baris 135:
topWelcomes: false,
watchWelcomes: true,
welcomeHeading: "
insertHeadings: true,
insertUsername: true,
insertSignature: true, // sign welcome templates, where appropriate
quickWelcomeMode: "norm",
quickWelcomeTemplate: "
customWelcomeList: [],
customWelcomeSignature: true,
Baris 147:
insertTalkbackSignature: true, // always sign talkback templates
talkbackHeading: "Talkback",
adminNoticeHeading: "
mailHeading: "
// Shared
markSharedIPAsMinor: true
Baris 4.354:
{
name: "summaryAd",
label: "\"
helptip: "
type: "string"
},
Baris 4.363:
{
name: "deletionSummaryAd",
label: "
helptip: "
adminOnly: true,
type: "string"
Baris 4.373:
{
name: "protectionSummaryAd",
label: "
helptip: "
adminOnly: true,
type: "string"
Baris 4.385:
{
name: "userTalkPageMode",
label: "
type: "enum",
enumValues: Twinkle.config.commonEnums.talkPageMode
Baris 4.393:
{
name: "dialogLargeFont",
label: "
type: "boolean"
}
Baris 4.465:
{
title: "Revert
preferences: [
// TwinkleConfig.openTalkPage (array)
Baris 4.471:
{
name: "openTalkPage",
label: "
type: "set",
setValues: { agf: "AGF rollback", norm: "Normal rollback", vand: "Vandalism rollback", torev: "\"Restore this version\"" }
Baris 4.544:
{
title: "
preferences: [
{
name: "speedySelectionStyle",
label: "
type: "enum",
enumValues: { "buttonClick": '
},
{
name: "speedyPromptOnG7",
label: "
type: "boolean"
},
Baris 4.562:
{
name: "watchSpeedyPages",
label: "
type: "set",
setValues: Twinkle.config.commonSets.csdCriteria,
Baris 4.572:
{
name: "markSpeedyPagesAsPatrolled",
label: "
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: "
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",
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",
adminOnly: true,
type: "set",
Baris 4.614:
{
name: "openUserTalkPageOnSpeedyDelete",
label: "
adminOnly: true,
type: "set",
Baris 4.625:
{
name: "deleteTalkPageOnDelete",
label: "
adminOnly: true,
type: "boolean"
Baris 4.632:
{
name: "deleteRedirectsOnDelete",
label: "
adminOnly: true,
type: "boolean"
Baris 4.650:
{
name: "speedyWindowWidth",
label: "
type: "integer"
},
Baris 4.658:
{
name: "speedyWindowHeight",
label: "
helptip: "
type: "integer"
},
Baris 4.665:
{
name: "logSpeedyNominations",
label: "
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: "
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: "
type: "set",
setValues: Twinkle.config.commonSets.csdAndDICriteria,
Baris 4.691:
{
name: "watchTaggedPages",
label: "
type: "boolean"
},
{
name: "markTaggedPagesAsMinor",
label: "
type: "boolean"
},
{
name: "markTaggedPagesAsPatrolled",
label: "
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: "
type: "boolean"
},
{
name: "tagArticleSortOrder",
label: "
type: "enum",
enumValues: { "cat": "By categories", "alpha": "In alphabetical order" }
Baris 4.718:
{
name: "customTagList",
label: "
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: "
type: "boolean"
},
{
name: "insertTalkbackSignature",
label: "
type: "boolean"
},
{
name: "talkbackHeading",
label: "
type: "string"
},
{
name: "adminNoticeHeading",
label: "Gunakan subbagian untuk pemberitahuan WP:PPP",
helptip: "Only relevant for AN and ANI.",
type: "string"
Baris 4.754:
{
name: "mailHeading",
label: "
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>
contentdiv.appendChild(contentnotice);
Baris 5.367:
if (mw.config.get("wgArticleId") > 0) { // page exists
box.appendChild(document.createTextNode("
} else { // page does not exist
box.appendChild(document.createTextNode("
}
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("
box.appendChild(link);
box.appendChild(document.createTextNode(",
$(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("
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>
'<p>
'</td></tr></table>';
} else {
Baris 5.458:
var dialog = new Morebits.simpleWindow(720, 400);
dialog.setTitle(curpref.label);
dialog.setScriptName("
var dialogcontent = document.createElement("div");
Baris 5.524:
dialog.close();
}, false);
button.textContent = "
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 = "
dialogcontent.appendChild(button);
|