A popular content management system that powers many information websites . See http://www.mediawiki.org/ for more info.

learn more… | top users | synonyms

5
votes
2answers
1k 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: [http://...
1
vote
1answer
19 views

Mediawiki custom temp directory = safe?

I ran unto an issue when upgrading from 1.24.0 to 1.27.0. Since I'm on a shared server and have multiple Mediawiki installations, the system temp folder is being shared across them all. This is ...
0
votes
0answers
52 views

Do MediaWiki extensions BlueSpice and Semantic play well together?

I'm currently running BlueSpice and came across Semantic MediaWiki that looks interesting such as its calendar capabilities. However, I'm wondering how well they work together. I found this 2012 ...
0
votes
0answers
22 views

Mediawiki : Issues when installing Visual Editor Extension with Parsoid

I'm working on Ubuntu 16.04 with mediawiki 1.27.0. I'm trying to install Parsoid and Visual Editor. I followed the documentation to the letter. However, after finishing the installation, I have the ...
0
votes
0answers
24 views

Mediawiki: extensions files can't be loaded while filepath and permissions are correct

I'm migrating from mediawiki 1.21.3 to mediawiki 1.27.0 on a Ubuntu 16.04 with PHP 5.6. In my LocalSettings.php, I choose to keep the old method to call extensions, using include function. When I ...
1
vote
1answer
15 views

Best practice for temp directory used by MediaWiki?

This question appears to be related to File system permission for MediaWiki uploads? Tightening permissions has lead to "Error creating thumbnail" messages: MediaWiki has a page on the temp ...
5
votes
2answers
112 views

File system permission for MediaWiki?

We are an open source project and we have an Apache web server with a MediaWiki 1.25. Its a stand alone installation, so we don't have the complications of shared hosting a varying userids. After 20 ...
0
votes
1answer
62 views

How to fix generated email from BlueSpice Media Wiki for new users to supply actual name?

I have a standard install of BlueSpice on top of Media Wiki. When a new user is created I get an email with the body: The user http://wiki.example.com/index.php/User:NameHere with real name $2 ...
1
vote
1answer
71 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 ...
0
votes
1answer
13 views

Internal Server Error; enable debugging provides no additional information

I'm working with Mediawiki 1.25.1 on CentOS 7.2. I am experiencing an Internal Server Error after editing a page and submitting it: There is no additional information in /var/log/httpd/error_log. ...
0
votes
1answer
18 views

Bad formatting of search result with MediaWiki 1.26.3

I just upgraded my company's internal wiki and now the search results appear badly formatted. The image below shows the H2 containing the text Page text matches on the right of the page, below the ...
6
votes
2answers
200 views

How do I 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
1answer
18 views

`You don't have permission` to view `User:` on MediaWiki

Suddenly (AFAIK) I can't view any userspaces on my MediaWiki install (whether I'm logged in as Admin or not). Instead I'm getting this error: You don't have permission to access /wiki/User:...
2
votes
1answer
48 views

Is it possible to hide Mediawiki redirect pages from showing in Special:AllPages?

Is it possible to hide redirect pages from showing in Special:AllPages when linked to in the sidebar? They currently are displayed italicized, which is the default.
2
votes
0answers
58 views

sub_filter doesn't work when used with MediaWiki?

I'm working on a site, https://factinfiction.meulie.net/ . This site runs the latest stable version of MediaWiki (1.26.2). In the server-config I have the following location-block: location / { ...
2
votes
1answer
30 views

How to render MediaWiki subpages' titles like the Spanish Wikibooks?

I'm helping to my job's internal wiki and I find subpages useful for writing pages of a tutorial related to a topic. I understand how subpages are configured, but when I was reviewing other wikis to ...
2
votes
1answer
53 views

Why do MediaWiki's Infoboxes use Lua?

I'm currently a newbie to MediaWiki administration, and I'm currently trying to wrap my head around Infoboxes. Why do they use Lua instead of wikitext?
1
vote
1answer
15 views

RefToolbar 2.0 generates empty template in references section

I ported the RefToolbar 2.0 gadget from Wikipedia to my own MediaWiki installation (using Wikipedia's instructions) and the toolbar works fine. But when creating a reference using a template, it just ...
1
vote
1answer
47 views

Trimming the last N changes in MediaWiki in order to “rebase” history from a Git-powered backup?

Recently the wiki I administer in some sense has "crashed" due to a database that seems to be completely lost. Just the database, not the MediaWiki installation, extensions or media. Unfortunately, I ...
2
votes
2answers
33 views

Getting mediaWiki to work intranet on IIS

I am trying to get mediaWiki to work on windows server 2012r2 using active directory as an intranet only site. I was successfully able to access the webpage on the server however when I try to ...
1
vote
1answer
25 views

Render external page content via REST call

Does anyone know of any extensions or ways to be able to grab content from a REST call and render it in a MediaWiki page? Long story short I need to maintain access to a legacy MediaWiki installation ...
0
votes
1answer
18 views

Why does Apache need write access to MediaWiki's LocalSettings.php?

We are trying to harden an Apache/MediaWiki/MySQL installation. According to MediaWiki's Manual:Securing database passwords: ... many Unix/Linux users can simply secure LocalSettings.php just by ...
13
votes
2answers
6k views

How to dump a MediaWiki for offline use?

I would like to be able to make an offline version of a MediaWiki site on a weekly basis. The DumpHTML extension actually does what I want, as it dumps all articles and media files, but I can't see ...
2
votes
1answer
31 views

changing color of body text on MediaWiki's “common.css” has no effect

Over at the MediaWiki.org page Manual:CSS, it mentions: If you want to make all text on the wiki green you can add the code body { color: green; } to MediaWiki:Common.css. I've made a few ...
3
votes
3answers
3k views

Rewrite in Mediawiki, remove index.php, .htaccess

I've just installed Mediawiki on Apache and I want the URL should be: localhost/Main_Page/ localhost/Special:Recent_Changes ... instead of: localhost/index.php/Main_Page/ localhost/index.php/...
1
vote
1answer
27 views

URLs of created MediaWiki pages always include “index.php?title=”

I am an absolute beginner at MediaWiki, and just installed an instance through my hosting provider. When I create a new page on the wiki, its URL is always prefaced by index.php?title=. I wonder if ...
1
vote
1answer
30 views

How to use a user preference in a Mediawiki template

In a mediawiki page, I would like to have a checkbox that applies to all pages so that templates on the page can use the value of the checkbox when the checkbox is changed, the page refreshes. ...
4
votes
1answer
38 views

Clear and concise instructions for an account creation CAPTCHA with MediaWiki?

We get our share spam accounts on our MediaWiki, and we'd like to curb it. According to MediaWiki's Extension:ConfirmAccount: The ConfirmEdit extension can be used (in conjunction with the ...
0
votes
0answers
64 views

Can't load the MediaWiki Skin after setting up Short URL

Problem I set up the Short URL function for my MediaWiki installation. After I done this my wiki can't load the MediaWiki design. How can I set my MediaWiki settings correctly to load my skins ...
1
vote
2answers
154 views

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache?

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache? My httpd.conf: #### Wikibase (BETA) <VirtualHost *> ServerName wikibase.isc ServerAlias ...
3
votes
1answer
93 views

MediaWiki: Is it possible to restrict view access to a certain page, an uploaded file or a namespace?

As my wiki is public and freely accessible worldwide, sometimes there is a need of not publishing some content before a certain event (let's say, a certain date). Let's say, I would like to upload a ...
0
votes
1answer
22 views

How to use the database table-prefix to create tables on LoadExtensionSchemaUpdates in Mediawiki?

This relates to a previous question. What is the proper way to include $wgDBprefix in the sql or hook function so that when tables are created or updated on LoadExtensionSchemaUpdates, the created ...
2
votes
1answer
220 views

VisualEditor for MediaWiki wiki via node.js on Heroku

For small non-WMF wikis on economical shared hosting it might be possible to get Extension:VisualEditor running without having to upgrade to VPS hosting. That is by installing Parsoid to run on Heroku'...
1
vote
1answer
13 views

MediaWiki: Show orphaned files

I would like to get a list of uploaded files which aren't linked at all. Is there an equivalent of Special:OrphanedPages for files? Or is there a filter for Special:ListFiles for orphans? Or is ...
1
vote
1answer
34 views

MediaWiki spam, deleting last days

2 days ago I did the mistake of updating my MediaWiki site, without transfering my old user management plugin. My site was shut down from my host for mail spam and there are now over 14 million new ...
4
votes
1answer
62 views

Using robots.txt to deny access to MediaWiki special pages using substring matching

I am running a Mediawiki at the domain someurl.com/wiki/. Unfortunally it generates a bunch of automatically generated Special pages which mainly are of low quality but nevertheless are massively ...
13
votes
7answers
4k 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 ...
0
votes
1answer
27 views

how to create new tables in mediawki 1.25+?

How is the hook set up to create new database tables when an extension is registered in MediaWiki 1.25+? The manual says Possibly the Hooks section of extensions.json should be used... What I ...
4
votes
1answer
39 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
33 views

Can I create a MediaWiki without Wiki Syntax (only HTML)?

My company likes to use a MediaWiki. But they are using special WYSIWYG editors (CKeditor) with special parsing algorithm to transfer HTML to WikiSystax. Is there a way, to include other editors ...
0
votes
0answers
36 views

VisualEditor not showing TemplateData from template

I am using VisualEditor to edit pages on my MediaWiki, and I have a couple of templates set up, which function fine using 'edit source' to insert them. I added TemplateData using the 'Manage ...
3
votes
1answer
109 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 ...
1
vote
1answer
35 views

How to add a page to a category in MediaWiki from a tag extension

I would like to put `<my-extension/>` onto a page and for the page's categories to be equivalent to if I put [[Category:Pages with the my-extension tag]] straight onto the page. How is ...
6
votes
1answer
30 views

In MediaWiki, how to make a template that will not display anything when variable is null?

I defined a template that should link to a page when the the variable is non-empty: [http://openlibrary.org/works/XXX/{{{ISBN}}} {{{ISBN|}}}] But what's not working as perfectly is that when the ...
1
vote
1answer
27 views

In MediaWiki, how to permanently delete old versions of deleted pages?

I have deleted tens of thousands of spam pages in a MediaWiki instance painstakingly. Now I realize the old versions of those pages still occupy database space and present a kind of garbage in the ...
2
votes
2answers
109 views

How to keep and reference bilingual glossary in Mediawiki?

In a MediaWiki instance of mine, I found myself using many English terms' Chinese translation repeatedly. Is there a way to centralize a glossary of such English terms and their Chinese translation ...
5
votes
3answers
405 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 ...
5
votes
2answers
198 views

Numbered MediaWiki List with pre,source or code tags inside

How can I create a numbered list containing multi line pre, source or code tags without breaking the list? That is what I have been trying: # First # Second <source lang="CSharp">Some Multi ...
3
votes
2answers
50 views

Force password reset of all users

Our MediaWIki 1.25 server was running without $wgSecureLogin. The installer did not copy the setting from DefaultLogin.php, and the setting was not secure by default. (Related WikiMedia bug T111135: ...
6
votes
2answers
200 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 ...