Help:Contributing/import: Difference between revisions
Automated edit (via update-page on MediaWiki MCP Server) |
Document the Add* Add-image dialog surfaces + Edit image entry point (PR #216) (via update-page on MediaWiki MCP Server) |
||
| (59 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Instead of hand-creating an item per author or source, use the external-authority pages in the '''semantic tools''' sidebar. | Instead of hand-creating an item per author or source, use the external-authority pages in the '''semantic tools''' sidebar. | ||
| Line 15: | Line 17: | ||
|} | |} | ||
'''Bibliographies in bulk:''' the '''Veramiko Bibliographer''' assistant in [https://llm.ronzz.org Open WebUI] does the same authority lookup for a batch: give it a list of DOIs, ISBNs, ORCIDs or titles and it fetches the records, resolves the authors, publisher and journal to existing items (creating the missing People/Collectives only when needed), creates or reuses each source, and returns the Q-id table plus ready-to-paste <syntaxhighlight lang="text" inline><ref>{{#cite:Qxx}}</ref></syntaxhighlight> citations. It is backed by the MCP tool <code>embeddable-authority-search</code> and the wiki API <code>action=authority-search</code>. | |||
Every import flow offers a '''manual fallback''' — ''Create the item manually instead'' — on the search page and on the candidate-selection page. The manual form is '''prefilled with what you typed in the search boxes''' (a person name is split into given/family, e.g. "Marie Curie" → given ''Marie'', family ''Curie''), so you correct instead of retyping. When the form is prefilled from '''fetched''' data (the website/web page URL entry), the form is titled '''''Item details''''' — you are verifying fetched content, not entering an item from blank. | |||
* ''' | * '''Date of birth / Date of death''' — a calendar date as <code>YYYY-MM-DD</code>. For a date before the common era, put a minus sign before the year (<code>-0384-01-01</code> stands for 384 BCE): the Wikidata harvest keeps the sign and the item stores a negative, Julian-calendar date, so 384 BCE is never saved as 384 CE. The '''This person is deceased''' toggle reveals the death date. | ||
* '''Place of birth''' / '''Place of death''' — '''OpenStreetMap search boxes''': type a place name and pick the place from the suggestions (searched on OpenStreetMap's Nominatim — villages, cities and regions alike, no local place items needed). Picking a suggestion stores the place's '''OpenStreetMap id''' (<syntaxhighlight lang="text" inline>node/123456</syntaxhighlight>, <syntaxhighlight lang="text" inline>way/…</syntaxhighlight> or <syntaxhighlight lang="text" inline>relation/…</syntaxhighlight>) as an <code>place of birth (OSM)</code> / <code>place of death (OSM)</code> statement; the <code>Person:</code> page infobox renders it as a link to openstreetmap.org. A place '''fetched from the authority''' is automatically looked up on OpenStreetMap and the best match is proposed: ''"{field} fetched from source: {place}, we think this corresponds to {name} ({id})."'' — '''Yes, that's right''' keeps it, '''No, let me correct''' clears the box for you to search. No match shows ''"External record: {place} — search OpenStreetMap to confirm the place, then pick it from the suggestions."'' — the field must hold a picked OpenStreetMap id to save (a raw place name alone is rejected). | |||
* ''' | |||
== Fictional characters == | == Fictional characters == | ||
[[Special:AddFictionalCharacter]] searches Wikidata by name (search → review candidates → create). The review step has '''Given name''' / '''Family name''' and '''Appears in''' (entity search, several works allowed). The '''label auto-generates''' as <syntaxhighlight lang="text" inline>{given name} {family name} (fictional character)</syntaxhighlight>; the '''description''' auto-generates as <syntaxhighlight lang="text" inline>fictional character in {works}</syntaxhighlight> when left blank. Characters get no classic page — just the item. | [[Special:AddFictionalCharacter]] searches Wikidata by name (search → review candidates → create). The review step has '''Given name''' / '''Family name''', '''Alias(es)''' (alternate names, comma-separated; pre-filled from the character's Wikidata aliases when available) and '''Appears in''' (entity search, several works allowed). The aliases are stored as English item aliases; a later [[Special:UpdateFictionalCharacter|update]] prefills the field and only a non-empty value replaces the stored set (a blank field keeps them). The '''label auto-generates''' as <syntaxhighlight lang="text" inline>{given name} {family name} (fictional character)</syntaxhighlight>; the '''description''' auto-generates as <syntaxhighlight lang="text" inline>fictional character in {works}</syntaxhighlight> when left blank. Characters get no classic page — just the item. | ||
== Collectives: common classes == | == Collectives: common classes == | ||
| Line 39: | Line 35: | ||
The collective review step also offers: | The collective review step also offers: | ||
* '''Parent organization''' (optional) — | * '''Parent organization(s)''' (optional) — a multi-value entity search box: the organizations this collective is a subsidiary or subdivision of (type a name to pick an existing item, or type Q-ids; separate several with a comma). ''"Parent organization(s) not found? Create it now."'' opens the AddCollective flow in a pop-up and fills the created Q-id back. | ||
* '''Logo''' (optional) — behind the ''"I will upload a logo image for this collective"'' toggle | * '''Official website''' (optional) — the collective's own website (a plain URL field). The value is written as an <code>official website</code> statement and renders in the '''Collective: page infobox'''. | ||
* '''Label language''' (optional) — the language the item '''label and description''' are stored in (defaults to English). A collective whose name is not English — or has no common English form — can be stored under its own language instead of a transliteration; pick the language here. The same field is on [[Special:AddPerson]], [[Special:AddSoftware]] and [[Special:AddFictionalCharacter]] (and on their Update pages), so a person's native-script name or a character's original name keeps its language. A later update can move the label to another language. | |||
* '''Logo''' (optional) — behind the ''"I will upload a logo image for this collective"'' toggle. '''Choose the source yourself''' — upload a local image file, paste an image URL, or '''reuse an existing file on this wiki''' (two collectives often share a logo, e.g. a website and its TV channel — pick the already-uploaded file instead of re-uploading). The reuse box '''searches existing files as you type''' — any fragment of the file name matches (''astro'' finds ''Astronomy and Astrophysics-logo.svg''; a thumbnail previews each suggestion; the same fragment search powers the portrait on [[Special:AddPerson]] and the logo on [[Special:AddSoftware]]). Nothing is pre-selected: the matching input appears after you pick a source. A pasted URL has a '''Validate''' button with preview + auto-fill, like the portrait. Fill the '''logo license''' (required when a logo is provided) and optionally '''Logo author''' / '''Additional license information'''. The file is saved as <code>File:<name>-logo.<ext></code> and linked from the item with <code>image</code>, <code>license</code>, <code>image author</code> and <code>additional license information</code> statements; the logo renders in the '''Collective: page infobox''' (the infobox image cell reads the item's <code>image</code> statement — the logo shows on every page sitelinked to an item that has one, including pages created before the logo existed). | |||
== Special:AddSource is class-first == | == Special:AddSource is class-first == | ||
| Line 64: | Line 62: | ||
|- | |- | ||
| Web page || child of website || '''enter the URL''' — metadata fetched automatically | | Web page || child of website || '''enter the URL''' — metadata fetched automatically | ||
|- | |||
| Newspaper article · Magazine article || parent || search: title or author | |||
|- | |||
| Conference paper || parent || search: DOI, title, or author | |||
|- | |||
| Report · Document || parent || manual: title, publisher, report number | |||
|- | |||
| Thesis || parent || search: title or author | |||
|- | |||
| Manuscript || parent || manual: title, author | |||
|- | |||
| Patent || parent || manual: title, patent number | |||
|- | |||
| Legal case || parent || manual: court, territorial jurisdiction, case number | |||
|- | |||
| Legislation · Bill || parent || manual: jurisdiction, legislation number | |||
|- | |||
| Treaty || parent || manual: jurisdiction | |||
|- | |||
| Interview || parent || manual: title, author | |||
|- | |||
| Map || parent || manual: title, author, publisher | |||
|- | |||
| Presentation || parent || manual: title, author | |||
|- | |||
| Dataset || parent || manual: title, author, publisher | |||
|- | |||
| Transcript || parent || manual: title, author, year, access (the transcript itself is the access URL/file) | |||
|- | |||
| Text || parent || manual: title (catch-all — author, year, URL and access optional) | |||
|- | |||
| Legal provision || child of legislation || manual: parent legislation, reference code, clause text (+ optional translations) | |||
|} | |} | ||
* '''Scholarly articles and books always ask for the prose''' — the content step cannot be skipped for a scholarly article (titled '''Abstract''') or a book (titled '''Summary'''): a manual create with no fetched prose still opens the step, and leaving it blank falls back to the item description. The other classes show the step only when prose was fetched. | |||
* '''The Zotero/CSL-aligned classes''' (newspaper/magazine article, conference paper, report, document, thesis, manuscript, patent, legal case, legislation, bill, treaty, interview, map, presentation, dataset) follow the same class-first flow with adapted fields. The '''legal texts''' (legal case, legislation, bill, treaty) carry one or more '''territorial jurisdictions''' — an OpenStreetMap search box like the person places: type a place name, pick the suggestion, and the OSM id + its display label are stored (several jurisdictions are allowed — separate them with a comma; each renders as a link in the <code>Source:</code> page infobox). For a text that applies internationally (a treaty signed by many countries, an international law), tick '''"This is an international …"''' instead — the checkbox '''replaces''' the jurisdiction (the box is hidden and cleared) and the infobox shows ''International''. A legal case also takes a '''court''' (entity search) and a '''case number''', a patent a '''patent number''', reports/documents a '''report number''', and legislation/bills a '''legislation number'''. | |||
* '''Transcript''' is the metadata-only class for a written record of spoken or audiovisual content: '''title, author(s), year and access'''. The transcript itself is the access resource — a link or an uploaded file — not a payload stored in the item; there is no publisher/URL/Wikidata field. Its <code>Source:</code> page transcludes <code>Template:Transcript</code>. | |||
* '''Text''' is the '''catch-all class''' for any text that does not fit the others — a historical text, an inscription, a document of uncertain nature. Only the '''title''' is required (author(s), year, URL and access are optional). | |||
* '''Legal provision''' is a particular clause of a legislation ('''child of legislation'''): pick the parent legislation, type its '''reference code''' (e.g. ''Article 5'') and the '''clause text'''. The clause is monolingual and its language is '''inherited from the parent legislation''' — there is no Language field. Add optional '''translations''' as language/text rows (the [[Special:AddQuotation]] "Add translation" shape). There is no title field: the label is derived as ''"{reference code} of {parent legislation}"''. The <code>Source:</code> page renders the clause — and, with no language argument, every translation — via <code>{{#content:}}</code>; the parent legislation's page lists its provisions. | |||
* '''The entity search boxes are class-scoped''': typing in a license box suggests only license items, the author box only people/organizations/groups, the publisher box only publishers, and so on — not every item on the instance. | |||
* '''Website / web page URL entry''': type a public web address (<code>http://</code>/<code>https://</code>) and the title, description and intro are fetched automatically when the site allows it — you correct everything on the next pages. For '''websites''' the URL is collapsed to the site root (a website is the site, not a page) and there is '''no year''' field (a website is dynamic); for '''web pages''' the full URL is kept. | * '''Website / web page URL entry''': type a public web address (<code>http://</code>/<code>https://</code>) and the title, description and intro are fetched automatically when the site allows it — you correct everything on the next pages. For '''websites''' the URL is collapsed to the site root (a website is the site, not a page) and there is '''no year''' field (a website is dynamic); for '''web pages''' the full URL is kept. | ||
* '''Publisher is an entity''' (book, scholarly article): the publisher field is an entity search box — type a name to pick an existing publisher item (or type a Q-id). Create a missing publisher first (e.g. via [[Special:AddCollective]]). The item's publisher statement then points at that entity. | * '''Publisher is an entity''' (book, scholarly article, newspaper/magazine article, conference paper, report, document, thesis, interview, map, dataset): the publisher field is an entity search box — type a name to pick an existing publisher item (or type a Q-id). Create a missing publisher first (e.g. via [[Special:AddCollective]]). The item's publisher statement then points at that entity. | ||
* '''Journal is an entity''' (scholarly article): the journal field is an entity search box, like the publisher — pick the journal item (create a missing one first, e.g. via [[Special:AddCollective]]). | * '''Journal is an entity''' (scholarly article): the journal field is an entity search box, like the publisher — pick the journal item (create a missing one first, e.g. via [[Special:AddCollective]]). | ||
* '''Access''' (book, scholarly article, song, film, book excerpt): | * '''Access''' (book, scholarly article, song, film, book excerpt, transcript, and the new newspaper/magazine article, conference paper, report, document, thesis, manuscript, map and dataset): the access section is a repeatable '''Add access''' list — add as many URLs and files as the work has. Each entry is a '''URL''' (a landing page, optionally archived on this wiki) or a '''file''' (upload one from your computer, or fetch it from a URL; the file is stored as <code>File:<title>.<ext></code>). Each file entry has its own '''license''' (a searchable semantic license combobox — CC0, CC BY, GNU, …) and '''language''' (defaults to the source language; pick the language of that file when it differs). A public file requires a license; '''No public access (internal)''' records the seeded '''All rights reserved''' license and gates the bytes to logged-in readers; the access entry card then shows <code>internal</code>. Every access file becomes its own semantic '''access file''' item (sitelinked to its <code>File:</code> page, holding the file URL and license), and the source links to it with a <code>has access file</code> statement. You should not upload copyrighted content unless you have the right to distribute it publicly. | ||
* '''The Access row on the Source: page''' — the infobox of every <code>Source:</code> page shows an '''Access''' row: file entries are grouped by format and show their languages (e.g. <code>PDF: en|fr</code>) — each language links to '''[[Special:SourceFile]]''' (an embedded PDF preview when the file is a PDF, the licence, and a '''download button that requires accepting the licence conditions'''); URL entries render as <code>url1</code>, <code>url2</code>, … (with their language when set); a source without access shows '''N/A'''. Login-only entries are hidden from anonymous readers. A PDF whose text has been extracted also carries a '''text''' link to [[Special:SourceText]] (see [[Help:Contributing/richMediaContent#Extracted PDF text]]). | |||
* '''Child classes need a parent''': for a book excerpt, YouTube video or web page you first pick one or more parent items (book, YouTube channel, website) with a multi-value entity search box — the line under the box, ''"Book not found? Create it now."'', opens a pop-up that runs the parent's normal import flow (website: the known site-root metadata is fetched and prefilled; book/YouTube: search first; legislation: manual) and fills the created Q-id back into the field; on creation the child is linked to each parent with a <code>part of</code> statement. Several parents are allowed (comma-separated). For a '''web page''' the parent is '''auto-assigned from the URL's site root''': the root URL's host is matched against the website items' stored URL addresses — a page on a '''subdomain''' of a recorded website matches its parent site too (a page on ''scifa.univ-lorraine.fr'' belongs to the ''univ-lorraine.fr'' website; a page on the recorded host itself still matches first). An '''exact host (or ancestor) match silently fills the parent box''' (you can still change it before submitting; no confirmation needed); a '''close name match''' fills it with the ''"we think this corresponds to …"'' confirmation ('''Yes, that's right''' / '''No, let me correct'''); and no match leaves the box empty with ''"No record found for {URL} — the website exists, but we don't have a record of it yet. Add the website first, then pick it above."'' (add the website via [[Special:AddSource/website]]). | |||
* '''The Access row on the Source: page''' — the infobox of every <code>Source:</code> page shows an '''Access''' row: | |||
* '''Child classes need a parent''': for a book excerpt, YouTube video or web page you first pick | |||
* '''Book excerpts''': after picking the parent book, fill the '''pages''' and optionally the '''volume''' and '''chapters'''. A blank '''description''' auto-generates as ''Pages a-b (Volume c) of {book}'' from the pages/volume fields and the book's title; blank '''year''' and '''author(s)''' fall back to the parent book's own values (''Leave blank if same as the parent book''). | * '''Book excerpts''': after picking the parent book, fill the '''pages''' and optionally the '''volume''' and '''chapters'''. A blank '''description''' auto-generates as ''Pages a-b (Volume c) of {book}'' from the pages/volume fields and the book's title; blank '''year''' and '''author(s)''' fall back to the parent book's own values (''Leave blank if same as the parent book''). | ||
* '''Website vs web page''': add an '''entire website''' once, then add specific pages as child items (see the explanation on [[Special:AddSource/website]]). | * '''Website vs web page''': add an '''entire website''' once, then add specific pages as child items (see the explanation on [[Special:AddSource/website]]). | ||
* '''Duration''' (film, song, video, YouTube video): type <syntaxhighlight lang="text" inline>MM:SS</syntaxhighlight> or <syntaxhighlight lang="text" inline>HH:MM:SS</syntaxhighlight> — stored in seconds. | * '''Duration''' (film, song, video, YouTube video): type <syntaxhighlight lang="text" inline>MM:SS</syntaxhighlight> or <syntaxhighlight lang="text" inline>HH:MM:SS</syntaxhighlight> — stored in seconds. | ||
* ''' | * '''Title is the only required field''' — every other fact (author(s), year, publisher, …) is optional, because it can genuinely be unknown (a text of unknown authorship, an anonymous work). Authors are picked as '''entities''' (person, organization or group — type a name to search, or type a Q-id); create missing people first via [[Special:AddPerson]]. The '''legal texts''' (legal case, legislation, bill, treaty) take no author (the court / jurisdiction carry the attribution); a book excerpt inherits its authors from the parent book when left blank. Child classes (book excerpt, YouTube video, web page) still require their parent. A '''legal provision''' requires its reference code, its clause text and its parent legislation. | ||
* '''Language''' (all classes except a legal provision, which inherits the parent legislation's language): the source's language, recorded as a <code>language</code> statement. Type to search or pick from the list — the search matches both the 2/3-letter ISO code (e.g. <code>fr</code>, <code>fra</code>) and the English name (e.g. ''French''). Use '''Additional languages''' to list every other language the source is available in: pick one and repeat for several — a source in several languages gets one <code>language</code> statement per code. If the language is not in the list, pick '''Other (specify)''' and type its name in the '''Other language''' box (stored as the statement value). | |||
* '''Label language''' (all classes except a legal provision): the language of the item '''label and description''', independent of the source language(s) above. Defaults to English, so a French-language book can keep an English label. Pick ''français'' and the item is labelled in French instead (there is no separate English label; the class suffix stays English, e.g. ''Le Hobbit (Book)''). A later [[Special:UpdateSource|update]] can move the label to another language. | |||
* ''' | |||
* ''' | |||
== Uploading files (Special:Upload) == | == Uploading files (Special:Upload) == | ||
| Line 99: | Line 119: | ||
[[Special:Upload]] is the general file-upload page (also reachable from the '''Upload file''' link in the sidebar). It saves the file to a <code>File:</code> page '''and''' — for every form upload — creates (or reuses) a '''linked image item''' holding the file's structured facts, so uploaded files are first-class, queryable entities (the ''facts in the item, prose on the page'' model). | [[Special:Upload]] is the general file-upload page (also reachable from the '''Upload file''' link in the sidebar). It saves the file to a <code>File:</code> page '''and''' — for every form upload — creates (or reuses) a '''linked image item''' holding the file's structured facts, so uploaded files are first-class, queryable entities (the ''facts in the item, prose on the page'' model). | ||
* '''File name + description''' — filled in by hand, or auto-filled: for a pasted URL, click '''Validate''' next to the URL field — a preview thumbnail, the pixel + file size and a best-effort auto-fill of the name / description / author / licence fields appear. '''Wikimedia image URLs''' (Wikipedia, Commons, upload.wikimedia.org) are read '''from your browser''' — they are not rate-limited, and the image bytes are downloaded by your browser too (the server never fetches Wikimedia). For files larger than 50 MB from Wikimedia, save the image to your device and upload it instead. | * '''Source''' — the radio defaults to '''URL''' (paste a link — the common case); switch to '''file from your device''' when the image is only on your computer. | ||
* '''File name + description''' — filled in by hand, or auto-filled: for a pasted URL, click '''Validate''' next to the URL field — a preview thumbnail, the pixel + file size and a best-effort auto-fill of the name / description / author / licence fields appear (clicking Validate again shows only the latest result). '''Wikimedia image URLs''' (Wikipedia, Commons, upload.wikimedia.org) are read '''from your browser''' — they are not rate-limited, and the image bytes are downloaded by your browser too (the server never fetches Wikimedia). For files larger than 50 MB from Wikimedia, save the image to your device and upload it instead. | |||
* '''License''' — a '''searchable combobox of the instance's license items''' (CC0, CC BY 4.0, CC BY-SA 4.0, GNU licenses, MIT, … — pick from the list or type to search). The license is recorded as a semantic statement on the image item and renders on the File page as a link to the license item. | * '''License''' — a '''searchable combobox of the instance's license items''' (CC0, CC BY 4.0, CC BY-SA 4.0, GNU licenses, MIT, … — pick from the list or type to search). The license is recorded as a semantic statement on the image item and renders on the File page as a link to the license item. | ||
* ''' | * '''Author''' (optional) — the image's author. Tick '''Specify the author as a semantic entity''' to pick person/organization/group items instead of free text; several authors may be entered, separated with commas (<code>Q42, Q179</code>). If you leave the author blank and specify a '''Source''' entity, the image item inherits that source's authors automatically (this also works on <code>Special:UpdateFile</code>); the empty-field warning only appears when '''both''' the author and the source are empty. | ||
* '''Source''' (optional) — the work the file comes from, as a source-class entity. Leave the author blank to inherit its authors (above). | |||
* '''Additional license information''' (optional) — free text (attribution lines, terms, credits — e.g. what a CC BY license requires). | * '''Additional license information''' (optional) — free text (attribution lines, terms, credits — e.g. what a CC BY license requires). | ||
* '''Drag & drop / paste''' — drag an image onto the '''Source filename''' area, or paste one anywhere on the page (<kbd>Ctrl</kbd>+<kbd>V</kbd> / <kbd>⌘</kbd>+<kbd>V</kbd>), to fill the file picker; the source switches to ''file from your device'' automatically (the usual size/format checks still apply). A paste made while the page is still loading is kept and fills the picker as soon as the form is ready. | |||
* '''The source choice is remembered''' — after '''Submit and upload another image from same author''', the form reopens with the '''same source''' (''URL'' or ''file from your device'') already selected, so a URL uploader can paste the next link without re-picking the radio. | |||
* The single ''Maximum file size: 1 GB'' note applies to both upload methods. | * The single ''Maximum file size: 1 GB'' note applies to both upload methods. | ||
* '''Edit image''' — under the preview, '''Edit image''' opens a crop / flip / rotate / filter editor in the browser. '''Apply''' replaces the file to upload, '''Cancel''' keeps the original. It works on raster images (JPEG, PNG, WebP); SVG and animated GIF are left untouched. | |||
* '''Images on the Add*/Update* forms''' — the portrait / logo / image section of [[Special:AddPerson]], [[Special:AddCollective]], [[Special:AddSoftware]] and their <code>Update</code> forms uses an '''Add image''' dialog instead of the single file field. It offers '''Upload local file''', '''Paste from clipboard''' (a clipboard paste or a drop works; the image appears in the dialog's file field), '''From a URL''' and '''Reuse an existing file''' (a `File:` search). The same '''Edit image''' button sits next to the file field, and each added image carries its own licence/author facts. | |||
* '''Stale session retry''' — if the upload token expires while the form is open, the wiki refreshes it and retries the upload automatically once; on a second failure your file stays selected so you can try again. | |||
* The File page carries an '''Attribution''' section with the author / license / source; the image item holds the same facts as statements (<code>image</code>, <code>license</code>, <code>image author</code>, <code>additional license information</code>, source URL) and is sitelinked to the File page. | * The File page carries an '''Attribution''' section with the author / license / source; the image item holds the same facts as statements (<code>image</code>, <code>license</code>, <code>image author</code>, <code>additional license information</code>, source URL) and is sitelinked to the File page. | ||
| Line 109: | Line 136: | ||
Imported items can be edited in place with the '''same form that created them''' — no need to re-import or hand-edit statements. On the item page (<code>/wiki/Item:Q1</code>), the '''Update basic information''' button under the title opens the matching page (<code>Special:UpdatePerson</code>, <code>Special:UpdateSource</code>, <code>Special:UpdateCollective</code>, <code>Special:UpdateSoftware</code>, <code>Special:UpdateFictionalCharacter</code> — chosen from the item's class), prefilled with the item's current values. Change what needs changing and submit: the label, description and the form's statements update; everything else (sitelinks, other statements, uploaded portraits/logos you did not replace) stays. A changed label renames the classic page too. See [[Help:Contributing/entities#Updating basic information with a form]]. | Imported items can be edited in place with the '''same form that created them''' — no need to re-import or hand-edit statements. On the item page (<code>/wiki/Item:Q1</code>), the '''Update basic information''' button under the title opens the matching page (<code>Special:UpdatePerson</code>, <code>Special:UpdateSource</code>, <code>Special:UpdateCollective</code>, <code>Special:UpdateSoftware</code>, <code>Special:UpdateFictionalCharacter</code> — chosen from the item's class), prefilled with the item's current values. Change what needs changing and submit: the label, description and the form's statements update; everything else (sitelinks, other statements, uploaded portraits/logos you did not replace) stays. A changed label renames the classic page too. See [[Help:Contributing/entities#Updating basic information with a form]]. | ||
* '''Replacing an image''' — the upload toggle on the Update pages reads ''"I will upload a '''new''' portrait/logo image … (replacing existing)"'': tick it and pick a source to replace the current image; leave it unticked to keep it. | |||
* '''The access section on Special:UpdateSource is always visible''' — the same repeatable '''Add access''' list as on AddSource, prefilled from the item's current access entries. A submit replaces the access statements with the list shown (an empty list clears them); a blank other field keeps its existing value. | |||
* '''A blank field removes its statement''' — clearing a field and saving deletes the statements it held, but only when the item has not been changed by someone else since the form opened (a concurrent edit is kept). Terms (label, description, aliases) keep their no-clobber rule: a blank term keeps the stored value. | |||
* '''Clear and undo''' — every editable field has a '''×''' button: it blanks the field (and its place-label sibling where there is one). The button then becomes '''↶''' (undo), which restores the value the field had when the form opened; if the field holds different content by then, a confirmation warns that undoing discards it. | |||
* '''Cancel''' — every Update page has a '''Cancel''' link next to the submit button: it returns to the item page (or to the classic page you opened the form from) without saving anything. | |||
When a field is auto-filled from fetched data, the wiki asks you to confirm: ''"{field} fetched from source: {value}, we think this corresponds to {label} (Q#)."'' — '''Yes, that's right''' keeps it, '''No, let me correct''' clears the field for you to pick another item. This happens for: | When a field is auto-filled from fetched data, the wiki asks you to confirm: ''"{field} fetched from source: {value}, we think this corresponds to {label} (Q#)."'' — '''Yes, that's right''' keeps it, '''No, let me correct''' clears the field for you to pick another item. This happens for: | ||
| Line 114: | Line 147: | ||
* the '''license''' on Special:Upload and the Add\* portrait/logo URL fields (from the image's metadata); | * the '''license''' on Special:Upload and the Add\* portrait/logo URL fields (from the image's metadata); | ||
* the '''publisher''' and '''journal''' on the book / scholarly-article review (a harvested name that matches — exactly or closely — an existing item is prefilled and confirmed); | * the '''publisher''' and '''journal''' on the book / scholarly-article review (a harvested name that matches — exactly or closely — an existing item is prefilled and confirmed); | ||
* the '''place of birth''' / '''place of death''' on the AddPerson review (a harvested place label matched against local items; no match → the "External record: …" hint); | |||
* the '''parent website''' on the web-page entry (the site root of the entered URL matched against website items; no match → the "No record found for {URL} — add the website first" hint); | |||
* the harvested '''developer / license / programming language''' facts on AddSoftware; | * the harvested '''developer / license / programming language''' facts on AddSoftware; | ||
* a '''free-text author name''' in the AddSource search: if it matches an existing person, the manual form is prefilled with that person and confirmed (previously a free-text name was only a search filter). | * a '''free-text author name''' in the AddSource search: if it matches an existing person, the manual form is prefilled with that person and confirmed (previously a free-text name was only a search filter). | ||
== Re-editing an imported item == | == Workflow == | ||
For classes with an authority: search → review the candidates (same-name disambiguation) → review the record → [review the fetched content, when present] → create. Each candidate carries a ''see record details'' link to its canonical authority page (opens in a new tab). The English label comes from the authority (add <code>fr</code>/<code>eo</code> labels afterwards); the separate '''Label language''' field — on every import form ([[Special:AddPerson]], [[Special:AddSource]], [[Special:AddCollective]], [[Special:AddSoftware]], [[Special:AddFictionalCharacter]]) — chooses the language the item's label and description are stored in, so an entity whose name is not English keeps its own-language label (the source language(s) stay independent). '''Source labels carry the source type in parentheses''' for disambiguation — e.g. ''The Hobbit (Book)'', ''Example Domain (Website)'', ''Chapter 3 (Book excerpt)'' — the suffix is added automatically (and editable) on the AddSource review/manual forms, and the <code>Source:</code> page title follows the label. While you type the title on those forms, a read-only '''Final label''' box next to it shows exactly what the item label will be (title + suffix) — no surprises at creation. Fetch failures degrade to manual entry at <code>Special:AddSource/<class>/manual</code>. | |||
=== Duplicates are confirmed, not silently reused === | |||
When the record you are about to create matches an '''existing item''' — the same authority identifier (Wikidata, OpenAlex, ORCID, DOI, ISBN, VIAF, ISNI, YouTube id), the same web URL (official website, repository, documentation or access URL), or a '''very similar label''' — the wiki asks first: | |||
: ''"We think this item may be a duplicate of [[Item:Qxxx|label]]."'' — '''Yes, that's right''' takes you straight to the existing item (nothing is created); '''No''' continues the creation (the final confirmation creates the item anyway, even with the same label — the existing item's classic page keeps rendering the original). | |||
The check runs as soon as the duplicate is recognizable: when you '''pick a search result''' whose authority id already exists locally, when you '''enter an existing website / web-page / YouTube URL''', and on '''every final submit''' (the last check re-examines the record you actually submit). A machine client (the API) never creates silently either: it answers <code>duplicate</code> with the existing item's id instead, unless it explicitly confirms. | |||
Notes: | |||
* The authority lookups run '''only when you click search''' — never on page load. | |||
* '''Author search''' on the book / scholarly-article / film / song / video pages narrows the results for common titles. Toggle between '''free text''' (an author name, e.g. Albert Einstein) and '''semantic entities''' (Wikidata Q-ids, comma-separated — e.g. Q937, Q42). The semantic mode resolves works by the author entities on the Wikidata hub. | |||
* '''YouTube''': paste a URL for an exact match (no match → ''no match for the provided URL''), or type a name for the top 10 matches. | |||
* The provenance form on [[Special:AddQuotation]] (and the other content pages) has entity '''search + autofill''' for <code>attributed to</code> and <code>source</code>: type a name, pick the entity, the item id is filled in. The attributed-to suggestions are scoped to people and collectives (organizations, groups, bands…) — source items are not suggested; manually typed ids still work. The '''label field is prefilled''' with the class marker — ''(quotation)'' / ''(code snippet)'' / ''(math snippet)'' — type the content text in front of it, like the ''The Hobbit (Book)'' source-label convention. The '''Add more''' button creates the item and reopens the page with everything you typed carried over '''except the label and the content''' (the label resets to the marker, the content to empty) — adding several items from the same source or author means typing only the new content each time. Only signed-in users can create content items. | |||
* Citations use the source item's harvested metadata (journal name, publisher, volume/issue/pages, DOI, ISBN) and cite the source '''type''' correctly (a book quote cites as a book, a song quote as a song). | |||
* the '''place of birth''' / '''place of death''' on the AddPerson review (a harvested place label is auto-looked-up on OpenStreetMap; a match prefills the OSM id with confirmation, no match → the "search OpenStreetMap to confirm" hint). The picked place's '''display label is stored with the person''' and shown — linked to the OpenStreetMap map — on the <code>Person:</code> page instead of the raw OSM id. A person who already has places added before this feature gets their labels backfilled automatically. | |||
* the '''parent website''' on the web-page entry (the root URL's host matched against website items — an exact host match auto-assigns silently, a close name match confirms, no match → the "No record found for {URL} — add the website first" hint); | |||
== When the classic page already exists == | |||
Every creation flow ([[Special:AddPerson]] / [[Special:AddSource]] / [[Special:AddCollective]] / [[Special:AddSoftware]] / [[Special:AddFictionalCharacter]]) writes a classic wiki page for the new item (<code>Person:</code> / <code>Source:</code> / <code>Collective:</code> / <code>FOSS:</code> / <code>Software:</code>). If a page with that exact name already exists — an editor may have created it by hand — the flow does '''not''' overwrite it and does '''not''' link it silently: | |||
* you are asked to confirm: ''"A page named X already exists. Is it the same thing as the item you just created?"'' | |||
* '''Yes, link the item to this page''' links the new item to the existing page (the page itself is left untouched); | |||
* '''No, don't link it''' leaves the item unlinked — you can link it later with the '''Sitelink''' tab. | |||
The same rule applies to items created at [[Special:NewItem]]: a main-namespace page titled with the label is created and linked automatically; if that page already exists, the item is linked to it (no confirmation there — the hook has no form, the page is never modified, and the Sitelink tab lets you correct it). See [[Help:Contributing/entities#Creating an item]]. | |||
== Legal provisions: "Add more", embed code, and page renames == | |||
The '''legal provision''' class — a clause of a legislation, created through [[Special:AddSource/law]] (see [[#Special:AddSource is class-first|Special:AddSource is class-first]] above) — has several conveniences: | |||
* '''Add more''' — the provision form has a second submit button next to '''Create'''. It creates the provision and its <code>Source:</code> page, then reopens the form with the '''parent legislation preserved''' (the reference code and the clause text are emptied) and a popup showing what was just added. The popup's buttons are '''Update basic information''' (opens the provision's Update form, which returns to the reopened Add-more form on '''submit AND cancel''', the parent preserved), '''Copy embed code''', '''Copy citation''', and '''Copy internal citation''' (a <syntaxhighlight lang="wikitext" inline><ref>{{#cite:Q…}}</ref></syntaxhighlight> snippet to cite the provision in another page). Use it to enter a run of provisions of the same legislation without re-picking the parent each time. | |||
* '''Pre-filled deep links''' — every Add\* / Update\* form accepts its field values from the URL query string, so a link can open the form already filled: <code>Special:AddSource/law/manual?parent=Q2048</code> opens the provision form with the parent legislation already set (join more fields with <code>&</code>, e.g. <code>?parent=Q2048&referenceCode=Article%209</code>). This makes the browser forms reachable as a "web API" for scripts and bookmarks — see [[Help:Contributing/api#Pre-filling an Add form from a URL|Pre-filling an Add form from a URL]]. MediaWiki's own routing parameters (<code>title</code>, <code>action</code>, …) are never treated as field values. | |||
* '''Copy embed code''' — a provision's <code>Source:</code> page carries the same '''Copy embed code''' button as a quotation, and the clause renders with the same <syntaxhighlight lang="wikitext" inline>{{#content:Q…}}</syntaxhighlight> / <code>Special:Embed/Q…</code> snippet (with the <syntaxhighlight lang="wikitext" inline>{{#content:Q…|fr|en}}</syntaxhighlight> translation syntax) — see [[Help:Contributing/quotation#Embedding a quotation|Embedding a quotation]]. | |||
* '''Renaming''' — editing an item's '''English label''' directly on its item page (or via the API) renames its classic page to the new label's title, leaving a redirect behind; editing the label back moves the page back over that redirect. The [[#Re-editing an imported item|Update forms]] rename the page too. This applies to the classic per-kind pages (<code>Source:</code>, <code>Person:</code>, <code>Collective:</code>, <code>FOSS:</code>, <code>Software:</code>). | |||
== Wikidata search is class-scoped == | |||
The class you pick at [[Special:AddSource]] also scopes the '''Wikidata''' part of the search, so a book search does not offer films, video games or unrelated works that merely share the title: | |||
* '''Book''' accepts books (<code>Q571</code>) and literary works (<code>Q7725634</code>) plus their subclasses — novels, textbooks, encyclopedias. It deliberately does '''not''' accept the broader <code>Q47461344</code> (written work), whose Wikidata hierarchy contains video games. | |||
* '''Title search is strict''': only works in the class (or its subclasses) are returned from Wikidata. The other providers (Open Library, OpenAlex, Crossref) are already class-appropriate and stay unfiltered. | |||
* '''Author search is class-preferred, with a fallback''': it first applies the class, and if Wikidata returns nothing (P50 is often missing on scholarly articles, and classification can be sparse) it falls back to the author's works unfiltered. A dead-end selection page is worse than a broader candidate list; the title search never falls back. | |||
* The scope is data-driven (the class manifests' Wikidata alignment plus an explicit family extra), not a hardcoded list in the form. | |||
If a Wikidata work is missing entirely, use the '''Create the item manually instead''' fallback on the search or selection page. | |||
== Software licenses and search-result order == | |||
* '''The license is required on create''' — [[Special:AddSoftware]] asks for the software's license. Pick the license item (the combobox offers the known licenses, including '''Proprietary''' for closed-source software), or tick '''Unknown license''' below the field. The checkbox is the explicit opt-out: the item then gets no license statement. | |||
* '''A missing license is never treated as FOSS''' — if you tick '''Unknown license''' (or the harvested license cannot be resolved to a local item), the software is created as a non-free item with a <code>Software:</code> page. Only a chosen license classified as a free software license produces a <code>FOSS:</code> page. | |||
* '''Updating keeps the existing license''' — [[Special:UpdateSoftware]] does not require the license and a blank field keeps the current statement; the "Unknown license" checkbox is a create-time option only. | |||
* '''Add\* search results are ranked by relevance''' — the person/work/entity/software searches merge all authority providers and sort the merged list before the 10-result cap: an exact title (case/punctuation-insensitive) first, then prefix/subtitle matches, then partial token matches. Provider order is only the tie-breaker, so an exact title from a later authority (e.g. OpenAlex) appears before an earlier provider's loose matches (e.g. Open Library). The no-result and manual-fallback behaviour is unchanged. | |||
== Authors and groups of humans == | |||
=== Paste an author list === | |||
On [[Special:AddSource]], the '''Author(s)''' field accepts a whole list pasted from a bibliography: comma-separated given-first names, semicolon-separated family-first names, and a final <code>and</code>/<code>&</code> are understood. Click '''Search for authors''', then click each result row: a pop-up lists the local matches as radio buttons plus '''Add new person''' (or '''Add new collective''' for an <code>ORG:</code> row). Confirming a match fills its Q-id into '''Author entity ID(s)'''; a new entity is created '''immediately''' (with its <code>Person:</code>/<code>Collective:</code> page) and its Q-id is filled too. Confirmed rows turn green and stay on top when you search again; ✕ removes a row. The form blocks saving while a result is neither confirmed nor removed. | |||
* A final <code>and</code> or <code>&</code> after a comma is not part of the name (<code>David Cherney, Tom Denton, and Andrew Waldron</code> → three Persons). | |||
* Names already on the wiki are offered as matches; choose the correct one instead of creating a duplicate. | |||
* If the list is a book's authors, prefer individual Persons. A collective author is only appropriate when the work is attributed to the organisation itself — declare it with <code>ORG:</code> (see below). | |||
Collectives: prefix the name with <code>ORG:</code> (no parentheses), e.g. <code>ORG:Wikimedia Foundation</code>. The name runs to the next comma/semicolon — use semicolons when the organisation name itself contains a comma (<code>ORG:Smith, Jones and Associates; Jane Doe</code>). The row is resolved against the collective classes and gets '''Add new collective''' instead of '''Add new person'''. | |||
=== Groups of humans === | |||
A work whose authors are a fixed research group may use a <code>Collective:</code> item of class ''group of humans''. Each member is a Person linked with '''has member''' (P82), and the group label is the member-name list. Sources cite the individual Persons; the group page shows the '''Members''' row from the template. | |||
* Do not create a group item for an ordinary list of authors — create the Persons. | |||
* The label is generated from the members and may end in <code>et al.</code>; do not hand-write a different label. | |||
* A group with no members is treated as a real organisation, not as an author list; give it a class and a proper label. | |||
* When a pasted name matches an existing ''group of humans'', the panel shows '''"{name} matches an existing Group of humans (Q…: label)."''' with '''Add all members at once''' and '''Dismiss'''. Add all members expands '''only that group''' (its <code>has member</code> Persons, or the group label's names created immediately); it never rewrites the other authors. | |||
=== Semantic File pages === | |||
Add* uploads and <code>Special:UpdateFile</code> (the File page's '''Update metadata''' button) store the licence, author, source and provenance on the File page's item. The File page renders them with <code><nowiki>{{#image-facts:}}</nowiki></code>; use that instead of a hand-written <code>== Licensing ==</code> block. Existing hand-written pages are migrated by the maintenance script; if your page keeps a custom attribution, leave it until a human reviews it. A PDF <code>File:</code> page embeds the browser-native PDF viewer with a '''View full screen''' control and an '''Open in a new tab''' link. | |||
=== Additional statements === | |||
The Add*/Update* forms have an '''Additional semantic statements''' control (help: ''"Add additional semantic statements."'' on Add*, ''"Add or update additional semantic statements."'' on Update*). Pick a property (the same property catalog the forms use) and a value: item-valued properties use the entity search, literal properties take free text. On Update* the existing value is prefilled and the change is shown as a diff before saving. | |||
== Downloading a page == | |||
The page action toolbar carries '''Download''' with three formats: | |||
* '''PDF''' — the existing cover-page print flow (add an optional cover page, then print / save as PDF). | |||
* '''HTML''' — a standalone rendered copy of the article, with links and images made absolute so they still resolve when the file is opened locally. | |||
* '''Wikitext''' — the page's wikitext with templates and parser functions (such as <code>{{#content:Q…}}</code>) expanded to actual wikitext. | |||
The core sidebar '''Printable version''' link keeps opening the PDF flow directly. | |||
== Legal sources == | |||
Legal laws and provisions now use [[Special:Law]] (2026-11-23). `Special:AddSource/law` redirects to the corpus page. A law or provision is an '''entity item''' (no `Source:` page); the citable article item is created on first citation from the DILA LEGI open data. The legacy legal `Source:` items are reused by the corpus, not duplicated. The corpus is French (v1); EU is v2. See [[Help:Contributing/citations#Legal sources]]. | |||
Latest revision as of 15:43, 23 November 2026
Instead of hand-creating an item per author or source, use the external-authority pages in the semantic tools sidebar.
They fetch metadata from public services (Wikidata, dblp, OpenAlex, Crossref, Open Library, ORCID, YouTube, Wikipedia) and let you pick the right record. They create a local stub item with the authority identifiers (ORCID, VIAF, ISNI, DOI, ISBN, OpenAlex, YouTube IDs, …) and citation metadata (given/family name, journal, publisher as an entity, pages, volume, issue) — every imported statement carries an imported from <authority> reference. Each created item also gets a classic wiki page (Person:, Source: or Collective:) sitelinked to it, whose infobox renders the item's statements at view time — except book excerpts, which are part of a book and get only an item. Where the authority has page prose (an abstract, a plot, lyrics, a lead intro), it is fetched and offered for review before it is written to the classic page (see Help:Contributing/import#Fetched page content).
| Page | Creates | Input |
|---|---|---|
| Special:AddPerson | a person item + a Person: page |
name, ORCID iD, VIAF ID, ISNI, or a Wikidata Q id |
| Special:AddSource | a source item + a Source: page — see the class list below |
class first, then the class-specific input |
| Special:AddFictionalCharacter | a fictional-character item (no classic page) | a name (Wikidata) |
| Special:AddCollective | a non-person agent item (organization, company, band, agency, institution, team…) + a Collective: page |
a name |
Bibliographies in bulk: the Veramiko Bibliographer assistant in Open WebUI does the same authority lookup for a batch: give it a list of DOIs, ISBNs, ORCIDs or titles and it fetches the records, resolves the authors, publisher and journal to existing items (creating the missing People/Collectives only when needed), creates or reuses each source, and returns the Q-id table plus ready-to-paste <ref>{{#cite:Qxx}}</ref> citations. It is backed by the MCP tool embeddable-authority-search and the wiki API action=authority-search.
Every import flow offers a manual fallback — Create the item manually instead — on the search page and on the candidate-selection page. The manual form is prefilled with what you typed in the search boxes (a person name is split into given/family, e.g. "Marie Curie" → given Marie, family Curie), so you correct instead of retyping. When the form is prefilled from fetched data (the website/web page URL entry), the form is titled Item details — you are verifying fetched content, not entering an item from blank.
- Date of birth / Date of death — a calendar date as
YYYY-MM-DD. For a date before the common era, put a minus sign before the year (-0384-01-01stands for 384 BCE): the Wikidata harvest keeps the sign and the item stores a negative, Julian-calendar date, so 384 BCE is never saved as 384 CE. The This person is deceased toggle reveals the death date. - Place of birth / Place of death — OpenStreetMap search boxes: type a place name and pick the place from the suggestions (searched on OpenStreetMap's Nominatim — villages, cities and regions alike, no local place items needed). Picking a suggestion stores the place's OpenStreetMap id (
node/123456,way/…orrelation/…) as anplace of birth (OSM)/place of death (OSM)statement; thePerson:page infobox renders it as a link to openstreetmap.org. A place fetched from the authority is automatically looked up on OpenStreetMap and the best match is proposed: "{field} fetched from source: {place}, we think this corresponds to {name} ({id})." — Yes, that's right keeps it, No, let me correct clears the box for you to search. No match shows "External record: {place} — search OpenStreetMap to confirm the place, then pick it from the suggestions." — the field must hold a picked OpenStreetMap id to save (a raw place name alone is rejected).
Fictional characters
Special:AddFictionalCharacter searches Wikidata by name (search → review candidates → create). The review step has Given name / Family name, Alias(es) (alternate names, comma-separated; pre-filled from the character's Wikidata aliases when available) and Appears in (entity search, several works allowed). The aliases are stored as English item aliases; a later update prefills the field and only a non-empty value replaces the stored set (a blank field keeps them). The label auto-generates as {given name} {family name} (fictional character); the description auto-generates as fictional character in {works} when left blank. Characters get no classic page — just the item.
Collectives: common classes
The collective class is inferred from the harvested Wikidata instance-of hints and chosen on the review step (the search-results selection step no longer shows a class field — pick the record first, then classify it when the harvested data is in front of you): private company, public company, non-profit organization, governmental agency, music band, educational institution, research institute, political party, trade union, religious organization, sports team — plus the generic organization / group of humans.
The collective review step also offers:
- Parent organization(s) (optional) — a multi-value entity search box: the organizations this collective is a subsidiary or subdivision of (type a name to pick an existing item, or type Q-ids; separate several with a comma). "Parent organization(s) not found? Create it now." opens the AddCollective flow in a pop-up and fills the created Q-id back.
- Official website (optional) — the collective's own website (a plain URL field). The value is written as an
official websitestatement and renders in the Collective: page infobox. - Label language (optional) — the language the item label and description are stored in (defaults to English). A collective whose name is not English — or has no common English form — can be stored under its own language instead of a transliteration; pick the language here. The same field is on Special:AddPerson, Special:AddSoftware and Special:AddFictionalCharacter (and on their Update pages), so a person's native-script name or a character's original name keeps its language. A later update can move the label to another language.
- Logo (optional) — behind the "I will upload a logo image for this collective" toggle. Choose the source yourself — upload a local image file, paste an image URL, or reuse an existing file on this wiki (two collectives often share a logo, e.g. a website and its TV channel — pick the already-uploaded file instead of re-uploading). The reuse box searches existing files as you type — any fragment of the file name matches (astro finds Astronomy and Astrophysics-logo.svg; a thumbnail previews each suggestion; the same fragment search powers the portrait on Special:AddPerson and the logo on Special:AddSoftware). Nothing is pre-selected: the matching input appears after you pick a source. A pasted URL has a Validate button with preview + auto-fill, like the portrait. Fill the logo license (required when a logo is provided) and optionally Logo author / Additional license information. The file is saved as
File:<name>-logo.<ext>and linked from the item withimage,license,image authorandadditional license informationstatements; the logo renders in the Collective: page infobox (the infobox image cell reads the item'simagestatement — the logo shows on every page sitelinked to an item that has one, including pages created before the logo existed).
Special:AddSource is class-first
Special:AddSource opens on a class picker — choose the source type (the page title is Special:AddSource); the page then shows the adapted first step (search, or a URL entry for websites/web pages) and the adapted review fields for that class.
| Class | Kind | First step |
|---|---|---|
| Book | parent | search: ISBN-13, title, or author |
| Scholarly article | parent | search: DOI, title, or author |
| Website | parent | enter the URL — metadata (title, description, intro) is fetched automatically |
| Song · Film · Video | parent | search: title or author (Wikidata) |
| YouTube channel | parent | search: YouTube name or URL (exact match for a URL) |
| YouTube video | child of YouTube channel | search: YouTube name or URL |
| Book excerpt | child of book | manual: parent book + pages |
| Web page | child of website | enter the URL — metadata fetched automatically |
| Newspaper article · Magazine article | parent | search: title or author |
| Conference paper | parent | search: DOI, title, or author |
| Report · Document | parent | manual: title, publisher, report number |
| Thesis | parent | search: title or author |
| Manuscript | parent | manual: title, author |
| Patent | parent | manual: title, patent number |
| Legal case | parent | manual: court, territorial jurisdiction, case number |
| Legislation · Bill | parent | manual: jurisdiction, legislation number |
| Treaty | parent | manual: jurisdiction |
| Interview | parent | manual: title, author |
| Map | parent | manual: title, author, publisher |
| Presentation | parent | manual: title, author |
| Dataset | parent | manual: title, author, publisher |
| Transcript | parent | manual: title, author, year, access (the transcript itself is the access URL/file) |
| Text | parent | manual: title (catch-all — author, year, URL and access optional) |
| Legal provision | child of legislation | manual: parent legislation, reference code, clause text (+ optional translations) |
- Scholarly articles and books always ask for the prose — the content step cannot be skipped for a scholarly article (titled Abstract) or a book (titled Summary): a manual create with no fetched prose still opens the step, and leaving it blank falls back to the item description. The other classes show the step only when prose was fetched.
- The Zotero/CSL-aligned classes (newspaper/magazine article, conference paper, report, document, thesis, manuscript, patent, legal case, legislation, bill, treaty, interview, map, presentation, dataset) follow the same class-first flow with adapted fields. The legal texts (legal case, legislation, bill, treaty) carry one or more territorial jurisdictions — an OpenStreetMap search box like the person places: type a place name, pick the suggestion, and the OSM id + its display label are stored (several jurisdictions are allowed — separate them with a comma; each renders as a link in the
Source:page infobox). For a text that applies internationally (a treaty signed by many countries, an international law), tick "This is an international …" instead — the checkbox replaces the jurisdiction (the box is hidden and cleared) and the infobox shows International. A legal case also takes a court (entity search) and a case number, a patent a patent number, reports/documents a report number, and legislation/bills a legislation number. - Transcript is the metadata-only class for a written record of spoken or audiovisual content: title, author(s), year and access. The transcript itself is the access resource — a link or an uploaded file — not a payload stored in the item; there is no publisher/URL/Wikidata field. Its
Source:page transcludesTemplate:Transcript. - Text is the catch-all class for any text that does not fit the others — a historical text, an inscription, a document of uncertain nature. Only the title is required (author(s), year, URL and access are optional).
- Legal provision is a particular clause of a legislation (child of legislation): pick the parent legislation, type its reference code (e.g. Article 5) and the clause text. The clause is monolingual and its language is inherited from the parent legislation — there is no Language field. Add optional translations as language/text rows (the Special:AddQuotation "Add translation" shape). There is no title field: the label is derived as "{reference code} of {parent legislation}". The
Source:page renders the clause — and, with no language argument, every translation — via; the parent legislation's page lists its provisions. - The entity search boxes are class-scoped: typing in a license box suggests only license items, the author box only people/organizations/groups, the publisher box only publishers, and so on — not every item on the instance.
- Website / web page URL entry: type a public web address (
http:///https://) and the title, description and intro are fetched automatically when the site allows it — you correct everything on the next pages. For websites the URL is collapsed to the site root (a website is the site, not a page) and there is no year field (a website is dynamic); for web pages the full URL is kept. - Publisher is an entity (book, scholarly article, newspaper/magazine article, conference paper, report, document, thesis, interview, map, dataset): the publisher field is an entity search box — type a name to pick an existing publisher item (or type a Q-id). Create a missing publisher first (e.g. via Special:AddCollective). The item's publisher statement then points at that entity.
- Journal is an entity (scholarly article): the journal field is an entity search box, like the publisher — pick the journal item (create a missing one first, e.g. via Special:AddCollective).
- Access (book, scholarly article, song, film, book excerpt, transcript, and the new newspaper/magazine article, conference paper, report, document, thesis, manuscript, map and dataset): the access section is a repeatable Add access list — add as many URLs and files as the work has. Each entry is a URL (a landing page, optionally archived on this wiki) or a file (upload one from your computer, or fetch it from a URL; the file is stored as
File:<title>.<ext>). Each file entry has its own license (a searchable semantic license combobox — CC0, CC BY, GNU, …) and language (defaults to the source language; pick the language of that file when it differs). A public file requires a license; No public access (internal) records the seeded All rights reserved license and gates the bytes to logged-in readers; the access entry card then showsinternal. Every access file becomes its own semantic access file item (sitelinked to itsFile:page, holding the file URL and license), and the source links to it with ahas access filestatement. You should not upload copyrighted content unless you have the right to distribute it publicly. - The Access row on the Source: page — the infobox of every
Source:page shows an Access row: file entries are grouped by format and show their languages (e.g.PDF: en|fr) — each language links to Special:SourceFile (an embedded PDF preview when the file is a PDF, the licence, and a download button that requires accepting the licence conditions); URL entries render asurl1,url2, … (with their language when set); a source without access shows N/A. Login-only entries are hidden from anonymous readers. A PDF whose text has been extracted also carries a text link to Special:SourceText (see Help:Contributing/richMediaContent#Extracted PDF text). - Child classes need a parent: for a book excerpt, YouTube video or web page you first pick one or more parent items (book, YouTube channel, website) with a multi-value entity search box — the line under the box, "Book not found? Create it now.", opens a pop-up that runs the parent's normal import flow (website: the known site-root metadata is fetched and prefilled; book/YouTube: search first; legislation: manual) and fills the created Q-id back into the field; on creation the child is linked to each parent with a
part ofstatement. Several parents are allowed (comma-separated). For a web page the parent is auto-assigned from the URL's site root: the root URL's host is matched against the website items' stored URL addresses — a page on a subdomain of a recorded website matches its parent site too (a page on scifa.univ-lorraine.fr belongs to the univ-lorraine.fr website; a page on the recorded host itself still matches first). An exact host (or ancestor) match silently fills the parent box (you can still change it before submitting; no confirmation needed); a close name match fills it with the "we think this corresponds to …" confirmation (Yes, that's right / No, let me correct); and no match leaves the box empty with "No record found for {URL} — the website exists, but we don't have a record of it yet. Add the website first, then pick it above." (add the website via Special:AddSource/website). - Book excerpts: after picking the parent book, fill the pages and optionally the volume and chapters. A blank description auto-generates as Pages a-b (Volume c) of {book} from the pages/volume fields and the book's title; blank year and author(s) fall back to the parent book's own values (Leave blank if same as the parent book).
- Website vs web page: add an entire website once, then add specific pages as child items (see the explanation on Special:AddSource/website).
- Duration (film, song, video, YouTube video): type
MM:SSorHH:MM:SS— stored in seconds. - Title is the only required field — every other fact (author(s), year, publisher, …) is optional, because it can genuinely be unknown (a text of unknown authorship, an anonymous work). Authors are picked as entities (person, organization or group — type a name to search, or type a Q-id); create missing people first via Special:AddPerson. The legal texts (legal case, legislation, bill, treaty) take no author (the court / jurisdiction carry the attribution); a book excerpt inherits its authors from the parent book when left blank. Child classes (book excerpt, YouTube video, web page) still require their parent. A legal provision requires its reference code, its clause text and its parent legislation.
- Language (all classes except a legal provision, which inherits the parent legislation's language): the source's language, recorded as a
languagestatement. Type to search or pick from the list — the search matches both the 2/3-letter ISO code (e.g.fr,fra) and the English name (e.g. French). Use Additional languages to list every other language the source is available in: pick one and repeat for several — a source in several languages gets onelanguagestatement per code. If the language is not in the list, pick Other (specify) and type its name in the Other language box (stored as the statement value). - Label language (all classes except a legal provision): the language of the item label and description, independent of the source language(s) above. Defaults to English, so a French-language book can keep an English label. Pick français and the item is labelled in French instead (there is no separate English label; the class suffix stays English, e.g. Le Hobbit (Book)). A later update can move the label to another language.
Uploading files (Special:Upload)
Special:Upload is the general file-upload page (also reachable from the Upload file link in the sidebar). It saves the file to a File: page and — for every form upload — creates (or reuses) a linked image item holding the file's structured facts, so uploaded files are first-class, queryable entities (the facts in the item, prose on the page model).
- Source — the radio defaults to URL (paste a link — the common case); switch to file from your device when the image is only on your computer.
- File name + description — filled in by hand, or auto-filled: for a pasted URL, click Validate next to the URL field — a preview thumbnail, the pixel + file size and a best-effort auto-fill of the name / description / author / licence fields appear (clicking Validate again shows only the latest result). Wikimedia image URLs (Wikipedia, Commons, upload.wikimedia.org) are read from your browser — they are not rate-limited, and the image bytes are downloaded by your browser too (the server never fetches Wikimedia). For files larger than 50 MB from Wikimedia, save the image to your device and upload it instead.
- License — a searchable combobox of the instance's license items (CC0, CC BY 4.0, CC BY-SA 4.0, GNU licenses, MIT, … — pick from the list or type to search). The license is recorded as a semantic statement on the image item and renders on the File page as a link to the license item.
- Author (optional) — the image's author. Tick Specify the author as a semantic entity to pick person/organization/group items instead of free text; several authors may be entered, separated with commas (
Q42, Q179). If you leave the author blank and specify a Source entity, the image item inherits that source's authors automatically (this also works onSpecial:UpdateFile); the empty-field warning only appears when both the author and the source are empty. - Source (optional) — the work the file comes from, as a source-class entity. Leave the author blank to inherit its authors (above).
- Additional license information (optional) — free text (attribution lines, terms, credits — e.g. what a CC BY license requires).
- Drag & drop / paste — drag an image onto the Source filename area, or paste one anywhere on the page (Ctrl+V / ⌘+V), to fill the file picker; the source switches to file from your device automatically (the usual size/format checks still apply). A paste made while the page is still loading is kept and fills the picker as soon as the form is ready.
- The source choice is remembered — after Submit and upload another image from same author, the form reopens with the same source (URL or file from your device) already selected, so a URL uploader can paste the next link without re-picking the radio.
- The single Maximum file size: 1 GB note applies to both upload methods.
- Edit image — under the preview, Edit image opens a crop / flip / rotate / filter editor in the browser. Apply replaces the file to upload, Cancel keeps the original. It works on raster images (JPEG, PNG, WebP); SVG and animated GIF are left untouched.
- Images on the Add*/Update* forms — the portrait / logo / image section of Special:AddPerson, Special:AddCollective, Special:AddSoftware and their
Updateforms uses an Add image dialog instead of the single file field. It offers Upload local file, Paste from clipboard (a clipboard paste or a drop works; the image appears in the dialog's file field), From a URL and Reuse an existing file (a `File:` search). The same Edit image button sits next to the file field, and each added image carries its own licence/author facts. - Stale session retry — if the upload token expires while the form is open, the wiki refreshes it and retries the upload automatically once; on a second failure your file stays selected so you can try again.
- The File page carries an Attribution section with the author / license / source; the image item holds the same facts as statements (
image,license,image author,additional license information, source URL) and is sitelinked to the File page.
Re-editing an imported item
Imported items can be edited in place with the same form that created them — no need to re-import or hand-edit statements. On the item page (/wiki/Item:Q1), the Update basic information button under the title opens the matching page (Special:UpdatePerson, Special:UpdateSource, Special:UpdateCollective, Special:UpdateSoftware, Special:UpdateFictionalCharacter — chosen from the item's class), prefilled with the item's current values. Change what needs changing and submit: the label, description and the form's statements update; everything else (sitelinks, other statements, uploaded portraits/logos you did not replace) stays. A changed label renames the classic page too. See Help:Contributing/entities#Updating basic information with a form.
- Replacing an image — the upload toggle on the Update pages reads "I will upload a new portrait/logo image … (replacing existing)": tick it and pick a source to replace the current image; leave it unticked to keep it.
- The access section on Special:UpdateSource is always visible — the same repeatable Add access list as on AddSource, prefilled from the item's current access entries. A submit replaces the access statements with the list shown (an empty list clears them); a blank other field keeps its existing value.
- A blank field removes its statement — clearing a field and saving deletes the statements it held, but only when the item has not been changed by someone else since the form opened (a concurrent edit is kept). Terms (label, description, aliases) keep their no-clobber rule: a blank term keeps the stored value.
- Clear and undo — every editable field has a × button: it blanks the field (and its place-label sibling where there is one). The button then becomes ↶ (undo), which restores the value the field had when the form opened; if the field holds different content by then, a confirmation warns that undoing discards it.
- Cancel — every Update page has a Cancel link next to the submit button: it returns to the item page (or to the classic page you opened the form from) without saving anything.
When a field is auto-filled from fetched data, the wiki asks you to confirm: "{field} fetched from source: {value}, we think this corresponds to {label} (Q#)." — Yes, that's right keeps it, No, let me correct clears the field for you to pick another item. This happens for:
- the license on Special:Upload and the Add\* portrait/logo URL fields (from the image's metadata);
- the publisher and journal on the book / scholarly-article review (a harvested name that matches — exactly or closely — an existing item is prefilled and confirmed);
- the place of birth / place of death on the AddPerson review (a harvested place label matched against local items; no match → the "External record: …" hint);
- the parent website on the web-page entry (the site root of the entered URL matched against website items; no match → the "No record found for {URL} — add the website first" hint);
- the harvested developer / license / programming language facts on AddSoftware;
- a free-text author name in the AddSource search: if it matches an existing person, the manual form is prefilled with that person and confirmed (previously a free-text name was only a search filter).
Workflow
For classes with an authority: search → review the candidates (same-name disambiguation) → review the record → [review the fetched content, when present] → create. Each candidate carries a see record details link to its canonical authority page (opens in a new tab). The English label comes from the authority (add fr/eo labels afterwards); the separate Label language field — on every import form (Special:AddPerson, Special:AddSource, Special:AddCollective, Special:AddSoftware, Special:AddFictionalCharacter) — chooses the language the item's label and description are stored in, so an entity whose name is not English keeps its own-language label (the source language(s) stay independent). Source labels carry the source type in parentheses for disambiguation — e.g. The Hobbit (Book), Example Domain (Website), Chapter 3 (Book excerpt) — the suffix is added automatically (and editable) on the AddSource review/manual forms, and the Source: page title follows the label. While you type the title on those forms, a read-only Final label box next to it shows exactly what the item label will be (title + suffix) — no surprises at creation. Fetch failures degrade to manual entry at Special:AddSource/<class>/manual.
Duplicates are confirmed, not silently reused
When the record you are about to create matches an existing item — the same authority identifier (Wikidata, OpenAlex, ORCID, DOI, ISBN, VIAF, ISNI, YouTube id), the same web URL (official website, repository, documentation or access URL), or a very similar label — the wiki asks first:
- "We think this item may be a duplicate of label." — Yes, that's right takes you straight to the existing item (nothing is created); No continues the creation (the final confirmation creates the item anyway, even with the same label — the existing item's classic page keeps rendering the original).
The check runs as soon as the duplicate is recognizable: when you pick a search result whose authority id already exists locally, when you enter an existing website / web-page / YouTube URL, and on every final submit (the last check re-examines the record you actually submit). A machine client (the API) never creates silently either: it answers duplicate with the existing item's id instead, unless it explicitly confirms.
Notes:
- The authority lookups run only when you click search — never on page load.
- Author search on the book / scholarly-article / film / song / video pages narrows the results for common titles. Toggle between free text (an author name, e.g. Albert Einstein) and semantic entities (Wikidata Q-ids, comma-separated — e.g. Q937, Q42). The semantic mode resolves works by the author entities on the Wikidata hub.
- YouTube: paste a URL for an exact match (no match → no match for the provided URL), or type a name for the top 10 matches.
- The provenance form on Special:AddQuotation (and the other content pages) has entity search + autofill for
attributed toandsource: type a name, pick the entity, the item id is filled in. The attributed-to suggestions are scoped to people and collectives (organizations, groups, bands…) — source items are not suggested; manually typed ids still work. The label field is prefilled with the class marker — (quotation) / (code snippet) / (math snippet) — type the content text in front of it, like the The Hobbit (Book) source-label convention. The Add more button creates the item and reopens the page with everything you typed carried over except the label and the content (the label resets to the marker, the content to empty) — adding several items from the same source or author means typing only the new content each time. Only signed-in users can create content items. - Citations use the source item's harvested metadata (journal name, publisher, volume/issue/pages, DOI, ISBN) and cite the source type correctly (a book quote cites as a book, a song quote as a song).
- the place of birth / place of death on the AddPerson review (a harvested place label is auto-looked-up on OpenStreetMap; a match prefills the OSM id with confirmation, no match → the "search OpenStreetMap to confirm" hint). The picked place's display label is stored with the person and shown — linked to the OpenStreetMap map — on the
Person:page instead of the raw OSM id. A person who already has places added before this feature gets their labels backfilled automatically. - the parent website on the web-page entry (the root URL's host matched against website items — an exact host match auto-assigns silently, a close name match confirms, no match → the "No record found for {URL} — add the website first" hint);
When the classic page already exists
Every creation flow (Special:AddPerson / Special:AddSource / Special:AddCollective / Special:AddSoftware / Special:AddFictionalCharacter) writes a classic wiki page for the new item (Person: / Source: / Collective: / FOSS: / Software:). If a page with that exact name already exists — an editor may have created it by hand — the flow does not overwrite it and does not link it silently:
- you are asked to confirm: "A page named X already exists. Is it the same thing as the item you just created?"
- Yes, link the item to this page links the new item to the existing page (the page itself is left untouched);
- No, don't link it leaves the item unlinked — you can link it later with the Sitelink tab.
The same rule applies to items created at Special:NewItem: a main-namespace page titled with the label is created and linked automatically; if that page already exists, the item is linked to it (no confirmation there — the hook has no form, the page is never modified, and the Sitelink tab lets you correct it). See Help:Contributing/entities#Creating an item.
Legal provisions: "Add more", embed code, and page renames
The legal provision class — a clause of a legislation, created through Special:AddSource/law (see Special:AddSource is class-first above) — has several conveniences:
- Add more — the provision form has a second submit button next to Create. It creates the provision and its
Source:page, then reopens the form with the parent legislation preserved (the reference code and the clause text are emptied) and a popup showing what was just added. The popup's buttons are Update basic information (opens the provision's Update form, which returns to the reopened Add-more form on submit AND cancel, the parent preserved), Copy embed code, Copy citation, and Copy internal citation (a<ref>{{#cite:Q…}}</ref>snippet to cite the provision in another page). Use it to enter a run of provisions of the same legislation without re-picking the parent each time. - Pre-filled deep links — every Add\* / Update\* form accepts its field values from the URL query string, so a link can open the form already filled:
Special:AddSource/law/manual?parent=Q2048opens the provision form with the parent legislation already set (join more fields with&, e.g.?parent=Q2048&referenceCode=Article%209). This makes the browser forms reachable as a "web API" for scripts and bookmarks — see Pre-filling an Add form from a URL. MediaWiki's own routing parameters (title,action, …) are never treated as field values. - Copy embed code — a provision's
Source:page carries the same Copy embed code button as a quotation, and the clause renders with the same{{#content:Q…}}/Special:Embed/Q…snippet (with the{{#content:Q…|fr|en}}translation syntax) — see Embedding a quotation. - Renaming — editing an item's English label directly on its item page (or via the API) renames its classic page to the new label's title, leaving a redirect behind; editing the label back moves the page back over that redirect. The Update forms rename the page too. This applies to the classic per-kind pages (
Source:,Person:,Collective:,FOSS:,Software:).
Wikidata search is class-scoped
The class you pick at Special:AddSource also scopes the Wikidata part of the search, so a book search does not offer films, video games or unrelated works that merely share the title:
- Book accepts books (
Q571) and literary works (Q7725634) plus their subclasses — novels, textbooks, encyclopedias. It deliberately does not accept the broaderQ47461344(written work), whose Wikidata hierarchy contains video games. - Title search is strict: only works in the class (or its subclasses) are returned from Wikidata. The other providers (Open Library, OpenAlex, Crossref) are already class-appropriate and stay unfiltered.
- Author search is class-preferred, with a fallback: it first applies the class, and if Wikidata returns nothing (P50 is often missing on scholarly articles, and classification can be sparse) it falls back to the author's works unfiltered. A dead-end selection page is worse than a broader candidate list; the title search never falls back.
- The scope is data-driven (the class manifests' Wikidata alignment plus an explicit family extra), not a hardcoded list in the form.
If a Wikidata work is missing entirely, use the Create the item manually instead fallback on the search or selection page.
Software licenses and search-result order
- The license is required on create — Special:AddSoftware asks for the software's license. Pick the license item (the combobox offers the known licenses, including Proprietary for closed-source software), or tick Unknown license below the field. The checkbox is the explicit opt-out: the item then gets no license statement.
- A missing license is never treated as FOSS — if you tick Unknown license (or the harvested license cannot be resolved to a local item), the software is created as a non-free item with a
Software:page. Only a chosen license classified as a free software license produces aFOSS:page. - Updating keeps the existing license — Special:UpdateSoftware does not require the license and a blank field keeps the current statement; the "Unknown license" checkbox is a create-time option only.
- Add\* search results are ranked by relevance — the person/work/entity/software searches merge all authority providers and sort the merged list before the 10-result cap: an exact title (case/punctuation-insensitive) first, then prefix/subtitle matches, then partial token matches. Provider order is only the tie-breaker, so an exact title from a later authority (e.g. OpenAlex) appears before an earlier provider's loose matches (e.g. Open Library). The no-result and manual-fallback behaviour is unchanged.
Authors and groups of humans
Paste an author list
On Special:AddSource, the Author(s) field accepts a whole list pasted from a bibliography: comma-separated given-first names, semicolon-separated family-first names, and a final and/& are understood. Click Search for authors, then click each result row: a pop-up lists the local matches as radio buttons plus Add new person (or Add new collective for an ORG: row). Confirming a match fills its Q-id into Author entity ID(s); a new entity is created immediately (with its Person:/Collective: page) and its Q-id is filled too. Confirmed rows turn green and stay on top when you search again; ✕ removes a row. The form blocks saving while a result is neither confirmed nor removed.
- A final
andor&after a comma is not part of the name (David Cherney, Tom Denton, and Andrew Waldron→ three Persons). - Names already on the wiki are offered as matches; choose the correct one instead of creating a duplicate.
- If the list is a book's authors, prefer individual Persons. A collective author is only appropriate when the work is attributed to the organisation itself — declare it with
ORG:(see below).
Collectives: prefix the name with ORG: (no parentheses), e.g. ORG:Wikimedia Foundation. The name runs to the next comma/semicolon — use semicolons when the organisation name itself contains a comma (ORG:Smith, Jones and Associates; Jane Doe). The row is resolved against the collective classes and gets Add new collective instead of Add new person.
Groups of humans
A work whose authors are a fixed research group may use a Collective: item of class group of humans. Each member is a Person linked with has member (P82), and the group label is the member-name list. Sources cite the individual Persons; the group page shows the Members row from the template.
- Do not create a group item for an ordinary list of authors — create the Persons.
- The label is generated from the members and may end in
et al.; do not hand-write a different label. - A group with no members is treated as a real organisation, not as an author list; give it a class and a proper label.
- When a pasted name matches an existing group of humans, the panel shows "{name} matches an existing Group of humans (Q…: label)." with Add all members at once and Dismiss. Add all members expands only that group (its
has memberPersons, or the group label's names created immediately); it never rewrites the other authors.
Semantic File pages
Add* uploads and Special:UpdateFile (the File page's Update metadata button) store the licence, author, source and provenance on the File page's item. The File page renders them with {{#image-facts:}}; use that instead of a hand-written == Licensing == block. Existing hand-written pages are migrated by the maintenance script; if your page keeps a custom attribution, leave it until a human reviews it. A PDF File: page embeds the browser-native PDF viewer with a View full screen control and an Open in a new tab link.
Additional statements
The Add*/Update* forms have an Additional semantic statements control (help: "Add additional semantic statements." on Add*, "Add or update additional semantic statements." on Update*). Pick a property (the same property catalog the forms use) and a value: item-valued properties use the entity search, literal properties take free text. On Update* the existing value is prefilled and the change is shown as a diff before saving.
Downloading a page
The page action toolbar carries Download with three formats:
- PDF — the existing cover-page print flow (add an optional cover page, then print / save as PDF).
- HTML — a standalone rendered copy of the article, with links and images made absolute so they still resolve when the file is opened locally.
- Wikitext — the page's wikitext with templates and parser functions (such as
) expanded to actual wikitext.
The core sidebar Printable version link keeps opening the PDF flow directly.
Legal sources
Legal laws and provisions now use Special:Law (2026-11-23). `Special:AddSource/law` redirects to the corpus page. A law or provision is an entity item (no `Source:` page); the citable article item is created on first citation from the DILA LEGI open data. The legacy legal `Source:` items are reused by the corpus, not duplicated. The corpus is French (v1); EU is v2. See Help:Contributing/citations#Legal sources.