Questions tagged [mediawiki]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 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 ...
Malu05's user avatar
  • 11
3 votes
1 answer
539 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'...
Rob Kam's user avatar
  • 545
4 votes
1 answer
853 views

In MediaWiki how to display external data inline?

In a MediaWiki wiki how to display external data inline? For example in a table of comparisons to include prices, where the prices are fetched from other sites which are independent of the wiki.
Rob Kam's user avatar
  • 545
1 vote
1 answer
97 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. The ...
oks's user avatar
  • 375
1 vote
0 answers
44 views

Easy way to SELECT * with ExternalData in Mediawiki?

The ExternalData extension works fine when you I the column names I am looking for, but if I don't know them in advance I look them up from information_schema and then try and fail to hack them into a ...
oks's user avatar
  • 375
1 vote
1 answer
78 views

How to install SemanticBreadcrumbLinks without composer?

I have restricted shell access to a site that does not have composer. How can I install https://github.com/SemanticMediaWiki/SemanticBreadcrumbLinks/ ? (The readme says use composer).
oks's user avatar
  • 375
2 votes
0 answers
793 views

Install VisualEditor extension on MediaWiki

I have migrated my website from a shared hosting to VPS in order to enable the VisualEditor extension on my MediaWiki website but I am not able to make it work. Firstly, I have installed the Parsoid ...
user1314836's user avatar
4 votes
1 answer
280 views

In MediaWiki can external data be rendered into a chart?

I've got the extensions ExternalData and GoogleCharts installed. Can External data (e.g., the result of a SQL query from a database) become the numbers for a chart (via any extension e.g. for ...
oks's user avatar
  • 375
1 vote
1 answer
193 views

How to require approval to signup new Bluespice MediaWiki accounts?

On a MediaWiki site running BlueSpice, how can I require that all new account sign ups be approved before the account is created? I tried adding the ConfirmAccount extension described here, but now ...
WilliamKF's user avatar
  • 417
5 votes
1 answer
1k views

How to allow MediaWiki non-users to only read some wiki pages related login and account creation?

I've created a BlueSpice MediaWiki site that I only want visible to users that are logged in. This works fine by creating Read permission only for Users as described here. All this works fine until ...
WilliamKF's user avatar
  • 417
1 vote
1 answer
237 views

How to link to Avatar image in BlueSpice MediaWiki of fixed size?

The BlueSpice MediaWiki adds a profile picture that a user can set for themselves or take an automatically generated one. These images are visible on pages to see who has edited or viewed a page ...
WilliamKF's user avatar
  • 417
1 vote
1 answer
1k views

How to change default skin from BlueSpiceSkin in MediaWiki with BlueSpice?

In a BlueSpice installation of MediaWiki, the default skin is BlueSpiceSkin and the only other choice offered is Vector. I would like Vector to be the default for all users, but do not see how to do ...
WilliamKF's user avatar
  • 417
2 votes
2 answers
601 views

Why is MediaWiki BlueSpice logo clipped in BlueSpiceSkin?

I supplied a custom logo to the BlueSpice preference in a MediaWiki installation. The logo I supplied is 150x150 pixels square, however, when shown, it is truncated to a rectangle of size 150x60, ...
WilliamKF's user avatar
  • 417
3 votes
1 answer
4k views

How to change logo for BlueSpice MediaWiki?

In a vanilla MediaWiki, I would edit the LocalSettings.php to change the line: ## The relative URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo ...
WilliamKF's user avatar
  • 417
2 votes
1 answer
732 views

How to create private BlueSpice for MediaWiki website?

I am creating a private wiki that should only be visible to users that sign in. We are using MediaWiki with the BlueSpice extension. Thus far, I found that by default "read" access is provided to ...
WilliamKF's user avatar
  • 417
1 vote
1 answer
396 views

How to transclude <onlyinclude> in MediaWiki template?

I have a MediaWiki template that I want to use in other templates, but I want the first template to add <onlyinclude> tags to the other templates it gets used in. Unfortunately these tags get ...
Malvineous's user avatar
3 votes
1 answer
365 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 ...
Zach Brantmeier's user avatar
2 votes
1 answer
309 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 ...
oks's user avatar
  • 375
1 vote
1 answer
27 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 http://mediawiki.owenks.uk/wiki/index.php?title=...
oks's user avatar
  • 375
1 vote
0 answers
824 views

How to enforce MediaWiki 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 ...
n611x007's user avatar
  • 131
1 vote
1 answer
286 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 ...
user168080's user avatar
2 votes
1 answer
71 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 ...
qazwsx's user avatar
  • 311
3 votes
1 answer
186 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 ...
user avatar
2 votes
1 answer
82 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) ...
oks's user avatar
  • 375
11 votes
2 answers
9k 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://...
Stephen Ostermiller's user avatar
2 votes
1 answer
304 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 ...
arshad's user avatar
  • 197
5 votes
1 answer
420 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) ...
oks's user avatar
  • 375
2 votes
2 answers
2k 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 ...
arshad's user avatar
  • 197
2 votes
1 answer
151 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 ...
oks's user avatar
  • 375
4 votes
2 answers
987 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 ...
user avatar
6 votes
1 answer
637 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 {{...
elomage's user avatar
  • 191
3 votes
2 answers
303 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 ...
webmain's user avatar
  • 159
1 vote
1 answer
118 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. ...
Jayapal Chandran's user avatar
5 votes
1 answer
5k 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 ...
Malvineous's user avatar
2 votes
1 answer
231 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 ...
arshad's user avatar
  • 197
2 votes
1 answer
273 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 ...
arshad's user avatar
  • 197
2 votes
1 answer
176 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? ...
arshad's user avatar
  • 197
1 vote
1 answer
154 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 "$IP/extensions/...
arshad's user avatar
  • 197
2 votes
1 answer
164 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 ...
Rob Kam's user avatar
  • 545
0 votes
1 answer
138 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 ...
arshad's user avatar
  • 197
1 vote
1 answer
65 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 ...
Rob Kam's user avatar
  • 545
0 votes
1 answer
139 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 [[CODE-{...
qazwsx's user avatar
  • 311
2 votes
1 answer
852 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 ...
the's user avatar
  • 1,570
5 votes
1 answer
409 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 ...
qazwsx's user avatar
  • 311
2 votes
1 answer
58 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 ... | ...
Lyubomyr Shaydariv's user avatar
1 vote
1 answer
390 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 ...
user avatar
3 votes
2 answers
400 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 ...
qazwsx's user avatar
  • 311
3 votes
2 answers
756 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 ...
qazwsx's user avatar
  • 311
1 vote
1 answer
128 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 ...
Darragh Horan's user avatar
1 vote
1 answer
26 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 ...
Josh Pinto's user avatar