git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7605 from ip1981/wiki

Mediawiki updates

commit8150cf11b0892c73009a100737a791b959ef2c23 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateTue 28 Apr 2015, 19:00 (12 years ago) parent90b84a64855b0b
2 files changed+4−3
nixos/modules/services/web-servers/apache-httpd/mediawiki.nix+3−2 nixos/modules/services/web-servers/apache-httpd/per-server-options.nix+1−1
nixos/modules/services/web-servers/apache-httpd/mediawiki.nix+3−2
@@ -83,11 +83,11 @@ let
8383
8484 # Unpack Mediawiki and put the config file in its root directory.
8585 mediawikiRoot = pkgs.stdenv.mkDerivation rec {
86− name= "mediawiki-1.23.3";
86+ name= "mediawiki-1.23.9";
8787
8888 src = pkgs.fetchurl {
8989 url = "http://download.wikimedia.org/mediawiki/1.23/${name}.tar.gz";
90− sha256 = "0l6798jwjwk2khfnm84mgc65ij53a8pnv30wdnn15ys4ivia4bpf";
90+ sha256 = "1l7k4g0pgz92yvrfr52w26x740s4362v0gc95pk0i30vn2sp5bql";
9191 };
9292
9393 skins = config.skins;
@@ -142,6 +142,7 @@ in
142142 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
143143 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
144144 ${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedDirs}
145+ ${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedFiles}
145146 RewriteRule ${if config.enableUploads
146147 then "!^/images"
147148 else "^.*\$"
nixos/modules/services/web-servers/apache-httpd/per-server-options.nix+1−1
@@ -97,7 +97,7 @@ with lib;
9797 default = [];
9898 example = [
9999 { urlPath = "/foo/bar.png";
100− dir = "/home/eelco/some-file.png";
100+ files = "/home/eelco/some-file.png";
101101 }
102102 ];
103103 description = ''