Questions tagged [mediawiki]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
277 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 ...
3
votes
1answer
30 views

<pre> tag generates a blue box behind the pre-formatted text and a table around it on the printable version. How to disable this?

I use Pre tags to embed code lines into my MediaWiki page. Problem is that Pre tag generates a blue-ish box behind the pre-formatted text which is parsed into a table when you set printable=yes in the ...
3
votes
2answers
260 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 ...
3
votes
1answer
41 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 ...
3
votes
3answers
67 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 "...
3
votes
1answer
98 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 ...
3
votes
1answer
276 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.
3
votes
1answer
219 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 ...
3
votes
2answers
353 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: ...
3
votes
2answers
677 views

Customize print footer on MediaWiki

When a page of my company internal wiki is printed I would like to add a brief confidentiality text on every page footer and a larger one at the end of the article. There are 3 links at the end of ...
3
votes
1answer
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 ...
3
votes
2answers
492 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 ...
3
votes
1answer
1k views

How can I delete all Wiki pages created by spammers except mine in MediaWiki?

I Implemented a MediaWiki site but unfortunately somebody created thousands of pages through thousand of users. Which query could I run for deleting all pages created by these users except mine? ...
3
votes
1answer
782 views

How do I use htaccess to make a short URL to a MediaWiki page?

I'd like to rewrite /liam to /index.php/Liam_Edwards-Playne. I've currently written this below in the appropriate .htaccess file but it is still returning a 404: RewriteEngine On RewriteRule ^/liam$ %...
3
votes
1answer
253 views

Using Extension:Maintenance to generate sitemap MediaWiki

I'm using MediaWiki 1.19.2. I want to generate a sitemap.xml. Here's the documentation. We have to use a maintenance script to generate the sitemap.xml. So I use the extension Maintenance but I don'...
3
votes
1answer
514 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'...
3
votes
1answer
249 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 ...
3
votes
2answers
346 views

Best wiki engine to use? [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? I'm looking to set up a wiki as a simple CMS for a resource page. Mostly just pdfs and word documents will be hosted, but ...
3
votes
1answer
276 views

OpenID login buttons for related modules of a site (especially a MediaWiki)

I am putting up a site. Right now it will include a MediaWiki (the sort that powers Wikipedia). In the future it may contain a blog (Wordpress?) and forums (Vanilla Forums 2?). I want the site to ...
3
votes
1answer
52 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....
3
votes
0answers
47 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. ...
3
votes
0answers
892 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 / { ...
3
votes
1answer
279 views

How to add a link to the users sandbox as on Wikipedia?

The page MediaWiki:Sidebar allows you to change/add to the menu on the left. So how to add or change items in the menu at the top, (is there a MediaWiki:Topbar page)? Specifically, how to add a link ...
3
votes
1answer
30 views

Mediawiki - Method for $wgActionPaths on nginx

I'm trying to set up action path rewriting on my mediawiki 1.33 install with nginx 1.14.0 on Ubuntu 18.04 with php 7.2fpm. All the documentation I've been able to find on mediawiki.org and via ...
2
votes
5answers
9k views

Any good alternatives to MediaWiki for creating an 'intranet' type system?

I would like to install some form of intranet system to allow multiple users to add documentation to - MediaWiki would suffice, I just wondered if anyone knew of any better alternatives (must be PHP).
2
votes
2answers
3k views

Wiki/Collaboration software: TWiki vs. XWiki vs. MediaWiki

As the title suggests, I'm interested in which of these Wikis is the best solution to use. I'm concerned with: Features the page editor provides (not all users will be keen on learning new syntax); ...
2
votes
1answer
3k 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:...
2
votes
2answers
393 views

robots.txt and disallow

Which one is correct? User-agent: * Disallow: index.php or User-agent: * Disallow: /index.php inorder to block all pages like index.php?day=7 index.php?day=15 index.php?day=30
2
votes
2answers
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 ...
2
votes
1answer
167 views

How to customise a MediaWiki Book sources page?

If an article includes an ISBN number, the Mediawiki software creates a link to page Book sources, giving a small list of sites that sell new and used books. Without editing the PHP, it should be ...
2
votes
3answers
162 views

Mediawiki 1.16: Leaving timestamp in template

~~~~ is used to leave your timestamp with your name and date. I want to put this in a template so that whoever uses the template will have have the timestamp printed out as well. Is this possible?
2
votes
4answers
3k views

Internal Server Error; enable debugging provides no additional information

I'm working with Mediawiki 1.25.1 on CentOS 7.2 running Apache 2.4.3. I'm working with Mediawiki 1.26.4 on CentOS 7.2 running Apache 2.4.6. I am experiencing an Internal Server Error after editing a ...
2
votes
1answer
40 views

Mediawiki: how to allow users to edit their User pages (but not other pages)

Is there a permission in Mediawiki that allows a user with username A-User to create and edit pages A-User, A-User/A-new-page etc but not to edit other pages?
2
votes
1answer
111 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 ...
2
votes
2answers
165 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 ...
2
votes
1answer
45 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
86 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?
2
votes
2answers
259 views

Disable or Change MediaWiki Domain Spam Filter

In our Wiki Installation (internal) we often post links. For the first time I have now this message: The text you wanted to save was blocked by the spam filter. This is probably caused by a link to ...
2
votes
1answer
1k views

MediaWiki: How do I force MediaWiki to update a certain Category:XXX page?

Is it possible to force MediaWiki update a certain Category:XXX page? For example, a lot of pages used templates that referred a category "Templates" causing every such page to be included to the "...
2
votes
1answer
180 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 ...
2
votes
1answer
103 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? ...
2
votes
1answer
169 views

Google not indexing my Mediawiki's jpg files description pages

My website es.wikineos.com has been running for a few years with the MediaWiki Content Management System like the one they use at Wikipedia. Google seems to be indexing my site correctly at a quick ...
2
votes
2answers
412 views

Same MediaWiki database/files on multiple subdomains

so I am currently setting up a MediaWiki server (I am still not sure whether I should go for MediaWiki or DokuWiki though), but if I go for MediaWiki - is it possible to setup some kind of multi ...
2
votes
1answer
292 views

Getting the masked URL values in Mediawiki

I have successfully masked the URL in Mediawiki. By using the following scripts in .htaccess and localsettings.php files in Mediawiki, i.e.: .htaccess: Options +FollowSymLinks RewriteEngine on ...
2
votes
1answer
150 views

What are my options when I want to restructure mediawiki content

I have a bunch of articles written on the mediawiki. Some of the articles are too long and complex, and are good candidates for splitting up so some chapters will form a distinct articles. OTOH some ...
2
votes
1answer
551 views

WikiMedia on a subdomain - creating a new page

If I have a WikiMedia installation in a subdomain, like wiki.example.com, how do I create a new page? I mean, they said that when I put a link in the wiki, it would appear red. If I clicked it, it ...
2
votes
1answer
138 views

Delete all the pages on mediawiki

I am trying to delete all the pages, created on my mediawiki. I tried "Special:Nuke" , and these scripts: php maintenance/nukeNS.php --delete --all php deleteArchivedRevisions.php --delete php ...
2
votes
1answer
94 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-...
2
votes
1answer
133 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
1answer
421 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 ...