Content deleted Content added
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
||
Line 172:
:That isn't a module fix. You'll have to edit the note_2 of the banner itself. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 03:08, 1 August 2024 (UTC)
== Syntax highlighting in automatic documentation ==
Could syntax highlighting be added to the automatic documentation (i.e. when {{para|DOC|auto}})?
Current display (e.g. [[Template:WikiProject AfroCreatives#Full usage]]):<br />
<code><nowiki>{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |___location= |topic= }}</nowiki></code>
Proposed:<br />
<syntaxhighlight inline lang="wikitext">{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |___location= |topic= }}</syntaxhighlight>
Only applicable in the [[#Basic usage]] & [[#Full usage]] sections (I think). <b>~</b> <span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span> 17:42, 30 May 2024 (UTC)
:That sounds good (and uncontroversial) to me, but after some searching, I have been unable to figure out where the relevant code is. <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 18:31, 30 May 2024 (UTC)
::It seems like it might be at [[Module:WikiProject banner/templatepage]] from lines 833-863. Someone who knows Lua would need to implement. <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 18:35, 30 May 2024 (UTC)
:Excellent idea. I will do it shortly unless someone else has already done it — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 15:33, 2 June 2024 (UTC)
:Please check [[Template:WikiProject Cycling/sandbox]] and feed back? I notice you used the "inline" option but I don't know what difference that makes — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:36, 4 June 2024 (UTC)
::Compare this: <syntaxhighlight inline lang="wikitext">{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |___location= |topic= }}</syntaxhighlight> which uses inline, with this: <syntaxhighlight lang="wikitext">{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |___location= |topic= }}</syntaxhighlight> which doesn't. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 12:37, 4 June 2024 (UTC)
:::Got it. So I think in this case we do not want "inline", so this should be good to go — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 17:15, 4 June 2024 (UTC)
::::Any luck with this? <b>~</b> <span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span> 12:42, 26 July 2024 (UTC)
:::::Think it was deployed ages ago - are you not seeing it? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 19:54, 5 August 2024 (UTC)
::::::Seems Pppery reverted the edits [https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/templatepage&diff=next&oldid=1227253439 here]. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 19:59, 5 August 2024 (UTC)
:::::::Ah, didn't realise that. My understanding is that all these category issues were resolved so I have redeployed the code. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:18, 5 August 2024 (UTC)
::::::::<syntaxhighlight inline lang="wikitext">{{Looks |great=!}}</syntaxhighlight> <b>~</b> <span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span> 10:29, 6 August 2024 (UTC)
:::::::::Reverted again by {{ul|Timrollpickering}}. Please can you explain what problems you are seeing? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 15:04, 7 August 2024 (UTC)
::::::::::See [[Wikipedia:Village pump (technical)#WikiProject templates category redirect mess]] for the various category redirects this has impacted. Several are being fixed through renames. [[User:Timrollpickering|Timrollpickering]] ([[User talk:Timrollpickering|talk]]) 14:13, 8 August 2024 (UTC)
:::::::::::Thanks for the note. I think I will redeploy the code but populate a tracking category instead of non-existent category so we can check for issues. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:25, 8 August 2024 (UTC)
:Does the olive text-to-background contrast really pass accessibility here, let alone on the gray background? — <small> [[user:Hellknowz|<span style="color: #B00;">HELL</span>KNOWZ]] <b>∣</b> [[User talk:Hellknowz|TALK]]</small> 15:20, 7 August 2024 (UTC)
::If you think this is an issue, then I would suggest you discuss at [[mw:Extension talk:SyntaxHighlight]] — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 07:00, 9 August 2024 (UTC)
|