Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Make webserver to prevent parsing of certain HTML elements

MediaWiki content management system creates many links which their webpages I want not to be discovered by search engine crawlers. It's not only that I don't want them indexed and more so not only ...
user avatar
1 vote
0 answers
80 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 ...
user avatar
0 votes
1 answer
46 views

Mediawiki refers to old domain after change

I changed the top level domain name of my mediawiki installation (wiki.olddomain.com -> wiki.newdomain.com). After editing the LocalConfig.php I can visit the wiki on the new domain, but after ...
user avatar
  • 101
0 votes
2 answers
429 views

Mediawiki cannot acces database after Debian upgrade

I upgraded a Debian 9 "Stretch" server to Debian 10 "Buster", which also upgrades Mediawiki to version 1.31. Trying to run update.php, it fails with "Cannot access the ...
user avatar
  • 3,316
0 votes
0 answers
55 views

nginx short url not quite getting me there

I am setting up mediawiki on my site and want to use short urls at the root. I want my address to be: wiki.example.com/Main_Page, wiki.exampe.com/another_page main site redirect goal: wiki.example....
user avatar
  • 205
0 votes
1 answer
135 views

I can't install mediawiki on the google cloud

I installed everything. Followed the instructions and then once I finished I put LocalSettings.php on the same folder as index.php. That is site/wiki/ Yet it still says that LocalSettings.php is ...
user avatar
  • 1
4 votes
1 answer
3k 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 ...
user avatar
0 votes
2 answers
76 views

Mediawiki is making Apache2 crash, what can I do?

When I call this URL : https://MyMediawikiDoma.in/index.php?title=MyArticle&type=revision&diff=3441&oldid=3424 Apache2 crash with this backtrace: (gdb) where #0 0x00007fe6039edc8a in ?? ...
user avatar
  • 111
0 votes
1 answer
448 views

404 Response from NGINX when trying to setup mediawiki short urls

I have NGINX setup to serve content over localhost with HTTPS. Using the following location block, I can serve mediawiki just fine (it is in the /w folder) location ~ /w/(.*)(\.php)?$ { index index....
user avatar
0 votes
1 answer
266 views

How to convert a MediaWiki installation using MySQL to SQLite?

We're running a small own MediaWiki installation based on MySQL here. For simplicity reasons it would be great to convert this installation to an SQLite variant as it then would not require a separate ...
user avatar
  • 103
0 votes
1 answer
1k views

Setting up Mediawiki in subdirectory Nginx 1.14

I'm trying to setup a mediawiki under a subdirectory of nginx. I don't want to use something like http://wiki.example.com. I don't want to proxy back to my server. I want to use http://www.example....
user avatar
0 votes
1 answer
365 views

So does MediaWiKi support MSSQL or not?

So I am trying to install MediaWiKi 1.31.0 on a machine running IIS 8 on server 2012 R2. We are running MSSQL server 2012. I followed the instructions on the media wiki page to install for MSSQL, but ...
user avatar
2 votes
1 answer
376 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 ...
user avatar
  • 181
0 votes
0 answers
54 views

How do I check how much memory a Mediawiki instance has available to it?

Before anyone posts something about checking php.ini, bear in mind there are all sorts of ways it could be overridden. Where's the admin page or panel that lists the amount of RAM available to ...
user avatar
0 votes
0 answers
209 views

MySQL socket disappears

I am running Ubuntu 16.04 LTS, with MySQL server for MediaWiki 1.30.0 along with Apache2 and PHP7.0. The installation was successful for everything, I managed to get it all running. Then I start ...
user avatar
1 vote
2 answers
87 views

Does Mediawiki encrypt logins by default as the browser sends them to the server?

Several searches only turned up questions about encrypting login info on the server side. Does Mediawiki encrypt logins after you type them in the browser and send them? (to prevent a man-in-the-...
user avatar
1 vote
1 answer
72 views

Semantic MediaWiki require onoi/callback-container, but it can't be installed

I try to install the latest release of SemanticMediaWiki. When I run composer update, it returns the following: > ComposerHookHandler::onPreUpdate Loading composer repositories with package ...
user avatar
1 vote
1 answer
161 views

Does the composer software have a command like python -m compileall ./

I want to use composer for a mediawiki root folder with multiple directories that need composer to install their dependencies with a command like composer -m installall ./ For example , if the root ...
user avatar
5 votes
1 answer
1k 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-...
user avatar
1 vote
1 answer
115 views

MediaWiki foreground not rendering tabs in content section

We are having issues getting the foreground or foundation skins in MediaWiki to render any tabs in the content section of our pages. This site is a demo, hosted on GoDaddy, but we have also tried ...
user avatar
0 votes
1 answer
1k views

DNS inside PHP-FPM chroot jail on OpenBSD 6.0 running nginx 1.10.1, PHP 7.0.8, MariaDB 10.0.25 and MediaWiki 1.27.1

I'm running nginx 1.10.1 on OpenBSD 6.0 with the packages php-7.0.8p0, php-curl-7.0.8p0, php-fastcgi-7.0.8p0, php-gd-7.0.8p0, php-mcrypt-7.0.8p0, php-mysqli-7.0.8p0, mariadb-client-10.0.25v1 and ...
user avatar
0 votes
1 answer
288 views

Simple MediaWiki backup

I am currently on contract with a small (<250 accounts) municipal water supply company. One of the things I'm doing is rewriting their ten-years-out-of-date procedures manual, and after some ...
user avatar
  • 101
0 votes
1 answer
819 views

php 5.4 on CentOS7

I am trying to install MediaWiki 1.27 on CentOS7.2. CentOS7.2 comes with php 5.4. However, at least 5.5.9 is required for MediaWiki 1.27. I have installed and enabled rh-php56 from SCL repo which ...
user avatar
0 votes
1 answer
1k views

Mediawiki LDAP setup issues

I have Mediawiki setup on a fedora machine and am attempting to get it working with our AD credentials. It is successfully connecting to our AD server and you can log into mediawiki fine with them. ...
user avatar
  • 13
0 votes
1 answer
224 views

PHP does not handle "bigger" http requests correctly

After an OS update, "bigger" HTTP requests are no longer handled correctly by the web server/PHP/MediaWiki. Wiki article content is truncated after about 6K characters and MediaWiki reports a loss of ...
user avatar
1 vote
1 answer
802 views

Appending an argument to request_uri for mobile subdomain on nginx

I'm running a multilingual wiki (MediaWiki 1.26.2 with MobileFrontend) on nginx 1.9.3/OpenBSD 5.8. For each language wiki, I have a separate MediaWiki installation folder and a subdomain like en....
user avatar
2 votes
3 answers
904 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 ...
user avatar
  • 31
4 votes
1 answer
869 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 ...
user avatar
  • 149
1 vote
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 $...
user avatar
  • 13
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. ...
user avatar
  • 231
0 votes
1 answer
239 views

Mediawiki page slow to load on first access on apache server (AWS Ubuntu EC2)

I have a mediawiki page running on apache server on a Ubuntu EC2 on AWS. On first access of the website, it takes >20s for Initial connection (inspected in Chrome), after that the page works normally, ...
user avatar
  • 117
0 votes
2 answers
812 views

Unable to authenticate MediaWiki (on LAMP/Ubuntu) users using AD (on Windows Server 2012 R2) via LDAP

I am working in an AD domain with a single DC running Windows Server 2012 R2. On the domain's network (though not formally domain-joined) is a LAMP web server running Ubuntu Server 14.04.3 LTS. All ...
user avatar
  • 243
1 vote
0 answers
755 views

MediaWiki VisualEditor stuck loading in private wiki

I setup MediaWiki with VisualEditor. I followed instruction on the extension's wiki page, cloned the git, installed Parsoid, added the necessary lines to get Parsoid to talk to the wiki even if it's ...
user avatar
  • 11
0 votes
2 answers
172 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 ...
user avatar
  • 91
1 vote
1 answer
66 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. ...
user avatar
1 vote
1 answer
92 views

Mediawiki upload directory outside 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 ...
user avatar
  • 770
3 votes
2 answers
356 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 ...
user avatar
1 vote
2 answers
97 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 index.php-...
user avatar
  • 189
1 vote
1 answer
36 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" ...
user avatar
1 vote
2 answers
10k 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 ...
user avatar
1 vote
1 answer
92 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 ...
user avatar
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 ...
user avatar
  • 103
1 vote
1 answer
6k 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 ...
user avatar
  • 157
0 votes
1 answer
355 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: http://acacha.org/...
user avatar
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 ...
user avatar
0 votes
1 answer
854 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 /etc/...
user avatar
0 votes
1 answer
35 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 ...
user avatar
0 votes
0 answers
85 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 /index....
user avatar
  • 357
0 votes
1 answer
287 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 ...
user avatar
  • 155
-1 votes
1 answer
127 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.
user avatar