Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mediawiki]

Web-based wiki software, primarily developed for use on Wikimedia properties. (Please note that questions on how to host/configure MediaWiki are off-topic for Web Applications.)

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

user_info template on my wiki [closed]

I am new to mediawiki and would like to use the user_info template. Is there a paper how to get all the used templates/modules installed in my wiki
GHARRYH's user avatar
1 vote
0 answers
15 views

How do we convert this table into wikitext format? [closed]

The following table is incorrectly formatted. { | Left<br>Column || Middle<br>Column || Right<br>Column | - | (UP, LEFT) || (UP, ) || Data 2 | - | Row ...
Theodore Shepard's user avatar
-1 votes
1 answer
19 views

What is the proper way to create an internal link in wikitext? [closed]

Our goal is to create an internal-facing hyper link such that.... the text people see with their eyes says "hot dogs" The page on mathematical strict total orderings is the destination ...
Theodore Shepard's user avatar
1 vote
0 answers
30 views

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 ...
Betta George's user avatar
4 votes
1 answer
311 views

Is it possible to do basic transformation of text in a MediaWiki template?

I have created a template on my MediaWiki wiki which shortcuts linking to some frequently used book titles. One of the parameters controls whether the shortcut template points at my wiki or another ...
Guybrush McKenzie's user avatar
1 vote
1 answer
128 views

How can I get rid of Dark Mode from MinervaNeue on Desktop Wikipedia? [closed]

I am a logged-in user on Wikipedia, and I began to use the MinervaNeue theme by changing my user preferences the last time I logged onto Wikipedia. This was for the purpose of using dark mode. However,...
fairground's user avatar
1 vote
1 answer
105 views

Search within a category page on a MediaWiki site

I'm trying to search for text on a category page of a MediaWiki website. But the search seems to only work on article pages. How can I also search on category (or all) pages on a MediaWiki website? ...
stackprotector's user avatar
0 votes
1 answer
89 views

MediaWiki - sort simple list

I have a basic MediaWiki installation with several categories (which is sorted automatically). In each category I have several links to articles. These links are listed in a simple star (*) list, ...
Morten's user avatar
  • 101
1 vote
2 answers
489 views

How to add a UNC URL to a MediaWiki page

In a MediaWiki page, I'd like to add an URL to a file on a file server. The path is an UNC one(\\fileserver\project\...\SPECIAL.ext), and I already have tried following "path link": file:////...
Dominique's user avatar
0 votes
1 answer
86 views

How can you search meta-data tags in Media Wiki / Wikipedia?

I'm not sure if meta-data tags / name-value pairs is what I'm referring to or not, but I'd like to be able to search Wikipedia's sidebar tags such as the ones displayed in the screenshot below:
leeand00's user avatar
  • 2,213
0 votes
1 answer
258 views

Is there an API for querying the size of a Wikipedia article, given its title? [closed]

I'm writing a browser extension that attaches the wikipedia article length next to movie titles on lists from imdb.com. Hopefully, longer articles indicate better movies. Getting the length in words ...
patraule's user avatar
  • 133
1 vote
1 answer
63 views

"Template:Template other" is on the top of the page despite the fact I didn't put it there

If it helps, I'm using Miraheze as my host of choice. As you can see from the above, it says Template: Template other despite the fact the page source begins with: {{Infobox |image = [[File:...
mid's user avatar
  • 111
3 votes
1 answer
44 views

Transclude a page from another language or another project

In Wikipedia, to copy the content of another page (called "transclusion"), you just need to add {{:SourcePageName}} in the destination page. Is it possible to transclude a page from: Another ...
forzagreen's user avatar
1 vote
2 answers
224 views

Is there a tool to clean up Wikipedia articles where there are duplicate references? [closed]

Sometimes when editing Wikipedia I find an article where references have been duplicated. Is there a tool that makes it easy to merge all those references to the same url into just one reference? ...
RayB's user avatar
  • 181
1 vote
1 answer
33 views

What is the easiest way to fix multiple dead links a article Wikipedia?

As I've started editing Wikipedia I've noticed that some older articles will have many dead links with no archived url attached. What is the best way to handle this besides manually finding the ...
RayB's user avatar
  • 181
0 votes
1 answer
314 views

How can I find the pageview count of all articles in a Wikipedia category?

I'm trying to find the most popular pages in the logos requested category and add them.
RayB's user avatar
  • 181
0 votes
1 answer
32 views

How can I modify categories on a Wikipedia Talk page?

I was looking at https://en.wikipedia.org/wiki/Category:Wikipedia_requested_logos and noticed one article already had the logo. So I tried to remove the category from the talk page but couldn't figure ...
RayB's user avatar
  • 181
1 vote
1 answer
91 views

How to cancel MediaWiki's password reset’s email count? [closed]

If you use Special:PasswordReset more than once for the same username/e-mail address, then https://www.mediawiki.org/wiki/Manual:$wgPasswordReminderResendTime dictates you’ll get "A password reset ...
LWC's user avatar
  • 1,228
0 votes
1 answer
38 views

Why does MediaWiki insist it sent mail when it didn’t? [closed]

If someone, for example, used the password reminder, then MediaWiki states mail was being sent even if it didn’t. In my example, my server uses Google G Suite MX settings, so I guess MediaWiki's ...
LWC's user avatar
  • 1,228
1 vote
0 answers
109 views

Reverse sort of pages in MediaWiki category listing

In MediaWiki, I want a gallery of images from a certain category, sorted by most recent first. (I am hoping to use MediaWiki core instead of relying on extensions.) I tagged images with Category:Art ...
Thunder Rabbit's user avatar
0 votes
2 answers
2k views

Wikipedia API - get random page(s) using rest api [closed]

I try to get a random page in Wikipedia using their rest api. I do as suggested in https://stackoverflow.com/a/56518662 : curl -X GET "https://en.wikipedia.org/api/rest_v1/page/random/summary" but ...
Dominic108's user avatar
2 votes
1 answer
407 views

MediaWiki: activate Visual Editor for all NameSpaces by default

I would like to activate the extension VisualEditor by default to all available and future Namespaces by default in MediaWiki. In particular see section Changing active namespaces of the VisualEditor ...
pdeli's user avatar
  • 131
1 vote
2 answers
104 views

Custom Namespaces How To [closed]

I understand that MediaWiki cannot have subwikis, rather custom Namespaces would be the closest one could get (source). In order to test this I created a Namespace as per Manual:Using custom ...
pdeli's user avatar
  • 131
1 vote
1 answer
42 views

Home directory showing-up twice in Mediawiki links

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 ...
D dlN's user avatar
  • 11
1 vote
2 answers
57 views

Does MediaWiki support multiple levels of auto-confirmed users? [closed]

I want to enable a „low auto-confirmed“ level (leaving common auto-confirmed users intact). Those users (and IPs) must comply with the following criteria. 3 or more edits (in different articles) ...
NickDoom's user avatar
  • 111
0 votes
1 answer
159 views

DPL3 RegEx: How to suppress display of matched parameters?

I'm trying to match {{Tag|Anteater}} Regarding https://help.gamepedia.com/DPL:Parameters:_Criteria_for_Page_Selection#includematch, and https://help.gamepedia.com/DPL:Parameters:...
johny why's user avatar
  • 103
2 votes
1 answer
293 views

How do I create a simple template that adds a category in a Mediawiki template?

I am trying to create a template that adds the page to a category (in a second step also a short header text) but I fail succeeding. Right now I have the following: <noinclude>This is a ...
Fredrik C's user avatar
  • 123
1 vote
1 answer
71 views

How to automatically show an outdated warning message after "n" days in MediaWiki?

We are using a MediaWiki 1.23.3 at work, and most of our pages need to be updated with fresh new data very often. I'm wondering if there is a way to automatically show a text/template in the header ...
vegatripy's user avatar
  • 111
2 votes
1 answer
96 views

MediaWiki plural links

I have quite a lot of pages with plural named titles, eg widgets. If a mention a widget and want to make it a link I have to put [[widgets|widget]]. I know there is a pipe trick to give a singular ...
Martin McBride's user avatar
0 votes
1 answer
335 views

About installing SimpleMathJax extension for Mediawiki

I am trying to display LateX equations on a locally installed Mediawiki. I am trying to use SimpleMathJax extension instead of Math extension, since the former is used by sites like shoutwiki and ...
gamebm's user avatar
  • 103
2 votes
1 answer
885 views

How to upload a "fair use" image to Wikipedia - Wikimedia does not allow it

I gave up trying to find how to upload an image allowed by the press dept. I read in one place in Wikipedia that I could use {{Non-free promotional}} {{Fairuse}} but it is probably not what they ...
mplungjan's user avatar
  • 160
2 votes
0 answers
97 views

Show a Google Map of locations stored in MediaWiki

I'm a contributor to a wiki on the MediaWiki platform. We have a large set of articles representing people/businesses. We are looking for a way to add latitude/longitude data to the articles, and then ...
Ollie C's user avatar
  • 121
0 votes
1 answer
49 views

Mediawiki shut down old passwords. Can it be bypassed?

As submitted in multiple bug reports, Mediawiki has a recent bug that prevents users with old passwords (such that weren't changed in years) from staying logged in. If such users try logging in, they ...
LWC's user avatar
  • 1,228
0 votes
1 answer
42 views

Multiple uses of the same footnote

MediaWiki documentation: To give a footnote a unique identifier, use <ref name="name">. You can then refer to the same footnote again by using a ref tag with the same name. The text ...
user598527's user avatar
0 votes
1 answer
674 views

How can I embed the contents of the "What links here" link in a Mediawiki theme?

I want to be able to see the list of pages which link to the page I'm currently viewing. Is there an extension or snippet which allows this? Searched but only found old links.
Ben Parsons's user avatar
1 vote
1 answer
146 views

How to get a list of all users having contributed to the current page shown on page?

Is there syntax in MediaWiki based Wikis to show the list of all users having contributed to the (current) page? Just a flat list of unique users (clickable, ideally), NOT a link to the pages's full ...
vorburger's user avatar
  • 111
0 votes
1 answer
31 views

Mediawiki user group for .edu email address?

I'm wondering if there's a way to create two different user groups based on their email address: one group for users with .edu email addresses, and another group for non .edu email addresses. I want ...
CarlWinslow's user avatar
1 vote
0 answers
395 views

How to migrate from TiddlyWiki to MediaWiki

How do I take my TiddlyWiki pages and add them to a MediaWiki? Other than manually copying and pasting, of course.
themirror's user avatar
  • 517
4 votes
1 answer
616 views

Can I remove a template from a category in MediaWiki?

We use a MediaWiki at our company to host internal documentation. I created a bunch of templates that is supposed to help with organisation and identification of all the pages within the wiki. So, ...
Daniel Louw's user avatar
9 votes
1 answer
7k views

How can I list all templates available on a MediaWiki Wiki?

I'm editing this MediaWiki Wiki (not Wikipedia etc.) , and I want to have some fancy effect. On Wikipedia there are templates which sorta-kinda-do what I want - but this Wiki doesn't seem to have them....
einpoklum's user avatar
  • 1,277
-1 votes
1 answer
81 views

Preventing hackers from ruining my MediaWiki site

I am running on Bitnami and AWS. Hackers have removed all the content on my MediaWiki and posted advertisements and junk. Is there a way to roll back to my previous site version and stop unauthorized ...
user avatar
5 votes
2 answers
3k views

How to mention someone in a Wikipedia/Mediawiki conversation?

In Wikipedia talk pages discussions, I see people often mention each other. Mentioned people receive a notification. How to mention people? For instance let's say I want to mention the user called ...
nic's user avatar
  • 8,754
0 votes
1 answer
2k views

How to get the real filelocations of all real svg-files on commons.wikimedia?

On 7.April I asked here and on the wikipedia help-desk how to get such a list: link I now downloaded the file "commonswiki-20150417-all-titles". Then I get all entries that end with ".svg". So far, ...
John's user avatar
  • 161
4 votes
1 answer
168 views

Which regular expression flavour is used by the MediaWiki search and replace dialog?

I recently discovered this search and replace dialog in MediaWiki and have been using it more and more: But I can't seem to find the documentation on it. On the MediaWiki website I always find info ...
hippietrail's user avatar
-1 votes
1 answer
415 views

How to add language link to a Wikipedia page

I'm trying to add an interlanguage link to a Wikipedia page. I've read the instructions given in wikipedia:wikidata page, but couldn't get to add the language links. Here is what I'm trying to do: ...
GIRI's user avatar
  • 103
8 votes
2 answers
865 views

How to download the wikicode of a Wikipedia page?

I want to download the wikicode of this Wikipedia article with a single Web request. Is there any better way than getting https://en.wikipedia.org/w/index.php?title=Paris&action=edit and ...
nic's user avatar
  • 8,754
1 vote
1 answer
699 views

How to prevent MediaWiki from redirecting the main domain to the "Main Page"?

I see a lot of questions about how to change the title of a MediaWiki Main Page or how to redirect it to another page, but I can't seem to find anything on how to 1) prevent MediaWiki from redirecting ...
ProgrammerGirl's user avatar
3 votes
1 answer
86 views

List of contributions by the users listed in a specific category in MediaWiki

With Wikiscan I can see stats of users whose userpage is listed in a specific category. How can I see all contributions by Wikipedia users in a specific category? The category only contains their ...
the's user avatar
  • 468
1 vote
2 answers
84 views

How can I always get to the image on commons instead of the local wiki page?

If you go to this article and click on the German flag, you get to https://de.wikipedia.org/wiki/Datei:Flag_of_Germany.svg and a link is presented that bascially says that the original page is in ...
Martin Thoma's user avatar
19 votes
3 answers
6k views

Is there a way to filter Wikipedia tables?

I'm looking for a way to filter tables often found in Wikipedia articles, so I can compare only the rows (and columns) I'm interested in. Is there either a built-in feature in the Wikipedia engine ...
pufferfish's user avatar