Vikidatumoj/Helpo
This page in a nutshell: To ease maintenance Wikipedia now fetches interwiki links from the Wikidata central database for languages sidebar. As of February 2013, local interwiki links that duplicate those at Wikidata can be safely removed from articles, with several important caveats. |
To ensure that the transition to Wikidata goes smoothly:
|
Vikidatumoj estas frata projekto de Vikipedio por krei liberan kaj kunlaboran datumbazon. Komence de 2013 oni transigas interlingvajn ligilojn elde Vikipedio al Vikidatumoj por centra prizorgado.
Tiel ekzemple la angla artikolo en:Douglas Adams estas reprezentata en Vikidatumoj per la ero d:Q42.
En estonteco Vikidatumoj provizos ankaŭ aliajn specojn de rilataj datumoj, ekzemple tiujn, kiujn uzas informkestoj.
Interlingvaj ligiloj (Fazo 1)
Ĉiu Vikipedia paĝo kun koncernan datumon en Vikidatumoj uzas lingvoligilojn konservatajn tie por montri lingvoligilojn en la maldekstra kolumno. Tradiciaj interviki-ligiloj en la viki-teksto de paĝo daŭre estas agnoskataj, kaj simple superregas la informojn por tiu lingvo de Vikidatumoj (se entute tie estas).
Se al la artikolo ja ligas Vikidatumoj, ĝi montros ĉiujn ligilojn pri la artikolo listigitajn Vikidatume aldone al ligiloj jam en la viki-teksto. En okaze de konflikto aŭ intenca malsameco inter loka (enteksta) ligilo kaj ligiloj Vikdatumaj por iu konkreta lingvo, la loka ligilo montriĝos; ligiloj de Vikidatumoj por aliaj lingvoj plu montriĝos.
Se artikolo ne estas ankoraux ligata elde Vikidatumoj, gxi plu montros intervikiojn kiuj estas en viki-teksto, sam kiel gxis nun. En iuj okazoj povas esti ero en Vikidatumoj kiu korespondas kun la artikolo sed la Esperanta Vikipedio ankoraux ne asociigxis kun gxi. Se tio estas kauxzita pro manko de ligilo en Vikidatumoj, aldonu gxin laux D1.
Prilaborado de interlingvaj ligiloj per Vikidatumoj
Novaj artikoloj
- D1. Mi jxus kreis artikolon nomitan AEO; mi scias ke jam ekzistas artikolo en la germana/franca/slovaka Vikipedio pri la sama temo nomita ASK. Kiel mi kreu interviki-ligilon?
- Iru al Vikidatumoj.
- En la cxefa strio (en la etoso Vektoro gxi estas maldekstre) trovu "Ero laux titolo"
- Klaku al "Ero laux titolo"
- En la rezulta pagxo plenigu la lingvan kodon (eo por Esperanto) kaj la nomon de la pagxo en koncerna Vikipedio (AEO). Poste klaku al Sercxi.
- Se la ero jam ekzistas, iru al subo de la ero kaj klaku al "aldoni", plenigu la nove malfermitan ujon per lingva kodo kaj la sekvan per nomo de la pagxo, kiun vi kreis (AEO). Poste klaku al "konservi". Laboro finita.
- Se tia ero ankoraux ne ekzistas, kreu gxin klakante al "krei novan eron", aldonu gxian nomon (AEO) kaj (prefere) priskribon de la ero. Poste aldonu al gxi interlingvajn ligilojn laux la supraj instrukcioj.
- Se vi planas aldonadi interlingvaj ligilojn ofte, vi povas sxaltila adonajxon "slurpInterwiki", kiu estas disponebla en viaj aldonajxoj en Vikidatumoj.Kiam vi havas sxaltitan la aldonajxon kaj vi estas en pagxo de iu ero, vi klaku al "Import interwiki" kiu estas en menuo en cxefa panelo.
- Cxiuokaze, la malnova maniero por aldonadi interlingvajn ligilojn (aldonante ilin en tekston de Vikipedia pagxo) dauxre funkcios sed (supozeble malpli multaj) robotoj kontrolos artikolojn kaj la tempo gxis kiam la ligiloj propagigxos al aliaj artikoloj estos pli longa.
Alinomitaj artikoloj
- D2. Mi jxus alinomis artikolon elde BEO al CEO kaj gxiaj interlingvaj ligiloj malaperis. Kion mi faru?
- Iru al Vikidatumoj kaj trovu la eron BEO laux instrukcioj en D1.
- En la pagxo de la ero trovu la Esperantan interlingvan ligilon, klaku al "redakti" kaj sxangxu el BEO al CEO, poste konservu.
- Memoru, ke povas dauxri kelkajn minutojn gxis la pagxo en Esperanta Vikipedio denove reagos al la sxangxo. Vi povas tion plirapidigi per forvisxo de kasxmemoro de via foluimilo.
Malĝustaj intervikiaj ligoj
- Q3. I've just noticed that article ZEN is linked to the wrong article XSW on the German|French|Swahili Wikipedia. How do I correct this?
- In the interwiki links section of the article ZEN click on the pen below the interwiki links. This will take you to the Wikidata item for ZEN.
- On the "List of pages linked to this item" section of the item on Wikidata, find the Swahili entry for XSW.
- Click on the "edit" button next to the entry and click "remove".
- Repeat this with other erroneous entries.
- If the pen does not show up on your Wikipedia, the item has not yet been added to Wikidata. Then act as in Q1 above.
More than one interwiki family
- Q4. I've just noticed that the articles en:YEN, de:YDE and fr:YFR are linked together, and that cs:YCS and hu:YHU are linked together. Actually all five articles are on the same subject. How do I locate and merge their entries on Wikidata?
- You can find their entries as shown in Q1 above – in this case, you could try d:Special:ItemByTitle/en/YEN and d:Special:ItemByTitle/cs/YCS; if those don't work, try searching for all the other Wikipedias' titles, as in some cases it's possible that an item has been created for one title, but not the article it's linked to.
- If you find two items, then remove all the links from one (generally the one with the higher Q number, but it's okay to use the other one if it has many fewer linked articles), add them to the second one, and request deletion of the now empty item.
- If you find one item, simply add the links to the relevant articles.
- If you find no items, then just create an item for all five articles, as explained in Q1 above.
- You can find their entries as shown in Q1 above – in this case, you could try d:Special:ItemByTitle/en/YEN and d:Special:ItemByTitle/cs/YCS; if those don't work, try searching for all the other Wikipedias' titles, as in some cases it's possible that an item has been created for one title, but not the article it's linked to.
Migrating new interwiki links
- Q5. In the article which has its Wikidata entry, and the links were removed by the bot longtime ago, someone added a Swahili interwiki link. What should I do?
- Check that the Swahili article exists and is on the same topic;
- If it does, consider it as a request to add the Swahili link to Wikidata, act as in Q1.
- If it does not exist, delete the link.
Daŭraj konfliktoj
- Q6 I'm trying to do all this, but I keep on running into conflicts with other wikis.
- Just go over to w:Wikipedia talk:Wikidata#Interwiki conflicts and bring it up. It'll be handled as fast as possible, or forwarded to d:WD:IWC if it requires attention from other Wikipedias.
- If you need help for any other reason, feel free to contact any of the users in the box in the "Any questions?" section, or to go to #wikimedia-wikidatakonekti.
Migration of interlanguage links
Local interlanguage links in Wikipedia pages can be safely removed if the local list and the Wikidata list match. Understand that unexplained removal of interlanguage links could appear to be vandalism. To avoid being reverted, leave an edit summary when removing local links, preferably linking to this page.
In general, it is best to remove interwiki links in Wikipedia articles once they are associated with Wikidata. (You can tell that the page is "associated" with Wikidata by the presence of the "Edit links" text below the language list.) This is because whatever interwiki links are left over will always override the more current information that Wikidata endeavors to provide. Page sizes also decrease noticeably when long lists of interwikis are removed. However, you should not remove links if you have not verified that they have been copied to Wikidata. This task is now done by a bot (Addbot), so you don't need to do this manually on most pages.
Automated migration of links
Bot operators using the pywiki framework should upgrade to a minimum of pyrev:11073. Bot operators using bots editing interwikis using other frameworks or methods should stop running their bot until they have fixed their code to avoid changing interwikis. See w:Wikipedia:Bot owners' noticeboard/Archive 8#Wikidata..
Semi-automated migration of links
Below are methods which can be used to change the links in a more automatic fashion, which decreases the chance that you will make an error while transferring the links:
- You may want to add the following JavaScript to your common.js page on your home Wikipedia, which will allow you, when editing a page, to click a "remove interwikis" button, which will remove all interlanguage links that have been copied to Wikidata:
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');
- slurpInterwiki is a Wikidata gadget which can be used to semi-automatically pull in new links from the article. See the Wikidata gadgets panel.
Manual migration of links
The following method is the basic way to edit an interlanguage link:
- Go to the Wikidata item. There are two manual methods to do this:
- Click the grey "edit links" link at the bottom of the "Languages" bar
- Go to d:Special:ItemByTitle and search for your page
- Compare the links with the article's
- Edit the links in Wikidata. This should be straightforward; each interlanguage wiki link has an [edit] next to it. Click that link exposes several forms:
- The first is for the language code
- The second is for the languages' link
- Where the [edit] link was should now appear three options: save, remove, and cancel.
- Save is used when you have completely finished changing the information in the entry
- Remove completely removes the entry from the database
- Cancel cancels the interaction with the interface
- Add any missing links in Wikidata if appropriate. This can be done by going to the bottom of the interlanguage wiki link list and clicking on "add link". This exposes mostly the same forms as a normal edit.
- Once all links are accounted for, preview a version of the article on Wikipedia with all interlanguage links removed, and compare it to the current version of the article. Look to see if there are any differences between the rendered text. If there are not, they may be removed safely. If there are differences, you should either not remove the links that differ, or, better yet, return to editing Wikidata, and then remove them from the article.
If you encounter any interwiki conflicts (most notably situations where you get an error message informing you that a link you've tried to add is already in use on another item), you can raise the issue at w:Wikipedia talk:Wikidata#Interwiki conflicts or d:Wikidata:Interwiki conflicts, though if you can think of a way to resolve it yourself, by all means please do.
If you run into any confusion in the process of transferring links from Wikipedia to Wikidata, feel free to drop by at d:Wikidata:Project Chat or ask for advice on IRC at #wikimedia-wikidatakonekti. You may also see the ""Any questions?" section below for more help.
Related information
Article status indicators
Good Articles and Featured Articles on other Wikipedias are indicated by a star beside the language link. This star is generated by a template. Since Wikidata does not store this information, these templates should not be removed. The corresponding language link itself may be removed.
Interlanguage links with anchors
Sometimes an interlanguage link includes an anchor, which is a link to a section of an article. The anchor is represented by the "#" character (e.g. [[fr:Analyse de survie#Fonction de survie]]). Such a link is used when the linked Wikipedia does not have an exactly corresponding article, but has an article that deals in part with the same subject. Wikidata's language links do not support anchors by design, so language links with anchors must be retained on Wikipedia if desired. For an example, see the end of the wikitext in the article w:Survival function: Wikidata is providing all of the language links—via d:Q2915096—except for the one to the French Wikipedia, which, since it is a section link, is instead listed locally in the article itself.
Suppression of Wikidata links
An individual article can completely suppress Wikidata links by using the {{noexternallanglinks}} magic word. The magic word also supports suppression of only specific languages, in the form "{{noexternallanglinks:es|fr|it}}", which would suppress the Spanish, French, and Italian links.
Scope of Wikidata's language links
The Wikidata community agreed in an RFC that all namespaces of Wikipedia projects other than "User" are eligible for storage on Wikidata. This means that interwiki links for categories, templates, and Wikipedia policy pages can also be stored in Wikidata and removed locally if effected by both communities. For an example of a Wikidata item referring to the Wikipedia namespace, see item Q4167836, which refers to w:Wikipedia:Categories.
Inline interlanguage links
Inline interlanguage links (those of the format [[:<language>:<article>]]
) continue to work as before and have not been changed by Wikidata. For instance, you can link the German version of this information page without in any way affecting its interlanguage links, here or on Wikidata. (Just remember to start with a colon!)
Recent changes
Changes on Wikidata that relate to articles on this Wikipedia will show up in Recent Changes if the option is enabled by the user. See Special:Preferences#mw-prefsection-rc.
Infoboxes (Phase 2)
Wikidata aims to hold information in many languages that can eventually be re-used on Wikipedias, particularly in infoboxes. The choice to use this information is left entirely to the Wikipedia community itself—future changes to the wiki software will only provide an option to retrieve information from Wikidata if desired. (For example, some wiki-text may ask for the atomic number of a chemical element, or the population of a country.) Wikidata will support citations for all data. This phase of the Wikidata project is a large one, and is still in development.
It is envisaged that articles will be able to incorporate facts from the corresponding Wikidata page using a {{#property:}}
syntax, described at Wikidata/Notes/Inclusion syntax. Such transclusions will have to be added inline to articles explicitly on a page-by-page or template-by-template basis, either manually or by bots, and will not be attached automatically to articles in the way that Phase 1 interwiki links are.
Ajnaj demandoj?
If you still have questions, or you would like some assistance from a user who speaks your language, you may try reading the links on the Main Page of Wikidata, especially the introduction, Help:Contents, the FAQ, and the glossary. If you would like to ask someone, you may go to the "project chat" in your language, and ask there. More technical questions can be asked on the "Contact the development team" page.
You may also visit #wikidatakonekti on IRC (freenode) for help. Note that the channel is publicly logged.
Below is a list of users who are willing to help, listed along with the languages they speak and the list of wikis on which they are admins.
Vidu ankaŭ
- Wikipedia Signpost Technology report article from 4 February 2013
- Wikidata/Ambassadors – list of Wikidata "ambassadors".
External links
- Wikidata main page at Wikidata
- FAQ at Wikidata
- Introduction at Wikidata
- Wikidata at Meta-Wiki
- #wikimedia-wikidatakonekti – IRC chat room if you need help
- Lydia Pintscher (13 February 2013). Wikidata live on the English Wikipedia at the Wikimedia DE blog.
- Wikidata now live on all Wikipedias at the Wikimedia DE blog.