FSR Wiki #40

Merged
fugidev merged 6 commits from wiki into main 2023-08-16 15:42:44 +02:00
Showing only changes of commit c992331bbd - Show all commits

View file

@ -1,4 +1,8 @@
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
{ config, pkgs, lib, ... }:
let
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
domain = "wiki.${config.fsr.domain}";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
listenPort = 8080;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
in
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
{
sops.secrets = {
"mediawiki/postgres".owner = config.users.users.mediawiki.name;
@ -6,61 +10,32 @@
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
"mediawiki/ldapprovider".owner = config.users.users.mediawiki.name;
};
# users.users.mediawiki.extraGroups = [ "postgres" ];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
nixpkgs.overlays = [
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
(final: prev: {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
final.config.systemd.services.mediawiki-init.script = ''
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
'';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
})
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
services = {
mediawiki = {
enable = true;
name = "FSR Wiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
passwordFile = config.sops.secrets."mediawiki/initial_admin".path;
database = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
type = "postgres";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# socket = "/run/postgresql";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
user = "mediawiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
name = "mediawiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
host = "localhost";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
port = 5432;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
passwordFile = config.sops.secrets."mediawiki/postgres".path;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
createLocally = false;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# virtualHost = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# hostName = "wiki.quitte.tassilo-tanneberger.de";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# adminAddr = "root@ifsr.de";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# forceSSL = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# enableACME = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
# };
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
database.type = "postgres";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
url = "https://${domain}";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
httpd.virtualHost = {
hostName = "wiki.${config.fsr.domain}";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
adminAddr = "root@ifsr.de";
#forceSSL = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
#enableACME = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
listen = [{
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ip = "127.0.0.1";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
port = listenPort;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ssl = false;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
}];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
extraConfig = ''
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
RewriteEngine On
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
RewriteCond %{REQUEST_URI} !^/rest\.php
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php [L]
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
'';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
httpd.virtualHost.listen = [
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
{
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ip = "127.0.0.1";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
port = 8080;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ssl = false;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
}
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
extraConfig = ''
$wgDBport = "5432";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgDBmwschema = "mediawiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgDBserver = "localhost";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgDBname = "mediawiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
/////// $wgArticlePath = '/$1';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgSitename = "FSR Wiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgArticlePath = '/$1';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
// $wgLogo = "https://www.c3d2.de/images/ck.png";
$wgEmergencyContact = "root@ifsr.de";
@ -71,38 +46,9 @@
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['sysop']['interwiki'] = true;
$wgGroupPermissions['sysop']['userrights'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
define("NS_INTERN", 100);
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
define("NS_INTERN_TALK", 101);
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgExtraNamespaces[NS_INTERN] = "Intern";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgExtraNamespaces[NS_INTERN_TALK] = "Intern_Diskussion";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['move'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['move-subpages'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['move-rootuserpages'] = true; // can move root userpages
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['read'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['edit'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['createpage'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['createtalk'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['writeapi'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['upload'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['reupload'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['reupload-shared'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['minoredit'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['purge'] = true; // can use ?action=purge without clicking "ok"
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['intern']['sendemail'] = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgNamespacePermissionLockdown[NS_INTERN]['*'] = array('intern');
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgNamespacePermissionLockdown[NS_INTERN_TALK]['*'] = array('intern');
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgGroupPermissions['sysop']['deletelogentry'] = true;
$wgGroupPermissions['sysop']['deleterevision'] = true;
wfLoadExtension('ConfirmEdit/QuestyCaptcha');
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgCaptchaClass = 'QuestyCaptcha';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgCaptchaQuestions[] = array( 'question' => 'How is C3D2 logo in ascii?', 'answer' => '<<</>>' );
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$wgEnableAPI = true;
$wgAllowUserCss = true;
$wgUseAjax = true;
@ -116,6 +62,7 @@
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
$LDAPProviderDomainConfigs = "${config.sops.secrets."mediawiki/ldapprovider".path}";
$wgPluggableAuth_EnableLocalLogin = true;
'';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
extensions = {
CiteThisPage = pkgs.fetchzip {
url = "https://web.archive.org/web/20220627203556/https://extdist.wmflabs.org/dist/extensions/CiteThisPage-REL1_38-bb4881c.tar.gz";
@ -164,44 +111,17 @@
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
};
};
postgresql = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
enable = true;
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ensureUsers = [
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
{
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
name = "mediawiki";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ensurePermissions = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
"DATABASE \"mediawiki\"" = "ALL PRIVILEGES";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
}
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
ensureDatabases = [
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
"mediawiki"
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
nginx = {
recommendedProxySettings = true;
virtualHosts = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
"wiki.${config.fsr.domain}" = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
virtualHosts.${domain} = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
proxyPass = "http://127.0.0.1:${toString listenPort}";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
proxyWebsockets = true;
};
};
};
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
systemd.services.mediawiki-pgsetup = {
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
description = "Prepare Mediawiki postgres database";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
wantedBy = [ "multi-user.target" ];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
after = [ "networking.target" "postgresql.service" ];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
serviceConfig.Type = "oneshot";
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
path = [ pkgs.sudo config.services.postgresql.package ];
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
script = ''
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
sudo -u ${config.services.postgresql.superUser} psql -c "ALTER ROLE mediawiki WITH PASSWORD '$(cat ${config.sops.secrets."mediawiki/postgres".path})'"
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
'';
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
};
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
}

fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).
fugidev commented 2023-06-12 23:43:56 +02:00 (Migrated from github.com)
Review

I'm probably gonna configure this dynamically, like this.

I'm probably gonna configure this dynamically, like [this](https://www.mediawiki.org/wiki/Extension:LDAPProvider#Dynamic_PHP_array).