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
1answer
32 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 ...
1
vote
0answers
224 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
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
32 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 ...
1
vote
0answers
71 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
0answers
54 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
77 views

Delete non-existant pages from MediaWiki that are listed in Special:allPages

I'm trying to delete two pages: http://wiki.lxde.org/en/Uk:%D0%93%D0%BE%D0%BB%D0%BE%D0%B2%D0%BD%D0%B0_%D1%81%D1%82%D0%BE%D1%80%D1%96%D0%BD%D0%BA%D0%B0 http://wiki.lxde.org/en/Uk:%C3%83%C3%AE%C3%AB%C3%...
1
vote
2answers
60 views

how to create new tables in mediawki 1.25+?

How is the hook set up to create new database tables when an extension is registered in MediaWiki 1.25+? The manual says Possibly the Hooks section of extensions.json should be used... What I ...
1
vote
0answers
29 views

Can search permission be controlled with BlueSpice extension to MediaWiki?

The BlueSpice extension to MediaWiki introduces permissions control with the introduction of the Namespace manager administration tool. Each namespace can be set to be "Search by default" or not. ...
1
vote
1answer
641 views

MediaWiki configuration - strange redirect behaviour after form POST

I've recently setup a wiki using MediaWiki but am having the toughest time getting the ShortURL configuration working properly (for example, so that pages appear as Main_Page instead of index.php?...
1
vote
0answers
19 views

Mediawiki strange string on pages

I upgraded from MediaWiki 1.23 to 1.24.2, but at the end of the upgrade, the pages started to show a strange string, by instance - "COS" at the top of the pages. I tried to inspect the page code to ...
1
vote
0answers
31 views

How to store daily snapshot of site statistics in MediaWiki?

I'd like to chart daily page views/edits/numbers of pages in existence on a site with MediaWiki and Semantic MediaWiki installed. I have shell access to the site. How can you automate the storage of ...
1
vote
0answers
100 views

Configure MediaWiki responses with and without domain part?

We are running an internal MediaWiki server. The wiki server has a PKIX certificate with the following names (the certificate is well formed per RFC 5280 and CA/B Baseline Requirements): IP Address ...
1
vote
0answers
39 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 ...
1
vote
0answers
415 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 ...
1
vote
0answers
711 views

How can I get the MediaWiki “Rp” template to work on my wiki? [closed]

I copy-pasted the contents of the English Wikipedia's code for creating the {{rp}} operator (that gives you the page number for a book) to this page. Then I followed all the errors that resulted, ...
1
vote
0answers
288 views

MediaWiki {{Special:PrefixIndex}} outputs “$1 - Wiki Title”

I've set up some sub-pages, and trying to use the Special::PrefixIndex template to create a listing of these sub-pages as per http://www.mediawiki.org/wiki/Help:Subpages#Displaying_subpages So, for ...
1
vote
0answers
216 views

MediaWiki plugin for dynamic content via forms

Are there any plugins for MediaWiki that would allow me to create a page that has a form at the top that when filled in populates tags further down in the document? Say someone would put a form with "...
0
votes
3answers
309 views

How to set the keep me logged in box to true in Mediawiki Special:UserLogin

Can you force (or at least prompt) new users to keep themselves logged in? In order to reduce the likelihood of losing work, I would like the Special:UserLogin page to appear as
0
votes
1answer
91 views

What Software Does Wikibooks Use?

I know they use MediaWiki but do they use any specific extensions that allow them to have hierarchies of pages/etc?
0
votes
2answers
100 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 ...
0
votes
1answer
29 views

How to log-in with more rights than Admin or Bureaucrat?

I'm having a heck of a time with MediaWiki and an Internal Server Error. I'd like to log-in with more privileges than afforded by Admin and Bureaucrat in hopes of actually being able to save a page. ...
0
votes
2answers
638 views

pulp pedia article deletion [closed]

I hope this is the correct stackexchange subsite if not I apologise. I would like to delete an article from PULP PEDIA, a horrifically rude and not funny website to mimic original wikipedia posts and ...
0
votes
2answers
418 views

Simple MediaWiki question

I'm thinking about making a mediawiki website. At first I'd like to try it at localhost. I'm running Kubuntu 11.10, so I did: sudo aptitude install apache2 mysql-server php5 php5-mysql php5-cli And ...
0
votes
1answer
121 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 ...
0
votes
1answer
303 views

Customize Mediawiki's monobook.css with some skins

I have installed MediaWiKi on Ubuntu server. I am trying to customize the wiki's appearance, so I tried different skins (fratman, GuMax, and mozillawiki) None of them satisfied me. I want a skin ...
0
votes
1answer
330 views

MediaWiki Simple Syntax for Cross Reference of Figures

I would like to reference Figures in my wiki, much like you can in LaTeX. For example, say: "As you can see in Figure 3, mediawiki is awesome". I found the CrossReference extension which does what I ...
0
votes
1answer
22 views

MediaWiki setup is unable to log into root@localhost DB, but I can log into it via SSH

I'm setting up MediaWiki on an Ubuntu 18.04 server. After installing the mediawiki package I went to web installer and got to the "Connect to database" step. I'm using the following settings:...
0
votes
1answer
98 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
1answer
50 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
69 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 ...
0
votes
1answer
27 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 [', ...
0
votes
1answer
49 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:...
0
votes
1answer
170 views

Manually insert text into existing MediaWiki table row?

I'm trying to update a page for a MediaWiki database running MW version 1.26.4. The MediaWiki is currenty suffering unexplained Internal Server Errors, so I am trying to perform an end-around by ...
0
votes
1answer
63 views

How to use the database table-prefix to create tables on LoadExtensionSchemaUpdates in Mediawiki?

This relates to a previous question. What is the proper way to include $wgDBprefix in the sql or hook function so that when tables are created or updated on LoadExtensionSchemaUpdates, the created ...
0
votes
1answer
45 views

wgSecureLogin setting

According to MediaWiki's Extension:HttpsLogin: From MediaWiki 1.17, you can redirect all users to HTTPS on login by: setting $wgSecureLogin = true; and setting $wgServer as protocol-...
0
votes
1answer
429 views

Mediawiki: internal link with parameters?

How do you write an internal link with parameters? I have a stored query from external data and would like to link readers to the semantic internal object that stores the query. However the query is ...
0
votes
1answer
123 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 ...
0
votes
1answer
61 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-{...
0
votes
1answer
65 views

How can I get my Wiki to have the same in-built referencing tools as Wikipedia?

My Wiki, is still very much in its infancy, and I would like to know how I could replicate the referencing tools (like the autofill options for PMIDs and DOIs) and import the referencing templates (i....
0
votes
1answer
34 views

How do I get my Wiki to automatically link dois to their respective websites?

Yet again I must ask this brilliant website for advice, currently, on my Wiki PMIDs are automatically linked provided they're given in the form: PMID #, where # refers to the PMID number. Likewise ...
0
votes
2answers
124 views

Rendering citations and references in HTML using PHP/Perl/Python/

Is there a PHP/Perl/Python/... library for picking citations out of an HTML file and rendering a nice list of references at the bottom, like in Wikipedia? I'm developing a website with heavily-...
0
votes
0answers
49 views

Is it SEO problematic to create footnotes with frontend JavaScript?

I have an RTL (Hebrew) MediaWiki 1.34.0 website in which I am having a serious problem creating footnotes for articles with the core Extension:Cite because its de facto lack of support in Hebrew, as ...
0
votes
1answer
13 views

How can I create a user that is not allowed to change its own password on mediawiki?

I am currently creating a mediawiki where there are administrators and writers, and everyone else in the project only needs read access. Our current approach is having all the read-only users share a ...
0
votes
0answers
17 views

Updated MediaWiki to version 1.31. Now Spam Blacklist and Title Blacklist are causing errors

I had (I think) version 1.23 because that's what the auto-installer on my host put there. So I uploaded the files for 1.31 and ran the update.php script. The site seemed to run fine until I tried to ...
0
votes
0answers
13 views

How to remove an indexed non-existent page?

I contribute to a MediaWiki where I created a page with a link starting with a slash. I corrected it a few years ago and it still shows in searches: Page title matches ------------------ /...
0
votes
1answer
131 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> ...
0
votes
2answers
61 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
30 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 ...