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.

learn more… | top users | synonyms

0
votes
0answers
22 views

How to implement Wikipedia's long URL redirection logic? [on hold]

Does anybody know how Wikipedia implements their long URL to short URL redirection logic ? I'm not talking about being able to write both http://example.org/wiki/Page_Title and ...
0
votes
2answers
19 views

Can connect to Apache 2 test page, but no to Mediawiki

I've set up Mediawiki on Centos 6 according to this article: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux Works fine locally, but when I attempt to connect from outside my ...
0
votes
1answer
23 views

Sporadic problems saving edits in MediaWiki

In our Wiki (http://scratch-dach.info MediaWiki 1.25.1, PHP 5.3.29, MySQL 5.5.44-log) we have sporadic problems when saving edits. At irregular intervals the Browser tries to download the ...
0
votes
1answer
19 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. ...
0
votes
1answer
5 views

Mediawiki upload directory ouotside installation directory

I have installed Mediawiki in /var/www/mediawiki/w, where /var/www/mediawiki is the root directory. Is it possible to set the upload directory outside w, say /var/www/mediawiki/images, instead of a ...
2
votes
1answer
12 views

404 when trying to shorten url for mediawiki (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 ...
0
votes
1answer
23 views

Mediawiki talk page links to normal page [closed]

I have a mediawiki installation which mostly works as expected otherwise. However, suddenly, one normal page's "talk" section links to another normal page instead of to the expected separate "talk" ...
0
votes
2answers
55 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 ...
1
vote
0answers
35 views

IIS 7.5 - Windows Authetication FQDN

Currently, I have to implement an auto login function for my mediawiki and I have enabled windows authentication on my IIS 7.5. It is working on localhost without any prompt. However, when I tried ...
0
votes
1answer
97 views

Why do redirects in MediaWiki categories only sometimes appear in italics?

Apparently, redirects in categories are always meant to appear in italics. In our MediaWiki (1.13.2) this is almost always not the case. This is not a problem, but sometimes they suddenly appear in ...
0
votes
1answer
167 views

MediaWiki default category

I've recently set up the newest MediaWiki install. I'm trying to force users to make an article part of a certain category. I'm using the SelectCategory extension to ask them when editing an article, ...
8
votes
7answers
3k 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 ...
3
votes
2answers
140 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 ...
0
votes
1answer
401 views

php REMOTE_USER variable

I am trying to setup mediawiki with SSO. I was able to set up authentification with domain, but I cannot setup SSO. For some reason, $_SERVER['REMOTE_USER'] variable is not set. I looked into some ...
1
vote
1answer
522 views

Apache: URL should point to specific folder

I'm using CentOS 5.5 and Apache 2.2. I just started to administrate my own dedicated server, but I think that I understand the concept of virtual hosts in Apache: I actually have to different domains ...
3
votes
3answers
2k 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 ...
4
votes
2answers
3k 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 ...
0
votes
0answers
194 views

Why is Apache directing me to /defaultsite?

I've never had this problem before, but I'm sure it's something I'm doing wrong. I just set up another virtual host on Debian with Apache, and I'm trying to get it directed to the MediaWiki ...
1
vote
1answer
2k views

Need help for configuring VirtualHost of Apache

I have virtual machine running Ubuntu. I want to type in browser "http://localhost/mwiki" and see my MediaWiki site. I put this site into /var/www/mwiki folder and I configured Apache "default" file. ...
3
votes
4answers
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 ...
0
votes
1answer
73 views

cannot access a page in a subdirectory of /var/www

I have problem with accessing mediawiki on a server with apache2. I installed mediawiki in /var/www/wiki directory. I can access index.php in /var/www by typing in browser "myhostIP", but if I type ...
0
votes
1answer
74 views

Mediawiki migrate existing wiki page to shortURL without afecting SEO (maintain old links)

Following the steps at: http://www.mediawiki.org/wiki/Manual:Short_URL http://www.mediawiki.org/wiki/Manual:Short_URL/Apache I have already migrate my wiki page from URLs: ...
1
vote
2answers
351 views

MediaWiki “no text in this page” with special characters in search field

We're upgrading from MediaWiki 1.13.2 -> 1.15.4. One of the issues we see is that when a page is searched for which in which the page name contains special characters, the page cannot be found. ...
2
votes
2answers
691 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 ...
6
votes
2answers
3k 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 ...
1
vote
1answer
986 views

Why isn't MediaWiki loading?

I recently set up MediaWiki on an Apache server with PostgreSQL. It installed successfully. However, when I try to access the website, I get a blank page. The error log reports the following. ...
0
votes
1answer
778 views

PHP/APC Canonicalize not working as expected

Basic Info: APC Version 3.1.13 PHP Version 5.4.7-1~dotdeb.0 APC Host pcgamingwiki.com (li263-94) (173.255.253.94) Server Software nginx/1.2.4 In my config, I have apc.stat = 0 and ...
0
votes
1answer
20 views

Mediawiki link search

I recently changed my mediawiki domain and everything is work well, but there are some pages that have links in them that point to resources on the discontinued domain. I could go through all the ...
0
votes
1answer
94 views

MediaWiki in multi-server environment

I'd like to ask about some strategies with MediaWiki. How would you run MediaWiki with good performance on a multi-server environment? Since it has configuration files it will also need some sort of ...
0
votes
0answers
12 views

Rewrite old mediawiki URL pattern to short URL format and rewrite old URLs to support new format [duplicate]

We have been running a mediawiki installation for some years now. During an upgrade to a newer version, we decided to switch to the short url pattern wikipedia uses. This is working fine. So our ...
0
votes
0answers
156 views

can't find mediawiki after changing apache listening port on ubuntu server

I had mediawiki installed and apache listening on port 9997 accessed via example.com:9997/mediawiki Mediawiki is under /var/www/html/mediawiki. So I wanted to change it to port 80. I changed ...
0
votes
0answers
150 views

Server 2012 R2 IIS 8 MediaWiki Every Other Page Refresh No CSS

I am having a peculiar issue with MediaWiki on both Windows Server 2008 R2 and 2012 R2 where I have configured version 1.23.4 of MediaWiki and PHP 5.6 nts under FastCGI and for some reason if I ...
0
votes
0answers
51 views

Nginx - Mediawiki - Limit access to the connexion page to specified ip

I would like to limit the possibility to connect to my Mediawiki web site to a specified list of ip. The url to connect are : /index.php/Spécial:Connexion /index.php?title=Spécial:Connexion ...
-1
votes
1answer
38 views

Multiple instances of mediawiki on stand alone server

I want to run a second instance of MediaWiki on a stand alone server. Does anyone have a guide on how to do this without causing problems for my current MediaWiki instance.
0
votes
0answers
106 views

Second instance of mediawiki not loading

I have mediawiki on an internal server for one of my groups and it is running fine. I wanted to setup another wiki for a different internal group and I followed the instruction on how to do so on the ...
0
votes
0answers
31 views

MediaWiki migration showing errors with old directory structure

I recently migrated a server from an Ubuntu machine to a more appropriate and easier to maintain CentOS 6.5 VM. After moving the software over and ensuring the paths are all corrected, or so I ...
0
votes
1answer
157 views

What does MediaWiki's $wgMaxShellMemory actually control?

My main question is: does wgMaxShellMemory limit the total memory used by all processes for shell tasks, like ImageMagick thumbnail creation? Or is it rather a per-process limit? The documentation for ...
2
votes
2answers
407 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 ...
3
votes
1answer
346 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 ...
-1
votes
1answer
66 views

mediawiki unable to upload files, but no errors

I have a 64-bit, CentOS 6.4 server running Apache 2 and MediaWiki 1.21.2 (upgraded from a 1.19 install from another server, but the problem did not exist there). The problem is that users cannot ...
1
vote
1answer
29 views

Adding Bugzilla links to Mediawiki

We have both Bugzilla (3.2.5.1-2) and Mediawiki (1.20.2) and I would like an easy way to create links to bug reports from a wiki page. I've noticed that the main Wikipedia site has a shortcut to bug ...
1
vote
3answers
3k 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 ...
0
votes
1answer
55 views

Under DoS, how to alter MediaWiki to reject quickly any editing and history requests for anonymous users

One of our MediaWiki - based projects seems under DoS attack - unusual number of anonymous users try to edit pages and view or edit history requests. While anonymous editing is disabled on that ...
0
votes
1answer
360 views

NGiNX and MediaWiki rewrite regular expression

I am having some problems with regular-expression with rewrite in NGiNX. Here is my config: location /wiki/ { rewrite ^/([^?]*)/([^?]*)(?:\?(.*))? /$1/index.php?title=$2&$3 last; ...
5
votes
2answers
27k 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 ...
1
vote
3answers
468 views

Clean out a large MediaWiki text table

I just discovered that an old MediaWiki of mine was infested with spam, and the database table named "text" (which contains the page content) is 3GB large. I've deleted all the spam pages manually, ...
0
votes
1answer
673 views

Visiting certain pages downloads gzip file instead of displaying them

I've encountered an intermittent problem with my site. When visiting pages, the browser just downloads a .gz file instead of loading the page. Reloading the page a few times will eventually display ...
1
vote
1answer
687 views

Image Magick Can't Create Thumbnail OpenShift [closed]

I'm using OpenShift to host a MediaWiki site. Everything was working fine, including thumbnails, and then all of a sudden, thumbnails stopped being generated, and I got this cryptic error: Error ...
0
votes
1answer
1k views

Nginx location override does not do what I want, opinions welcome

I have a Nginx configuration file that works for everything except one feature. I have installed a Mediawiki, it works pretty well except at showing pictures (loading them works fine). Whereas (sorry ...
1
vote
1answer
174 views

Importing old mediawiki SQL dump MAMP

I've been tasked with importing an SQL database to setup up with a local mediawiki website (v1.14). We were sent a SQL file with an image file to upload to the local site. After setting up mediawiki ...