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
1answer
30 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
502 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
2k 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
165 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
71 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
32 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
330 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. ...
1
vote
2answers
256 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
904 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
755 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
17 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
67 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
11 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 ...
1
vote
0answers
96 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
109 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
42 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
33 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
62 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
28 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
134 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
332 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 ...
0
votes
0answers
136 views

Mediawiki: Admin can't log in

We've just restored an old backup of a mediawiki database for a customer (no program, just the database and the "images" directory). We upgraded to the most recent version (1.22.6) to be able to use ...
3
votes
1answer
275 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
58 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
26 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
54 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
323 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
25k 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
446 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
588 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
625 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
147 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 ...
1
vote
2answers
698 views

Mediawiki behind reverse proxy populates user IP address with proxy address

I have apache running on a fw machine that reverse proxies different folders to different back end servers, and also wraps the connection in SSL. ...a fairly common setup. Predictably, the backend ...
1
vote
2answers
936 views

Stylesheets not loading in mediawiki

I'm trying to set up an internal mediawiki site with version 1.19 on RHEL 6.2 with Apache. On loading any wiki page, Mozilla reports Error: The stylesheet ...
1
vote
1answer
302 views

not able to upload files into mediawiki — weird one

Completely frustrating me. When I try and upload a small jpeg file I get the following error: Warning: wfMkdirParents: failed to mkdir "/usr/local/mediawiki-1.20.5/images/5/5d" mode 0777 in ...
-4
votes
1answer
80 views

MediaWiki Not Displaying Correctly [closed]

I have installed MediaWiki on a test server, and have opened up port 80 on the Firewall. I can access the site by typing in the following: http://NameOfServer/mediawiki/index.php/Main_Page ...
14
votes
4answers
1k 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 ...
0
votes
1answer
269 views

converting Lighttpd rule to apache rules

I am using mediawiki on my localhost server. my url for now is 127.0.0.1:8080/wiki/index.php/Main_Page But i want to convert above mentioned url to wiki.127.0.0.1:8080 or something like ...
1
vote
0answers
111 views

mediawiki and wordpress MU different root with Nginx

i want to use wordpress MU with mediawiki on the same domain , but i'm using a kind of mediawiki hosting service called wikifamily. so i have to different script root : /var/www/wikifamly for ...
0
votes
2answers
502 views

Varnish not passing user IP correctly to MediaWiki

I'm running a setup with Nginx, FastCGI, APC, Memcache and Varnish to host a MediaWiki installation. I'm having some issues with recent changes showing up as coming from 127.0.0.1 in the case of ...
1
vote
2answers
1k 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 ...
1
vote
4answers
1k 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 ...
0
votes
3answers
889 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 ...
1
vote
0answers
65 views

mod_rewrite changes case even if not matching RewriteCond?

I have a really strange problem with my MediaWiki which I want to have articles of the form mywiki.org/MyArticle. Now I got most of it to work using the following code but it mysteriously cannot ...