Questions tagged [mediawiki]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

MediaWiki Session lockout

After restarting my computer and trying to log in to my wiki, I got the following message: There appears to be a problem with your login session. Your operation has been stopped as a precaution ...
user avatar
0 votes
1 answer
30 views

CommonsMetadata extension: tracking categories not updating

I have enabled the CommonsMetadata extension on a Miraheze wiki I administer. My hope was that it would generate a Files with no readable license category, as in Wikimedia Commons and related projects....
ViHdzP's user avatar
  • 101
1 vote
1 answer
29 views

How do I enable edit button on Mobile for the Main Page of a MediaWiki?

I've enabled editing and it is available to all users on all pages but on mobile it is only available to users on all the pages except the Main Page.
psae's user avatar
  • 11
2 votes
0 answers
52 views

I can't seem to be able to access my articles through my Mediawiki wiki anymore

Recently I decided to create a wiki using Mediawiki for my personal project. Everything was working beautifully, so I tried to set up file uploads. I eventually found that I have to edit the ...
LiterallyNobody's user avatar
1 vote
1 answer
116 views

How do I restart mediawiki on namecheap's shared hosting?

I just made a change for my mediawiki configuration in the LocalSettings.php file but I don't know how to restart mediawiki so that it picks up the configuration change. I installed mediawiki using ...
Roman Sheydvasser's user avatar
4 votes
1 answer
448 views

Is it possible to use the "Pages in category..." list in mediawiki in a template without an extension?

I would like to use a category page as a template to show the "Pages in category..." on another page, but when I attempt to template the category page it only shows the details written on ...
Mattamue's user avatar
  • 143
5 votes
2 answers
102 views

Block certain namespace webpages for anonymous users (non registered users)

For each general audience webpage (i.e. any main-namespace page such as an article page or Category: page), the MediaWiki content management system creates about 10 or 100 or 1,000 if not more ...
user avatar
0 votes
0 answers
29 views

"Cannot Modify Header" error when moving MediaWiki to a subfolder on localhost

I installed, configured, and populated MediaWiki on localhost and have been maintaining my wiki locally for 4 years. Today I simply dragged the mediawiki folder into a subfolder I created for better ...
Eric Hepperle - CodeSlayer2010's user avatar
5 votes
2 answers
234 views

Suggestions for tracking a MediaWiki wiki with Git version control?

In my research I found that there seems to be no "single source of truth" for where to post MediaWiki questions. MediaWiki questions have been posted on these many Stack Exchange network ...
Eric Hepperle - CodeSlayer2010's user avatar
1 vote
1 answer
120 views

How do I redirect from an old domain to a new domain in MediaWiki and nginx?

I'm going to move from old domain to new domain. I fixed all the settings, but none worked. While entering the old domain name in the url, I will encounter the message of not redirecting to the new ...
Sokot Zaman's user avatar
3 votes
1 answer
265 views

mediawiki - make thumbnails of external images

So I have the code [[File:example.jpg|thumb|caption]]. This works fine for local images and files, but I want to host some images externally. I can't just replace example.jpg with a link though, ...
Aiden Greenway's user avatar
3 votes
1 answer
758 views

ServerAlias directive not working on Apache 2.4.49

I have an instance of WordPress set up at https://wordpressinstance.example. I have an instance of MediaWiki set up at https://mediawiki.wordpressinstance.example. The MediaWiki instance is ...
JohnRDOrazio's user avatar
0 votes
0 answers
54 views

How to use mathscr font in Mediawiki

I set up MediaWiki in Ubuntu under Windows 10 WSL2 environment with the math extension up and running. Everything seems fine but I cannot get the latex format \mathscr working. Software setup Ubuntu (...
gamebm's user avatar
  • 101
2 votes
2 answers
144 views

Do short URLs obligate 301 redirects?

Some content management systems such as WordPress and Drupal have Short URLs by default (if the webserver allows it), but at least one other --- MediaWiki, doesn't. Before I continue with the process ...
RAMOS's user avatar
  • 57
2 votes
0 answers
80 views

How to make a content management system to load webpages without a PHP loader and its query strings? [duplicate]

I have a MediaWiki 1.35.2 Hebrew website which is principally all core; I host that website on a shared Apache, Nginx (as reverse proxy), PHP and MySQL hosting environment. The default behavior of ...
RAMOS's user avatar
  • 57
1 vote
3 answers
427 views

When MediaWiki has symbolic links to contents then LocalSettings.php is not found

I use Ubuntu 20.04, Apache/2.4.41 (Ubuntu), PHP 8.0.3 and mediawiki-1.35.1. I extracted mediawiki-1.35.1 archive in /var/www/html/, created symbolic link to its contents in another directory, for ...
hasanghaforian's user avatar
1 vote
0 answers
81 views

I consider if I should delete a /load.php?lang= URL resource and I don't know if it would cause a problem

I have an Hebrew 1.35.1 all-core MediaWiki website; generally I have no significant performance problems reported in Google Page Speed insights with that website besides one problem which occurs in ...
timesharer's user avatar
1 vote
1 answer
183 views

How to determine if APCu is overall lighter than Memcached in a usecase?

I would say that my personal website is at least currently a "small" website. It is a MediaWiki-based all-core website without images at all and of about 750 webpages of generally no more ...
humbleasker's user avatar
3 votes
1 answer
244 views

File ownership for mediawiki and semantic media wiki

I installed mediawiki & semantic mediawiki on a laptop with Ubuntu 20.04. Questions Should the www-data user own every file of mediawiki? Is it better to let root own the files? Should I run ...
Duh Huh's user avatar
  • 33
0 votes
0 answers
111 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 ...
George's user avatar
  • 1
1 vote
1 answer
29 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 ...
86money's user avatar
  • 11
2 votes
2 answers
239 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:...
sneedgar_the_barbarian's user avatar
2 votes
1 answer
32 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 ...
JClaussFTW's user avatar
1 vote
1 answer
66 views

Use a MediaWiki template argument both parsed and unparsed

Suppose I have a simple template Foo The wikitext {{{1}}} renders as <blockquote>{{{2}}}</blockquote> So including {{Foo|<nowiki>'''bold''' and ''italics''</nowiki>|'''...
rampion's user avatar
  • 113
1 vote
0 answers
61 views

Cleanup after deleteArchivedFiles.php?

Running deleteArchivedFiles.php --delete produces hundreds of these: Searching for and deleting archived files... Notice - file '2oh3r45yhkkolh6rkar4vva7d31e1at.zip' not found in group 'deleted' ...
user avatar
3 votes
1 answer
882 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 ...
zhekaus's user avatar
  • 131
6 votes
3 answers
1k views

Why can't update.php connect to my database when my site connects to it just fine?

I'm trying to upgrade my MediaWiki installation. My site runs just fine locally at http://localhost:8888/. I can connect to my database using the "Socket" connection on Sequel Pro on port 8888. My ...
intcreator's user avatar
3 votes
1 answer
50 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 ...
user104692's user avatar
3 votes
1 answer
99 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 ...
OOZ.MOO's user avatar
  • 43
2 votes
0 answers
104 views

Is there a problem in adding Adsense verification code via JavaScript?

I work with a certain CMS (MediaWiki) in which there is no direct control over HTML (as there is in Drupal Twig files for example); Hence, in this case, I have to load my Adsense verification code via ...
user avatar
5 votes
1 answer
78 views

Can it be destructive to disallow all MediaWiki:Special pages in robots.txt?

I consider preventing indexation of all of MediaWiki 1.33.0's Special pages; (In Hebrew, "מיוחד" means "special"): Disallow: /מיוחד:* Disallow: /index.php?title=מיוחד:* Disallow: /index.php%3Ftitle%...
user avatar
1 vote
0 answers
27 views

How to automate a tag for generating print-only and no-print Images in a specific Mediawiki skin?

I have multiple images in my wiki page that have to be set to 728px for the online version. I want these images to be printed with full resolution. I have long searched for a solution and in the end ...
OOZ.MOO's user avatar
  • 43
0 votes
1 answer
148 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> ...
user avatar
5 votes
1 answer
9k 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:...
user avatar
0 votes
1 answer
250 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 ...
user avatar
2 votes
1 answer
147 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 ...
user avatar
0 votes
2 answers
121 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 ...
user avatar
1 vote
1 answer
327 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 ...
user avatar
1 vote
1 answer
125 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. ...
user avatar
1 vote
1 answer
58 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 ...
user avatar
0 votes
1 answer
192 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 ...
user avatar
1 vote
1 answer
55 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 ...
user avatar
3 votes
1 answer
66 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....
user avatar
0 votes
0 answers
26 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 ...
user avatar
1 vote
1 answer
106 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&...
user avatar
1 vote
2 answers
88 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?
user avatar
2 votes
1 answer
227 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-...
billpg's user avatar
  • 323
3 votes
1 answer
93 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 ...
user avatar
0 votes
1 answer
189 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 ...
user avatar
0 votes
1 answer
138 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 ...
user avatar

1
2 3 4 5 6