Wikidata:Wiktionary/Sitelinks

From Wikidata
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎asturianu • ‎dansk • ‎français • ‎kurdî • ‎polski • ‎svenska • ‎српски / srpski

Overview

 

Documentation

 

Development

 

Tools

 

Support for Wiktionary

 

How to help

 

Lexemes

 

Discussion

 

Wikidata:Lexicographical data

Sitelinks on Wiktionary

This page describes the different systems that connect Wiktionary pages between each others.

Main namespace[edit]

The main namespace of Wiktionary, or "Entry", means the pages that contains the core content, such as wikt:en:face or wikt:fr:face.

On these pages, the links between pages of different language versions of Wiktionary, with the exact same title, are automatically displayed by a Mediawiki extension called Cognate. The links are not stored in Wikidata: the extension is automatically linking the pages having the exact same title, after applying a few normalization rules to the titles. For example, the pages wikt:en:face, wikt:fr:face, and a lot of other pages on other languages, are connected via the links appearing in the menu column.

Since the deployment of this system in April 2017, the manual links should be removed from the main namespace on Wiktionaries. It is still possible to overwrite the automatic links by adding a manual link in the wikitext of a Wiktionary page, with the syntax [[fr:face]]. This also means that in order to allow the extension to work on a page, the manual links need to be removed.

If you encounter any problem with the automatic links, or would like to suggest a normalization rule for your language or alphabet, feel free to let a message on this talk page after discussing with your local Wiktionary community. If you're using Phabricator, you can also create a sub-task of this ticket.

The links to pages of the main namespace should not be stored in Wikidata. A link to a Wiktionary entry should not be linked on a Q-item on Wikidata, since Q-items are about concepts and not words. Therefore, the section "Wiktionary" on items pages should not contain links to a Wiktionary entry.

Even if it is technically possible, you should not link Wiktionary main namespace pages from Wikidata. The interwiki links for them are already provided by the Cognate extension (see the section above).

In short
  • When you create a new page about a word on Wiktionary, the links to other pages with exact same titles will be created automatically
  • For existing pages, the manual links need to be removed from wikitext
  • It is still possible to overwrite the automatic links by adding manual links
  • If you have any problem with the automatic links, talk to your community and ask here

Other namespaces[edit]

Other namespaces exist on Wiktionaries to store "meta" content, for example: wikt:en:Help:How to edit a page or wikt:fr:Aide:Comment modifier une page.

To link these pages to their equivalent on another language version of Wiktionary, the links are stored in Wikidata. For example, the item Help:Editing (Q151637) is the item dedicated to all the help pages about editing on the Wikimedia projects ; on this item, in the "Wiktionary" section, the links to all the Wiktionaries having such a page appear. Then, on wikt:en:Help:How to edit a page, the links to the other language versions are automatically displayed in the menu column.

Since the deployment of this system in June 2017, the manual links should be removed from the other namespaces on Wiktionaries (except for a few ones, see the "exception" section below). It is still possible to overwrite the automatic links by adding a manual link in the wikitext of a Wiktionary page, with the syntax [[fr:Aide:Comment modifier une page]]. This also means that in order to allow the extension to work on a page, the manual links need to be removed.

Edit a Wiktionary sitelink on Wikidata
How to add a link?

On the Wiktionary pages, in the menu column, under the "other languages" section, there is a link "add a new language". By clicking on this link, you will be redirected to Wikidata, where you can directly edit the "Wiktionary" section. Click on the "edit" link, then add a new link by entering the language code of the desired page (e.g. "en" for English) in the first field, and the name of the page, including the namespace, in the second field.

In case you want to add a link manually, it is still be possible to enter a link in the wikitext, this link will be displayed as well in the sidebar.

When creating a new page

When you create a new page that is not connected on Wikidata yet, after publishing, you can click on “add links” in the menu column. Select a language, then select the name of the page on another Wiktionary you want to link.

If you encounter any problem with the automatic links, feel free to let a message on this talk page after discussing with your local Wiktionary community. If you're using Phabricator, you can also create a sub-task of this ticket.

In short
  • The sitelinks for the namespaces other than the main namespace are stored in Wikidata
  • To add a new link, you can go on the Wikidata item from your Wiktionary page, and add the link there
  • You can still add manual links in the wikitext, they will be displayed as well
  • some namespaces are not included in this feature, see the exceptions below

Exceptions[edit]

Here are the places on Wiktionaries where none of the two automatic systems are applied.

  • the Citations namespace
  • the User namespace
  • the Special namespace
  • and the talk pages

See also[edit]