Quantcast
Channel: MediaWiki - Stack Exchange
Browsing all 155 articles
Browse latest View live

How do I import and use the Javascript MediaWiki API? – stackoverflow.com

This seems way to basic but there just aren't examples available and the documentation is bad in a very typical way. They don't say how to import the library.I'm trying to use the MediaWiki ...

View Article



How to remove the "Powered by BluSpice" icon in the footer of my MediaWiki...

On my MediaWiki site I have in de footer 2 "powered by" icons. One for "MediaWiki" and one for "BlueSpice". I like to remove them.The MediaWiki icon is easy to remove ...

View Article

Understanding wiktionary template tags – stackoverflow.com

I am looking at the wiktionary dump for Dutch, its "All pages, current versions only." archive. While some of the template tags are generally, some are more specific but I cannot find any ...

View Article

How to add "Syntaxhighlight button" on mediawiki toolbar of WikiEditor? –...

I use mediakiwi to manage documents with my team for a long time.However, making tags like this is somewhat lengthy and requires many typing:<syntaxhighlight lang="python>.</...

View Article

Do I need to sanitise HTML from MediaWiki API – stackoverflow.com

I am using the MediaWiki API to get contents of wikipedia pages and display them on a webpage.Normally I would just use the DOMPurify library to sanitise any HTML before I render it however for some ...

View Article


Error while trying to create module page on MediaWiki – superuser.com

I tried to create a Module page on my MediaWiki but I've been getting the following error:Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedI'm ...

View Article

Mediawiki throws error when uploading file – stackoverflow.com

On mediawiki version 1.39.2 (in Ubuntu server) I receive an error http 500 when trying to upload a file.I checked:php file_uploads = On: OKdirectory images permissions: OK (www-data owner user and ...

View Article

How to Create Local WikiText Variable in MediaWiki Template? – stackoverflow.com

How to create a temporary local variable using wikitext, in a MediaWiki template?Example:MyVar = "Banana"{{#if: {{{2}}}|<small>MyVar</small>|'''MyVar'''}}This extension ought to ...

View Article


How do I open one particular external link in the same tab – stackoverflow.com

This could be seen as an XY question. What I really want to do is pass a query argument to an internal link. (What I'm really trying to do is open the All Pages page with the hide redirects option set...

View Article


Is it possible to add css for mobile in fandom wiki? – stackoverflow.com

The mobile version of the fandom wikis are very restricted, and actively strips away all style tags from html elements.I tried to define styles in MediaWiki:Common.css and that works on desktop, but ...

View Article

Retrieve Wikimedia Commons Category of a Wikipedia page using the Wikimedia...

I am trying to use the Wikimedia Api to get the corresponding Wikimedia Commons category to a specific Wikipedia page. I assume that it is possible as most Wikipedia pages include an "in other ...

View Article

Get all images in a specific category in wikimedia – stackoverflow.com

I am looking for an efficient way to get the all images in a specific category in wikimedia commons.Example : https://commons.wikimedia.org/wiki/Commons:Quality_imagesThe following image is in the ...

View Article

React useQueries making several get requests when each request depened on...

I'm looking to fetch pages from wikipedia API.for the sake of keeping this short I won't explain in deep, but the bottom line is that i need to use what returned in previous request (when resolved) ...

View Article


Missing required extensions to PHP for MediaWiki – stackoverflow.com

In the directory where PHP is installed I have created a php.ini file and verified that configuration files are coming from the php.ini. Extensions that are missing are enabled like so:extension=...

View Article

InstantCommons not working in MediaWiki on IIS – stackoverflow.com

InstantCommons does not work on my MediaWiki on IIS, however I am able to cURL from CMD. It does work on WAMP on my local PC, but not on the server.

View Article


Home directory showing-up twice in Mediawiki links – webapps.stackexchange.com

I recently installed Wikimedia for a tiny non-profit organization, as I am the technical person on the board. With this fresh installation links are showing the home directory twice. Example: (our ...

View Article

Is there a way to automatically setup MediaWiki when running with docker...

I'm using MediaWiki with MariaDB, running on Docker version 24.0.2 and Docker Compose version 2.18.1. The default setup works well. Now, I would like to collaborate with a colleague on GitHub, and ...

View Article


Getting the totalhits value when using geosearch on Wikimedia Commons API –...

I am making geosearch calls to the Wikimedia Commons API to fetch images around a specific lat lon point. A typical call is ...

View Article

MediaWiki Short URL 404s – stackoverflow.com

Even when I've configured my settings and followed every step like I was suppose to, my page (/view/Main_Page) still 404s. I am using the latest MediaWiki on PHP 8.2.This is my LocalSettings.php:` ...

View Article

Mediawiki category entries on pages render as...

Mediawiki page entries are converting Category text on pages such as [[Category:Fubar]]to include the URL such as: [[index.php?title=Category:Fubar]]Happens with visual or code editor. Using ...

View Article
Browsing all 155 articles
Browse latest View live




Latest Images