Last modified: 2013-09-02 10:59:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54874, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52874 - Wikivoyage: #related magic word in conflict with "In other languages" spot; ULS cog shown in wrong place for pages without interwiki link
Wikivoyage: #related magic word in conflict with "In other languages" spot; U...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.22.0
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://it.wikivoyage.org/wiki/Compiano
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-15 06:40 UTC by Andyrom75
Modified: 2013-09-02 10:59 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andyrom75 2013-08-15 06:40:50 UTC
The magic word in the subject, is used with this sintax {{#related:Italia}} in order to create in the sidebar a title (Pagine correlate) and a link (Italia ... in this example) that will lead to the Portale:Italia page.

After the migration to wikidata this magic word go in conflict with the "In altre lingue" title (the one dedicated to wd).

The description of the conflict is the following.
* When a page doesn't have any interwiki link in wikidata, the title "In altre lingue" doesn't show at all, make it impossible to add an interwiki link.
* When a page HAVE at least an interwiki link, the tittle "In altre lingue" is shown correctly, but the "gear" with the language settings is shown near "Pagine correlate" instead of "In altre lingue".

I've tested that the same issue occur both in it:voy and de:voy.


To let you visualize better the issue, you can check:
1) http://it.wikivoyage.org/w/index.php?title=Compiano&curid=29244&diff=297962&oldid=297939 ... this page doesn't use #related
2) http://it.wikivoyage.org/w/index.php?title=Compiano&oldid=297964 ... this page use #related through Template:Quickfooter
Comment 1 Andyrom75 2013-08-15 06:42:07 UTC
Add a reference URL. I've arisen the importance because it affect all the pages without an interwiki link, and it's not possibile to add it.
Comment 2 Andre Klapper 2013-08-15 11:29:17 UTC
(In reply to comment #0)
> * When a page doesn't have any interwiki link in wikidata, the title "In
> altre
> lingue" doesn't show at all, make it impossible to add an interwiki link.
> * When a page HAVE at least an interwiki link, the tittle "In altre lingue"
> is
> shown correctly, but the "gear" with the language settings is shown near
> "Pagine correlate" instead of "In altre lingue".

http://it.wikivoyage.org/w/index.php?title=Compiano&curid=29244&diff=297962&oldid=297939 shows "In altre lingue" and has the cog displayed at the right spot, but does not show any interwiki language links. Firefox 23.
Is that a different result than yours, or do I misunderstand?
Comment 3 Andyrom75 2013-08-16 08:18:11 UTC
I've just noticed that the same magic word ruin the behavious of the Template:Link V, that is a template that add a star near the interlingual link when that link is related to a star article.
Comment 4 Andyrom75 2013-08-16 08:24:57 UTC
Andre, the page linked by http://it.wikivoyage.org/w/index.php?title=Compiano&curid=29244&diff=297962&oldid=297939 show the correct output.

Unfortunately, as you can see from the diff, we have removed a core part of the code, and when we put it back in the source, we lose the right output and we get the wrong one that you can see on: http://it.wikivoyage.org/wiki/Compiano

PS
In the previous post I've forgotten to add a reference link where you can see the issue. In this page: http://it.wikivoyage.org/wiki/Cambogia you can "see teh missing star". While here http://it.wikivoyage.org/wiki/Angkor the star is present. The difference between the two articles consist at the end on the fact that one call {{#related:XXX}} and the other one don't.
Comment 5 db [inactive,noenotif] 2013-08-22 18:14:27 UTC
magic word #related sounds like a extension and not like a core feature, maybe wikidata or ULS
Comment 6 Andre Klapper 2013-08-23 10:24:56 UTC
related is not listed on http://www.mediawiki.org/wiki/Help:Magic_words so I also wonder where it comes from.
Comment 7 Andyrom75 2013-08-24 16:07:11 UTC
I suppose (but it's just a mere guessing...) that it has been created during the importation of original wikivoyage website into WMF-family. I think you know the history of voy. So wikidata it's not connected to this stuff.
Comment 8 Andyrom75 2013-08-29 05:53:24 UTC
It seems that it's working now. Do you know if something has been fixed? I'd like to double check that it's not a case...
Comment 9 Andre Klapper 2013-09-02 10:59:30 UTC
(In reply to comment #8)
> It seems that it's working now. Do you know if something has been fixed? I'd
> like to double check that it's not a case...

No idea, sorry. :-/
Closing for the time being, please reopen if it happens again.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links