Project:Support desk

Jump to navigation Jump to search

About this board

vde   Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions!

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Wikimedia Developer Support, Q&A, mwusers (unofficial forum) etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
99.42.199.89 (talkcontribs)

Long story short but we had someone give us a "dump" of our mediawiki and we can browse through all the files in Finder on a Mac. I have folders such as "cache, docs, extensions, images, includes, languages, etc". What I'm looking for is some sort of XML file in this dump that has page content? I can find all of the images we uploaded but no pages or page content. Does anyone know the structure well enough to help me navigate to the correct location?

Appreciate any help!

AhmadF.Cheema (talkcontribs)

The pages' content is supposed to be present in a database dump. It's not present in a MediaWiki folder, it has to be separately backed up.

A MediaWiki backup consists primarily of two parts: the directories backup (specifically the images directory) and a separate database backup. If your "dump" is only of the MediaWiki directly, then the content will not be available (though maybe some got saved in the cache).

99.42.199.89 (talkcontribs)

That's what I needed to know, thank you very much!

Reply to "Browse MediaWiki files in Finder"

Member cam braodcast and Mac 10.14.1 update

2
73.140.118.231 (talkcontribs)

After recent 10.14.1 update, cam member broadcast not working. Tried Safari, Chrome, Firefox all with same result. Updated flash, cam image does appear inthe flash settings, but will not broadcast.

Any one find a fix?

AhmadF.Cheema (talkcontribs)

Off topic. Wrong support forum.

Reply to "Member cam braodcast and Mac 10.14.1 update"
216.106.102.12 (talkcontribs)

How does one go about making the content of a page auto flow into two columns? I have used multicol in the past but I understand this is being deprecated?

What is the current, correct way to create columns? I tried colbegin, div col, colstart, and some others but they ether do nothing or display something like "Template:Columns Start" in red.

Thanks

AhmadF.Cheema (talkcontribs)
216.106.102.12 (talkcontribs)

I took a look at < title=Template:Div_col&action=edit > on my site vs the wikipedia one referenced from the link you added. They payload looks quite different. (this is a fresh install of the mediawili docker container with my data migrated).

FWIW, div col is the one that doesn't seem to do anything... the text is still in single column mode.

Is it just a matter of copying and pasting from the link to mine and saving? Is this how templates are supposed to be dealt with? I guess I'm worried about breaking something.

AhmadF.Cheema (talkcontribs)
216.106.102.12 (talkcontribs)

Thanks for the link. I was able to get the template exported/imported successful once I figured out what to do with the interwiki prefix and installing extension Scribunto.

Using \{\{div col\}\} still doesn't work though. Just doesn't do anything to the flow of the text - like it's ignored.Loading the doc page locally it appears messed up - like the columns are not set properly, element placement off - like it's missing CSS styles.

I'll have to dig into it further. If you have any insights it would be appreciated.

Thanks.

AhmadF.Cheema (talkcontribs)

You need to include in your Wiki's MediaWiki:Common.css the following from MediaWiki:Common.css:

/* Reset top margin for lists embedded in columns */
div.columns {
	margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}

However, there probably are more CSS rules that need to be added too, not sure where to find them, though.

Also, when importing did you remember to "[c]heck the box 'Include templates'"?

161.184.220.186 (talkcontribs)

Ah, yes - that makes sense. I did include the related templates on the export and it brought over a few dozen (more?) related templates and modules so I think I'm good that way. Your CSS comment makes a lot of sense.

I am off site today so won't be able to mess with it till tonight/tomorrow.

Thanks again.

Reply to "Help with columns?"

з Hello!! I in the year one already on this web-site. I can not remember the login password of mail that I can do

1
2A00:7C80:0:A1:406:200:0:1031 (talkcontribs)

з Hello!! I in the year one already on this web-site. I can not remember the login password of mail that I can do

Reply to "з Hello!! I in the year one already on this web-site. I can not remember the login password of mail that I can do"
Gustmd7410 (talkcontribs)
TheDJ (talkcontribs)
Gustmd7410 (talkcontribs)

Thank you for replying, but I didn't mean about GET parameters. I want to know about POST parameters which can use in form. I'm sorry that the question isn't clear.

TheDJ (talkcontribs)

["pagetitle", "model", "reason", "wpEditToken", "title"] should be the key names

This page is a 2 step form, but if pagetitle and title have the same value and are both submitted at the same time, then it should work as a single step as well.

Gustmd7410 (talkcontribs)

When I tested, it seems that the "title" key does nothing... When I changed value of it on second step, nothing changed. And even when I deleted the input with "title" name on the same step, nothing changed either. It works well. And I could find "redirectparams" key, what does it? I expected that GET parameters are setted into its value when I send the form like wpExtraQueryRedirect. So I changed its value, but nothing changed.

TheDJ (talkcontribs)

redirectparams is a feature of special pages that allows extensions to preserve some additional context. You can ignore it.

Reply to "Parameters to Special:ChangeContentModel"
Sylvain258 (talkcontribs)

Hi,

I have this problem : I modify Common.css to change the look of my website. I edit as admin but when I disconnect, I refind look of the beginning. The look to admin interface is not important. Anyone can help me ?

Thanks:)

AhmadF.Cheema (talkcontribs)

Can you provide a link to your website?

Reply to "Problem changing Common.css"

An index of all the pages in your wiki?

2
2001:630:53:B7A:E575:6B7C:ABEB:D63F (talkcontribs)

Is there any way to see a list (index?) of all the pages in your wiki?

AhmadF.Cheema (talkcontribs)
Reply to "An index of all the pages in your wiki?"

Getting Exception encountered, of type "Error"

3
AndalayBay (talkcontribs)

One of the pages on one of our wikis is giving this error. How do I figure out what's wrong with the page? I'm not very familiar with wikis. I'm a server administrator and I just maintain the server software for the wiki farm. The wiki in question was transferred from another server, so the page was created when the wiki was hosted on the other server. The wiki uses a lot of extensions and up until now, I've been able to figure out which extensions it needs, but it's entirely possible this page needs an extension that's not installed. I'd appreciate some advice on how to debug this issue.

AhmadF.Cheema (talkcontribs)

In your LocalSettings.php, set:

$wgShowExceptionDetails = true;
$wgDevelopmentWarnings = true; error_reporting( -1 ); ini_set( 'display_errors', 1);

For details, see Manual:How to debug.

AndalayBay (talkcontribs)

Thanks, I'll check those out.

Reply to "Getting Exception encountered, of type "Error""

One of my wikis failed gracefully with the following message:"It is not possible to determine the wiki ID."

2
Newman2 (talkcontribs)

MediaWiki Version: 1.30

PHP Version: 5.6.38 (litespeed)

Website: en.en.penguingamestudio.com/mw19/

Hello. I have been working on a wiki family similar to Wikimedia Foundation, and I experienced several problems. My third wiki, English Penguingame Studio, failed gracefully with the following messages: "It is not possible to determine the wiki ID." I set up the database and everything, yet I still get the same message. The main wiki is at penguinicewikis.com. How can I fix this on my wiki?

Newman2 (talkcontribs)

Anyone have suggestions?

Reply to "One of my wikis failed gracefully with the following message:"It is not possible to determine the wiki ID.""

Custom map with Kartographer or Maps

1
5.146.73.41 (talkcontribs)

Hi,

so I made a custom map in with Leaflet and would like to integrate it into my Wiki. I have both Kartographer and Maps installed in my Wiki, but i can't find what I have to do to fed these extensions the url of my map.

Before you answer this question for both extensions i would prefer Kartographer.

Reply to "Custom map with Kartographer or Maps"