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

learn more… | top users | synonyms

3
votes
0answers
20 views
+50

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
0answers
18 views
+50

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
2answers
40 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
17 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 ...
1
vote
1answer
10 views

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

I'm having a heck of a time getting our internal Media Wiki 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 ...
2
votes
1answer
23 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
47 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
56 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
67 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 ...
0
votes
0answers
8 views

MediaWiki user preferences - hide some fields? [migrated]

We've integrated MediaWiki with our website and wish to block/hide the editing of some fields in the Special:Preferences page so these cannot be changed by users. Specifically: we don't want users to ...
2
votes
1answer
48 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 ...
3
votes
1answer
11 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
23 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
33 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
19 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
23 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
746 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
135 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 ...
1
vote
0answers
24 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 ...
0
votes
1answer
18 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
214 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
237 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
803 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
30 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
12 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
12 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
43 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
58 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
28 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
38 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 ...
1
vote
0answers
40 views

MediaWiki {{Special:PrefixIndex}} outputs “$1 - Wiki Title”

I've set up some sub-pages, and trying to use the Special::PrefixIndex template to create a listing of these sub-pages as per http://www.mediawiki.org/wiki/Help:Subpages#Displaying_subpages So, for ...
4
votes
3answers
2k views

How to get visits statistics from mediawiki page, without asking this from the admin?

I want to log / track unique page visits to a page in a mediawiki wiki, but I can't ask the this mediawiki admin to give me the data. If this was a page on my website I would just use ...
0
votes
1answer
15 views

Invalid categories

I created a sub-category using an ampersand in its name. I somehow managed to successfully place this category into another category and now I'm unable to remove it. To further complicate this ...
1
vote
1answer
104 views

Using web.archive.org to recover website data

I had a mediawiki website and there were some images which were removed because of useless. Later all images were deleted but links to them were saved in the form like: http://web.com/images/*/*.jpg ...
2
votes
1answer
54 views

Google not indexing my Mediawiki's jpg files description pages

My website es.wikineos.com has been running for a few years with the MediaWiki Content Management System like the one they use at Wikipedia. Google seems to be indexing my site correctly at a quick ...
1
vote
0answers
14 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 ...
2
votes
1answer
66 views

How to get a list of all page names (with namespaces) of a MediaWiki installation?

I want to export all pages (in all namespaces, and with all revisions!) of a public MediaWiki installation. I’m just a visitor, so I have no admin access. The export is possible with the ...
2
votes
1answer
24 views

MediaWiki: Show newest Pages from an Category

We are organizing most of our work inside an self hosted MediaWiki Installation. Now we want to show an overview page for an category, where the visitor can see the newest pages/changes from this ...
0
votes
1answer
34 views

WordPress and MediaWiki sitemap

I'm planning to make a WordPress site and include, also, a wiki, using MediaWiki. I know how to generate WP and MW sitemaps. Anyway, I think I need to merge the two sitemaps in some way. Am I right? ...
4
votes
1answer
166 views

Multiple TOC with MediaWiki using section headings in single page

I'm running my own installation of MediaWiki, which has been great! I haven't been able to find the answer to this small problem in any post, how to, etc. Here's the setup: Article TOC (limited to ...
2
votes
1answer
83 views

Using Extension:Maintenance to generate sitemap MediaWiki

I'm using MediaWiki 1.19.2. I want to generate a sitemap.xml. Here's the documentation. We have to use a maintenance script to generate the sitemap.xml. So I use the extension Maintenance but I ...