3,631
questions
0
votes
0
answers
20
views
Can't change String-Length Limit on Wikibase Labels
For a local Mediawiki with a Wikibase Extension I want to adjust the string length limit.
What I already did:
I adjusted the legth in the LocalSettings.php:
$wgWBRepoSettings['string-limits'] = ['...
0
votes
0
answers
13
views
Trouble enabling Apertium APY for MediaWiki
I have successfully installed Apertium APY on my AWS server running on localhost:2737 and tested the various endpoints using cURL to validate the installation per https://wiki.apertium.org/wiki/...
1
vote
0
answers
25
views
Can you insert HTML comments in the output of a MediaWiki article/page?
MediaWiki has first-class support for comments using HTML's <!--...--> syntax, but it always strips them from the output.
I think that's for a good reason, but I would like to have templates ...
1
vote
0
answers
31
views
How to look through the errors that MediaWiki's update.php is reporting?
I'm currently updating my MediaWiki from 1.27 to 1.35.
As the instruction says, I'm running the maintenance/update.php script.
During the process, I'm receiving some messages about the errors, e.g.:
...
-1
votes
1
answer
61
views
Enabling dark mode in MediaWiki installation [closed]
On a relatively fresh installation of the latest MediaWiki on a standard LAMP setup, everything works great, except I can't get dark mode working.
On the MediaWiki Dark Mode page it is claimed that ...
0
votes
0
answers
33
views
Mediawiki Skins not applied on to the site
I am running mediaiwiki on windows server and using IIS
I am getting this error, i have updated my wiki from 1.26 to latest version 1.42.1 , i did not jump from 1.26 to 1.42.1 directly , made few hops ...
0
votes
0
answers
20
views
How do I use pywikibot to clone one page into multiple other pages?
I need help copying the content of one page into multiple other pages using pywikibot. I.e. I wrote page 1 and I need page 2 and 3 to have the same content.
I tried reading the documentation, but I ...
1
vote
3
answers
65
views
Vector skin is not working on mediawiki page
I am running mediaiwiki on windows server and using IIS
I am getting this error, i have updated my wiki from 1.26 to latest version 1.42.1 , i did not jump from 1.26 to 1.42.1 directly , made few hops ...
1
vote
1
answer
32
views
I have a Script error in Miraheze, I want to try to index the field 'wikibase' (a null value)
I have imported to my Miraheze site the es.Wikipedia Módulo:Ficha but I get this error:
Lua error on line 567: attempt to index field 'wikibase' (a nil value).
Reverse trace:
Module:File:567: in the &...
0
votes
0
answers
25
views
Change header icons in MediaWiki Vector 2022
I am trying to update the coloring of the icons in the header for the MediaWiki Vector 2022 template on my Wiki, but I can't seem to figure it out.
I have updated the color of the header to black, and ...
0
votes
1
answer
29
views
converting docx to mediawiki with pandoc without span tag <span>
My customer has a mediawiki web site with lots of Docx files which size of each files is more than 150 pages. When we use copy/paste to VisualEditor of Mediawiki, converts are good except some feature ...
1
vote
1
answer
34
views
Mediawiki Scribunto: <div style=> renders the entire variable it is a part of nil
The wiki page in question.
The presence of <div style=> inside a Lua template's variable (content or args[1]) renders the entire variable nil.
Template and module used:
Module:BubbleBox/hex: A ...
0
votes
4
answers
110
views
Numbered templates (for theorems) in MediaWiki
I am setting up a MediaWiki instance that will in particular contain mathematical material. I want to write a template for theorems, with the two following properties:
The theorems are automatically ...
0
votes
0
answers
20
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
47
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 ...
0
votes
0
answers
23
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
21
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
15
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
50
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
63
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
54
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
45
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
41
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
29
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
1
answer
38
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
33
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
38
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 ...
0
votes
0
answers
32
views
Restricting mediawiki pages based on Category and Group
I have a page with this content , which is a page intended to be accessible only for users in the "sales" group. Even for read.
This page contains content for sales.
<!-- Tag for ...
0
votes
1
answer
39
views
Is there a current alternative to MediaWiki's "Counter" extension?
I'm using MediaWiki with the "Semantic MediaWiki" extension. I would like to be able to use a command to increase a tally by whatever amount I input, such as to list a total price for items ...
0
votes
1
answer
77
views
Cannot create a page on mediawiki
When i submit a new page , i always get this error:
Sorry! We could not process your edit due to a loss of session data.
You might have been logged out. Please verify that you're still logged
in and ...
1
vote
1
answer
70
views
MediaWiki Block Quote With Two Paragraphs Loses Spacing
I'm pretty new to MediaWiki and formatting. I have a problem that's fairly simple but causes me nearly endless frustration, and I can't seem to find anything about it online. I've tried on numerous ...
0
votes
1
answer
32
views
Passing a pipe in a template call
I'm attempting to call a template from within a template. The value of the parameter I'm passing contains a forward slash and I want to replace that slash with a pipe so that it divides the value into ...
1
vote
0
answers
24
views
How to use Xdebug for php in mediawiki
I am having trouble setting up xdebug in my local mediawiki environemtn. As per docs it should have been ready to use but I can not step through anything nor will it catch any break points. I am using ...
0
votes
0
answers
50
views
Can not install MediaWiki extension PageForms
I have MediaWiki version 1.41 and want to Install https://www.mediawiki.org/wiki/Extension:Page_Forms. I followed the download instruction from https://www.mediawiki.org/wiki/Extension:Page_Forms/...
0
votes
1
answer
106
views
Mediawiki visualeditor is on some pages available and others not
I use MediaWiki 1.41 and have VisualEditor installed, which is visible in the special pages -> Version.
Some pages are editable with VisualEditor. It shows (Translated from Dutch) 'Edit' and 'Edit ...
0
votes
1
answer
44
views
Media Wiki Templates
I am very new to mediawiki and ddeveloping with it.
Goal: to create a leader board page that dynamically populates users and there stats.
Leaderboard
{{UserScore
| Username = Timmy
| Score = 100
| ...
1
vote
1
answer
34
views
Wiki search API page title search
I am trying to search for pages that contain specific title and Coord template.
However, I am getting strange behavior.
For example, searching for Taj Mahal, the following query returns decent result.
...
0
votes
0
answers
32
views
How to use OOUI for Media Wiki?
I am creating a wiki page with MediaWiki and would like to use the OOUI Library to create widgets like this drop down menu. However, I am not sure how to use the code. I created a a widget page and ...
0
votes
1
answer
49
views
MediaWIki: Moved server and visual editor not working, error on edit button
I moved MediaWiki 1.37.1 to a new server location, the edit button gives an error now.
[36608ab44f7e307376a5e9ba] Exception caught: Could not open '/home/user_****/tmp_zswknl/mw-GlobalIdGenerator1021-...
0
votes
1
answer
25
views
CSS- MediaWiki - Align Gallery Overlay box centered in MonoBook Skin
I currently rewrite the MonoBook Skin to be a DarkMode one, but stumbled accross a problem with the gallery overlay css.
The Overlay shows a (default) semi translucent white box with text at the ...
0
votes
0
answers
30
views
Problem retrieving lexemes via sparql query on local wikibase installation
I recently installed wikibase locally on my machine in Docker (following instructions on MediaWiki:https://www.mediawiki.org/wiki/Wikibase/Docker), and I believe I was able to install the ...
0
votes
1
answer
43
views
How do you access page name and URL from within LocalSettings.php in MediaWiki?
I am using a $wgHooks to insert some OpenGraph / meta information in the <HEAD> section of the page on my MediaWiki site.
I can currently add site-wide information such as site name. However, I ...
0
votes
1
answer
140
views
MediaWiki; PHP errors
I'm running MediaWiki (latest) in the oficial docker container, but have two errors showing.
Warning: Trying to access array offset on value of type bool in /var/www/html/includes/Setup.php on line ...
0
votes
0
answers
21
views
replace mathjax extension with Math
I use the MathJax extension on my personal wiki running on my local network (on Ubuntu box). I'm thinking of going with the Math extension instead, since the MathJax extension is no longer actively ...
0
votes
0
answers
21
views
Losing pages information when execute update.php in mediawiki 1.30.x
Basically, in version 1.28, I have some pages in a wiki where we have a kind of collapsable menu. When update to 1.30 or 1.32, during the upgrading process, after executing 'update.php' script, every ...
0
votes
0
answers
36
views
How to upload files to MediaWiki APIs in Rust?
I'm attempting to upload video files to Dustloop, a mediawiki page for ArcSys games, and I've managed to get all the way to acquiring a CSRF token to be able to upload, but I'm struggling on the last ...
-1
votes
3
answers
96
views
Distributing Elements in CSS [closed]
I'm attempting to dynamically distribute elements in CSS to fit them within a container regardless of the screen size.
To give you an idea of what I'm trying to achieve, this is what I currently have ...
0
votes
1
answer
24
views
How to create a whitepage everyone can see before login in MediaWiki? [closed]
I have a MediaWiki wiki within an very loose non-profit organization. Members and volunteers can work together. The wiki is meant to build internal knowledge together.
So anonymous (*) can not read or ...
0
votes
0
answers
31
views
MediaWiki API executing JavaScript from URL parameters
I've noticed a concerning behavior in my MediaWiki installation's API endpoint (api.php) where it seems to be executing JavaScript code passed as URL parameters directly.
For instance, when I make a ...
1
vote
0
answers
71
views
How to deal with [Error creating thumbnail] in mediawiki when upload video by TimedMediaHandler?
I am creating my first MediaWiki, and I want to upload videos locally instead of using the YouTuBe links.
I have installed the TimedMediaHandler extension, I am sure as I can see it on the version of ...