Content deleted Content added
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1:
// <nowiki>
//created by btilm
function adt() {
Line 13 ⟶ 14:
addOnloadHook(function() {
if (document.editform) {
mw.util.addPortletLink("p-cactions", "javascript:adt()", "adt", "ca-adt", "Add Display Title", "");
}
});
Line 27 ⟶ 28:
addOnloadHook(function() {
if (document.editform) {
mw.util.addPortletLink("p-cactions", "javascript:rdt()", "rdt", "ca-rdt", "Remove Display Title", "");
}
});
// </nowiki>
|