維基數據/幫助
- Bahasa Melayu
- Cymraeg
- Deutsch
- Dusun Bundu-liwan
- English
- Esperanto
- Frysk
- Ilokano
- Lëtzebuergesch
- Nederlands
- Piemontèis
- Plattdüütsch
- Tiếng Việt
- Türkçe
- asturianu
- dansk
- dolnoserbski
- español
- euskara
- français
- galego
- hornjoserbsce
- interlingua
- italiano
- kurdî
- lietuvių
- magyar
- occitan
- polski
- português
- português do Brasil
- română
- slovenčina
- slovenščina
- suomi
- svenska
- čeština
- Ελληνικά
- български
- русский
- українська
- ייִדיש
- עברית
- اردو
- العربية
- روچ کپتین بلوچی
- سنڌي
- فارسی
- پښتو
- मराठी
- हिन्दी
- বাংলা
- ਪੰਜਾਬੀ
- తెలుగు
- മലയാളം
- ပအိုဝ်ႏဘာႏသာႏ
- ភាសាខ្មែរ
- 中文
- 日本語
- 한국어
維基數據 (Wikidata)是一個創建開放性、合作性的資料庫的維基計劃。 截至2013年2月,維基數據計劃正對獨立條目的跨語言連結移動到中央資料庫以便維護。
所有維基百科皆可以使用維基數據中存儲的跨語言連結。例如,跨語言連結d:Q42會顯示在en:Douglas Adams與fr:Douglas Adams頁面的左側欄。
未來,維基數據還會包含其他種類的有關信息,如信息框中的信息。
跨語言連結(第1階段)
每一個在維基數據具條目的維基百科頁面都把儲存於維基數據的跨語言連結顯示於頁面左側的跨語言連結欄內。位於頁面維基代碼內的傳統跨語言連結仍然是有效的,其只是簡單的覆蓋了來自維基數據對應語言的數據(如果存在的話)。
如果該頁面已被連結至維基數據,在除開該頁面維基代碼中出現的語言連結外,其則會顯示所有在維基數據列出的連結。在發生衝突或有意的情況下,會顯示存在差異的本地維基代碼連結和維基數據連結中的本地維基代碼連結;而維基數據中其餘語言的連結還會照常顯示。
如果該頁面未被連結至維基數據,則該頁面會和原先一樣,僅顯示其維基代碼中的連結。在某些情況下,維基數據可能已存在對應某頁面的項目,但英文維基百科的頁面尚未與之關聯。在日後維基數據的例行維護中會將其修復。
管理維基數據中的跨語言連結
新條目
- 問1:我剛剛創建了一個名為「XEN」條目;我知道在德文/法文/斯瓦希里文維基百科中存在同一主題的條目,但其被稱為「XSW」。我該如何創建跨語言連結呢?
- Go to XSW. On the left, there should be a list of interwiki links followed by a pen. Click on pen, this will take you to the Wikidata page (item) for XSW. Go to the bottom of the item, click on "add", fill in in the opened cases the language code (en for English) and the name of the article you created (XEN). Then click on "save". You are done.
- If the pen does not show up, go to Wikidata.
- In the main panel (in Vector interface, on the left) locate "Item by title".
- Click on "Item by title".
- On the resulting page, fill in the language code (for example, de for German) and the name of the page on the corresponding Wikipedia (XSW). Then click on Search.
- If the item already exists, go to the bottom of the item, click on "add", fill in in the opened cases the language code (en for English) and the name of the article you created (XEN). Then click on "save". You are done.
- If the item does not exist, create it by clicking on "create the item", filling in its name (XEN) and (preferably) a description of the item. Then add to the item the interlanguage links, as described above.
- If you are planning to add interlanguage links often, you may want to switch on the gadget "slurpInterwiki", available in your Wikidata gadgets. Once the gadget is on, and you are on the item page, click on "Import interwiki" on the menu on the left.
- At least for some time, the old way of adding interlanguage links (just adding them to the Wikipedia pages) will still work, but most likely fewer bots will be checking new articles, and the time until the links propagate to other articles will be longer.
已移動條目
- 問2:我剛剛將頁面「YEN」移動至「NEY」,所有的跨語言連結都消失了。我該怎麼辦?
錯誤的跨維基連結
- 問3:我剛剛發現條目「ZEN」錯誤的連結到了德文/法文/斯瓦希里文維基百科中的「XSW」。我該如何修正?
- 在條目「ZEN」頁面左側跨語言連結欄底部點擊灰色「編輯連結」(Edit links)按鈕。其會打開維基數據中「ZEN」對應的項目。
- 在「連結到本項目的頁面列表」找到德文條目對應的「XSW」。
- 點擊「編輯」,再點擊「刪除」(remove)。
- 同理刪除其他語言的錯誤跨語言連結。
- 如果在中文維基百科條目頁的跨語言連結欄中沒有出現灰色的編輯按鈕,則說明該條目未被加入維基數據中。則可參照「問1」添加。
合併跨語言連結
- 問4:我剛剛發現「en:YEN」、「de:YDE」和「fr:YFR」三個條目連結在一起,而「cs:YCS」和「u:YHU」連接在一起。但實際上這五個條目都為同一主題。我該如何查找並合併維基數據中的項目?
- 您可以參照「問1」中的方法找到這些項目——即您可以試試搜索d:Special:ItemByTitle/en/YEN和d:Special:ItemByTitle/cs/YCS;如果其並不能解決問題,則請試試搜索其餘的語言條目。在某些情況下,可能已為一個頁面創建了項目,但未被連結。
- 如果您發現了兩個項目,可刪除其中一個項目的所有連結(通常選擇Q值較小的那個,但若該項目已被眾多頁面連結則亦可刪除另一個項目上的所有連結),然後請求刪除。
- 如果您只發現了一個項目,則只需要缺少的連結。
- 如果您未發現任何項目,則請參照「問1」的方法創建一個含有該五個連結的項目。
- 一般情況下,您添加條目中缺少的跨語言連結,對姊妹計劃的編者及讀者來說都是極好的(維基數據現僅被部署於英文、匈牙利文、義大利文及希伯來文維基百科中)。當然這也不是必需的。維基數據將在2013年3月6日部署至所有語言的維基百科項目中。
- 您可以參照「問1」中的方法找到這些項目——即您可以試試搜索d:Special:ItemByTitle/en/YEN和d:Special:ItemByTitle/cs/YCS;如果其並不能解決問題,則請試試搜索其餘的語言條目。在某些情況下,可能已為一個頁面創建了項目,但未被連結。
遷移新的跨維基連結
- 問5:在有維基數據項的條目中,很久以前機器人刪除了連結,但有人添加了斯瓦希里語的跨維基連結。 我該怎麼辦?
- 檢查斯瓦希里語條目與該條目是否同一主題;
- 如果是,將其視為向維基數據添加斯瓦希里語連結的請求,按照問1的方式處理。
- 如果其不存在,刪除連結。
持續衝突
- 問6:我一直試著完成上述操作,但卻一直與其他維基衝突。
- 可去往en:Wikipedia talk:Wikidata#Interwiki conflicts討論解決。其會被儘快的解決。如果需要其他維基百科項目的關注可轉發至d:WD:IWC。
- 如果您還需要任何其他幫助,請隨時聯繫#wikimedia-wikidata 連接 。
(追記) (追記ここまで)
遷移跨語言連結
如果某頁面本地的跨語言連結列表與維基數據中的列表完全匹配,則可以放心的將本地頁面內的跨語言連結移除。不註明理由的移除跨語言連接可能會被不知情的用戶視為破壞。所以為了避免這些跨語言連結被恢復,請在移除跨語言連結時在編輯摘要里說明,並最好連結至本頁面。
一般情況下,最好在該頁面被連結至維基數據後就立即移除本地的跨語言連結。(您可以註明該頁面已被「關聯」到維基數據,可點擊跨語言連結欄底部的按鈕進行編輯)。因為這些遺留的跨語言連結無法保持實時。當頁面中冗長的跨語言連結被移除時,頁面大小會明顯減少。但是在未核實跨語言連結是否被複製到維基數據之前,請不要移除頁面內的跨語言連結。移除工作現在由機器人(Addbot)操作,所以不需要手動完成。
自動遷移連結
使用pywiki框架的機器人至少應升級至pyrev:11073。使用其他框架或方法編輯跨維基連結的機器人應該停止運行,直至代碼修復前不應更改跨維基連結。詳見w:Wikipedia:Bot_owners'_noticeboard/Archive_8#Wikidata.。
半自動遷移連結
以下方法也可用於半自動地遷移跨語言連結,以降低手動遷移時的出錯率:
- 您需要將以下JavaScript加入您的common.js頁。在編輯頁面時,點擊「remove interwikis」按鈕,即可將所有已被複製到維基數據的跨語言連結移除:
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.
手動遷移
以下為通過編輯來遷移跨語言連結的基本方法。
- 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-wikidata 連接 . You may also see the ""Any questions?" section below for more help.
相關信息
條目狀態符號
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!)
最近更改
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.
有問題?
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 #wikidata 連接 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.
參見
- Wikipedia Signpost Technology report article from 4 February 2013
- Wikidata/Ambassadors – list of Wikidata "ambassadors".
外部連結
- Wikidata main page at Wikidata
- FAQ at Wikidata
- Introduction at Wikidata
- Wikidata at Meta-Wiki
- #wikimedia-wikidata 連接 – 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.