Jump to content

Help:Contributing: Difference between revisions

From Wikibase
Document the section-only preview and the print PDF filename (via update-page on MediaWiki MCP Server)
Link the curated-dataset contributor guide (issue #7) (via update-page on MediaWiki MCP Server)
 
(12 intermediate revisions by 2 users not shown)
Line 11: Line 11:
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Moving_a_page Moving a page]
* [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]
* [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. (File pages have their own "Copy internal embed code" button for <code>[[File:…]]</code>.)
* '''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.
* '''Per-section actions''' — next to every heading's <code>[edit]</code> link sit four further controls, each in its own pair of brackets: <code>[Copy internal mention]</code> (copies <code>[[Page#section|</code> — add your own display text after the final pipe), <code>[Copy URL]</code> (the section's absolute web address), <code>[Add section below]</code> (opens the append editor for that section) and <code>[Delete section]</code> (confirms, then removes the section and everything in it). See [[Help:Contributing/links#Links to sections|Links to sections]].
* '''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>".
* '''Add section / Add section below''' — the page actions' '''Add section''', and each section's <code>[Add section below]</code>, open the ordinary wikitext editor (the same toolbar as '''Edit''', plus a '''Preview''' button) with no subject field and no minor-edit checkbox. The save '''appends''' your wikitext — to the end of the page, or to the end of the chosen section — without creating a heading. Leave the '''Summary''' blank and it is filled in from the first heading of your content. '''Show preview renders only the typed block''' (the section being added), matching core's section editor; '''Show changes''' and '''Save''' use the whole assembled page.
* '''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]]).
* '''Copy internal mention''' (entity pages) — the per-entity pages (<code>Source:</code>, <code>Person:</code>, <code>Collective:</code>, <code>FOSS:</code>, <code>Software:</code>) show a '''Copy internal mention''' button in their toolbar (to the right of '''Copy internal citation''' on Source: pages). It copies a piped link to the page — <code>[[Page name|Label]]</code>, italic on Source: pages, e.g. <code>''[[Source:Beloved (Book)|Beloved]]''</code>.
* '''Subpages''' — a <code>/</code> in a title creates a hierarchy (e.g. <code>Cheatsheets:LinuxCLI/ssh</code> is a subpage of <code>Cheatsheets:LinuxCLI</code>), with a breadcrumb back to the parent. Subpages are enabled in every namespace except the main one. Create the parent page if it does not exist yet — the breadcrumb only links ancestors that exist (example: [[Cheatsheets:LinuxCLI]]).
* '''Printing a page''' — the sidebar's '''Printable version''' link and the '''Print this page''' button — which now sits in the page's own toolbar row, beside the other page actions — open a print dialog where you can optionally '''add a cover page'''. The printed title drops the namespace and the subpage prefix (''User:Rongzhou/Construction site visit report'' prints as ''Construction site visit report''), the page's editors are printed centred below the title (''by A, B, and C''), and the site navigation is left out. The browser's '''Save as PDF''' filename is the namespace-stripped '''full''' title with spaces and slashes replaced by <code>_</code> — e.g. <code>User:Rongzhou/Report</code> suggests <code>Rongzhou_Report.pdf</code>.


=== Creating content ===
=== Creating content ===
Line 54: Line 51:


* [[Help:Contributing/semanticDynamicContent]]
* [[Help:Contributing/semanticDynamicContent]]
* [[Help:Contributing/claims]] — quoting item statements in page text, and the event vocabulary (participant, date, location, deaths, casualties)


==== Cite sources ====
==== Cite sources ====


* [[Help:Contributing/citations]]
* [[Help:Contributing/citations]]
==== Curate datasets ====
* [[Help:Contributing/dataCuration]] — curated scientific tables, footnotes and access tiers


==== Create templates to reduce content duplication ====
==== Create templates to reduce content duplication ====
Line 84: 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

Languages: English · français · Esperanto

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.