Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by M.Smolarz

  1. Hello! I am trying to set up a default template for my wiki pages. I want that every time I create a new page, this template is displayed directly and I can then edit it and add more sections. My problem is that you can't edit templates in the article. Does anyone know a solution to this problem?
  2. yes, thank you i found out too. Unfortunately it wasn't in the wiki, maybe it should be added as a hint.
  3. Hi, I have taken over the administration of a MediaWiki server at my university (Version: 1.35.2). It is installed with XAMPP (PHP: 7.4.9 (apache2handler); MariaDB: 10.4.14-MariaDB; ICU: 66.1) in /opt/lampp/htdocs/wiki I'm currently trying to shorten the URL with the help of this guide, or rather put it into a readable form. So I added this to the httpd.conf: ## https://www.mediawiki.org/wiki/Manual:Short_URL/Apache # Enable the rewrite engine RewriteEngine On # Short URL for wiki pages RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.php [L] # Redirect / to Main Page RewriteRule ^/*$ %{DOCUMENT_ROOT}/wiki/index.php [L] and this to Localsettings.php $wgArticlePath = "/wiki/$1"; The problem is that the link is fine, but the website then looks like this: Without this line: RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.php [L] Then the web page looks normal again. Does someone know what's wrong there?
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.