Project:Support desk

About this board

Welcome to the MediaWiki Support desk. This is a place where you can ask any questions you have about installing, using or administrating the MediaWiki software.

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which version of MediaWiki you are using, as found on your wiki's Special:Version page:
  2. If possible, add $wgShowExceptionDetails = true;error_reporting( -1 );ini_set( 'display_errors', 1 ); to LocalSettings.php in order to make MediaWiki show more detailed error messages.
  3. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  4. To start a new thread, click the box with the text "Start a new topic".

I successfully uploaded files with 'hwp' and 'hwpx' extensions on MediaWiki, but they're not downloadable. What should I do?

4
Shb06202 (talkcontribs)

You've successfully uploaded files with 'hwp' and 'hwpx' extensions on MediaWiki, but they're not downloadable. What should you do?

Shb06202 (talkcontribs)

In the LocalSettings.php file, I added the following lines:

# File upload $wgStrictFileExtensions = false; $wgCheckFileExtensions = false; $wgVerifyMimeType = false; $wgFileExtensions[] = 'hwpx'; $wgFileExtensions[] = 'zip'; $wgProhibitedFileExtensions = array_diff($wgProhibitedFileExtensions, ['hwpx']); // $wgTrustedMediaFormats[] = 'ARCHIVE'; $wgTrustedMediaFormats[] = 'application/zip';


Despite adding these lines, only uploads are possible, and downloads are not working.

Ciencia Al Poder (talkcontribs)

What error do you get when downloading them?

Shb06202 (talkcontribs)

When attempting to download, instead of a download popup, a broken screen is displayed, and the download is not initiated.

Reply to "I successfully uploaded files with 'hwp' and 'hwpx' extensions on MediaWiki, but they're not downloadable. What should I do?"

Help with formating

1
ItsGerryz (talkcontribs)

I should begin with saying im completely unfamiliar with coding in HTML or anything that has to do with MediaWiki.

I have managed to install MediaWiki on Localhost (Im using Apache2 on an old linux laptop i recently got, its a miracle that i even managed that!)

I want to be able to arrange a wiki page as i wish (for example, Wikimedia's home page has an interesting format! I want to make something parralel to that) and also i want to be able to put these boxes that are found both in the MediaWiki website and Wikipedia itself, that are blue with an 'i' icon, or red with an '!' icon. I think i have also seen yellow boxes with a coresponding triangular symbol. (just to illustrate my unfamiliarity, i dont even know how these 3 are called.)

Any help will be extremely appreciated!

Reply to "Help with formating"

Adding a template to a Mediawiki installation.

1
PeterEasthope (talkcontribs)

Hi,

My ISP allows an instance of Mediawiki 1.41.1. A color template renders as "Template:color" in red. Similarly for the font color template. Meaning that the templates are not available; correct? How can that be fixed? Where can definitions of the color and font color templates be found? How can I add them to my Mediawiki instance? Thanks, ... PeterEasthope (talk) 16:10, 7 May 2024 (UTC)

Reply to "Adding a template to a Mediawiki installation."
2001:1C03:5F0F:1800:F6AE:FA91:87A3:8FA9 (talkcontribs)

My account is gone I can't log in and I pait for the membership

TheDJ (talkcontribs)

We dont have memberships. You are likely in the wrong place, this is the support desk for the free Mediawiki software package.

Reply to "Hello"
Freedomfighterz (talkcontribs)

Hello,

Not sure if this is the right place to ask but i want to ask something.

When blocking people on my own wiki i noticed they cant use the usertalk page. Is there any way i can make it so they can use that function to use on an admin usertalk for something like appealing a ban?

Any help would be appreciated, thanks.

Reply to "Blocks"

Page not getting marked for translation

1
Dan Shick (WMDE) (talkcontribs)

Hi there,

We created a template for the new Wikibase main page. The latest revisions are two weeks old and have not been marked for translation -- perhaps because this is the revision set in which we removed the DoNotTranslate template. Would it be possible to get this page marked for translation?: Template:Wikibase main page

Thanks, and if we did something wrong in this process please let us know so we can avoid this situation in future.

Reply to "Page not getting marked for translation"

JS Library for MediaWiki

3
מיכי י-ם (talkcontribs)

I want to create a js library for using indexedDB Where do I upload the code and how? In addition, where are development guidelines?

Bawolff (talkcontribs)

Can you give more context? Who is this library for, what code would be using it?

מיכי י-ם (talkcontribs)

I didn't understand the question. I want to create a basic library for a variety of uses, it will be used on wikis to create local databases, store information in them and retrieve it.

Reply to "JS Library for MediaWiki"

remove personal identifiable information

3
Luciferindcok21 (talkcontribs)

How to remove personal identifiable information from a given user.Is there any extensions similar to Extension:RemovePII . How to get the RemovePII for mediawiki 1.39, the default download is compatible only with mediawiki 1.41.

  1. How to remove page history older than 2 months?@Osnard
Bawolff (talkcontribs)

See Suppression.


By default this feature isn't enabled but it is builtin, so you have to gove admins additional user rights

Luciferindcok21 (talkcontribs)

@Bawolff could you please explain how?

Reply to "remove personal identifiable information"

1.39 how to setup mobile skin?

4
2003:C2:3F21:FD00:9449:AC0F:F20E:94B7 (talkcontribs)

Mediawiki 1.39.6, PHP 7.4.3, MySQL 8.0.36

wfLoadExtension( 'MobileDetect' );
wfLoadExtension( 'MobileFrontend' );
wfLoadSkin( 'MinervaNeue' );
$wgMFDefaultSkinClass = 'SkinMinerva';
$wgDefaultMobileSkin = 'MinervaNeue';
$wgMinervaEnableSiteNotice = true;
$wgMFAutodetectMobileView = true;
$wgMFEditorOptions = array(
        'anonymousEditing' => false,
        'skipPreview' => false
);


Till 1.35 we used to have MinervaNeue as mobile skin. With 1.39, this doesn't work anymore. Mobile devices apparently use the vector skin. What will i have to do to make the mobile skin work?

The mediawiki logfile is full of thousands of lines which don't say nothing to me, by filtering "mobile" i found one interesting line:

[resourceloader] Module "ext.MobileDetect.mobileonly" not loadable on target "mobile".

???

Bawolff (talkcontribs)

Do you have the correct versions of all your extensions? You need 1.39 version of Minerva and MobileFrontend etc.

2003:C2:3F21:FD00:E5D4:4DFC:FAFA:3692 (talkcontribs)

I am quite sure. MobileDetect 2.2 (fc3a66e) 18:49, 11. Feb. 2024, MobileFrontend 2.4.0 (7dc20b0) 07:36, 4. Mär 2024, MinervaNeue – (d515f6a) 08:24, 29. Apr. 2024

These are the versions I get when using ExtensionDistributor and SkinDistributor using target "1.39"

In the desktop browser, skin MinervaNeue has got the look. After login, of course. On my mobile, the skin is s.th. like vector, whether I am logged in or not. This means even when I select MinervaNeue in my user preferences!

Certainly the problem is sitting here in front of my screen, but I've got no more ideas where to look.

Pspviwki (talkcontribs)

How about $wgDefaultMobileSkin = 'minerva';

Reply to "1.39 how to setup mobile skin?"

$wgUsePathInfo A problem by any definition

3
77.127.126.137 (talkcontribs)

MediaWiki ver 1.41

I had this problem shown here:

Topic:Xmvyl460z5y8k72q

So as written there I set $wgUsePathInfo = false; and that solved it

But then we get this problem:

Topic:X7zabcz2fkhb68rs

And here they write that the solution to this is: $wgUsePathInfo=true;

What to do? Is there a way to solve this?

Osnard (talkcontribs)
77.127.126.137 (talkcontribs)

I don't have this word in the LocalSettings folder

I didn't have wgUsePathInfo either until this problem

Reply to "$wgUsePathInfo A problem by any definition"