Page MenuHomePhabricator

Interwiki transclusion: set original Wikisource page as rel="canonical"
Open, Stalled, LowPublic


  1. Look for an index page whose pagelist tag contains a language code (like <pagelist 36to533=it 566to576=it /> on )
  2. Open a page which exists in the other language subdomain (e.g. )

I. Observed: the text is transcluded correctly (and the header says e.g. «This page does not need to be proofread. Its text comes from»), but the page otherwise looks local.
II. Expected: for search engines purposes, the original page should be declared canonical, as file descriptions link the remote repository as canonical. <link rel="canonical" href="" /> should be <link rel="canonical" href="" />

The number of such pages indexed by Google seems limited:
It looks like the transcluded text is not indexed:

Event Timeline

Nemo_bis raised the priority of this task from to Low.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added projects: ProofreadPage, Crosswiki.
Nemo_bis added a subscriber: Nemo_bis.

The transclusion between wikis (using templates like iwpage) is not managed by the ProofreadPage extension. So, it shouldn't be fixed by the extension, as long as the support of interwiki transclusion is not added to it (and I believe it won't as long as there are no clean ways to do such things).

I think it should be done in that is the current backend for {{iwpage}}

Tpt set Security to None.
Tpt added a subscriber: Phe.
Nemo_bis changed the task status from Open to Stalled.Jan 10 2015, 8:08 PM

Ah. It was too good to be true, I was indeed surprised by this feature. There isn't anything a script can do to solve this bug, so it will only be fixable when the feature is added to the extension. It would be good to have that tracked in the PP component, blocked on any necessary core task (T11890?).

Contents is transcluded through javascript, I'm unsure if google is able to index it. There is a lot of uncertainty about what google and other SE do with javascript. Some content created by js are indexed, some other aren't, some SE doesn't support at all any javascript. Anyway even on the following request doesn't return the right Page: "misurando a passi tardi"

Are all Page: on it blocked from indexing through their robots.txt ?

As pointed by Tpt, this can't be solved without a clean transwiki transclusion and it'll remain the problem of the canonical <link.