MediaWiki:Gadget-find-archived-section.js: Difference between revisions
Content deleted Content added
add bottom padding |
No edit summary |
||
Line 6:
// Show only on discussion pages (pages with "add section" button)
// On minerva skin (which doesn't use
if (!addsection && (!correctNs || !minerva)) {
return;
Line 20:
$('#mw-content-text').before(
$('<div>')
.
.addClass('archived-section-prompt')
.css({
Line 51:
var divHtml;
if ($(html).find('.mw-search-nonefound').length) {
divHtml = 'No search results found for archived discussion "' + mw.html.escape(sectionName) + '"';
} else {
divHtml = 'Looks like the discussion "' + mw.html.escape(sectionName) + '" has been archived. ';
var discussionLink;
|