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
0 answers
1k 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 / { ...
Evert's user avatar
  • 183
2 votes
1 answer
49 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 ...
lartkma's user avatar
  • 121
1 vote
1 answer
105 views

Trimming the last N changes in MediaWiki in order to "rebase" history from a Git-powered backup?

Recently the wiki I administer in some sense has "crashed" due to a database that seems to be completely lost. Just the database, not the MediaWiki installation, extensions or media. Unfortunately, I ...
Lyubomyr Shaydariv's user avatar
1 vote
1 answer
231 views

`You don't have permission` to view `User:` on MediaWiki

Suddenly (AFAIK) I can't view any userspaces on my MediaWiki install (whether I'm logged in as Admin or not). Instead I'm getting this error: You don't have permission to access /wiki/User:...
Steven Arntson's user avatar
1 vote
1 answer
326 views

changing color of body text on MediaWiki's "common.css" has no effect

Over at the MediaWiki.org page Manual:CSS, it mentions: If you want to make all text on the wiki green you can add the code body { color: green; } to MediaWiki:Common.css. I've made a few ...
Steven Arntson's user avatar
1 vote
1 answer
238 views

URLs of created MediaWiki pages always include "index.php?title="

I am an absolute beginner at MediaWiki, and just installed an instance through my hosting provider. When I create a new page on the wiki, its URL is always prefaced by index.php?title=. I wonder if ...
Steven Arntson's user avatar
2 votes
1 answer
113 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?
jkmartindale's user avatar
2 votes
2 answers
165 views

Getting mediaWiki to work intranet on IIS

I am trying to get mediaWiki to work on windows server 2012r2 using active directory as an intranet only site. I was successfully able to access the webpage on the server however when I try to ...
tai's user avatar
  • 19
1 vote
2 answers
2k views

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache?

How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache? My httpd.conf: #### Wikibase (BETA) <VirtualHost *> ServerName wikibase.isc ServerAlias ...
Suriyaa's user avatar
  • 143
2 votes
1 answer
513 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 ...
Lyubomyr Shaydariv's user avatar
0 votes
1 answer
84 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 ...
oks's user avatar
  • 375
1 vote
1 answer
84 views

MediaWiki: Show orphaned files

I would like to get a list of uploaded files which aren't linked at all. Is there an equivalent of Special:OrphanedPages for files? Or is there a filter for Special:ListFiles for orphans? Or is ...
user2964971's user avatar
4 votes
1 answer
304 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 ...
Wooz's user avatar
  • 165
0 votes
1 answer
126 views

Why does Apache need write access to MediaWiki's LocalSettings.php?

We are trying to harden an Apache/MediaWiki/MySQL installation. According to MediaWiki's Manual:Securing database passwords: ... many Unix/Linux users can simply secure LocalSettings.php just by ...
user avatar
1 vote
2 answers
71 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 ...
oks's user avatar
  • 375
2 votes
1 answer
41 views

Can I create a MediaWiki without Wiki Syntax (only HTML)?

My company likes to use a MediaWiki. But they are using special WYSIWYG editors (CKeditor) with special parsing algorithm to transfer HTML to WikiSystax. Is there a way, to include other editors ...
user avatar
1 vote
1 answer
179 views

Render external page content via REST call

Does anyone know of any extensions or ways to be able to grab content from a REST call and render it in a MediaWiki page? Long story short I need to maintain access to a legacy MediaWiki installation ...
mccartyn's user avatar
1 vote
1 answer
94 views

How to add a page to a category in MediaWiki from a tag extension

I would like to put `<my-extension/>` onto a page and for the page's categories to be equivalent to if I put [[Category:Pages with the my-extension tag]] straight onto the page. How is that ...
oks's user avatar
  • 375
6 votes
1 answer
166 views

In MediaWiki, how to make a template that will not display anything when variable is null?

I defined a template that should link to a page when the the variable is non-empty: [http://openlibrary.org/works/XXX/{{{ISBN}}} {{{ISBN|}}}] But what's not working as perfectly is that when the ...
qazwsx's user avatar
  • 311
1 vote
1 answer
552 views

In MediaWiki, how to permanently delete old versions of deleted pages?

I have deleted tens of thousands of spam pages in a MediaWiki instance painstakingly. Now I realize the old versions of those pages still occupy database space and present a kind of garbage in the ...
qazwsx's user avatar
  • 311
1 vote
1 answer
21 views

I want to relocate sub-pages from mediawiki from one page to another

My team has small wiki installation... few folks have added pages directly to home page and now we want to organize them in order... so I want to relocate those pages from home page to sub pages ...
user avatar
1 vote
1 answer
210 views

mediawiki user can't create his user page

I got a MediaWiki, and almost all is working fine, but when i try to edit a page with an user, the page `?title=User:{username}" I got this message There is currently no text in this page. You can ...
Froggiz's user avatar
  • 312
0 votes
1 answer
37 views

Cross-reference to a MediaWiki website's URL partially not working

In words: I developed a website with MediaWiki 1.22.5 (PHP 5.3.3 (apache2handler), SQLite 3.6.20 with full-text search support) and now it's public through, say, www.example1.com/~myname/mediawiki/...
JohnnyTremors's user avatar
0 votes
0 answers
29 views

How can I block bots from creating MediaWiki accounts and articles? [duplicate]

I created a new MediaWiki website, Speedypedia. It's currently in alpha in two languages - English and Hebrew. I also submitted my website to MediaWiki's directory of websites using MediaWiki, but ...
Uri's user avatar
  • 101
5 votes
3 answers
415 views

MediaWiki and EU cookie consent

I own a MediaWiki website that is showing Google AdSense. As of September 30th 2015 AdSense requires compliance with the EU cookie law. The Google Adsense Team is pointing to https://www.google.com/...
the's user avatar
  • 1,570
4 votes
1 answer
83 views

Can a very large not-so-relevant sitemap hurt my site to Google’s eyes?

I have a Wiki site (running MediaWiki) which I am trying to optimize in terms of page speed and SEO. One of the many things in my to-do list is submit a sitemap on Google Webmaster tools, now here is ...
Guillermo Carone's user avatar
3 votes
2 answers
474 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: ...
user avatar
4 votes
1 answer
92 views

Clear and concise instructions for an account creation CAPTCHA with MediaWiki?

We get our share spam accounts on our MediaWiki, and we'd like to curb it. According to MediaWiki's Extension:ConfirmAccount: The ConfirmEdit extension can be used (in conjunction with the ...
user avatar
0 votes
1 answer
53 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-...
user avatar
3 votes
2 answers
830 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 ...
stenci's user avatar
  • 133
2 votes
2 answers
527 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 ...
Matthias's user avatar
  • 257
2 votes
1 answer
511 views

Why GoDaddy custom domain redirects to Heroku's appid.herokuapp.com?

I am trying to setup a custom domain with Heroku. Here is the setup I did for my wikinames.org domain in my GoDaddy account: DNS zone: @ A 50.63.202.1 www CNAME myappid.herokuapp.com ...
LA_'s user avatar
  • 191
1 vote
0 answers
34 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. ...
WilliamKF's user avatar
  • 417
0 votes
0 answers
167 views

Do MediaWiki extensions BlueSpice and Semantic play well together?

I'm currently running BlueSpice and came across Semantic MediaWiki that looks interesting such as its calendar capabilities. However, I'm wondering how well they work together. I found this 2012 ...
WilliamKF's user avatar
  • 417
1 vote
1 answer
67 views

How to expunge a page from BlueSpice MediaWiki

On a MediaWiki that is using BlueSpice, if a page gets created I can delete it, but what if I want to completely expunge its record, how can I remove all traces of a page I do not want so that it can ...
WilliamKF's user avatar
  • 417
8 votes
2 answers
2k views

Numbered MediaWiki list with pre, source or code tags inside

How can I create a numbered list containing multi line pre, source or code tags without breaking the list? That is what I have been trying: # First # Second <source lang="CSharp">Some Multi ...
Matthias's user avatar
  • 257
1 vote
1 answer
147 views

How to fix generated email from BlueSpice Media Wiki for new users to supply actual name?

I have a standard install of BlueSpice on top of Media Wiki. When a new user is created I get an email with the body: The user http://wiki.example.com/index.php/User:NameHere with real name $2 was ...
WilliamKF's user avatar
  • 417
1 vote
1 answer
115 views

MediaWiki: How to put $wgSitename in the sidebar?

I'm working on a group of related wikis. I want $wgSitename to show up prominently in the left sidebar. What's a good way to do this? I could hack the skin but this is not a good way. I looked into ...
the's user avatar
  • 1,570
7 votes
2 answers
504 views

MediaWiki VCS backend? (Preferrably DVCS like Git or Mercurial) [closed]

As a long-time MediaWiki user, I would like to start a new wiki project because I really appreciate MediaWiki maturity and very flexible and powerful capabilities. But I have doubts that I want to ...
Lyubomyr Shaydariv's user avatar
1 vote
1 answer
833 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?...
richhallstoke's user avatar
1 vote
0 answers
23 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 ...
RainSpirit's user avatar
0 votes
1 answer
630 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 ...
oks's user avatar
  • 375
1 vote
2 answers
1k views

Where is the mediawiki Login page defined?

I would like to change one of the labels on the mediawiki login page from "Keep me logged in" to "Keep me logged in (recommended)" with a link to http://www.mediawiki.org/wiki/Help:Logging_in#...
oks's user avatar
  • 375
2 votes
4 answers
480 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
oks's user avatar
  • 375
5 votes
1 answer
1k views

What is the function of a self-closing <nowiki/> tag in Mediawiki?

The #loop parser function from the Loops extension contains a <nowiki/> tag in a code example: {{#loop: varname | 4 | 4 | <nowiki/> * This is round {{#var:varname}} and we have {{#...
oks's user avatar
  • 375
2 votes
1 answer
137 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?
oks's user avatar
  • 375
1 vote
1 answer
60 views

How to find out if a magic word for Mediawiki already exists?

I want to have a magic word IS_APPROVED which returns "is-approved" if a Mediawiki page version is approved and returns "" if the page version is not approved. The page is approved via the ...
oks's user avatar
  • 375
1 vote
0 answers
33 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 ...
oks's user avatar
  • 375
2 votes
0 answers
138 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 ...
user avatar
2 votes
1 answer
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 "...
Lyubomyr Shaydariv's user avatar