MediaWiki is a free software wiki package written in PHP, originally for use on Wikipedia. It is now used by several other projects of the non-profit Wikimedia Foundation and by many other wikis.
Questions tagged [mediawiki]
162 questions
4
votes
2 answers
Varnish with MediaWiki not caching
I'm trying to use varnish cache to cache a mediawiki page for logged in users. I use ubuntu 14.04, varnish 4.0.3 (port 80) and nginx as a webserver (port 8080). As a vcl I copied the configuration from mediawiki.org and with my limited understanding…

Florian
- 113
- 10
4
votes
1 answer
Including MediaWiki Special:AllPages on another page
Is there a way to include the Special:AllPages on another MediaWiki page, i.e. I would like to list Special:AllPages at the bottom of the main page.

Astron
- 377
- 4
- 16
4
votes
1 answer
MediaWiki Issue - PHP Notice: Trying to access array offset on value of type null in .../SectionProfiler.php
I'm using:
MediaWiki 1.30.0
PHP 7.4.1 (apache2handler)
MariaDB 10.3.21-MariaDB-1:10.3.21+maria~jessie
I get this error a lot on the log:
-PHP Notice: Trying to access array offset on value of type null in…

martiniturbide
- 41
- 1
- 2
3
votes
2 answers
404 when trying to shorten URLs for MediaWiki with Lighttpd
I'm absolutely new at this, so please bear with me. I installed MediaWiki on Lighttpd with no problems, except that when I try to follow up redwerks instructions on how to shorten the urls for MediaWiki on Lighttpd, I always get a very frustrating…

MajestosoAlce
- 31
- 1
3
votes
2 answers
Configuring PHP and Mediawiki to use Microsoft SQL Server?
I have PHP 5.6 x86 installed on Windows 7 to C:\PHP. IIS is successfully running PHP and MediaWiki when it's configured to use MariaDB. I'm trying to get it to work with MS SQL Server and it's not showing up as an option when I install MediaWiki…

Corey Ogburn
- 290
- 1
- 3
- 13
3
votes
1 answer
How to add content to all pages in a mediawiki?
TL;DR:
How do I add a text (notice) to the content (not a header or global template) of every page?
(very) long question with background:
I'm planning to migrate a MediaWiki over to another wiki. The content of the wiki has been migrated from an…

Gerald Schneider
- 23,274
- 8
- 57
- 89
3
votes
1 answer
MediaWiki "open_basedir restriction in effect"
I installed a local MediaWiki and gave it access to the following directories in php.ini:
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/mediawiki
Why do I still get the following message? It doesn't make sense to…

Konrad Höffner
- 195
- 1
- 9
3
votes
3 answers
How can I configure MediaWiki to display numbers in titles?
We would like to display numbers in the titles in our MediaWiki wiki.
Specifically: in the table of contents numbers are shown like this:
1 Title
1.1 Subtitle
2 Another title
However, on the page the titles (that map to the table of contents)…

Reinstate Monica - Goodbye SE
- 452
- 5
- 18
3
votes
2 answers
Regress MediaWiki to Clean State?
I just installed and configured MediaWiki on Ubuntu Server 10.04. I've now copied the instance in /usr/share/mediawiki/ to a different directory to run as a separate instance, and would like to reset it to a clean state so that it takes me through…

Captain Blammo
- 213
- 1
- 3
- 8
3
votes
4 answers
How to add URL's to wiki (MediaWiki) powered documentation?
We have an internal company wiki. The wiki engine being used is MediaWiki, the wiki engine that runs Wikipedia. Some of it contains IT stuff.
One of the things i want want to have are hyperlinks to the various virtual machines. An example of a…

Ian Boyd
- 5,293
- 14
- 60
- 82
3
votes
2 answers
MediaWiki is getting slower gradually
I set up my MediaWiki on a CentOS. In the first few months, it works fine and fast. But it seems gradually getting slower.
My wiki site has less than 50 pages, so it's a very small scale site. But it seems every first time when loading the page, it…

Stan
- 1,387
- 6
- 24
- 40
3
votes
4 answers
Useful extensions for MediaWiki
Can anyone suggest some useful MediaWiki extensions? I've installed PDF export, syntax highlight, file link protocol, submit in toolbar and enforce strong password. But I'm still eager to know any good/handy extensions.

Stan
- 1,387
- 6
- 24
- 40
3
votes
1 answer
Command line tool for MediaWiki?
Is there a command line tool that would allow me to script creation of accounts on a MediaWiki instance?
The UI for creating an account is painful, and very time consuming when tasked with creating 10+ accounts at a time.
Unfortunately I can't get…

Magnus
- 141
- 6
2
votes
1 answer
Mediawiki file upload final steps fail
I have a mediawiki set up on an IIS7 server. It was set up as described in the manual. I activated file upload as described here. I think I've got the folder permissions right: modify-read-write for the IIS_IUSRS group on the images subdir of the…

arne
- 181
- 1
- 5
2
votes
3 answers
How can I get my mediawiki to stop thinking I have cookies disabled?
I've searched half a day for how to resolve this issue, and can't figure it out. Shortly after I made my wiki a simple private wiki according to the instructions at Mediawiki's website, it started giving me this weird login error message: Wiki…

PakG1
- 31
- 6