Questions tagged [mediawiki-extensions]

This tag is for questions related to programming and using MediaWiki extensions.

This tag is for questions about developing or using extensions for MediaWiki. For general MediaWiki questions, consider .

Further reading:

342 questions
15
votes
1 answer

How to best add extensions when using official docker image for MediaWiki?

We are using the official MediaWiki Docker image and want to be able to add additional MediaWiki extensions. Questions: What is the recommended next step here if we are currently using the docker-compose file below were we mount volumes on the…
Streamline
  • 2,040
  • 4
  • 37
  • 56
15
votes
5 answers
15
votes
2 answers

How to add a link in MediaWiki VisualEditor Toolbar?

I`m trying to insert a custom link to a special page in VisualEditor toolbar. See the image below. See Image I googled a lot but without success. Someone please give a path...
ricardogobbo
  • 1,690
  • 3
  • 19
  • 41
15
votes
2 answers

Fatal exception of type MWException

I recently installed MediaWiki in localhost on Debian 7 System. But after the installation, I got the exception Fatal exception of type MWException. I reviewed all reported bugs, but they do not apply to me. PHP 5.4.4 phpmyaddmin....
gvd
  • 1,482
  • 6
  • 32
  • 58
7
votes
1 answer

How to override a Flask blueprint URL?

I am using flask-mwoauth to create a simple application in Flask using OAuth authentication on Mediawiki (and Wikipedia in particular). flask-mwoauth is a blueprint that provides some convenience methods to interact with Mediawiki Extensions:OAuth…
CristianCantoro
  • 722
  • 1
  • 7
  • 17
7
votes
2 answers

How to setup external Single Sign On for MediaWiki?

I'm trying to setup single sign on for MediaWiki with ExtAuthDB extension. The purpose is to authenticate user from external user system automatically when user logins in the main website: www.mysite.com. Mediawiki is located on subdomain:…
Elnur Hajiyev
  • 464
  • 1
  • 4
  • 14
6
votes
3 answers

Conditional categories

I'm using a template {{MyTemplate|foo}} which consists of the following code: {{#switch: {{{1}}} | foo = [[Category:Foo]] | bar = [[Category:Bar]] | #default = [[Category:Unknown]] }} When I'm using it on a page, the categories show up nicely as…
user2033412
  • 1,950
  • 2
  • 27
  • 47
6
votes
1 answer

Mocking Symfony Ldap::create for unit tests

Recently I have been working on an LDAP authentication provider for MediaWiki. In my mind, I have been trying to tackle this issue for a number of days now and cannot come up with a solution. Context The way I have developed this plugin is to allow…
Shane
  • 2,007
  • 18
  • 33
6
votes
1 answer

How to show all categories in MediaWiki Main or other pages?

I want to display all the categories in main page or any other page in MediaWiki just like how it displays in Special:Categories page. Any help is appreciated.
Mahahari
  • 971
  • 1
  • 19
  • 36
6
votes
0 answers

Getting Wikidata incremental triples

I would like to know if it is possible to get the latest incremental n-triple dumps of Wikidata. I'm using Wikidata Toolkit to download the latest version of the dumps and convert them automatically in n-triple files (using…
Ortzi
  • 363
  • 1
  • 6
  • 17
5
votes
1 answer

Finding the Most-Popular MediaWiki Extensions

Please forgive me if this is a novice question - I'm a neophyte when it comes to MediaWiki. I'm looking for Video extensions to add to a MediaWiki project. Some are probably popular and some are arcane. I would like to choose an extension that…
Ray Paseur
  • 2,106
  • 2
  • 13
  • 18
5
votes
1 answer

Visual Editor cannot search for images in MediaWiki local uploads

I've installed the latest MediaWiki and the latest Visual Editor, everything is looking great but I have one problem though. All my uploaded images cannot be searched when adding media to the article. Can anybody please enlighten me.
mateeyow
  • 1,306
  • 1
  • 17
  • 38
4
votes
1 answer

Error loading data from server: apierror-visualeditor-docserver-http-error: (curl error: 7)

Whenever I click on "Edit" on my mediawiki site that error always show, and I am unable to proceed to Visual editor, I suspect that my pathing is wrong in some URL. Here is my configuration of parsoid in…
4
votes
1 answer

Custom Leaflet map in MediaWiki

so i build a custom Leaflet map and I would like to integrate it into my Wiki. I tried both the Kartographer and the Maps extension, but for both I can't find how to feed them the url of my map. Is this even possible? If there is such an option in…
4
votes
1 answer

How do I add sub directory of directory as a git submodule?

I'm trying to add a submodule, as I normally would do, I did: git submodule add -f -b master 'https://github.com/OrganicDesign/extensions/tree/master/MediaWiki/PdfBook/' Only it gives me fatal: repository…
Reception123
  • 73
  • 1
  • 9
1
2 3
22 23