User:Euphoria/common.js: Difference between revisions
From Test Wiki
Content deleted Content added
fix |
Tooltip added |
||
| Line 27: | Line 27: | ||
const btn = document.createElement('button'); |
const btn = document.createElement('button'); |
||
btn.textContent = actionObj.name.charAt(0).toUpperCase(); // D/K/N |
btn.textContent = actionObj.name.charAt(0).toUpperCase(); // D/K/N |
||
btn.title = 'Close as ' + actionObj.name; |
|||
// Ultra-small styling |
// Ultra-small styling |
||
| Line 98: | Line 99: | ||
action: 'delete', |
action: 'delete', |
||
title: talkPage, |
title: talkPage, |
||
reason: 'Parent page deleted via VfD |
reason: 'Parent page deleted via VfD' |
||
}).done(() => { |
}).done(() => { |
||
alert('Discussion closed and "' + targetPage + '" along with its talk page deleted.'); |
alert('Discussion closed and "' + targetPage + '" along with its talk page deleted.'); |
||