Citoid/Citoid-ի ակտիվացում ձեր վիքիում
Citoid-ը ծանոթագրության ինքնալրացվող գեներատոր է, որն ավտոմատ կերպով ստեղծում է ծանոթագրության կաղապարը: Այժմ այն առկա է ՎիզուալԽմբագրիչում, իսկ վիքիտեքստի խմբագրիչում այն կհայտնվի մոտ ապագայում: Էջի հղումը մանրամասն տեղեկության վերածելու համար Citoid-ը օգտագործում է Zotero թարգմանիչներ:

Քայլ 1. ծանոթագրության կաղապարի գործիքի ակտիվացում
Citoid համակարգը օգտագործում է ծանոթագրության կաղապարի գործիքը: Սա արդեն ակտիվացրած է բազմաթիվ Վիքիպեդիաներում: Եթե ծանոթագրության գործիքը միացված է, "Ծանոթագրություն" վահանակը կցուցադրի մի քանի տեղային ծանոթագրության կաղապարներ: Եթե ծանոթագրությունների գործիքը միացված չէ, անհրաժեշտ է այն միացնել շարունակելուց առաջ: Յուրաքանչյուր ծանոթագրության կաղապար ԿաղապարիՏվյալի կարիք ունի:
Մաս 2. Citoid-ի կարգավորում
Citoid հավելումը պետք է կարգավորել` օգտագործելով հատուկ ԿաղապարիՏվյալ և Citoid-ին բնորոշ հաղորդագրություններ: Շատ կարևոր է այս երկու մասերը կատարել իրար ետևից:
Step 2.a: Check your wiki has citation templates
If your local wiki has citation templates, proceed to step 2.b. If it does not, you'll need to create or import some first.
Քայլ 2.ա. Յուրաքանչյուր ծանոթագրության կաղապարի համար ստեղծել Citoid ճանապարհների արժեքներ

Քանի որ յուրաքանչյուր տեսակի փաստաթղթերի համար Citoid-ը ունի իր սեփական դաշտերը, անհրաժեշտ է ավելացնել ԿաղապարիՏվյալ Citoid-ի համար:
If you prefer using wikitext, edit <templatedata />
(usually inside a /doc
or /TemplateData
subpage) and add the citoid
mapping in the maps
object:
{
"description": "…",
"params": {…},
"paramOrder": […],
"maps": {
"citoid": {
…,
"publicationTitle": "journal",
…
}
},
"format": "{{_ |_=_}}"
}
This special mapping creates a map between Citoid's fields and the template's fields.
'Citoid' ճանապարհի ակտիվացումը թույլ է տալիս Citoid հավելվածին ընտրել այն ճանապարհը, որով պետք է առաջնորդվել:
An unlimited number of maps with unique keys are allowed in the maps
object.
Note that you can only see TemplateData maps in edit mode; they are not visible in the TemplateData table.
If you recently created TemplateData for your wiki by copying it from English Wikipedia, it probably already includes the Citoid maps.
However if the TemplateData is too old, it may not contain it.
Ամենաժամանակակից ճանապարհները, որոնք համատեղելի են Citoid հավելվածի համար, առկա են Վիքիպեդիայի փորձնական տարբերակում:
- w:Template:Cite news/doc
- w:Template:Cite journal/doc
- w:Template:Cite web/doc
- w:Template:Cite book/TemplateData
- w:Template:Citation/doc
Քայլ 2.բ. հատուկ ՄեդիաՎիքի հաղորդագրության կարգավորում
Անհրաժեշտ է կարգավորել Մեդիավիքիի անվանատարածքի հաղորդագրությունը, MediaWiki:Citoid-template-type-map.json
:
This message maps the 34 native Citoid types (artwork
, book
, journalArticle
, tvBroadcast
, website
, etc.) to the appropriate templates (Cite web, Cite book, Cite journal, etc.).
Անհրաժեշտ է համապատասխանեցնել լոկալ ծանոթագրության կաղապարը յուրաքանչյուր տեսակի Citoid-ին: Օրինակ` ձեր վիքիում կարող է բացակայել միջադիր նշումների կաղապարը: Կարող եք նրա փոխարեն օգտագործել նմանատիպ կաղապար, որպեսզի տիպերը համապատասխանեն: You may consider using a generic template, such as en.wiki's Template:Citation, as a catch-all for types if there is no good match for the type of source you are mapping.
Անվանատարածքի հաղորդագրության օրինակ կարող եք գտնել այստեղ:
Խնդիրների լուծում
Ծանոթագրության նոր կոճակը չի երևում վահանակում

Երբ 2.բ քայլում ստեղծում եք ՄեդիաՎիքիի հաղորդագրություն, նախորդ ներքև բացվող վահանակը (File:VisualEditor_-_Cite_Pulldown.png) պետք է փոխարինել նոր կոճակով: If the new button does not appear in the toolbar, then there may be a problem with MediaWiki:Citoid-template-type-map.json. Եթե այս էջը բացակայում է ձեր վիքիում կամ այն պարունակում է անթույլատրելի JSON, ապա CITOID-ը չի աշխատի:
We couldn't make a citation for you.
If this message occurs for every or most citations, then you may be trying to insert citation templates that have no maps data. Check your browser console as you will see a warning with the name of the template if this is the case. Դատարկ ծանոթագրությունները հիմնականում ավելանում են այն ժամանակ, երբ դուք փորձում եք ավելացնել ծանոթագրության կաղապարներ, որոնք զուրկ են տվյալների ճանապարհից: Եթե ճանապարհի օբյեկտը առկա է ԿաղապարիՏվյալում, ապա կաղապարում փորձեք կատարել "զրոյական խմբագրում": Եթե սա չի օգնում, ապա խնդիրը կապված է ճանապարհի հետ: Also ensure that blank template data on the template page itself isn't over-writing the template data from a transcluded documentation page. If that doesn't work, then there may be an issue with the map itself. Note that if this error occurs inconsistently, then there may just be a problem with the particular url you're trying to cite. To check this, try citing the url from the API. If it doesn't work there either, it is not a config issue.
Citoid-ը չի ճանաչում իմ սիրելի կայքը
Citoid համակարգը հիմնվում է Zotero թարգմանիչների վրա, որոնք պետք է գրվեն յուրաքանչյուր կայքի համար: You can see a list of all Zotero translators at https://github.com/zotero/translators. Right now, Zotero best supports English-language sources. Մենք ունենք ձեր աջակցության կարիքը այլ կայքերի ծածկույթների բարելավման գործում: Դուք կարող եք գրել ձեր սեփական Zotero թարգմանիչը: You can write your own Zotero translator. Start by looking at an existing translator of a similar website, and by reading the tutorial at Citoid/Creating Zotero translators.
Dates are formatted differently on my wiki
Dates with full information (month, year, and day) are in ISO format, which is an international standard. If the community doesn't like the way this looks to the user, it is possible to edit the citation template to format the ISO dates to something that is standard in your language. For instance, you can add logic to the template such that if the date is detected to be in ISO yyyy-mm-dd format, the date is reformatted *to appear* to be dd/mm/yyyy on the page. However, if you do this, the underlying data (i.e. when you edit the wikitext, or the form in VisualEditor) will still remain the same.
Dates with only month and year are in also in ISO (YYYY-MM) but these are not accepted by some citation templates. See T132308.
Many language wiki templates (pl, it, en) don't accept xx-XX style language codes
See T115326 for the related task. See the thread at T97256 to learn how different wikis decided to workaround this limitation.
Տես նաև
- փորձնական Zotero
- Zotero թարգմանության սերվեր
- Յուրաքանչյուր պիտակի տեսակի համար դաշտի ընդունելի անվանումներ
- Zotero դաշտի պլանավորում
- Research:Citoid support for Wikimedia references
- https://www.zotero.org/support/dev/translators/testing
- Learn how to write a translator with Sebastian Karcher, Zotero (video, slides, links)
- List of websites with Zotero translators
- Examples of different itemType URLs
- James Forrester talks Citoid and Zotero at m:WikiCite 2017