Jump to content

Template talk:Shared Template Warning

Add topic
From mediawiki.org
Latest comment: 6 months ago by Pppery in topic Dark mode-friendly version

Consider automatically adding the tracking categories Category:Global templates and Category:Global modules

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I suggest using the following tracking categories for templates and modules that transclude this template:

I fail to see the point of doing this; a list of such global templates and modules can already be found at Special:WhatLinksHere/Template:Shared Template Warning. * Pppery * it has begun 01:21, 1 October 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Update to match {{mbox}} styles

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Please apply Special:Diff/4694898 in order for {{Shared Template Warning}} to have the same visual style as other {{mbox}} templates, thus ensuring visual consistency. — ExE Boss (talk) 19:22, 7 July 2021 (UTC)Reply

Yes Done * Pppery * it has begun 21:48, 1 October 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

No more automatic changes

[edit]

Sadly, DiBabel has been broken since 2001, so this template should probably be removed from the templates and modules using it, or at least the text should be changed? Sophivorus (talk) 13:21, 23 January 2023 (UTC)Reply

Dark mode-friendly version

[edit]

{{Edit protected }}

Consider the following code instead.

<noinclude>{{ {{PAGENAME}}|Template:Shared Template Warning|Shared Template Warning}}{{Documentation}}</noinclude><includeonly><table
	style="color:var(--color-base, #202122); background-color:var(--background-color-destructive-subtle, #ffe9e5); margin:0.5em 10%; border:1px solid #a2a9b1; border-collapse: collapse;"
><tr><td style="border:none; padding:2px 0 2px 0.9em; text-align:center"><!--
"><!--
	-->[[File:OOjs UI icon notice-destructive.svg|20px|warning|link=]] <!--
	--><span style="white-space:nowrap">'''{{#invoke:TNT|msg|I18n/Shared Template Warning.tab|warning}}'''</span></td><!--
--><!--
--><td style="border: none; padding: 0.25em 0.9em ;width: 100%"><!--
 -->{{#ifeq:{{SITENAME}}|MediaWiki<!--
  -->|{{#invoke:TNT|msg|I18n/Shared Template Warning.tab|be-careful}}<!--
  -->|{{#invoke:TNT|msg|I18n/Shared Template Warning.tab|no-edit|{{{1}}}}}<!--
-->}}{{#if:{{{2|}}}|<br>{{#invoke:TNT|msg|I18n/Shared Template Warning.tab|translate|c:Data:I18n/{{{2}}}.tab}}<!--
-->}}</td></tr></table></includeonly>

Tactica (talk) 20:16, 4 October 2025 (UTC)Reply

I've unprotected the page. This entire template is a mostly pointless relic that we should probably just delete, but in the mean time there's no need to restrict editing to admins. * Pppery * it has begun 21:00, 10 October 2025 (UTC)Reply
@Tactica, @Pppery: Please explain these removals: 7938407, 7937327, 7937310, and 7937320.
According to Multilingual Templates and Modules, interwiki shared templates and modules are still in use and maintained with the Synchronizer tool.
Has this approach been deprecated or discontinued?-- Shirayuki (talk) 01:09, 19 October 2025 (UTC)Reply
The original plan for Template:Shared Template Warning was that there was a bot which would keep one canonical list of templates and modules in synch across wikis with MediaWiki.org as the source. Hence those templates and modules needed to be annotated with a warning indicating that. Synchronizer works in a completely different way -- it lets you specify any module on any wiki as the source, so there's no canonical source and hence nothing to annotate. * Pppery * it has begun 01:14, 19 October 2025 (UTC)Reply
I guess it's also worth noting that a lot of translations are still using the template despite my removals. I'll let Shirayuki or someone else with higher access do that since this isn't trivial for the average user (nothing is when Translate is involved...). Tactica (talk) 01:31, 19 October 2025 (UTC)Reply
Your changes needed to be marked for translation - I've done so now. * Pppery * it has begun 02:46, 19 October 2025 (UTC)Reply