Questions tagged [mediawiki]
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.
161
questions
16
votes
4
answers
2k
views
IT Documentation with MediaWiki
We are looking for ways in which to further enhance our documentation and our ability to allow easy access to the information as well as editing the information. With these ideas in mind, we created ...
10
votes
2
answers
1k
views
MediaWiki slow save of edited pages
I have MediaWiki 1.16.2 on a the following LAMP platform, which performs quite good for other apps on a 16 GB RAM dual processor machine:
CentOS 5.7 (64-bit)
Apache 2.2.3
MySQL 5.0.77
PHP 5.1.6
It ...
9
votes
7
answers
6k
views
What tips do you have for speeding up (performance of) a MediaWiki installation?
We have a MediaWiki installation and are getting complaints that it is becoming slower. How can we increase the speed / performance?
I have one tip (which I'll add below) but I'm really interested in ...
7
votes
1
answer
4k
views
How to reset/flush a MediaWiki? [closed]
I have a fresh MediaWiki installation that I would like to make some mass import tests on from another wiki.
I will expect that my first tries will fail, and I end up with I have inserted 500 pages ...
6
votes
6
answers
895
views
What is the optimum way to secure a company wide wiki?
We have a wiki which is used by over half our company. Generally it has been very positively received. However, there is a concern over security - not letting confidential information fall into the ...
6
votes
4
answers
43k
views
Need help trouble shooting high CPU usage by PHP-fpm
There is a problem that is driving me crazy. After the day I tried to fix the CPU usage problem of my VPS, the CPU load has grown from 60% to 150%, and I have no idea what causes the problem. Please ...
6
votes
3
answers
62k
views
PHP/Apache POST limit?
I'm trying to edit large (200KB or so) articles on my MediaWiki install, but doing so gives me this error:
Request Entity Too Large
The requested resource
/path/to/my/wiki/index.php
...
6
votes
2
answers
4k
views
MediaWiki on MS SQL Server
I've been doing some digging on running mediawiki on sql server instead of MySQL, but haven't come across any concrete information. All of our servers are running SQL Server so I'd like to stick with ...
5
votes
5
answers
4k
views
Multiple instances of MediaWiki on one server
We need to run several MediaWiki Wikis, that need totally separate user accounts, on the one server. What would be the better solution:
Use separate source code and use namespaces in the database.
...
5
votes
3
answers
9k
views
How to make MediaWiki search work better?
The basic search capabilities of MediaWiki (at least, the version we're running - 1.7.1) are pretty poor. I'd like to improve them with an extension, but there are a lot of options and I'd like to ...
5
votes
2
answers
7k
views
MySQL export tables with prefix from Unix command line
I want to export certain tables from one database and import them to another. The tables in question are used for my MediaWiki installation and are prefixed with "wiki_".
I do not have access to ...
5
votes
1
answer
4k
views
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 ...
5
votes
3
answers
3k
views
How to properly backup mediawiki database (mysql) without messing up the data?
I want to backup a mediawiki database stored in a MySQL server 5.1.36 using mysqldump.
Most of the wiki articles are written in spanish and a don't want to mess up with it by creating the dump with ...
5
votes
1
answer
2k
views
HSTS header not being sent though rule is present and mod_headers is enabled
We enabled HSTS in httpd.conf in the Virtual Host handling port 443. We tried with and without the <IfModule mod_headers.c>:
<IfModule mod_headers.c>
Header set Strict-Transport-...
4
votes
2
answers
1k
views
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 ...
4
votes
1
answer
1k
views
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 ...
4
votes
1
answer
156
views
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.
4
votes
1
answer
1k
views
Is it possible to mirror a MediaWiki article from another wiki?
I have two MediaWiki installations on two different domains, both on the same server but with different databases.
Is there a feature or extension that will allow me to automatically mirror the ...
4
votes
2
answers
2k
views
MediaWiki not displaying style -- "Internal error"
I just upgraded a MediaWiki installation from version 1.25.x to 1.26.1, but now the styling information is not displaying. Hence, the page displays all text-like without the links column at the left. ...
3
votes
4
answers
3k
views
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 ...
3
votes
4
answers
5k
views
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 ...
3
votes
3
answers
3k
views
How can I configure MediaWiki to display numbers in titles? [closed]
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 ...
3
votes
2
answers
348
views
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 ...
3
votes
2
answers
3k
views
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 ...
3
votes
2
answers
464
views
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 ...
3
votes
2
answers
465
views
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 ...
3
votes
2
answers
11k
views
Nginx. Config two sites on the same port
I'm trying to add a wikimedia site on my server, which already has another site (which doesn't use PHP) on it. I want to put it on a different folder like www.hostname.com/wiki but it would be ...
3
votes
1
answer
2k
views
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 ...
3
votes
1
answer
2k
views
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 ...
2
votes
1
answer
4k
views
What needs to be done to cleanly move a MediaWiki installation from one server to another?
I have MediaWiki running on one server, and need to migrate it to another. What steps need to be taken to cleanly move it to another host? Minimal downtime is acceptable.
2
votes
5
answers
261
views
Choosing a Wiki for an academic institute
I need to choose a Wiki. Please someone help. Following are my requirements:
1) Need good control to the access variables
2) LDAP integration support
3) User Group Support
4) Good Themes and ...
2
votes
1
answer
4k
views
Error logging with PHP and mod_fcgid
I have a mediawiki install that is acting up. Whenever I try to save an article, it goes to a blank screen. All though if I refresh that blank screen, it will go on to work.
I have no idea why it's ...
2
votes
3
answers
1k
views
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 ...
2
votes
1
answer
3k
views
nginx short urls for mediawiki
I am trying to do short URLs for a MediaWiki site. The wiki is in a subdirectory mydir (http://www.example.com/mywiki). I've already set up rewrites in /etc/nginx/sites-available so that example.com ...
2
votes
1
answer
698
views
Mediawiki file upload final steps fail [closed]
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 ...
2
votes
2
answers
6k
views
Apache webserver HTTPS port redirects to HTTP with port 443
At my work I installed Mediawiki (latest version) on a Apache webserver 2.4.6 with PHP 5. Everthing works fine when I want to access the wiki pages locally and I configure a hostname in Mediawiki
$...
2
votes
2
answers
2k
views
How do I block multiple users on MediaWiki?
My wiki collected a lot of spam over the past few months, so I've blocked it to only registered users. Unfortunately I never turned off user registration.
Is it possible to block a lot of user ...
2
votes
1
answer
303
views
Allow external HTTPS images on MediaWiki
On a MediaWiki wiki, we've set $wgAllowExternalImages which enables us to display inline images from another source without uploading it to the wiki (we just specify the URL).
However, this only ...
2
votes
0
answers
97
views
Displaying ODG files thumbnails in Mediawiki
I would like to manage network diagrams in a Mediawiki instance using Libreoffice Draw (odg extension) : importing the odg files in the wiki is working but it's actually impossible to display ...
2
votes
2
answers
1k
views
Mediawiki does not run for the first time
I'm trying to install Mediawiki 1.22.6 into a subdirectory /wiki/ of apache document root directory, which contains some other directories. When I try to open http://example.com/wiki or http://example....
2
votes
1
answer
165
views
MediaWiki Multi Site + Memcached
I have multiple mediawiki installations, and I'm wondering if it's safe to allow them to all use the same memcached server.
Are there any "gotchas" involved?
2
votes
1
answer
213
views
mediawiki database error when uploading some PDF files
I'm running a private mediawiki server on a Gentoo Linux box with Apache, PHP and Postgresql-9.0. Sometimes when one of us tries to upload a PDF file (that's the only type I've ever seen it happen too)...
2
votes
1
answer
300
views
MediaWiki SearchEngine that behaves like google
searchterm: foo
should match foo and foobar
searchterm: "foo"
should only match foo
I tried LuceneSearch and SphinxSearch so far, but I couldn't get any of these to behave like google. foo will only ...
1
vote
4
answers
200
views
Setting up a wiki from raw files
I'm not totally sure on what the story is, but it goes something like this:
Professor works on a project at some
other University
The researchers save
all their data in a wiki
Project no
longer ...
1
vote
4
answers
2k
views
How to reduce the memory usage of mediawiki?
I have a VPS running apache that keeps running out of memory at Dreamhost. Dreamhost says that the problem is the wordpress configuration, but I think that's their stock answer. I've looked and the ...
1
vote
3
answers
4k
views
500 Internal Server Error when uploading large files to MediaWiki
When I upload a large (>245 Mb) file to my MediaWiki wiki (using Upload file, same as for images), I see:
Internal Server Error
The server encountered an internal
error or misconfiguration ...
1
vote
1
answer
98
views
Different versions of MediaWiki on the same server
From what I can tell, people install multiple instances of MediaWiki on the same server all the time. However, I am not sure if you can install different versions of MediaWiki on the same server. ...
1
vote
1
answer
190
views
WikiMedia. Search with french accents. Result differ's
I have MediaWiki 1.19 with MySQL 5.1.58 and php-5.3.6 installed in a SANDBOX.
On the MediaWiki, I do a search with the word ''Québec'' or ''Quebec'' and I have different results...
Is there anything ...
1
vote
2
answers
317
views
Uploading files to https mediawiki
I am unable to upload files (images) to my mediawiki install. I think it may have something to do with it is being hosted as http secure(HTTPS). I followed carefully the instructions here.
I ...
1
vote
1
answer
988
views
fully encrypted MediaWiki base
Is it possible to completely encrypt a MediaWiki installation?
I'm not looking for a way to finely control access rights or have some encrypted articles or even just parts of articles encrypted.
...