Skip to main content
MediaWiki
   12 tags on

MediaWiki

  • Stack Exchange
  • Stack Overflow

6 answers

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 ...

1 answer

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....

1 answers | Aug 15 at 16:28 by bbnn on Stack Overflow stackoverflow.com
0 answers

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 ...

1 answer

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 ...

1 answers | Aug 13 at 7:00 by Ben on Stack Overflow stackoverflow.com
1 answer

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-...

1 answer

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" ...

1 answers | Aug 7 at 16:09 by bigyihsuan on Stack Overflow stackoverflow.com
4 answers

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 ...

3 answers

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 ...

1 answer

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 ...

2 answers

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 ...

2 answers | Jul 23 at 1:06 by sosoalter on Webmasters Stack Exchange webmasters.stackexchange.com
0 answers

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 = ...

2 answers

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 ...

2 answers | Jul 21 at 21:13 by user40589 on Webmasters Stack Exchange webmasters.stackexchange.com
0 answers

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 ...

2 answers

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 ...

2 answers | Jun 26 at 16:31 by oli_vi_er on Stack Overflow stackoverflow.com
3 answers

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 ...

3 answers | Jun 17 at 13:02 by halmi4 on Stack Overflow stackoverflow.com
0 answers

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 ...

1 answer

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 ...

1 answers | Jun 10 at 12:19 by Mohammad Etemaddar on Stack Overflow stackoverflow.com
2 answers

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 ...

1 answer

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 ...

1 answer

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 ...

1 answers | May 30 at 16:14 by ScorpioTiger on Server Fault serverfault.com
2 answers

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'] = ...

2 answers | May 29 at 5:51 by kilomo on Stack Overflow stackoverflow.com
1 answer

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 ...

1 answers | May 28 at 12:48 by Rafael Kasper on Stack Overflow stackoverflow.com
1 answer

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 ...

1 answers | May 23 at 6:14 by Vitaly Zdanevich on Stack Overflow stackoverflow.com
2 answers

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 ...

2 answers | May 21 at 18:29 by MIlan Modh on Stack Overflow stackoverflow.com
1 answer

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 ...

1 answers | May 17 at 7:26 by Jdv on Stack Overflow stackoverflow.com
2 answers

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 ...

1 answer

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 ...

1 answers | May 15 at 16:51 by PapaTango on Super User superuser.com
1 answer

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 ...

1 answers | May 15 at 7:22 by JSToJestJaSam on Stack Overflow stackoverflow.com
1 answer

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 ...

1 answers | Apr 30 at 15:05 by MothOnMars on Stack Overflow stackoverflow.com
1 answer

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 ...

15 30 50 per page
1 2 3