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 have add section button) show on all talk & project space pages
if (!addsection && (!correctNs || !minerva)) {
return;
Line 20:
$('#mw-content-text').before(
$('<div>')
.htmltext('Looks like the discussion "' + sectionName + '" has been archived. Finding archived discussion...')
.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;