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
-1
votes
1answer
14 views

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

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 ...
0
votes
1answer
12 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:...
0
votes
0answers
5 views

SEO friendly way to link to authority identifiers from a page, without installing extensions?

I am looking for SEO-friendly ways to add authority identifiers to pages or categories so that SEO finds them easily, with without installing the Wikibase or Semantic MediaWiki or other extensions (...
3
votes
1answer
22 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 ...
1
vote
1answer
16 views

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

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? ...
1
vote
1answer
11 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 ...
-1
votes
1answer
33 views

Is there a tool to show all images for all Wikipedia pages in a specific category?

For example, let's say I want to see a list of all wikipedia pages in the category trees with the first image list in each article. Is there any tool out there right now to do this? It seems like ...
0
votes
1answer
16 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.
0
votes
1answer
10 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 ...
0
votes
0answers
11 views

How to get All Wikipedia pages links in ONE List?

I'm trying to find a list with Links to All Wikipedia pages. I found several ways to search, for example Hear, but it isn't all, here I need to enter some parameters. I need a list with links to all ...
0
votes
1answer
27 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 ...
0
votes
1answer
20 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
10 views

How to define and query blank/null values in MediaWiki when field is restricted to date values?

I have a category in MediaWiki for which one field is a date, and is formatted as such, so that it only accepts values in date format. However, some entries are not associated with a specific date, so ...
0
votes
0answers
35 views

How to get MediaWiki random order lists sorted?

When making a bulleted list in MediWiki, maybe over time, the order is usually random unless manually organised. * [[Citrus reticulata|mandarin]] * [[Malus sylvestris|crabapple]] * [[Prunus domestica|...
0
votes
2answers
234 views

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

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 ...
0
votes
0answers
11 views

MediaWiki: including template with multiple heading-levels at some non-matching heading level

Lets say I have template with multiple heading levels, like: = Template level 1 = lorem ipsum == Template level 2 == lorem ipsum Now, I'd like to include it into some page at some level, that does ...
1
vote
1answer
79 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 ...
0
votes
0answers
27 views

MediaWiki: Sidebar displays twice “navigation” content only if profile is both administrator and bureaucrat

MediaWiki displays twice the standard content of navigation in the sidebar but only when profile is both administrator and bureaucrat. Below the source that appears when issuing a domaine_name/wiki/...
1
vote
2answers
32 views

Mediawiki: Custom Namespaces How To

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 ...
0
votes
1answer
25 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 ...
1
vote
2answers
39 views

Does MediaWiki support multiple levels of auto-confirmed users?

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) ...
0
votes
1answer
72 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:...
2
votes
1answer
48 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 ...
1
vote
1answer
42 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 ...
0
votes
1answer
42 views

Mediawiki extension: moderation

I have added the extension and installed it according to the instructions given on the page but cannot find the Moderation page on Special Pages.
2
votes
1answer
54 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 ...
0
votes
1answer
216 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 ...
1
vote
1answer
283 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 ...
1
vote
0answers
49 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
426 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.
1
vote
1answer
53 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 ...
0
votes
1answer
22 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 ...
1
vote
0answers
287 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.
4
votes
1answer
317 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, ...
7
votes
1answer
4k 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....
-1
votes
1answer
71 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 ...
4
votes
2answers
2k 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 ...
0
votes
1answer
979 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, ...
3
votes
1answer
113 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 ...
-1
votes
1answer
277 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: ...
8
votes
2answers
492 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 ...
1
vote
1answer
311 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 ...
3
votes
1answer
52 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 ...
1
vote
2answers
55 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 ...
13
votes
3answers
4k 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 ...
1
vote
1answer
1k views

Access Control to restrict view to pages

I don't find MediaWiki a user-friendly and easy-to-customise tool but probably just because I'm new to it. What I need to do is to have some pages visible to: anyone registered users only, and a ...
3
votes
0answers
101 views

\newcommand in the MediaWiki Math extension

When using the MediaWiki MathJax extension, it's trivial to create new commands with \newcommand. From the MathJax documentation: You can use the \def, \newcommand, \renewcommand, \newenvironment, ...