Template talk:Signpost/snippet: Difference between revisions

Content deleted Content added
 
(One intermediate revision by one other user not shown)
Line 18:
 
I know it's just a sandbox, but the current handling of {{para|4}} is causing this bogus expansion in the /doc page: <syntaxhighlight lang="wikitext">[https://en.wikipedia.org/api/rest_v1/page/pdf/Wikipedia%3AWikipedia%20Signpost%2F2023-12-04%2FFeatured%20content[[Wikipedia:Wikipedia Signpost/2023-12-04/Featured content|<span class="signpost-snippet-hook">Quite literally, and other fascinating featured articles, pictures and lists</span>]]<span class="signpost-snippet-download">&#91;&thinsp;~0.8&nbsp;MB&thinsp;📥︎&thinsp;&#93;</span>]</syntaxhighlight> – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 18:01, 7 December 2023 (UTC)
 
:It's a clusterfuck, I am going to have to do some heavy lifting to fix it. <b style="font-family: monospace; color:#E35BD8">[[User:JPxG|<b style="color:#029D74">jp</b>]]×[[Special:Contributions/JPxG|<b style="color: #029D74">g</b>]][[User talk:JPxG|🗯️]]</b> 08:19, 10 December 2023 (UTC)
 
== Don't use MediaWiki classes ==
 
User scripts emit errors when run on a page that transcludes this template because it uses <code>mw-headline</code>, a class used by MediaWiki. This is an unwise practice not only because it fails scripts that make certain assumptions about the structure of the page but because skins may update their CSS any time and make the element with the class hideous-looking. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 17:40, 16 December 2023 (UTC)