-
Stack Exchange mediawiki mediawiki-api mediawiki-templates mediawiki-extensions semantic-mediawiki mediawiki-extension pywikipedia wikipedia-api wikimedia-dumps wikimedia-labs wikitext
-
Stack Overflow visual-editor
Map of Wikimedia Commons pictures
Context While doing tourism, I use the Wikimedia Commons app to send pictures of monuments to Commons (a repository of free media). Most minor monuments are not on Commons, but the Eiffel Tower has ...
How to get a Wikipedia page URL in another languages via the Wikipedia API
How can I retrieve a Wikipedia page URL in another language when I have the English Wikipedia URL? For example, given the URL https://en.wikipedia.org/wiki/Cloud I would like the result https://ja....
Can I remove Mediawiki namespaces from the dropdown on Special: pages?
I feel like this should be easy, so bear with me please. On all manner of Special: pages, like Special:All Pages, you get to decide in which namespace to look, like so: However, most of the default ...
What content must Template:Reflist have to generate a lower-alpha liststyle?
I have created a MediaWiki wiki on my website. I want the notes to count in lowercase letters instead of numbers. As I understand it, I need to use this code: Text of article.<ref ...
Tool to list all sub-categories of a particular Mediawiki category
Wikimedia Commons has categories, for instance https://commons.wikimedia.org/wiki/Category:Dogs This category has sub-categories, and sub-sub-categories, etc. I want to get a list of all sub-...
Wikipedia API returns empty body
I'm calling the Wikipedia API in Go using the http package. However, the response from Wikipedia is 200 OK and an empty body. My code is below: package main import ( "fmt" ...
Side-by-side bilingual Wikipedia reading app, showing the same article in several languages
I need a Wikipedia app that shows articles in both Japanese and French at the same time. I know that many Wikipedia reading apps (including the official app) allow switching between languages, but it ...
Variable in MediaWiki for the current user
In MediaWiki, you can use a variable ("Magic Word") such as {{PAGENAME}} or {{REVISIONDAY}} to get specific information related to the current page being viewed. Is there a similar variable ...
How to determine if APCu is overall lighter than Memcached in a usecase?
I would say that my personal website is at least currently a "small" website. It is a MediaWiki-based all-core website without images at all and of about 750 webpages of generally no more ...
Block certain namespace webpages for anonymous users (non registered users)
For each general audience webpage (i.e. any main-namespace page such as an article page or Category: page), the MediaWiki content management system creates about 10 or 100 or 1,000 if not more ...
MediaWiki 1.43+ tests render links with /wiki/ despite $wgArticlePath set to /index.php/$1
I'm running tests (e.g., JsonTestCaseScriptRunnerTest) on MediaWiki 1.43+ and encountering a problem where rendered links incorrectly use /wiki/ instead of my configured $wgArticlePath = ...
Expunge deleted version of uploaded file
I'm a bureaucrat on Wiki site. The site has a number of deleted files, and I'd like to expunge them. For example, there are 27 files in the history of one particular file: There's no need for the ...
Is the lua executable included with Scribunto not the correct version?
When I run the lua command in the lua5_1_5_linux_64_generic directory that is included with the Scribunto extension, I get: Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio Is Scribunto being ...
Regex or wikicode to find out if a date is more than 3 weeks old
I'm trying to create a template on Wikipedia in French that changes the category of a page three weeks after the date it was added. There will be a date parameter, probably in the form DD/MM/YYYY, and ...
How do you make infoboxes in MediaWiki?
I'm making a wiki using MediaWiki. I've seen a right side bar of each page on other wikis. The right side bar has information about the thing that the wiki post explains or what ever. Example ...
LinkedIn OpenID Connect – 403 Error: Missing r_emailaddress / r_liteprofile scopes despite configuration
We're implementing a LinkedIn login for our non-profit platform built with MediaWiki. We're using OpenID Connect and following the official Microsoft documentation step-by-step. However, we encounter ...
Get all category members and go over subcategories in MediaWiki API
I need the list of pages under particular category and it's subcategories. I know how to get query from Wikipedia. A simple query to get Pages of a category as mentioned here is to define the ...
Matching HERE Maps items with Wikipedia content using REST APIs
Using the V7 version of the HERE Maps REST api, I'm trying to get match the data I'm getting from the /browse and /discover endpoints and match them unambiguously with data obtained from the Wikimedia ...
How to send an empty string as parameter in MediaWiki's Semantic Search?
NOTE: This is an extension of my question. The resume is as follows: I am using Semantic Search in Yu-Gi-Oh! Media Wiki for: Get all Dinosaur monster cards available. The query results must match ...
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 ...
Disable all MediaWiki special pages for a group of users
I am looking to remove all access to SpecialPages for a new group called "Clients". Any advice would be appreciated. Thanks in advance. #Clients group $wgRevokePermissions['Clients']['userrights'] = ...
Which part of the code checks if the user is logged in on Mediawiki?
I need to change the way of verifying the logged user so that instead of using a session, use a verification of a token sent in the url. The problem is that I can't find which part of the code that ...
specialbots.UploadRobot().run(): looks like I cannot catch an exception?
In my script, I want to catch the case when user uploading a file to Commons that already exists. My logs: Uploading file to commons:commons... WARNING: API error fileexists-no-change: The upload is ...
mediawiki-i want to check that the user if logged in or not for chage in created page
in my local i created many page using mediawiki template and any one can see that page, but i want to put one link for edit page. and i want to do like this "if user is already login then edit the ...
MediaWiki VisualEditor textcolor
I'm trying to extend the VisualEditor by adding custom functionality. It was pretty easy to add stuff which is realized with a single HTML-tag without parameters. But now I try to add textcolor. I ...
How to set the conditionals - using MediaWiki's Semantic Search?
In Yu-Gi-Oh! Wikia you can use a tool called Semantic Search from MediaWiki for get certain results - i.e. cards. I am fairly new on this tool. The query I am working on is: Get all Dinosaur monster ...
Scribunto/Lua Internal Error, Signal 11 (MediaWiki 1.43 VPS Install)
I have been attempting a full install of MediaWiki, and the Scribunto/Lua extension is not working for me at all. First I tried hosting locally on Laragon. The Lua binary failures trying to run under ...
How to get only the last letter of PAGENAME?
So in English Wikipedia, {{#invoke:string|sub|s={{PAGENAME}}|i=1|j=-2}} gets me everything except the last letter. Is there any code to do the reverse, only the last letter (working with unpredictable ...
Prevent a Semantic Mediawiki query from returning cached results
I'm running a fairly simple Semantic Mediawiki query for a maximum value: {{#ask:[[Category:Foo]] |?Has ID |format=max }} The query appears to be returning a cached result. Is there a way to ensure ...
What libraries are available for interacting with Wikipedia, Wikidata, or MediaWiki in Ruby?
What libraries are available for interacting with Wikipedia, Wikidata, or other MediaWiki servers in the Ruby programming language? I can search GitHub for recently updated repositories with this ...