Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Other places to ask for help:

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. 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.
  3. To start a new thread, click "Start a new topic".

In need of help! Setting up first WikiMedia site and getting error PHP/intl extension error.

1
EyeofColeth (talkcontribs)

MediaWiki 1.36 internal error

Installing some PHP extensions is required.

Required components

You are missing a required extension to PHP that MediaWiki requires to run. Please install:

Above is the error I recieved when I went to set up my site. I am completely unsure of what to do! Checking the php files revealed that the 'intl' extension is indeed present, but regardless it is saying it's lacking. Guidance as to aid in ammending this error would be greatly appreciated!

I submitted an account request

1
2605:A601:A80A:B900:0:0:0:11E9 (talkcontribs)

I submitted an account request on July 30. It's now Aug 3. Is the system operating & functional? Could someone look into this please? username was 'seamus'

Reply to "I submitted an account request"
Fokebox (talkcontribs)

Hi!

I have installed Extension:Kartographer to my wiki and after inserting map I see empty map box.

I see the following error via browser and don't know how to fix the problem. Any ideas?

Here is the error: Failed to load resource: the server responded with a status of 403 ()

Malyacko (talkcontribs)

See the second sentence on Extension:Kartographer. You need to set $wgKartographerMapServer to a server which allows you to pull map tiles.

Fokebox (talkcontribs)

And which one can be used? I have following settings:

wfLoadExtension( 'Kartographer' );
$wgKartographerMapServer = "https://maps.wikimedia.org";
$wgKartographerDfltStyle = "osm-intl";

But I still have empty mapbox

Malyacko (talkcontribs)

Any that allows you to pull tiles, but not a Wikimedia one

Fokebox (talkcontribs)

And what $wgKartographerMapServer shall I use to make the extension working?

Reply to "Problems with Maps"

How to make a border in a table only along the top of a row?

1
RedKnight7 (talkcontribs)

I'm trying to make a border along the top of two rows in my table, and only along the top. It has three sets of data in it, so the border is intended to separate them. I'm using this code:

|- style="border: 2px solid;"
 |rowspan=3| All-Terrain
 |rowspan=3| ATS || 1 || L || +60 ||  -60 || 8 || +52 ||+52 || -58
 |-

but it's trying to make a border on all sides of the cells in that row. That's not what I want, but I can't figure out how to fix it:

I just want two rows whose cell tops separate the three main groups (SS, ATS, and PS)

Reply to "How to make a border in a table only along the top of a row?"

Can I change the standard category list layout?

6
MrJConstantine (talkcontribs)

Here's the category list I have: catlist .

What can be done so the category letter and its contents won't separate like it is shown on the screenshot I've provided?

Thank you.

Malyacko (talkcontribs)
MrJConstantine (talkcontribs)

@Malyacko tl;dr :) Is there a simple way to download this patch without installing any software? :)

Malyacko (talkcontribs)

I wrote that you could contribute a patch. The linked patch is abandoned, see review comments in Gerrit

MrJConstantine (talkcontribs)

@Malyacko I don't think I'll be able to do that, because I'm a newbie here :( I don't even have a developer account here and I've never used Gerrit, only Git.

Malyacko (talkcontribs)
Reply to "Can I change the standard category list layout?"

CategoryTree page won't update

1
MrJConstantine (talkcontribs)

Every time I add a new page in order to make it show up in the category tree I have to:

  1. Delete all the code from that page
  2. Save the page
  3. Place the same code again
  4. Save the page

Why won't the simple F5 / Ctrl + F5 / Clearing cache data work? Is that some kind of a bug or I'm missing something?

Reply to "CategoryTree page won't update"

How can I hide the namespace prefix on the category list page?

1
MrJConstantine (talkcontribs)

I'm using the CategoryTree extension and I can hide the namespace prefix in there by specifying hideprefix="always"in the

<categorytree mode="pages" namespaces="Main Collections" hideprefix="always">Collections</categorytree>.

The problem is that when I go to the category list page the namespace prefix is not hidden in there. How can I make it hidden as well?

Thank you.

Reply to "How can I hide the namespace prefix on the category list page?"

Setting up version 1.36.1 with default vector skin will not render

3
Phillipsdr (talkcontribs)

Product Version

MediaWiki 1.31.1

PHP 7.3.20 (cgi-fcgi)

MySQL 5.7.34-log

ICU 64.2

URL - its a government site so not posting the url on a public site.

We are having issue updating Media Wiki from version 1.31.1 to 1.35 or 1.36. We created an empty site; just installed the Media wiki files, created a new localsetting.php file using the default vector skin. The page does not come up. is has weird characters displaying - random letters, special characters, square boxes, black diamonds with question marks in them etc.. With the site not coming up even with the default skin, we cannot add our custom skin, which works great on version 1.31.1 since it is based on the vector skin. We reverted back to version 1.31.1

Malyacko (talkcontribs)
Phillipsdr (talkcontribs)

Thanks Malyacko. In the other threads you mentioned disabling the compression didn't always work. One that seemed to work for most was modifying the includes/MediaWiki.php file and commenting out this line:

$response->header( 'Content-Encoding: identity' );

We will try this approach and let you know if this fixed our issues. They noted that this brought their sites up in all browsers except Firefox.

Reply to "Setting up version 1.36.1 with default vector skin will not render"
Pboboc (talkcontribs)

I recently became an auto-confirmed user, but I still don't have permission to link a translated page to a main page. The page does, however, say that auto-confirmed users can perform this activity. I was auto-confirmed about 20 minutes ago, so perhaps it takes some time? I would like to know more about this/when I'll have permission. I get this message: "This page is currently create-protected and can be created only be established registered users."

Reply to "Linking a translated page"

Can I have 2 pages with the same name within one namespace but different categories?

1
MrJConstantine (talkcontribs)

I have 2 categories: [[Category:Object1]], [[Category:Object2]] where I list methods for different objects. So there may be a situation when I have the same method for both objects which means there will be 2 pages with the same name but relating to different categories. I use input box extension to create pages. I created a page named Select and placed [[Category:Object1]] inside it. Then I created the second page with the same name Select and placed [[Category:Object2]] inside. What it did it took the page Select out from the first category and placed into the second one. When I go to the CategoryTree now I can see that there's no page Select in the first category, but only in the second one. What have I done wrong here? How can I have 2 pages with the same name within one namespace but different categories? Do I have to create different namespaces for each object?

Thank you.

Reply to "Can I have 2 pages with the same name within one namespace but different categories?"