MediaWiki talk:DYK-nomination-wizard.js: Difference between revisions

Content deleted Content added
 
Line 38:
{{edit interface-protected|MediaWiki:DYK-nomination-wizard.js|answered=yes}}
Please change:
<syntaxhighlight lang="wikitext">' <small>Source: ' + params.source + '</small>'</syntaxhighlight>
 
To:
<syntaxhighlight lang="wikitext">'\n{{smalldiv|1= \n* Source: ' + params.source + '}}'</syntaxhighlight>
 
The intent is to add a new line and then wrap the "Source" portion in div tags. When someone puts a multi-line block of text into the "Source" field using the existing code, it creates Linter errors of a type that have been cleared from Template space (loosely related: what ever happened to moving DYK to Wikipedia space, where it belongs?). [https://en.wikipedia.org/w/index.php?title=Template%3ADid_you_know_nominations%2FHistory_of_Palestinian_journalism&diff=1217289847&oldid=1217287342 Here's a sample change that Lint-error-fixing gnomes need to make a few times per day].