-
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
Adding NGINX setup for MediaWiki after PWAs and APIs already up
(I was not sure whether to ask this in StackOverflow or here. I asked there because: 1) The MediaWiki manual suggested there; 2) the nginx tag had more mentions there than here. It got closed, so it ...
Mediawiki VisualEditor does not load when editing a page again
we upgraded from MediaWiki 1.39 to 1.43 and have a strange behavior with the Visual Editor (VE). Scenario: I edit a page using the VE. Directly after sucessfull editing the page I notice that there is ...
How to put an underscore in a page name?
I am wondering how to put an underscore in a page name in MediaWiki. I know it's possible, because there are a few articles with an underscore in their name on Wikipedia.
Is there a HTML to MediaWiki Converter?
I've been looking for a while and I can't seem to find a HTML to MediaWiki Converter. I'm looking for somewhere where I can type something like: HTML Code: <a href="https://mediawiki.org">...
How can I apply a regex only inside an infobox?
I need to remove wikicode image tags, but only inside infoboxes, using AutoWikiBrowser (.NET flavour). For example, here, I need to keep only the "xyz.jpg" image name and its extension, but ...
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 ...
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 ...