This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
56 lines (51 loc) · 2.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>MediaWiki Packagist</title>
<link rel="stylesheet" href="node_modules/furtive/css/furtive.min.css"/>
<link rel="canonical" href="https://mwpackagist.netlib.re/"/>
<meta name="description" content="Install and manage MediaWiki extensions/skins with Composer"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body class="p1 bg--white measure">
<h1>MediaWiki Packagist</h1>
<p>This site mirrors the MediaWiki extension and skin directories as a Composer repository.</p>
<h2>How do I use it?</h2>
<ol>
<li>Add the repository to your <code>composer.json</code></li>
<li>Add the desired extensions and skins to your requirements using <code>mediawiki</code> as the vendor name.</li>
<li>Run <code>composer update</code></li>
<li>Packages are installed to <code>extensions/</code> or <code>skins/</code></li>
</ol>
<p>If you need a base setup to install the MediaWiki core with Composer, you can clone <a target="_blank"
title="Base Composer setup for MediaWiki projects"
href="https://github.com/Rudloff/mediawiki-composer">this
repository</a>.</p>
<h2>Versions</h2>
MediaWiki extensions usually provide a branch for each of the maintained MediaWiki version. We convert these branches
into a semantic version number.<br/>So you need to use your current MediaWiki version (e.g. <i>1.26</i>) as version
constraint for your extensions in your <code>composer.json</code>.
<h2>Example</h2>
<pre>
{
"name": "acme/mediawiki-example",
"description": "My MediaWiki site",
"license": "proprietary",
"repositories": [{
"type": "composer",
"url": "https://mwpackagist.netlib.re/"
}],
"require": {
"mediawiki/AJAXPoll": "~1.26.0",
"mediawiki/BlueSky": "~1.26.0"
}
}
</pre>
<h2>Available extensions</h2>
You can find the list of all the available extensions (and their versions) <a href="repo/">here</a>.
<h2>Contributing</h2>
You can get the code and report issues on <a target="_blank" href="https://github.com/Rudloff/mwpackagist"
title="MediaWiki Packagist on GitHub">GitHub</a>.
</body>
</html>