Replies: 1 comment 6 replies
-
@Ernstian url.rewrite-if-not-file = (
"^/wiki/(mw-)?config/?" => "$0",
"^/wiki/([^?]*)(?:\?(.*))?" => "/w/index.php?title=$1&$2",
"^/wiki/([^?]*)" => "/w/index.php?title=$1",
"^/wiki$" => "/w/index.php", # to avoid 404 when the user types /wiki instead of /wiki/
) So there the base installation is in url.rewrite-if-not-file = (
"^/wiki/(mw-)?config/?" => "$0",
"^/wiki/([^?]*)(?:\?(.*))?" => "/wiki/index.php?title=$1&$2",
"^/wiki/([^?]*)" => "/wiki/index.php?title=$1",
"^/wiki$" => "/wiki/index.php", # to avoid 404 when the user types /wiki instead of /wiki/
)` Just replacing We could actually implement these shortings OOTB to your webserver drop-ins. I guess, on Apache, it does work OOTB already via It would be indeed not so difficult to implement a custom path/wiki name, with an optional dialogue and Btw, does MediaWiki have an internal updater, or do files need to be replaced manually? |
Beta Was this translation helpful? Give feedback.
-
Mediawiki is already supported, but there are two problems that I noticed while using it:
I'm not sure how feasable it is, but I'd like to choose a "wikiname" or something during installation. The database and the website path should reflect that name and should be fully seperate (so I could uninstall one wiki, but keep the other intact): "https://example.org/wiki1/" and "https://example.org/wiki2/", for example. Something like a wiki family with "Separate settings files" sounds like it would perfectly fit my use case.
Beta Was this translation helpful? Give feedback.
All reactions