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 hosted by the non-profit Wikimedia Foundation and by many other wikis.
mediawiki
3,623
questions
0
votes
0
answers
16
views
Apache configuration for bugzilla and mediawiki on the same server
I have currently installed bugzilla and mediawiki on a VM with the below configuration.
bugzilla.conf
<VirtualHost *:80>
ServerName xxxxxxxx
DocumentRoot /var/www/html/bugzilla/
<Directory /...
0
votes
2
answers
30
views
JS of my special page extension in mediawiki not loading only on smartphone
On my wiki I made a special page that display recent changes in a pinterest style. Fort the image, it fetchs them using mediawikiParserOutput as a thumb 100px and then with js, I fetch the big images ...
-1
votes
1
answer
41
views
Composer is not updating the dependencies, complaining about package names [closed]
I'm currently trying to update the MediaWiki.
My current MW version: 1.27.0
Version I want to update to: 1.35.0
PHP: 7.0.3
OS: Ubuntu 24.04
When I'm trying to run composer update or composer install, ...
0
votes
0
answers
15
views
How to properly control page break in printing feature of mozilla firefox?
I have a problem with page breaks and tables on Mozilla firefox. I want to allow page break in the first table (.infobox) and it doesn't work :
table : should have break
Image: table not appearing ...
0
votes
0
answers
17
views
MediaWiki - turn off automatic image inclusion?
Usually when a page is missing an image, the image is red-linked, allowing a user to click the link and upload the missing image. However, while updating a page, mediawiki somehow automatically ...
0
votes
0
answers
11
views
Target title shown in mediawiki category list for redirected page
I have two pages Aaa and Bbb, that I want to be listed in Category Ccc.
Page Aaa redirects to page Bbb using #REDIRECT [Bbb#Aaa_specifics]. Both pages should show up in Category Ccc, so both pages use ...
0
votes
0
answers
46
views
How to execute php script with a button (either with the shell command or with ajax)?
I'm a dev on the website archi-wiki.org. We have a weekly mail that is sent by the php function cli.php.
The shell command to run it manually is
php7.4 cli.php -g parentheses -api https://www.archi-...
0
votes
1
answer
46
views
Mediawiki: I want to display all the possible values of a property
I have a property "Type d'évenement" that has 33190 uses. I want to display all the different values possible for that property.
Here's how it works now :
Attribut:Type d'événement
Here's ...
-1
votes
2
answers
48
views
tooltip for pdf size (automatically found)
I have tables listing various pdf documents in my wiki. I use [[Image:Pdficon.png|16px|link={{filepath:MyFileName.pdf}}]] in the wiki table to display a small icon (Pdficon.png) that when clicked ...
1
vote
1
answer
34
views
MediaWiki - Email when Changes Occur to Watchlist Pages - No option in Preferences to turn on
I'm looking to enable the ability to alert users when a page on their Watchlist has a change.
To do this, under User Preferences -> Email Options, there should be an option for "Email me when ...
0
votes
2
answers
31
views
MediaWiki : #arraymap doesn't work in a model call
I have this array : courant : Gothique,Néo-roman,Ottonien
I tried to use this #arraymap to change its form :
{{#if: {{{courant|}}} |
{{#vardefine:num|0}}
{{#arraymap:{{{courant|}}}|,|@@@|{{#vardefine:...
0
votes
0
answers
20
views
Auth_remoteuser MediaWiki extension gives internal Parser::parse error
I've just installed a MediaWiki 1.41. After adding the Auth_remoteuser extension (for release 1.41, though I've tried also with 1.40 and 1.39 versions) I get this error. Removing the extension, all ...
0
votes
0
answers
24
views
Semantic MediaWiki further results / pagination errors out
I have a Semantic MediaWiki query that will return several hundred results. This query has a ... further results link at the bottom of the table. Clicking this link gives an error page:
Internal ...
0
votes
0
answers
29
views
Why does extension.json not find the .js and .css resources indicated in ResourceModule?
I'm writing a very simple extension to Mediawiki to use the able player plugin to create playlists on my wiki pages.
Although the path are correct in the mandatory extension.json (I verified using the ...
0
votes
1
answer
36
views
TypeError: Argument 2 passed to VideoPermissionsHooks::onUploadVerifyFile() must be an instance of User, string given
I am working on an extension for Mediawiki. The extension is to give permissions to user the ability to upload video files. Not sure why I keep getting this error but all docs I am reading says I ...