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

How to properly use MediaWiki with $wgDBadminuser?

I have to set up a fresh MediaWiki and am getting increasingly upset with config recommendations that don't seem to work well when configured as outlined in the official documentation. Two servers. ...
Marian's user avatar
  • 101
0 votes
0 answers
663 views

Installing MediaWiki with Docker

I'm attempting to install MediaWiki using the Docker image mediawiki:1.40.0-fpm. It's my intention to use an external instance of Nginx as reverse proxy for SSL termination. I can start the container ...
ScorpioTiger's user avatar
0 votes
1 answer
38 views

How to show a password-containing automated generated image, whose "content" is "copyable"? [closed]

I'm responsible for a MediaWiki in my company. That Mediawiki contains information, like passwords. Currently those passwords are stored on the server, hosting the MediaWiki, but when a person surfs ...
Dominique's user avatar
  • 123
-2 votes
1 answer
42 views

How to configure a sites-available entry for mediawiki on RPi behind firewall?

I am trying to define a sites-available .conf entry for a mediawiki scratch installation on a Raspberry Pi 4 running Raspbian in my local network (behind the firewall). No DNS or domain name ...
Juan Jimenez's user avatar
0 votes
0 answers
97 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 ...
technology-liker's user avatar
2 votes
0 answers
94 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 ...
Jérôme P.'s user avatar
0 votes
1 answer
112 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 ...
Mr. Wrong's user avatar
  • 101
0 votes
3 answers
1k 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 ...
mivk's user avatar
  • 4,452
0 votes
0 answers
126 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....
posop's user avatar
  • 247
0 votes
1 answer
191 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 ...
pete's user avatar
  • 1
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 ...
martiniturbide's user avatar
0 votes
2 answers
102 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 ?? ...
Jona's user avatar
  • 111
0 votes
1 answer
749 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....
Lucky The Rabbit's user avatar
0 votes
1 answer
389 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 ...
Regis May's user avatar
  • 103
0 votes
1 answer
2k 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....
SmartPencil's user avatar
0 votes
1 answer
411 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 ...
Matthew Goulart's user avatar
2 votes
1 answer
671 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 ...
arne's user avatar
  • 181
0 votes
0 answers
62 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 ...
user1258361's user avatar
0 votes
0 answers
232 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 ...
Christian Sirolli's user avatar
1 vote
2 answers
92 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-...
user1258361's user avatar
1 vote
1 answer
87 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 ...
Сергей Румянцев's user avatar
1 vote
1 answer
162 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 ...
morgansbyers's user avatar
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-...
user avatar
1 vote
1 answer
125 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 ...
Protocol96's user avatar
0 votes
1 answer
2k 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 ...
Till Kraemer's user avatar
0 votes
1 answer
372 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 ...
Brian S's user avatar
  • 101
0 votes
1 answer
831 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 ...
user374636's 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. ...
justin's user avatar
  • 13
0 votes
1 answer
281 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 ...
user6681109's user avatar
1 vote
1 answer
859 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....
Till Kraemer's user avatar
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 ...
PakG1's user avatar
  • 31
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 ...
William's user avatar
  • 149
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 $...
Patrick's user avatar
  • 23
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. ...
Michael's user avatar
  • 231
0 votes
1 answer
291 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, ...
Casper's user avatar
  • 117
0 votes
2 answers
915 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 ...
snoopy91's user avatar
  • 243
1 vote
0 answers
848 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 ...
Xqua's user avatar
  • 11
0 votes
2 answers
241 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 ...
Pickle's user avatar
  • 121
1 vote
1 answer
96 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. ...
Christopher Spears's user avatar
1 vote
1 answer
106 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 ...
xuhdev's user avatar
  • 950
3 votes
2 answers
456 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 ...
MajestosoAlce's user avatar
1 vote
2 answers
113 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-...
Peter B.'s user avatar
  • 189
1 vote
1 answer
39 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" ...
Joel Palmius's user avatar
2 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 ...
Carlos Vega's user avatar
1 vote
1 answer
143 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 ...
user1730935's 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 ...
Florian's user avatar
  • 113
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 ...
erizo's user avatar
  • 157
0 votes
1 answer
435 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/...
Sergi Tur Badenas's 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 ...
Corey Ogburn's user avatar
0 votes
1 answer
969 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/...
jwillis0720's user avatar