Skip to content

Visual editor silently converts Wikipedia URL to Wikibooks interwiki link #1346

@1ec5

Description

@1ec5

When you use the wiki’s visual editor to insert an external link to the English Wikipedia by a full URL, the wiki converts the URL to an interwiki link to the English Wikibooks instead. For example, I never specified Wikibooks when making this edit.

To reproduce this issue:

  1. Go to any wiki page and click Edit to open the visual editor.
  2. Select some text and click the 🔗 nutton in the toolbar.
  3. In the dialog that appears, switch to the External Site tab, then paste https://en.wikipedia.org/wiki/Potlatch_(software).
  4. Click Done. Observe that the link points to the Wikipedia URL as entered.
  5. Click Save. Observe that the link now points to Wikibooks.
  6. View a diff of your change. The raw wikitext says [[wikibooks:Potlatch_(software)|…]].
  7. Click Edit to return to the visual editor, then select the link. Observe that it’s now an external link to https://en.wikibooks.org/wiki/Potlatch_(software).

I see nothing amiss in the interwiki table. This seems to be some sort of misconfiguration or bug in Parsoid or Linter.

First reported on the forum. As that post suspects, we are seeing a smattering of incorrect links to Wikibooks as a result of this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    service:wikiThe project wiki on wiki.openstreetmap.org

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions