mirror of https://gitlab.crans.org/nounous/nixos
Adding some extensions
parent
b0ffd3aded
commit
dbd523bc85
|
@ -85,10 +85,17 @@ in
|
||||||
|
|
||||||
# Disable anonymous editing
|
# Disable anonymous editing
|
||||||
$wgGroupPermissions['*']['edit'] = false;
|
$wgGroupPermissions['*']['edit'] = false;
|
||||||
|
$wgGroupPermissions['*']['read'] = false;
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
$wgWikiEditorRealtimePreview = true;
|
$wgWikiEditorRealtimePreview = true;
|
||||||
|
|
||||||
|
# Custom Namespaces
|
||||||
|
define("NS_ARCHIVE", 3000);
|
||||||
|
define("NS_ARCHIVE_TALK", 3001);
|
||||||
|
$wgExtraNamespaces[NS_ARCHIVE] = "Archive";
|
||||||
|
$wgExtraNamespaces[NS_ARCHIVE_TALK] = "Archive_talk";
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
$wgShowExceptionDetails = true;
|
$wgShowExceptionDetails = true;
|
||||||
$wgDebugToolbar = true;
|
$wgDebugToolbar = true;
|
||||||
|
@ -110,10 +117,23 @@ in
|
||||||
# Enables embedded extensions
|
# Enables embedded extensions
|
||||||
Math = null;
|
Math = null;
|
||||||
MultimediaViewer = null;
|
MultimediaViewer = null;
|
||||||
|
Nuke = null;
|
||||||
SyntaxHighlight_GeSHi = null;
|
SyntaxHighlight_GeSHi = null;
|
||||||
|
TemplateData = null;
|
||||||
VisualEditor = null;
|
VisualEditor = null;
|
||||||
WikiEditor = null;
|
WikiEditor = null;
|
||||||
|
|
||||||
|
# Bundled with next version, put as null in the next update
|
||||||
|
TemplateStyles = pkgs.fetchFromGitHub {
|
||||||
|
name = "TemplateStyles";
|
||||||
|
owner = "wikimedia";
|
||||||
|
repo = "mediawiki-extensions-TemplateStyles";
|
||||||
|
rev = "REL" + major + "_" + minor;
|
||||||
|
# Le SHA doit être changé à chaque nouveau commit de traduction.
|
||||||
|
# Pas de meilleure solution à ma connaissance pour suivre les releases.
|
||||||
|
sha256 = "sha256-fCBccHTIBJrUyxe6oP7VR84HO65ICETE73X4rswQo4c=";
|
||||||
|
};
|
||||||
|
|
||||||
# Popups
|
# Popups
|
||||||
TextExtracts = null;
|
TextExtracts = null;
|
||||||
PageImages = null;
|
PageImages = null;
|
||||||
|
|
Loading…
Reference in New Issue