Content-Length: 279838 | pFad | https://bugzilla.wikimedia.org/4547

es ⚓ T6547 Support crosswiki template inclusion (transclusion => interwiki templates, etc.)
Page MenuHomePhabricator

Support crosswiki template inclusion (transclusion => interwiki templates, etc.)
Open, MediumPublicFeature

Assigned To
None
Authored By
bzimport
Jan 10 2006, 1:27 AM
Referenced Files
None
Tokens
"Like" token, awarded by Chealer."Like" token, awarded by 1234qwer1234qwer4."Love" token, awarded by robkam."Like" token, awarded by Liuxinyu970226."Love" token, awarded by ahmad."Like" token, awarded by ResMar."Like" token, awarded by Yurik."Love" token, awarded by Qgil."Like" token, awarded by Kanzat."Like" token, awarded by Ricordisamoa."Like" token, awarded by Kozuch."Like" token, awarded by Nemo_bis."Love" token, awarded by DiegoQueiroz."Love" token, awarded by He7d3r.

Description

Author: Wiki.Melancholie

Description:
It should be possible to include templates that are stored on a different wiki, for example including templates on Wikimedia Commons on Wiktionary. Just like we can do with images! This would be for centralized templates. Examples would be:

  1. Templates for interwiki links (interlanguage links); this would make the interlang bot activity almost unnecessary. Solved by Wikidata
  2. Templates with current information like software versions, etc.

There is much more application range, of course. This would help reducing redundancy! Currently all the work that is the same in every wiki has to be done xxx-times. With template inclusion from Commons enabled we only have to do that once. The template names could be in English, or in the language of the creator (who comes first...).

Best regards, Melancholie


Version: unspecified
See Also: T58388: Pre-packaged templates for new MediaWiki installs

Implementation

Proposed implementation from 2011

Details

Reference
bz4547

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Unknown Object (User) subscribed.Jul 30 2018, 9:03 PM

@Nemo_bis

It's high priority because it's the first thing one should do when starting work on this MediaWiki core component i.e. templates. However, nobody has been working in this area for a while.

Do you have evidence that there are Gerrit patches to fix this problem, if not, then I don't think that this can be a reason to keep High priority for more than a decade.

This task was authored in 2006, now its 2019. This seems like a never ending process. Any comments on status and roadmap, or should this task be closed as rejected?

I would like watchlists to be allowed in templates. A watchlist for English Wikipedia. A watchlist for Meta. A watchlist for Mediawiki.org

And I want to be able to stack those watchlists on one crosswiki set of show/hide watchlists on one page. A page like this:

Wikipedia:Dashboard:
https://en.wikipedia.org/wiki/Wikipedia:Dashboard

DannyS712 lowered the priority of this task from High to Low.Sep 14 2019, 2:21 AM
DannyS712 subscribed.

Reflect actual priority for developers - I support this, but its been sitting here for so long its clearly not "high priority"

Interwiki (cross wiki) Transclusion would be extremely useful. An example is the template Infobox. This template on commons does not work at all. Transcluding it from Wikipedia would help so much.

In the task description: "Templates for interwiki links (interlanguage links); this would make the interlang bot activity almost unnecessary." Hasn't that not already been resolved with wikidata as repository for interlanguage links? @Wiki.Melancholie are you ok with updating the task description?

@Wiki.Melancholie are you ok with updating the task description?

Please note that Wiki.Melancholie is a Bugzilla user name, not a Phabricator one, so this user won’t get any notification about your ping. Although there’s no direct connection between Bugzilla user names and Meta user names, it seems quite likely that this name belongs to User:Melancholie, a user inactive for almost eleven years, so I don’t expect any answer even if someone writes on their talk page. (This also means that this user went inactive well before Wikidata’s launch eight years ago, so they had no chance to incorporate this change in the description.)

I personally think that such important justifications should not be removed from the description, but crossing it out or marking it

  • resolved

with a note about Wikidata is totally okay.

Hello, I don't know if it's the right topic here but if someone has a nice template in xxwiki, how to make it crosswiki ?
For instance, I have a frwiki template, it has a LangSwitch to help show custom text for each wiki. So that if I modify something in frwiki, I can just copy paste among wikis and basta. But someone did not like that and consider enwiki as the sole and unique wiki that shouldn't be international.... So is there another way to have "international" template?

Hi Bouzinac, this task is about supporting crosswiki template inclusion only.
Please bring up other questions in forums, e.g. https://meta.wikimedia.org/wiki/Tech - thanks! :)

Hello, I don't know if it's the right topic here but if someone has a nice template in xxwiki, how to make it crosswiki ?
For instance, I have a frwiki template, it has a LangSwitch to help show custom text for each wiki. So that if I modify something in frwiki, I can just copy paste among wikis and basta. But someone did not like that and consider enwiki as the sole and unique wiki that shouldn't be international.... So is there another way to have "international" template?

There's no good way to make it crosswiki. "Copy paste among wikis and basta" is the only thing we have. It may sound simple to somebody who is very experienced with programming templates, but for most people it's extremely difficult. This is exactly the thing that this very old request is trying to address.

I wrote what I know about the current way to import templates across wikis on the page https://www.mediawiki.org/wiki/Global_templates/Transition in the section "What happens today". The other sections on the same page are proposals of how it can be improved, and none of them are actually usable today. I asked a few experienced people, and no one could think of anything more comprehensive than what is written on that page, but if anyone reading this can think of something better, then by all means let me know.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM

See a test (for now orientative) global template at:

https://meta.wikimedia.org/wiki/Global:Template:Online_event

And more info at https://meta.wikimedia.org/wiki/Global_template

It would be interesting create a Template:Global_documentation , to use within global templates.

Chealer raised the priority of this task from Low to Medium.Wed, Dec 4, 5:34 AM
Chealer subscribed.

I do know how costly a solution would be, but given how high the importance is, the priority is surely at least medium. The only reason reason given (in 2019) for not setting it high was to reflect "actual priority for developers", which didn't seem high since this had stayed outstanding for so many years🙄









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://bugzilla.wikimedia.org/4547

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy