MediaWiki:Gadget-friendlytalkback.js: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
Repo at d9666d4: Update Twinkle from upstream |
||
Baris 20:
}
Twinkle.addPortletLink( Twinkle.talkback.callback, "TB", "
};
Baris 85:
// Check whether the user has opted out from talkback
▲ var query = {
};▼
▲ action: 'query',
▲ prop: 'extlinks',
▲ titles: mw.config.get('wgPageName'),
▲ elquery: 'userjs.invalid/noTalkback',
▲ ellimit: '1'
▲ var wpapi = new Morebits.wiki.api("Fetching talkback opt-out status", query, Twinkle.talkback.callback.optoutStatus);
▲ wpapi.post();
▲ }
};
Baris 429 ⟶ 423:
}
text += "|more=" + message.trim() + "}}";
talkpage.setEditSummary("Please check the discussion at [[:" + tbPageName +
(section ? ("#" + section) : "") + "]]" + Twinkle.getPref("summaryAd"));
Baris 449 ⟶ 443:
}
var editSummary = "Talkback ([[:";
if (tbtarget !== "other" && !/^\s*user talk:/i.test(tbPageName)) {
editSummary += "User talk:";
|