Questions tagged [mediawiki]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
59 views

Preventing MediaWiki from wrapping space-indented content in <pre> HTML tags [closed]

MediaWiki wraps all space-indented nested content in <pre> HTML tags. To reproduce go to a MediaWiki web site with the skin "Vector", go to an edit page, add some HTML content, add some space-...
0
votes
1answer
51 views

MediaWiki destroys CSS aesthetics for <code> tag

In MediaWiki:Common.css I gave these essential directives: code { display: block; } then I created an article with this content: <code> <x> <y> <z></z> ...
1
vote
1answer
68 views

What is a “data-ad-slot” for Google Adsense and why is inline styling required?

I have this adsense ad code: <script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:...
0
votes
1answer
63 views

Adding HTML into the <head> HTML tag for all MediaWiki web pages

How to add HTML into the HTML tag for all MediaWiki web pages? In /skins/mySkin/includes/mySkinTemplate.php I didn't find anything that does with <head>. I found no global template file and I ...
0
votes
0answers
11 views

How to configure sitemap for a mediawiki website?

I'm mainly referencing this line: If you want to see a human-readable sitemap, allow read access for sitemap.xsl file in your site config (.htacces file or other) Which is related to a ...
1
vote
1answer
26 views

How to know what are all the MediaWiki web pages without categories?

In some large wikis one might find some rare web pages that don't have categories (for example, when these pages were created, the creator forgot to add a category). How to know what are all the ...
0
votes
2answers
26 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
1answer
53 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
25 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
19 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
23 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
48 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
18 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
32 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
29 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&...
1
vote
2answers
28 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
34 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
78 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
31 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
69 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
47 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
214 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
30 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
18 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
72 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
14 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
26 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
115 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
325 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
50 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
41 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
48 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
242 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
96 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
47 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
101 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
145 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
43 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
92 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
67 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
61 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 ...