This page is a translated version of the page Global templates/Discuss and the translation is 100% complete.

这是一个用于收集全域模板提议有关意见的页面。

如果您阅读该提议并表示赞同,请在下面签名。如果您有一些反对意见,请在此处或提议的讨论页上写下。

这不是投票。不会简单根据赞成或反对的人数来做出最终决定。它不是社群愿景清单或其他任何推广、计划过程的一部分。如果此项目实施了,那么维基媒体计划上软件的工作方式将发生重大变化,因此,在继续进行之前,务必要有广泛的社群共识。

请向您的维基朋友介绍此页面,并邀请他们发表意见。该提议不应仅由一个人或一个小组拥有,而应属于整个维基媒体社群。

我阅读了提议,我认为这是一个好主意

如果您认为这是一个需要解决的重要问题,并且您认为建议的解决方案(简短版本完整版本)很好,请在下面签名。如果您认为方向总体上是好的,但是您需要进行一些小的更正,请也指出这一点。您可以使用任何语言。

我阅读了提议。让我解释一下为什么这是一个坏主意

您完全可以反对这个提议。只有在获得广泛共识的情况下,才应实施它。在下方签名之前,请确保您至少已阅读提议解决方案的简短版本,并请说明问题所在。你可以用任何语言写。

扩展內容
  • Global templates will inevitable include code that does nothing on some wikis, which, on those wikis, amounts to code bloat. * Pppery * it has begun 17:41, 6 April 2020 (UTC)[reply]
    In any case, the user in one Wikimedia sister project could ask a bot to include a global template in the project. The important thing: it can be Wikimeda wide easily / nearly automatically / automatically disposable --BoldLuis (talk) 14:59, 12 May 2020 (UTC)[reply]
    @BoldLuis:​ I don't understand what you're trying to say. * Pppery * it has begun 21:11, 12 May 2020 (UTC)[reply]
    @Pppery:​ You can put in one template Template:Noupdate and can continue using the same template locally. But if in one place want the template globally update, can deciede do so. The choice is in your hand. And in the hand of others for their templates. (I'm sorry if I answer quite a bit later, but it has caught me a very busy time). --BoldLuis (talk) 21:41, 16 May 2020 (UTC)[reply]
    @BoldLuis:​ This doesn't address the problem; I believe the entire infrastructure is a bad idea because it perpetuates code bloat. The result of this system will be, regardless of the efforts of any individual editor or the presence or absence of opt-out templates, is that the template and module namespaces of every wiki will get polluted with pages not relevant to them. I've already seen this happen on the English Wikipedia with en:Module:Complex date/en:Module:LangSwitch/en:Module:DateI18n/en:Module:i18n/*/en:Module:Roman-cd/en:Module:Ordinal-cd/..., all of which are useless except on multi-lingual wikis but exist anyway because of pre-existing ad-hoc template and module globalizations. Implementing this as a well-established bot is doomed to make this problem even worse. * Pppery * it has begun 21:09, 17 May 2020 (UTC)[reply]
    So,in your modules en:Module:Complex date/en:Module:LangSwitch/en:Module:DateI18n/en:Module:i18n/*/en:Module:Roman-cd/en:Module:Ordinal-cd (you can include a list), you can add nogupdate. The problem is worse, when you use a text from Wikipedia in non-English to another Wikipedia. Templates are in this other language. If there is a common infrastructure for some templates, you can use in the other language. An idea can be, without translation, because you could use a wizard to see the code template in your own language. What now: copying and pasting a lot of copy from one Wikipedia to the other one and compatibility zero. Babel zero. It is more easy exclude template (also exclude all, excepting XXX ) that have nothing when you need it. BoldLuis (talk) 23:28, 17 May 2020 (UTC)[reply]
    You're still misunderstanding me. I'm not complaining about the content of those module pages, I'm complaining that they exist. I would instead have to add the "don't update" magic word to every module that uses them. I think that that effort is large enough that the entire proposal is a bad idea. In short, the "global templates" proposal is saying "every wiki should have every template", whereas I instead feel strongly that "wikis should only have templates that are relevant to them". I believe this difference in ideology to be irreconcilable, and therefore oppose this proposal. * Pppery * it has begun 23:39, 17 May 2020 (UTC)[reply]
    The "noupdate" template, which BoldLuis suggests, is not in the proposal, and it won't be necessary.
    More importantly, the "global templates" proposal is absolutely not saying that "every wiki should have every template". It very, very explicitly says the opposite: It must become possible to share templates across wiki sites. Possible, not required. As it is with images: images that must be reusable on all wikis are on Commons, but some images can also be local, for any reason.
    The proposal also explicitly says that it must be possible to make some templates non-global.
    Currently we have forked copies of templates with similar functionality in dozens or even hundreds of wikis. This is a much worse code bloat than having access to a template or a function and not using it. --Amir E. Aharoni {{🌎🌍🌏}} 17:01, 18 May 2020 (UTC)[reply]
I'm collapsing this four-year-old discussion since I think it no longer reflects my current views on the matter. That was what I said as a kind of knee-jerk reaction to this coming up when I was in the middle of or had just finished a project to clean up lots of unused templates on MediaWiki.org (no, let's not pull in more templates from other wikis). I'm no longer formally opposed to this, and now take no position. * Pppery * it has begun 05:28, 18 July 2024 (UTC)[reply]