aboutsummaryrefslogtreecommitdiff
path: root/pkgs/mediawikiExtensions/default.nix
blob: ddab0c4341c1630683261e336bcaef2268761b17 (plain)
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
{ lib, fetchgit, mediawiki }:

let
  inherit (lib) filter genAttrs;

  bundled = filter (n: n != "out") mediawiki.outputs;

in genAttrs bundled (e: mediawiki.${e}) //
{

  EmbedVideo= fetchgit {
    url = https://github.com/HydraWiki/mediawiki-embedvideo.git;
    rev = "1c1904bfc040bc948726719cbef41708c62546b3";
    sha256 = "1vlls0ywvfmzx29abgwhhcrjl8lhfhiphj2bsfq0sx76213wci8l";
  };

  GraphViz = fetchgit {
    url = https://gerrit.wikimedia.org/r/p/mediawiki/extensions/GraphViz.git;
    rev = "c968ec19090ab6febcd12ccd5816c5875fddc9df";
    sha256 = "1f82dnjzyszpdhy8lcjllxfppqwaqiykhv0hvnzgggr4dq747ga1";
  };

/* TODO Use with Mediawiki 1.26+
  MathJax = fetchgit {
    url = https://github.com/hbshim/mediawiki-mathjax.git;
    rev = "56061635eaeffbd13d50d243077e44fcbf3f5da1";
    sha256 = "1xx9cpcl5c8n1jn3qckcva5dnl8z7i1bd2ff4ycpd2cdp930gsy6";
  };
*/

  MathJax = fetchgit {
    url = https://github.com/zalora/Mediawiki-MathJax.git;
    rev = "880adf7f9da55dbe257043fe431f825211ee96e1";
    sha256 = "17s3pbxj6jhywsbdss1hqmss8slb89jkwirlsbd0h16m130q72n8";
  };

  MsUpload = fetchgit {
    url = https://phabricator.wikimedia.org/diffusion/EMSU/extension-msupload.git;
    rev = "d2983b9cd44203173b39e64bf25cdcd73612fcc0";
    sha256 = "1ssngwhr9j598v1rcrwxrpdnl9jk7843qfsngz5ba10c14ba58rx";
  };

  Sproxy = ./Sproxy; # TODO: review, update & publish

  UserPageEditProtection = fetchgit {
    url = https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UserPageEditProtection.git;
    rev = "13ff835e8278654ab8cfae03c8b8196bdfe6e410";
    sha256 = "106acsi4g05wgnhsc7rcdnmy0c0l46bnlq6dgnq1a6j0giilz87w";
  };

}