Jump to content

Help:Contributing: Difference between revisions

From Wikibase
Forum docs (issue #43): link the new forum guide from the contributor guideline (via update-page on MediaWiki MCP Server)
Link the curated-dataset contributor guide (issue #7) (via update-page on MediaWiki MCP Server)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Access and accounts ==
* [[Help:Contributing/access|Who can do what]] — logging in, getting an account
== Contributing to classic wiki pages ==
=== Page management: creating, moving, deleting pages ===
* [https://www.mediawiki.org/wiki/Help:Starting_a_new_page Creating a new page]
** [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Redirects Setup proper redirects in case something has multiple names]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Moving_a_page Moving a page]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Deletion_and_undeletion Deleting/recovering a page]
* '''Copy internal mention''' (content pages) — every ordinary content page shows a '''Copy internal mention''' button next to its title; it copies <code>[[Page name]]</code> to the clipboard, ready to paste as a link to the page anywhere on the wiki. In the Main namespace the first letter is lower-cased (sentence case) unless the page is in <code>[[:Category:Proper name|Category:Proper name]]</code> — add that hidden category when the title is a proper name. '''Right-click''' the button for '''Capitalise first letter''', which copies the same link with the page name's first letter capitalised (<code>[[Classical mechanics]]</code>) — useful at the start of a sentence.
* '''Displayed titles''' — a content page outside the Main namespace (for example <code>Source:Beloved</code>) shows its heading as "<code>Beloved in Source</code>" instead of "<code>Source:Beloved</code>"; the browser title follows. The "in" is muted, and the namespace name is a link to an alphabetical index of that namespace's pages (for example [[Special:EntityIndex/2012|all Source pages]] — top-level pages only, not translations or other subpages). <code>User:</code> subpages show "<code>&lt;subpage&gt; by @&lt;user&gt;</code>".
* '''Subpages''' — a <code>/</code> in a title creates a hierarchy, with a breadcrumb back to the parent. Subpages are enabled in every namespace, including the main one: <code>Matrix/Practice/Matrix_multiplication</code> is a subpage of <code>Matrix/Practice</code>, itself a subpage of <code>Matrix</code>. Create the parent page if it does not exist yet — the breadcrumb only links ancestors that exist (example: [[Cheatsheet:LinuxCLI]]).
=== Creating content ===
==== Learning the MediaWiki syntax ====
The MediaWiki syntax is easy to learn. However, it is unique and can be confusing at first even for editors familiar with markdown and HTML.
To get started:
* [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki syntax 101]
* [[Help:Contributing/links|Links]]
* [[Help:Contributing/code|Code blocks and syntax highlighting]]
* [[Help:Contributing/languages|Languages and translation]]
==== Write in style ====
* [[Help:Contributing/styleGuide]]
==== Handle rich media content ====
* [[Help:Contributing/richMediaContent]]
==== Add math ====
* [[Help:Contributing/math]] — adding and embedding math: inline LaTeX in page text (MathJax) and reusable snippets (KaTeX)
==== Add quotation ====
* [[Help:Contributing/quotation]] — adding and embedding quotations
==== Add diagrams ====
* [[Help:Contributing/diagrams]] — PlantUML, GraphViz, Mscgen and Mermaid diagrams, written in the page text
==== Create dynamic content based on semantic data ====
* [[Help:Contributing/semanticDynamicContent]]
* [[Help:Contributing/claims]] — quoting item statements in page text, and the event vocabulary (participant, date, location, deaths, casualties)
==== Cite sources ====
* [[Help:Contributing/citations]]
==== Curate datasets ====
* [[Help:Contributing/dataCuration]] — curated scientific tables, footnotes and access tiers
==== Create templates to reduce content duplication ====
* [[Help:Contributing/templates]]
== Working with semantic data ==
* [[Help:Contributing/entities|Items and properties]] — the data model, creating and editing entities, statements, merging and deleting
* [[Help:Contributing/import|Importing from external authorities]] — fetch authors, sources and collectives from public services
* [[Help:Contributing/query|Querying with SPARQL]] — analyse the data with the query service
== Per namespace guides ==
Each name space has its own templates, conventions, and good-to-knows. They live under <code>{namespace}:Contributing</code>. (e.g., <code>FOSS:Contributing</code>)
== Discuss on the forum ==
== Discuss on the forum ==


Line 10: Line 86:


* [[Help:Contributing/api|API and bulk editing]] — scripting and batch tools
* [[Help:Contributing/api|API and bulk editing]] — scripting and batch tools
== Finding items and pages ==
The search box searches classic page text. '''Wikibase items are different''': an <code>Item:</code> page carries no page text, so its label cannot be found by a normal text search. The results page therefore adds an '''Items''' section below the page results.
* Type any fragment of an item label or alias — the match is '''case-insensitive and anywhere in the label''' (not prefix-only). Searching <code>Ring</code> finds <code>2.2: Rings (Webpage)</code> (Q2204) even though the label starts with <code>2.2:</code>.
* The section shows the item's label, description and a link to its item page. It appears for the default/all search and for the normal full-text results page; a search restricted to a namespace that does not include <code>Item</code> keeps only that namespace's results.
* The '''entity comboboxes''' on the Add\*/Update\*/[[Special:Upload]] forms use the same full-text matching, so <code>AGPL</code> finds <code>GNU AGPL-3.0</code> and <code>Einstein</code> finds <code>Albert Einstein</code>.
* Item labels are stored in the item's terms, not in page text; the local site has no CirrusSearch/Elasticsearch. The Items section reads the term store directly.

Latest revision as of 18:30, 22 November 2026

Access and accounts

Contributing to classic wiki pages

Page management: creating, moving, deleting pages

  • Creating a new page
  • Moving a page
  • Deleting/recovering a page
  • Copy internal mention (content pages) — every ordinary content page shows a Copy internal mention button next to its title; it copies Page name to the clipboard, ready to paste as a link to the page anywhere on the wiki. In the Main namespace the first letter is lower-cased (sentence case) unless the page is in Category:Proper name — add that hidden category when the title is a proper name. Right-click the button for Capitalise first letter, which copies the same link with the page name's first letter capitalised (Classical mechanics) — useful at the start of a sentence.
  • Displayed titles — a content page outside the Main namespace (for example Source:Beloved) shows its heading as "Beloved in Source" instead of "Source:Beloved"; the browser title follows. The "in" is muted, and the namespace name is a link to an alphabetical index of that namespace's pages (for example all Source pages — top-level pages only, not translations or other subpages). User: subpages show "<subpage> by @<user>".
  • Subpages — a / in a title creates a hierarchy, with a breadcrumb back to the parent. Subpages are enabled in every namespace, including the main one: Matrix/Practice/Matrix_multiplication is a subpage of Matrix/Practice, itself a subpage of Matrix. Create the parent page if it does not exist yet — the breadcrumb only links ancestors that exist (example: Cheatsheet:LinuxCLI).

Creating content

Learning the MediaWiki syntax

The MediaWiki syntax is easy to learn. However, it is unique and can be confusing at first even for editors familiar with markdown and HTML.

To get started:

Write in style

Handle rich media content

Add math

  • Help:Contributing/math — adding and embedding math: inline LaTeX in page text (MathJax) and reusable snippets (KaTeX)

Add quotation

Add diagrams

Create dynamic content based on semantic data

Cite sources

Curate datasets

Create templates to reduce content duplication

Working with semantic data

Per namespace guides

Each name space has its own templates, conventions, and good-to-knows. They live under {namespace}:Contributing. (e.g., FOSS:Contributing)

Discuss on the forum

  • Forum — multi-thread discussions for editorial and instance-dev plans

House rules

API and bulk editing

Finding items and pages

The search box searches classic page text. Wikibase items are different: an Item: page carries no page text, so its label cannot be found by a normal text search. The results page therefore adds an Items section below the page results.

  • Type any fragment of an item label or alias — the match is case-insensitive and anywhere in the label (not prefix-only). Searching Ring finds 2.2: Rings (Webpage) (Q2204) even though the label starts with 2.2:.
  • The section shows the item's label, description and a link to its item page. It appears for the default/all search and for the normal full-text results page; a search restricted to a namespace that does not include Item keeps only that namespace's results.
  • The entity comboboxes on the Add\*/Update\*/Special:Upload forms use the same full-text matching, so AGPL finds GNU AGPL-3.0 and Einstein finds Albert Einstein.
  • Item labels are stored in the item's terms, not in page text; the local site has no CirrusSearch/Elasticsearch. The Items section reads the term store directly.