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
24 views

MediaWiki + latex => json_encode(): Invalid UTF-8 sequence [migrated]

I've just finished installing MediaWiki on a fresh CentOS 7 droplet on Digital Ocean. Everything seems to work fine, except that when I type in a math formula, I get the following error message: A ...
0
votes
0answers
10 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
2answers
31 views

Configuring PHP and WikiMedia 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 ...
1
vote
0answers
31 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
1answer
14 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
0answers
50 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
32 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 ...
0
votes
1answer
41 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 ...
-1
votes
1answer
23 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
38 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
27 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 ...
2
votes
2answers
209 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
85 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 ...
0
votes
0answers
12 views

MediaWiki hangs on install page on II7 install

MediaWiki 1.22.3 PHP 5.5.9 compiled 32 bit vc11 pear installed MySql installed, although I dont think we have gotten there. I can execute phpinfo and that works. I tried CgiModule and ...
-1
votes
1answer
40 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
23 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 ...
0
votes
1answer
257 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; ...
1
vote
1answer
512 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
984 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
2answers
567 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 ...
0
votes
1answer
121 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 ...
1
vote
1answer
133 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 ...
2
votes
1answer
235 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
vote
1answer
255 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 ...
0
votes
0answers
33 views

Why aren't my Apache access controls working with my media wiki site?

In this example the working rule is working in that it produces a 503 error when accessed through a proxy server. Whereas, the not working rule is allowing access to all the web. Whats wrong here? ...
-4
votes
1answer
68 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 ...
1
vote
2answers
779 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
0answers
99 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
421 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 ...
0
votes
1answer
53 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
226 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
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 ...
0
votes
2answers
480 views

Iptables Allow MYSQL server incoming requests

I am trying to get my new MediaWiki server to allow connections to our MySql Server and right now I cannot get my iptables firewall set up right for this. The rule I am applying is the following ...
2
votes
1answer
399 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 ...
0
votes
1answer
177 views

How to solve php warning for mediawiki running on tomcat with quercus

I set up a mediawiki (1.19.2) with quercus (4.0.25) on a Tomcat 7. The installation process went well, there were no errors or warnings, the database connection is OK and at the end of the ...
0
votes
1answer
37 views

Mediawiki create user error after migration [closed]

So I had a mediawiki installed on windows with MySQL (running on AWS RDS). I've since moved it to a debian server for various reasons, but I think I've messed up the database because of the different ...
0
votes
1answer
523 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 ...
0
votes
1answer
713 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 ...
1
vote
1answer
926 views

MediaWiki Apache2 RewriteEngine Not Working

I am working from Manual:Short URL/Apache guide to set up a wiki with a shortened url on a Debian server running Apache2. I want the directory /var/www/currienet/w/ to be accessible on ...
1
vote
0answers
194 views

downloading xlsx from secure site in apache from IE causes extra prompt

The issue is that when downloading the file, the download occurs (first prompt to open/save) and you can save the file. If you OPEN the file, it will make additional OPTIONS requests to the wiki ...
1
vote
1answer
794 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. ...
1
vote
1answer
97 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 ...
0
votes
1answer
204 views

Securing MediaWiki LocalSettings.php on nginx

I am trying to secure my LocalSettings.php. First, I found the nginx user (www-data) using top, did chown -R www-data:www-data wikidir, and then tried to do chmod 600 on wikidir/LocalSettings.php. The ...
0
votes
1answer
805 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 ...
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 ...
1
vote
3answers
405 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, ...
1
vote
2answers
247 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
1answer
101 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?
0
votes
1answer
131 views

Mediawiki Math formula's font size is too small

I have recently upgraded Mediawiki to 1.18.0. After that we had faced issue with Math syntax(Functions). I have requested my IT team to install relevant software/package and it started working fine. I ...
5
votes
1answer
855 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 ...