Template talk:Interwiki redirect

From Meta, a Wikimedia project coordination wiki

confusing wording[edit]

{{editrequest}} This page can be found => Please follow this link

Given the way this template is used - at User_talk:Misza13, at least - a wording change such as this makes sense. (Perhaps add "The page/content you are looking for should be there.") --Elvey (talk) 04:23, 24 May 2014 (UTC)[reply]

Hmm, I'm not sure about this. Either way, I think your suggestion makes more sense for that particular page. "Please follow this link" is a somewhat vague, and does not explain why the user should follow the link. In most cases, the page can be found on another wiki. I know other users will see this, and I hope they'll comment. This is a highly used template. PiRSquared17 (talk) 04:33, 24 May 2014 (UTC)[reply]
Maybe something like your parenthetical suggestion would be good to solve the problem I mentioned. I don't see why adding "Please follow this link" would be useful in most cases. PiRSquared17 (talk) 04:36, 24 May 2014 (UTC)[reply]
The text led me to think I had actually been editing a page on en. I clicked on the link and realized no, I, and others have been commenting on meta, and the person who used the template probably wanted us to edit the en page instead. I wonder if cascading protection would be helpful to keep that sort of thing from happening. Suggestions welcome. I'm not sure either. But I figured if I didn't use the template, this would probably sit here ~forever - perhaps not a fair assumption. --Elvey (talk) 04:48, 24 May 2014 (UTC)[reply]
Pinging verdy_p and Glaisher since this is going nowhere and I would like another opinion. PiRSquared17 (talk) 03:32, 6 June 2014 (UTC)[reply]
I don't see what is the issue with this template, except that it could be used as a first central step created locally to avoid creating a page n Meta-Wiki whose content is in fact developed elsewhere, or has been moved to another wiki so that local wiki pages that were referencing the page tagged with this soft redirect will still work (it may be convenient for a few common page names to have an entry located on Meta-Wiki that will then offer a common redirection to another wiki (possibly with a different title to avoid falling to disambiguation.
We have several other similar soft-redirect templates, for example: category redirect, moved to Media-Wiki, and this template may be used to fill a gap. soft-redirect pages are as useful as standrd redirects (that only work for local pages, except categories; "media:", 'file;" description pages, or other pages in special namespaces (mediawiki:, int:, special;) which can neither be hard-redirected nor soft-redirected.
What do you want to change? !the sentence itself ? Look first at the list of pages including this template, it may be instructive. I've found that it is commonly used when a page from another wiki has been imported to Meta-Wiki (and then slightly modified) but contains links to pages that were not imported to avoid keeping red links or to to avoid many modifications in the imported page, notably when it is a complex template) it is sometime simpler to fill the local landing pages of these red links with a basic pages hosting only a soft-redirect.
But most uses of this template is within user pages to indicate the location of their main user page on their home wiki (and I don't want to edit these user pages to change what it will look after the change, but clearly the Template:Soft-redirect which indicates a page move is not correct for user pages and does not indicate that this is going to another wiki). On English Wikipedia, there's no text, just an arrow icon and its use is left generic. verdy_p (talk) 05:00, 6 June 2014 (UTC)[reply]
"Please follow this link": why would I? Agreed, too generic. "This page can be found" is ok. --Nemo 17:58, 6 June 2014 (UTC)[reply]
Not done No consensus to change. --Glaisher [talk] 13:05, 9 June 2014 (UTC)[reply]

Suggestion[edit]

{{edit request}} Somebody imported this template or an older version on testwiki:Template:Interwiki redirect. Please re-import this version, it has a decent default [[:{{{1|m:Interwiki map}}}|{{{2|{{{1|<mark style="color:red">FIXME</mark>}}}}}}</span>]] rendered as FIXME, and offers template data. One line has to be fixed:

for all redirects within the Test wiki. ''Source: [[m:Template:Softredirect]]''.
…should be…
for all redirects within the Meta-wiki. ''Source: [[w:en:Template:Softredirect]]''.

Be..anyone (talk) 06:11, 22 April 2015 (UTC)[reply]

Can we still have the link to soft redirect? The latest revision at testwiki is simply Interwiki redirect. We might want to link that to soft redirect, no? Glaisher (talk) 04:29, 23 April 2015 (UTC)[reply]
Meh, I missed that. Really an "older" version, eight years ago, an original Pathoschild, without link. I've now added the link, and converted the HTML to a wikitable while at it. The Interwiki m: in the link m:Soft redirect on testwiki should be dropped here after a re-import. –Be..anyone (talk) 06:19, 23 April 2015 (UTC)[reply]
I've incorporated your edits to the template at testwiki and made some other minor changes as well. (diff) Thanks, --Glaisher (talk) 15:57, 26 April 2015 (UTC)[reply]

linkfix please[edit]

{{Edit Protected}} Ocassionally, this template may be imported to other wikis, e.g. the Wikimania wiki. To make fixes like this unnecessary, please add the ":" here, too. Before my fix, the sentence reads "This redirect is for redirecting through different" instead of "This redirect is for redirecting through different wikis". Regards --Schniggendiller (talk) 18:21, 13 May 2015 (UTC)[reply]

Schniggendiller: Done, thanks. -- MarcoAurelio 21:13, 21 May 2015 (UTC)[reply]

transclusion issues[edit]

Hi! cc: @MarcoAurelio The usage of wiki links needs to be done with much care.

example: At wikt:an:user::בײַ מיר ביסטו שיין a link to a non existing wikt:an:Soft redirect (a page in the main namespace) is generated. The link should be to m:Soft redirect at meta: for all 777++ transclusions.

Please change This is an [[Soft redirect|interwiki redirect]] to:

This is an [[m:Soft redirect|interwiki redirect]] i.e. This is an interwiki redirect adding an extra leading m: interwiki prefix witch works also here at meta.

The wiki links inside the documentation should have a well defined target (best suitable at w:en: or meta:) as well. [[:en:wiki|wikis]] should change to

[[w:en:wiki|wikis]] with an extra leading w

[[:Category:Soft redirects/Permanent (interwiki)]] should change to

w:en:Category:Soft redirects/Permanent (interwiki) or m:Category:Soft redirects/Permanent (interwiki)

question: Is there a "sandbox template" (i mean a page in the template namespace) which can be used mainly for transclusions of LTR text with BiDi parameters on RTL wikis and or wikis where languages using RTL script have been selected in special:preferences? There are lots of such BiDi combinations, a lot of tests and a lot of BiDi traps.
Best regards Gangleri aka

‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 07:38, 17 October 2015 (UTC)[reply]

Transclusion bug[edit]

{{Edit Protected}} See en:User:Shadow1. Click "This is an interwiki redirect". That link is broken. It is broken because this template is transcluded to that page on English Wikipedia, where the working link in the template becomes (effectively) en:soft redirect, a local link to an non-existent page on English Wikipedia, instead of the needed unconditional link to the existing page on Meta. (The same problem surely affect many User pages.) (The link remains broken because I can't edit this template.) To fix: Please: Change: "This is an [[Soft redirect|interwiki redirect]]" to: "This is an [[m:soft redirect|interwiki redirect]]". A876 07:35, 25 December 2015

Done (diff) Glaisher (talk) 08:41, 25 December 2015 (UTC)[reply]

Oddity with fragments[edit]

Archived here from my talk page.Be..anyone 💩 17:38, 19 April 2016 (UTC)[reply]
noframe
noframe

It works perfectly this way, please try.--Syum90 (talk) 10:18, 18 April 2016 (UTC)[reply]

Not for me with Chrome, the oddity is triggered by the #. –Be..anyone 💩 10:36, 18 April 2016 (UTC)[reply]
Ah ok, I see, it works perfectly for me with Firefox. Regards.--Syum90 (talk) 10:46, 18 April 2016 (UTC)[reply]

{{Edit Protected}} Is it possible to replace this template's code with code from commons:Template:Interwiki redirect, with SVG logo? I think it's more attractive + has autotranslation. Ratte (talk) 20:49, 30 July 2016 (UTC)[reply]

fixed SVG--Shizhao (talk) 18:02, 29 August 2016 (UTC)[reply]

Make this translatable[edit]

I prepared this template for translation in the sandbox. Can someone sync these changes here? Thanks in advance! —Tacsipacsi (talk) 12:21, 17 August 2020 (UTC)[reply]

I strongly support these changes. By the way, I think this template protection is useless: auto-patrolled users should be authorized to edit this template. --Pols12 (talk) 20:14, 4 November 2020 (UTC)[reply]
@Tacsipacsi: Hi, I tried to implement this and everything worked well, but on user pages where it is used we are getting "Template loop detected error", so I have reverted those changes now. ‐‐1997kB (talk) 11:53, 15 November 2020 (UTC)[reply]
@1997kB: This is because the translation system is somewhat buggy lately and it can take as long as half an hour for it to create the /en subpage (Template:Interwiki redirect/en in this case). Now I created it manually, so no template loop should occur anymore. However, I haven’t noticed last time that the documentation would not appear on translated versions, so please apply the edit request with this fix. —Tacsipacsi (talk) 21:32, 16 November 2020 (UTC)[reply]
@Tacsipacsi and Pols12: Done. ‐‐1997kB (talk) 13:55, 20 November 2020 (UTC)[reply]
@1997kB: Please revert this change. I don’t see how it would make the box any smaller, but it re-introduces a deprecated color scheme (the standard colors, e.g. used by the languages bar just above the box, are a little bit more blueish). Also justified text looks ugly in a such narrow box. —Tacsipacsi (talk) 21:30, 23 November 2020 (UTC)[reply]
+1 to the request to remove the added CSS text-align: justify;. I have no strong feelings on the rest, but the justification makes it very ugly if the text goes longer than 1 line but with a single word that cannot be soft-wrapped, such as "Wikipedia:User:OwenBlacker" on my user page, where the spacing between words is equivalent to the characters "ipedia". — OwenBlacker (Talk) 12:25, 26 November 2020 (UTC)[reply]
Hello User:Tacsipacsi and User:OwenBlacker, I have no issue in removing background color and justification, but rest of this is required as when it was not here, there was too much extra space around the text and box was looking very ugly (it can still be seen at Template:Interwiki redirect/pt-br). ‐‐1997kB (talk) 08:10, 27 November 2020 (UTC)[reply]
and just observed that after these changes it doesn't show Wikimedia logo on mobile website [1]. ‐‐1997kB (talk) 10:15, 27 November 2020 (UTC)[reply]
@1997kB: The spacing has nothing to do with the styles you added. What it has to do with is the Translate extension wrapping not translated blocks with <div>s, with new lines after the opening and before the closing tag, and the MediaWiki parser creating paragraphs because of these new lines. (This is why the space is still there, despite of your CSS change having been applied.) What you can do is removing the new line before and changing it to a single space after the translation unit marker <--T:n-->s (it should look like <translate><!--T:n--> Text...) in order to switch Translate to an inline mode (and getting rid of the unnecessary CSS you added, of course).
Hiding the logo on mobile is very intentional—horizontal space is expensive on small screens, so it should not be wasted with unnecessary logos. —Tacsipacsi (talk) 13:35, 2 December 2020 (UTC)[reply]
Tacsipacsi, I have applied the changes you suggested, but still, I think this template is not that wide and the logo might be useful for mobile view also. ‐‐1997kB (talk) 13:51, 2 December 2020 (UTC)[reply]

Special:MyLanguage[edit]

Could someone add Special:MyLanguage to the link interwiki redirect? --Sabelöga (talk) 16:24, 21 October 2020 (UTC)[reply]

Sabelöga, done in above request. ‐‐1997kB (talk) 13:56, 2 December 2020 (UTC)[reply]
Thank you! --Sabelöga (talk) 13:59, 2 December 2020 (UTC)[reply]

Translatability not working as supposed[edit]

This template is not translated at all actually as long as we don't make translatable versions of redirect pages, which we don't for obvious reasons. Is there anyway we can make this template translatable while just putting {{Interwiki redirect}} on the redirect pages? --Sabelöga (talk) 14:57, 23 February 2021 (UTC)[reply]

@Sabelöga: There is, actually this is how it works on user pages (it’s translated based on the user interface language rather than the page language). However, there’s a surprisingly large number of help pages (and also some mainspace pages) using this template that are actually translated, for example Help:User contributions/ar or Help:What links here/sv. The point in these translations is to have them in the language they’re translated into, not in UI language (this means for example that logged-out users can also view translated content), so I don’t think switching these pages to use UI language is a good idea. Selectively changing the behavior on non-translatable pages is, on the other hand, hard to impossible—simply there’s no good way to tell whether a page is translatable or not. —Tacsipacsi (talk) 21:10, 24 February 2021 (UTC)[reply]
Okay, I'll keep this in mind. --Sabelöga (talk) 10:39, 25 February 2021 (UTC)[reply]