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.
163
questions
0
votes
0
answers
80
views
nginx rewrite rules and PHP configuration for multiple Mediawikis
Can anyone help me set up nginx rewrite rules for multiple wikis?
I am running multiple Mediawiki wikis from a common installation, with a separate wiki for each language. E.g.
example.org/wiki/en/
...
0
votes
0
answers
44
views
How to install multiple mediawiki wikis with short URLs on Rocky Linux with nginx?
I have a Rocky Linux server using nginx/php-fpm, and I would like to run multiple Mediawiki wikis for multiple sites, with the following configuration:
Installation
Running in a subdirectory that is ...
0
votes
1
answer
132
views
MediaWiki: Recommendation for directory of deleted files
Where and why should MediaWiki move deleted files?
screenshot
I'm about to install release 1.39.7 with the intention of providing a wiki that will be used for at least ten years.
Help me to prevent ...
0
votes
0
answers
97
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. ...
0
votes
0
answers
849
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 ...
0
votes
1
answer
39
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 ...
-2
votes
1
answer
50
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 ...
0
votes
0
answers
112
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 ...
2
votes
0
answers
98
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 ...
0
votes
1
answer
121
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 ...
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 ...
0
votes
0
answers
142
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....
0
votes
1
answer
195
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 ...
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 ...
0
votes
2
answers
109
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 ?? ...
0
votes
1
answer
821
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....
0
votes
1
answer
425
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 ...
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....
0
votes
1
answer
419
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 ...
2
votes
1
answer
726
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 ...
0
votes
0
answers
75
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 ...
0
votes
0
answers
233
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 ...
1
vote
2
answers
97
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-...
1
vote
1
answer
92
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 ...
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 ...
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-...
1
vote
1
answer
130
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 ...
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 ...
0
votes
1
answer
396
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 ...
0
votes
1
answer
833
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 ...
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. ...
0
votes
1
answer
290
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 ...
1
vote
1
answer
863
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....
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 ...
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 ...
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
$...
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. ...
0
votes
1
answer
299
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, ...
0
votes
2
answers
935
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 ...
1
vote
0
answers
855
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 ...
0
votes
2
answers
253
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 ...
1
vote
1
answer
101
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. ...
1
vote
1
answer
107
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 ...
3
votes
2
answers
474
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 ...
1
vote
2
answers
114
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-...
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" ...
3
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 ...
1
vote
1
answer
153
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 ...
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 ...
1
vote
1
answer
7k
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 ...