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.
160
questions
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. ...
0
votes
0
answers
668
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 ...
5
votes
5
answers
4k
views
Multiple instances of MediaWiki on one server
We need to run several MediaWiki Wikis, that need totally separate user accounts, on the one server. What would be the better solution:
Use separate source code and use namespaces in the database.
...
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
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 ...
-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 ...
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-...
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 ...
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 ...
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 ...
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 ...
6
votes
4
answers
42k
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
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....
-2
votes
2
answers
991
views
My MediaWiki wiki_text table is too big. How to compact/vacuum/purge
I run a MediaWiki wiki page. It uses MySQL.
I have just 20 wiki pages and yet the wiki_text table is 45 MB big.
I had security holes and spam bots were posting spam wiki pages.
I have manually ...
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 ...
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 ?? ...
1
vote
1
answer
735
views
How do I restrict MediaWiki user groups from access to portions of my wiki by namespace?
In the release notes of Mediawiki 1.18 there is this line:
$wgGroupPermissions now supports per namespace permissions.
I cannot find the implementation within the documentation. The wiki page for $...
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....
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
390
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 ...
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 ...
0
votes
1
answer
66
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
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/...
1
vote
1
answer
190
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 ...
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 ...
0
votes
1
answer
176
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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
2
answers
7k
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 ...
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 ...
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 ...
3
votes
1
answer
2k
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
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 ...
1
vote
1
answer
976
views
fully encrypted MediaWiki base
Is it possible to completely encrypt a MediaWiki installation?
I'm not looking for a way to finely control access rights or have some encrypted articles or even just parts of articles encrypted.
...
-1
votes
2
answers
227
views
mediawiki cleanup extension? [closed]
Are there any extensions to mediawiki that will allow for a button to mark a page as "needs cleanup" or "deprecated"?
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 ...
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
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 ...
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
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 ...
6
votes
3
answers
62k
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
...
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 ...
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....
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
$...