Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mediawiki]

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

0
votes
0answers
7 views

What makes MediaWiki's LocalSettings.php file blank in web browsers?

I have a MediaWiki website; like any other MediaWiki website, it has a LocalSettings.php file. If I navigate in a browser to: https://example.com/LocalSettings.php either when logged in as an admin or ...
0
votes
0answers
8 views

MediaWiki SocialMedia share bar without an extension? [on hold]

Is there a dynamic and reliable solution for displaying share buttons for common social media applications for MediaWiki that I could use without installing extensions at all? I want total reliance ...
0
votes
0answers
35 views

MediaWiki: Hiding certain HTML elements for non-logged-in users

In a MediaWiki-based non-communal website there are some HTML elements that should be presented only for logged-in-users (an administration menu or some of its links). Usually if I want to hide ...
0
votes
1answer
12 views

Disable third-party composer scripts when running through composer.phar?

We have a MediaWiki update procedure at Website | mediawiki-install.txt. MediaWiki requires the use of developer tools like Composer on a production server. It is a bad idea, but we cannot change it. ...
1
vote
1answer
21 views

Why in MediaWiki it is common to wrap templates with the <noninclude> tag?

In MediaWiki Wikipedia-like websites I often see some <noninclude> tag wrapping of templates. Is it really common to wrap templates with the <noninclude> tag and if so, what is the ...
0
votes
1answer
17 views

How to delete MediaWiki deleted categories?

In https://example.com/index.php?title=special:categories there are two category-page links: Blue ones: For existing category pages Red ones: For non-existing category pages but are still known by ...
1
vote
1answer
22 views

MediaWiki: How to create a “ready in advance” structure for all webpages?

There is a certain MediaWiki syntax structure I generally use for web pages. It's not a MediaWiki template; it's just a syntax structure I could copy-paste from a file into the edit-page of a certain ...
3
votes
1answer
44 views

Where to see a list of all MediaWiki non-special web pages?

I get the impression that in MediaWiki there are two main groups of non-article and non-talk web pages: Special web pages (like special:categories) Media-Wiki System web pages (like media-wiki:common....
0
votes
0answers
15 views

Transferring contact form inquiries to an email account without an email server or an email forwarding service

I have a WordPress/Drupal/MediaWiki website with some all-default contact form. I desire to transfer contact form inquiries to my email account (Gmail) without using an email server or an email ...
1
vote
0answers
26 views

Remove the link to create a talk page from MediaWiki when the create page permission is off [closed]

I have a website that I created with MediaWiki but this website is not a community of two or more users and I am the only registered user as this is a personal website where I publish my services and ...
1
vote
1answer
24 views

MediaWiki: What HTTP Status Code it returns for non existent web pages?

Take these MediaWiki web pages for example: https://ecowiki.org.il/wiki/Aaaaaaaaaa https://en.wikipedia.org/wiki/MAKMAKMAK http://www.foodtech-portal.eu/index.php?title=Special:PdfPrint&...
0
votes
1answer
18 views

MediaWiki: How to find all web pages with a certain HTML tag?

Some of my MediaWiki web pages has the <pre> HTML tag and I need to replace generally all <pre> tags in the <code> tags. How to find all web pages with a certain HTML tag?
2
votes
1answer
32 views

How can I ban mediawiki logins from IPs that persistently fail?

I have a MediaWiki website and someone is trying to login as my WikiSysop user by guessing lots of passwords. What can I do to ban IPs if they exceed a threshold of failed login attempts? (Okay, no-...
3
votes
1answer
33 views

MediaWiki: Implement HotCat

I found no literature on how to install HotCat category management tool in MediaWiki; I only found literature on how to use it in Wikipedia. How can one implement it in a non Wikipedia MediaWiki ...
0
votes
1answer
57 views

MediaWiki: Avoid multiple page redirects

I have an all default MediaWiki website: No added CSS/JS, No added extensions or custom PHP. I run the homepage of that website in Google Pagespeed Insights and I get: MediaWiki: Avoid multiple ...
0
votes
0answers
16 views

Difference between Short URLs and Clean URLs

Clean URLs is a concept in Drupal; for example Drupal 7 default URL formatting is example.com/?q=node/83 though it could be changed just to example.com/node/83 by activating Clean URLs based on Apache ...
0
votes
1answer
24 views

MediaWiki: Enable text compression

From a Google Pagespeed Insights test it seems my MediaWiki website lacks text-compression; reading about this, it seems I lack this because I don't have Gzip compression on. I Ran this gzip test and ...
2
votes
0answers
65 views

MediaWiki: Remove debug query strings (/load.php?debug=" )

When I run a Google PageSpeed insights test I get problem reports for various long URLs with query strings for /load.php?debug=. These problem reports appear for the loading of any webpage whatsoever....
0
votes
1answer
26 views

MediaWiki: Hiding drafts from Search engines without changing any file in the website directory

MediaWiki: Hiding drafts from Search engines without changing any file in the website directory, Is this possible or I must change robots.txt for drafts starting as draft:myDraft?
0
votes
1answer
45 views

MediaWiki: How to delete the about page?

in a MediaWiki project I don't need the automatically created About webpage because in this case the homepage already covers the about details of the project. I can delete any webpage but for some ...
1
vote
0answers
213 views

Restrict anonymous access to a Mediawiki site while putting a few pages on a white list of publicly accessible pages?

I have set up a Mediawiki using Bitnami through AWS, I have used the following in an attempt to restrict access unless a user logs in to the wiki. # Disable reading by anonymous users $...
1
vote
1answer
28 views

How to determine where a open_basedir restriction is coming from

We are trying to upgrade to Mediawiki 1.30 through Mediawiki's release tarball. upgrade.php is failing because the release tarball is missing components (for example, PHP Fatal error: Uncaught Error: ...
0
votes
1answer
17 views

Who is <admin> for install.php during Mediawiki install?

I'm installing Mediawiki 1.31 on CentOS 7. I'm following the instructions at Manual:Installing_MediaWiki. I'm having a trouble running install.php. An earlier step had me create the MySQL database ...
2
votes
0answers
67 views

500 error from Mediawiki for first request after an idle period: Premature end of script headers

So I've got a Mediawiki on a subdomain, and until fairly recently everything was fine (if occasionally a little slow). A few weeks ago we started occasionally getting 500 Internal Server errors. ...
0
votes
1answer
13 views

How do I clean up Recent Changes on MediaWiki 1.31.1

My Question is about Cleaning up MediaWiki Recent Changes This question came from many MediaWiki website admins who have already asked this question all over the internet.
1
vote
0answers
15 views

How to provide users with a private copy of a pre-populated mediawiki site?

What are some reasonably good ways to offer users their own private version of a pre-populated mediawiki site? By "good way", I mean the most common way or the technically easiest way to give them a ...
1
vote
0answers
24 views

ReCaptchaNoCaptcha support for VisualEditor in MediaWiki? [closed]

Need help with MediaWiki installation. I successfully installed MediaWiki. Added VisualEditor and Mobilefrontend. With this in place you can edit my site using visual editor but you cannot save it ...
4
votes
1answer
97 views

How to use Wikipedia templates on an outside MediaWiki?

I've set up a MediaWiki on a wiki farm, and want to have Wikipedia-style templates available, like {{reflist}}, {{merge from|article}}, {{cite book|...}}, etc. Following DRY principle, it would seem ...
1
vote
2answers
281 views

MediaWiki 1.31 and “Error: your composer.lock file is not up to date”

We are trying to upgrade from MediaWiki 1.30 to 1.31. We downloaded mediawiki-1.31.0.tar.gz from the MediaWiki site. The tarball was unpacked overtop of the old MediaWiki installation after backing up ...
0
votes
1answer
57 views

Restore a corrupted mediaWiki, to a newer verison of mediaWiki

A working installation of mediawiki was corrupted by a user "touching" all files under the dir structure, ending in all files having the same exact permissions, and modify dates. I'm not sure which of ...
1
vote
0answers
45 views

How to create sitemaps with only non-www URLs in MediaWiki website?

I usually prefer the non-www URL for my website (http://example.com, not http://www.example.com). While submitting the site to Google one needs to set a preferred domain by choosing either the www or ...
1
vote
2answers
35 views

How to use toggleToc() in a MediaWiki installation

I admin a wiki site running MediaWiki 1.29 and I have a problem collapsing the TOC on pages. I would be interesting in keeping the Contents box, but loading the page with it collapsed by default. It ...
0
votes
1answer
26 views

How to use mw.site.siteName in Module:Asbox

Exporting Template:Stub from Wikipedia for use on non-WMF wiki, it transcludes Scribunto Module:Asbox which has on line 233: ' is a [[Wikipedia:stub|stub]]. You can help Wikipedia by [', ...
2
votes
3answers
45 views

Page-specific skins in MediaWiki?

Is there a way to force a particular skin to be applied while displaying specific MediaWiki articles? In my wiki many articles will have a "flip" version with alternative content (think "good" and "...
1
vote
1answer
210 views

How do i edit Login Required Page [closed]

On my private MediaWiki view & read is set to false. My website visitors would see Please Login to view other pages. What needed to do was edit the login link located in this error message.
0
votes
2answers
95 views

How can I allow sysops and specific users to hide spam articles in MediaWiki?

My website is powered by MediaWiki Version 1.29.1. Sometimes the Recent Changes results page becomes cluttered with spam articles that I wish to hide from the results page. How can I allow specific ...
1
vote
0answers
46 views

Use remote Tomcat/Solr for BlueSpice ExtendedSearch

Is it possible to configure the BlueSpice ExtendedSearch extension to connect to a remote Apache Tomcat/Solr instance instead of installing all of that on the same machine that runs BlueSpice? I ...
1
vote
1answer
40 views

How do I promote a user automatically in Mediawiki and create a log of those promotions?

I control a Mediawiki site. Here you can see users being automatically updated and added into the extended confirmed user group. If I have a group called "util" where I just want to add relevant code ...
2
votes
1answer
97 views

Is it possible to find broken link anchors in MediaWiki?

Probably a simple question answered million times, but I can't find an answer. MediaWiki can track missing pages and report those with Special:WantedPages. I'm not sure if it's possible, but can ...
2
votes
2answers
143 views

How do you deal with mass spam on MediaWiki?

What would be the best way to find a users IP address on MediaWiki if all the connections were proxied through squid proxy server and you have access to all user rights? I am a steward on a ...
3
votes
0answers
42 views

How do I get my MediaWiki site to use templates? [closed]

My MediaWiki site is currently using v1.24.4. I don't seem to have many templates installed, and some very important ones seem to be missing. For example, I can't use the Reference List template. ...
1
vote
1answer
90 views

Using MediaWiki and external data, how can I show an image in a page, returned as a blob from a database?

I'm creating a wiki (using MediaWiki) which pulls data from a mySQL instance, and uses this alongside a template to generate the page dynamically. My mySQL instance contains images, stored in a field ...
3
votes
1answer
64 views

MediaWiki fails to show Ambox

I am writing you about the use of Template:Ambox in MediaWiki. I have a version 1.28 hosted MediWiki installation that works well apparently at everything, but I can't get the boxes explain here ...
0
votes
1answer
117 views

Legal considerations regarding hosting a MediaWiki site

What legal considerations are there when creating a wiki using MediaWiki for people to use worldwide? For example, I noticed there are privacy policies & terms and conditions; are these required ...
1
vote
3answers
59 views

Managing images on an open wiki platform

I'm developing a wiki page using MediaWiki and there are a few ways of inplementing images into wiki pages such as uploading them on the website and uploading them on external websites it potentially ...
1
vote
1answer
42 views

How can I keep mediawiki not-yet-created pages from cluttering my google webmaster console with 404s?

we have a mediawiki install as part of our site. As on all wikis people will add links for not yet created pages (red links). When followed these links return a 404 status (as there is no content) ...
2
votes
2answers
375 views

The localhost page isn’t working on MediaWiki

I want to use Widget PDF to embed PDF files on my MediaWiki pages. So at first installed Extension:Widgets on MediaWiki and it seems it is installed (I can see it in Installed extensions list in ...
0
votes
1answer
47 views

Importing pages breaks category feature

I just installed MediaWiki 1.27.1 and setup completes without issue on a server with Ubuntu 16.04, nginx, PHP 5.6, and MariaDB 10.1. I created an export file with a different wiki using the Special:...
2
votes
1answer
689 views

MediaWiki not creating a log file and cannot access the database

I'm trying to set up MediaWiki on an Apache2 server. Currently, when I navigate to the directory where the wiki is stored in my web browser, I see the contents of LocalSettings.php dumped on the ...
2
votes
3answers
516 views

Clone an abandoned MediaWiki site

Is there any way to clone a MediaWiki site that's been abandoned by the owner and all admins? None of the admins have been seen in 6 months and all attempts to contact any of them over the past 3-4 ...