Jump to content

MediaWiki Introduction 2023: Difference between revisions

From mediawiki.org
Content deleted Content added
Created page with "'''MediaWiki Introduction 2023''' is a 3-part video series by Timo Tijhof, recorded in December 2023 for the MediaWiki Code Jam. == Part 1: MediaWiki core concepts == thumb|400px|thumbtime=00:01|[[:commons:File:Introduction_to_MediaWiki_2023_-_Part_1_Core_concepts.webm|Watch on Wikimedia Commons. • [https://drive.google.com/file/d/1D6nJvF2tOXUEd6_VPd0K_0MXYQbpbIVY/view?usp..."
 
Line 2: Line 2:


== Part 1: MediaWiki core concepts ==
== Part 1: MediaWiki core concepts ==
[[File:Introduction_to_MediaWiki_2023_-_Part_1_Core_concepts.webm|thumb|400px|thumbtime=00:01|[[:commons:File:Introduction_to_MediaWiki_2023_-_Part_1_Core_concepts.webm|Watch on Wikimedia Commons.]] • [https://drive.google.com/file/d/1D6nJvF2tOXUEd6_VPd0K_0MXYQbpbIVY/view?usp=sharing Watch on Google Drive]
[[File:Introduction_to_MediaWiki_2023_-_Part_1_Core_concepts.webm|thumb|400px|thumbtime=00:01|<p>[[:commons:File:Introduction_to_MediaWiki_2023_-_Part_1_Core_concepts.webm|Watch on Wikimedia Commons.]] &bull; [https://www.youtube.com/watch?v=-JnIjpRvgNY Watch on YouTube]<p>
<p>Timestamps:</p>

<pre style="text-align: left; max-height: 10em; overflow-y: scroll;">
Timestamps:
<pre style="max-height: 10em; text-align: left;">
00:00 Outline
00:00 Outline
00:50 Database schema
00:50 Database schema

Revision as of 19:06, 13 December 2023

MediaWiki Introduction 2023 is a 3-part video series by Timo Tijhof, recorded in December 2023 for the MediaWiki Code Jam.

Part 1: MediaWiki core concepts

Watch on Wikimedia Commons.Watch on YouTube

Timestamps:

00:00 Outline
00:50 Database schema
01:37 Users
02:55 Preferences
04:12 Localisation
05:02 Permissions
08:50 Bot passwords
10:10 Logging
11:58 Comments
12:35 Recent changes
15:39 Pages
16:00 Namespaces
18:14 Revisions
18:20 Example: Save an edit
19:59 Example: View a page
20:52 Link tables
21:02 Categories
24:20 Templates
25:05 Image links
25:59 GLAM
26:43 External links
27:40 Statistics
28:02 Search
29:14 JobQueue
31:58 Multimedia

High-level product and architecture perspective. Component walk-through.

Part 2: Wikipedia's extensions

  • What is an extension?
  • Install an extension in two easy steps.
  • Walkthrough extensions on Wikipedia's Special:Version page
    • Editor extensions
    • Parser extensions
    • Media handlers
    • Antispam
    • Other

Part 3: Write an example patch

  • Quickstart
  • Run PHPUnit.
  • Run QUnit.
  • Install the "examples" extension.
  • Patch:
    • Output some HTML on a Special page.
    • Edit a localisation message.
    • Change the logic of a hook.
    • Add output to an API.