A popular wiki software that powers Wikipedia. See http://www.mediawiki.org/ for more info.

learn more… | top users | synonyms

0
votes
0answers
4 views

How do you change the path to the images folder in Mediawiki?

I have a Mediawiki installation on openshift, so everything inside the app-root/repo/ folder gets deleted whenever I update via git push. My image folder is in app-root/repo/wiki/images Openshift ...
0
votes
1answer
20 views

How to configure Mathjax in Mediawiki?

I want to render latex on a mediawiki installation that I don't have shell access to. I've tried and failed to use the Math installation, so I'd like to include the equivalent of these two scripts in ...
0
votes
0answers
10 views

Hiding redirect pages from MediaWiki search

I'm running a wiki using MediaWiki, and when I search for a page the results are clogged with redirects from various capitalization redirects to a page when I only want the result page to appear in ...
2
votes
1answer
23 views

How to configure MediaWiki to allow uploading text/plain ".conf' files

I'm having a heck of a time getting our internal MediaWiki to allow CONF file uploads. A CONF file is just a plain text file with a *.conf extension. In ...\LocalSettings.php, I added txt and conf to ...
1
vote
1answer
9 views

Can I use ImageMap and require editors to login in mediawiki?

I can't edit a page using the imagemap tag when logged in. This is for a mediawiki installation where all editors must be logged in. Page is at ...
1
vote
0answers
11 views

How to enforce Mediawik table cell width and wrap?

I have a table like this and my problem is that Col 0-5 collapse to give space to Col 6 which has very long texts in some cells: {| cellspacing="0" cellpadding="5" border="1" class="prettytable ...
1
vote
1answer
18 views

How do I upgrade a seven year old version of MediaWiki to the current version and migrate from MySql to SQlite?

currently I have this: Old Mediawiki 1.11.0 (from 2007!) on shared webhosting (so no shell access) with about 200 articles and many thousand spam articles I deleted via the Webinterface (but they are ...
1
vote
1answer
16 views

In MediaWiki, how to see a list of recent revisions if there's no edit in the last thirty days?

In MediaWiki, how to see a list of recent revisions if there's no edit in the last thirty days? The Special:RecentChanges page can at the most show the recent 500 changes in the last 30 days which is ...
2
votes
1answer
24 views

Lock all usernames from imported XML dump

I’m forking a wiki, therefore I have imported an XML dump in a fresh MediaWiki installation. This dump also contains revisions and user pages (in the User: namespace), which I want to keep. So there ...
-1
votes
0answers
19 views

How to integrate wikimedia commons's upload form in my wiki?

I am not talking about Common's Upload Wizard extension. Wikimedia commons use a special upload form that is not commonly used in any other wikis. It has more fields for entering metadata like ...
2
votes
1answer
19 views

How to get a notification whenever a user creates a MediaWiki account?

I'm an administrator and bureaucrat on a few wikis. One wiki allows users to create their own account without approval. Spammers are taking advantage of it and spamming in their profiles. I checked ...
1
vote
1answer
33 views

Can Mediawiki show different users different versions of a page?

Is there a mediawiki extension that can distinguish between page versions? I would like to run mediawiki for 3 kinds of user-rights: editors (who can edit a page and see its latest version) ...
2
votes
1answer
54 views

Ask for more custom fields when uploading a file in MediaWiki?

Is there any way that I can ask users for more details about the file they upload into the wiki and show it in a page where the file is used? My wiki allows users to upload photos and books of old ...
1
vote
1answer
30 views

How do you hot link an external image from a Media Wiki site?

What is the syntax for showing an externally hosted image in a media wiki page? The media wiki help page doesn't seem to cover that scenario. I've tried several things that don't work: ...
2
votes
1answer
59 views

MediaWiki links to new articles don't work even after the new article is created until the page with the link is edited

I'm experiencing this issue with MediaWiki 1.23.6. First I update the Main Page with a link to a new article: [[New Article]] Then I click on that link (which is red because the article doesn't ...
1
vote
1answer
37 views

Mediawiki: BlogPage extension not showing up in Special:Version

I have installed the BlogPage extension & other required extensions like Comments, SocialProfile and Votes in mediawiki and changed Localsettings.php like this: require_once ...
4
votes
1answer
41 views

Is there a permission in MediaWiki to allow a user to edit discussions but not pages?

Is there a permission in MediaWiki that allows a user to edit a discussion but not a page? That would enable anyone to, say, express a view, but only certain users (e.g. those with a confirmed email) ...
1
vote
2answers
50 views

How does mediawiki save the passwords?

I have mediawiki installed in my local machine. I had to use a form outside wiki which asks the user to upload files with the wiki username and password. In order to achieve this I went through the ...
1
vote
1answer
25 views

Is it possible to define and refer to constants in MediaWiki?

Is it it possible in MediaWiki to define a constant and then include the constant in other pages? E.g. could MY_HELP_MESSAGE be defined as If you want help, contact help@somedomain… and ...
2
votes
1answer
26 views

Creating a new namespace in mediawiki

When I googled "create new namespace in mediawiki", I got this. I have created a new namespace using this technique and it worked perfectly. After that because of curiosity I searched in the mediawiki ...
1
vote
1answer
52 views

In a MediaWiki wiki, how to keep a navbar and list in sync?

On a page like Wikipedia's Animal Farm there is a list of characters. Some items in this list could link to their own articles. In the navbox which is another list, at the bottom of this and other ...
1
vote
1answer
76 views

How can I put advertising on my MediaWiki site just like at Wikia.com?

I want to put some AdSense blocks on a wiki I'm running. I guess that Wikia has highly A/B tested their ad placements so I'm going to follow them a little bit there. Unfortunately the list of ...
2
votes
1answer
69 views

Same MediaWiki database/files on multiple subdomains

so I am currently setting up a MediaWiki server (I am still not sure whether I should go for MediaWiki or DokuWiki though), but if I go for MediaWiki - is it possible to setup some kind of multi ...
3
votes
1answer
13 views

Mediawiki: How to escape '=' in Template parameter values

I want to pass an URL to my Mediawiki template as a parameter, but if it contains =, it treats the URL as a named parameter. Therefore, the following does not find and replace the template parameter ...
1
vote
1answer
26 views

How to change the directory in which MediaWiki is installed after upgrading a temporary directory?

I have a section in my website which uses MediaWiki. eg. sitename.com/codewiki/ It has been 3 years since I installed MediaWiki. Now i am getting errors so i wanted to upgrade to the latest version. ...
4
votes
1answer
38 views

How to override LESS colour variables without creating a new skin in MediaWiki?

I have a default MediaWiki install using the Vector skin. I would like to change the colours, but I want to keep maintenance to a minimum so I don't want to duplicate the skin (because I will have to ...
1
vote
0answers
20 views

How do I add additional translated items via the MediaWiki Universal Language Selector extension?

I have added some contents to the MediaWiki sidebar (MediaWiki:Sidebar). When I changed the language from English to Malayalam using the Universal Language Selector, everything in the sidebar except ...
1
vote
1answer
25 views

Does Mediawiki need to be installed twice to support a second website in another language?

I have a wiki which has English as the default language. Now I want the same wiki in "Malayalam". I already have the translated contents with me. How do I achieve this? Should I create a sub-domain? ...
3
votes
1answer
776 views

How can I delete all Wiki pages created by spammers except mine in MediaWiki?

I Implemented a MediaWiki site but unfortunately somebody created thousands of pages through thousand of users. Which query could I run for deleting all pages created by these users except mine? ...
5
votes
2answers
136 views

How to find excessively suppressed redirects in MediaWiki?

I'm a wiki editor and an adminstrator at a wiki shared to another people. Some of them use excessive suppressing for possible redirects for a reason that remains unknown to me. For instance, if there ...
0
votes
1answer
22 views

Mediawiki MobileFrontEnd extension error

I have installed the MobleFrontEnd extension in my wiki. It was working perfectly. But after installing some other extension, I updated wiki for updating the new tables to the database. After that ...
0
votes
1answer
30 views

In MediaWiki templates how to show empty default value

In a MediaWiki template I'm making, I want to let it to become [[CODE-value]] when CODE=value is used and empty when CODE=value is not given in the actual page. The current version ...
1
vote
1answer
16 views

How do I create templates for linking to PubMed Central ids and and DOI names in MediaWiki?

I want to build templates that would render {{PMC|PMC number}} as a PMC number. That is, hyperlinked to the respective PubMed Central entry for said number. For example, {{PMC|2824929}} would be ...
0
votes
1answer
29 views

How to have sidebar links to other wikis with similar articles?

Sometimes Wikipedia or some other non-Wikimedia Foundation wiki will have an article with the same page title, about the same subject but from a different perspective. Like Wikipedia does for ...
3
votes
2answers
224 views

Custom page title in list of pages in a category

The display name of the page in Mediawiki can be changed using the magic word: {{DISPLAYTITLE:name_with_underscore}} But the list of pages on the category page displays the original name (without ...
10
votes
7answers
3k views

Mass deletion of spam revisions in Mediawiki

Basically my 'private' mediawiki instance was about as secure as a toddlers piggybank. I've tightened it up now, but am left with about a hundred or so new pages and revisions generated by hundreds of ...
4
votes
3answers
242 views

How to deploy a Wikipedia-like Mediawiki (with all extensions configured in the same way)

Is there a fast way to make my own Mediawiki looks the same as Wikipedia.org? I mean, adds all extensions wikipedia.org is using. and configure it with the same way wikipedia has. Is there a list?
3
votes
2answers
807 views

How to prevent users from editing home page in MediaWiki?

Wikipedia's front page can't be edited. Can such a front page also be made with MediaWiki, so the users can't edit it?
2
votes
1answer
34 views

Completely backup MediaWiki

I'm trying to backup my MediaWiki instance. I'd like to do it completely, meaning that if the web server exploded suddenly, with the backup files, I can restore the MediaWiki instance completely to ...
1
vote
1answer
13 views

How do I find text rendered using templates in MediaWiki?

I'm currently reworking a MediaWiki template that has some semantic design issues: there are two almost exact key/value pairs and one of them may be completely removed: {{Template | foo1 = bar ... | ...
1
vote
1answer
14 views

MediaWiki pagination

Is there are way to paginate a set of MediaWiki pages so that there is automatically a "next" and "previous" link at the top or bottom? This may be for a set of pages in a particular category, for ...
2
votes
3answers
115 views

Mediawiki 1.16: Leaving timestamp in template

~~~~ is used to leave your timestamp with your name and date. I want to put this in a template so that whoever uses the template will have have the timestamp printed out as well. Is this possible?
3
votes
1answer
48 views

How to batch remove spamming users and pages they created on MediaWiki?

I'm trying to clean up a MediaWiki instance which has been subjected to spamming and vandalism for a period of time. The current status is that there are a large number of users which only created ...
2
votes
2answers
68 views

Create MediaWiki template to format source code

I want to create a MediaWiki template like <syntaxhighlight lang="Java" style="background-color:lightgray; border:1px dashed gray;"> {{{code}}} </syntaxhighlight> and use it in normal ...
1
vote
1answer
83 views

Thumbnail only showing link on mediawiki

When trying to add a thumbnail to my wiki page it only shows a link to the picture. I'm presuming it has something to do with a missing module. Does anyone know what module controls this or if it is ...
1
vote
1answer
31 views

How do you get MediaWiki to render URLs in the usual way?

I've noticed that whenever a URL is long and contains unusual characters MediaWiki renders it incorrectly, for instance this URL: http://chemapps.stolaf.edu/jmol/jmol.php?model=C[C@H](N)CC1=CC=CC=C1 ...
0
votes
1answer
29 views

How can I get my Wiki to have the same in-built referencing tools as Wikipedia?

My Wiki, is still very much in its infancy, and I would like to know how I could replicate the referencing tools (like the autofill options for PMIDs and DOIs) and import the referencing templates ...
0
votes
1answer
19 views

How do I get my Wiki to automatically link dois to their respective websites?

Yet again I must ask this brilliant website for advice, currently, on my Wiki PMIDs are automatically linked provided they're given in the form: PMID #, where # refers to the PMID number. Likewise ...
1
vote
0answers
24 views

How can I get the MediaWiki “Rp” template to work on my wiki? [closed]

I copy-pasted the contents of the English Wikipedia's code for creating the {{rp}} operator (that gives you the page number for a book) to this page. Then I followed all the errors that resulted, ...
4
votes
1answer
41 views

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