Project:Support desk

Jump to: navigation, 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, Q&A 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".
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
191.101.244.70 (talkcontribs)

I added some javascript for some popups and tracking software to /MediaWiki:Common.js and its not working. What am I doing wrong or what is the best way to do this?

MarkAHershberger (talkcontribs)

Can you point to what your wiki so we can have a look?

Reply to "Adding javascript to header or footer"

Images not accepting formatting parameters

4
63.97.247.130 (talkcontribs)

Just upgraded a server and moved my Wiki. All images are now not displaying formatted values such as right, thumb, caption, center, etc. For example if I enter [[File:Image1.png|center|border]], the image is displayed with default parameters. If implementing a thumb format, default as well. No wiki formatting for images seem to work. I am running Mediawiki 1.21.3. Unfortunately my Wiki is not on a public IP so I can't direct you to it.

Ciencia Al Poder (talkcontribs)

It's hard to imagine what happens... so you say if you use [[File:Image1.png|thumb]] the image is not right-aligned and instead it displays in line with the text?

Are just images or the whole wiki interface displays without styles applied?

63.97.247.130 (talkcontribs)

just the images. images will not apply thumb, caption, right, etc.. All other wiki syntax seems to work properly

MarkAHershberger (talkcontribs)

Is it possible for you to point us to your wiki?

Updating a Realy Realy old version (1.15)

10
Summary by MarkAHershberger

Don't forget to update php, too!

Jessemcternan (talkcontribs)

I would like to update my local wiki to the most up-to-date version. The majority of the webpages on this topic I found were for version much newer than mine. Can this level of upgrade even be done? I have quite a bit of information that I don't want to manually re-enter.

MediaWiki 1.15.1
PHP 5.3.2-1ubuntu4.30 (apache2handler)
MySQL 5.1.73-0ubuntu0.10.04.1

My wiki is local. I don't have a link for anyone to follow.

Thank you very kindly for your help.

88.130.95.230 (talkcontribs)

Hi Jesse!

Yes, what you want is possible.

It is important that you make sure you have a working backup of your wiki: The database and the files. Put that on an external disk, unplug it and keep it far away from your actual computer. After that you can try the upgrade and you won't loose anything, should you screw up.

Here is a complete guide on how to upgrade: Upgrade!

If you have further questions, do not hesitate to ask!

Florianschmidtwelzow (talkcontribs)

Hi! First: Good decision to upgrade, MediaWiki 1.15 is already unsupported for a long time :P

You should following the Upgrade tutorial when upgrading. In the FAQ section you'll find a question "How do I upgrade from a really old version? In one step, or in several steps?" :) If you have any specific problem when upgrading, feel free to ask here!

Btw.: You should really really do a backup, it's always possible, that data will be lost after or during an upgrade, even if the last 999 upgrades went fine :)

Please remember, that the latest MediaWiki version needs at least PHP 5.3.2, so you have to upgrade your php version, too.

88.130.95.230 (talkcontribs)
Please remember, that the latest MediaWiki version needs at least PHP 5.3.2, so you have to upgrade your php version, too.

Oh, that's right and not right at the same time. :-) MediaWiki 1.25 in fact needs PHP 5.3.3 at least. That means, if Jesse wants to upgrade to 1.25, he will in fact need to upgrade PHP as well. I missed that. However, according to Compatibility#PHP, MediaWiki 1.24 will work nicely also with PHP 5.3.2.

So for MediaWiki 1.25, a PHP upgrade would be necessary. MediaWiki 1.25 is working nicely also on newer PHP versions; e.g. for Ubuntu, PHP 5.5 is available. This version can be used to run MediaWiki on it.

Florianschmidtwelzow (talkcontribs)

> to the most up-to-date version

:D :P But you're right, 1.24 would work :)

Jessemcternan (talkcontribs)

UPDATE (and thanks for your support so far):

- I backed up my config files, extensions, and images

- I then updated to Ubuntu 12 (from 10). The wiki was still working!

- Then (curse my brash impatience) I updated to Ubutnu 14

Now, the wiki is not found, "Not Found  The requested URL /mediawiki/ was not found on this server."

Any suggestions? I should have stayed with Ubuntu 12...

-

My current Setup:

PHP 5.5.9-1ubuntu4.12

mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.3

Apache/2.4.7 (Ubuntu)

88.130.117.48 (talkcontribs)

Hi!

I guess the Ubuntu upgrade has also upgraded the Apache webserver, right? In that case, I think that something in the server configuration is missing now... Maybe the webroot is pointing to a wrong path now or a virtual host configuration (I don't know if you used one in your old Ubuntu version) is missing.

Jessemcternan (talkcontribs)

UPDATE (Good news)

- My local wiki is running again after updating to Ubuntu 14

- Apache was also updated, which caused configuration problems

- phpmyadmin is simply gone now! The folder is not on my comp anymore...

So, I backed up my database using mysqldump. I also backed up config files, extensions, and images.

Any other things recommended before attempting the upgrade?

Thank you all very much.

Current Version

MediaWiki 1.15.1

PHP 5.5.9-1ubuntu4.12 (apache2handler)

MySQL 5.5.44-0ubuntu0.14.04.1

MarkAHershberger (talkcontribs)

You should be good to go.

88.130.69.182 (talkcontribs)

If you used a custom skin, which does by default not come with MediaWiki, then you should backup that skin as well.

Apart from that, you should have everything you need.

Upgrading from 1.22.4 to 1.25

5
Summary by MarkAHershberger

Probably the easiest way to do things if you only have FTP access is to

  1. extract the new tarball over the old installation.
  2. run the web-based SQL update.

That should be it.

77.101.154.218 (talkcontribs)

I want to upgrade my MediaWiki installation from where it currently stands:

To the latest version (1.25, I believe?).

Every time I visit the MediaWiki page for upgrading, I get a bit lost. I'm technically adept, but it seems the MediaWiki upgrade instructions are written for people comfortable with Linux server administration, which is not me.

I'm most comfortable with graphical FTP software, and simple instructions that don't cover every edge case.

What gives me most pause is the note that there are several schema changes from 1.24 to 1.25, and that the database will need to be updated or somesuch.

Can anyone confirm what steps I need to take, specifcally, to upgrade from my version to the latest? I'm a bit lost and I'm worried about doing damage to my MediaWiki installation that I won't know how to fix!

88.130.69.182 (talkcontribs)

Hi!

If you are not completely sure about what you are doing, you have to make sure that you have a backup: The files of your wiki and the database. I would say that I do know how to update MediaWiki and I am creating a backup before anyway.

Upgrade is the page you should be following.

For the upgrade, you can use FTP to upload the new files. However, compared to directly extracting a tarball on the server, that will takes ages. But it should work.

For the database, you will have to run an update script. The recommended way of doing that is to run it from the shell. However, there also is a web-updater, which you can run with your webbrowser. Since it is called through the browser, it has a possibility to fail, mainly because of a timeout, which might be reached somewhen during the database update. We won't be able to tell you, if that happens in your case, the details on the how, why and when are on the upgrade page. If a timeout does happen, you will have to restore the database from the backup. Especially there is no guarantee that running the web-updater again will fix the DB at that point - it most likely will not.

MarkAHershberger (talkcontribs)

I'm glad that you're upgrading.

First, back every thing up. Get a SQL dump from phpMyAdmin and copy the files to a zip file or something.

Probably the easiest way to do things if you only have FTP access is to

  1. extract the new tarball over the old installation.
  2. run the web-based SQL update.

That should be it.

77.101.154.218 (talkcontribs)

You've both been a great help! Once I realised it was as simple as two steps, I took the plunge, and am happy to say I'm running 1.25 happily.

I dare say the Upgrade page could be a little more newbie-friendly, though! I'm not at all afraid to get stuck in, but it gives the impression that there are a million and one things to make sure of before one starts, when it turns out most of it can be ignored (At least in my case).

Thanks for the help, both of you.

88.130.110.179 (talkcontribs)

The upgrade page in fact is the central place for upgrading questions. It is true that a number of the section on it may just be irrelevant in many cases. Anyway, I guess there is nothing superfluous on it - there actually are cases, where more or less all of that, not at the same time, but on a case by case view, can be relevant.

Cooperiens (talkcontribs)

Hello, I would like to get help to integrate the infobox template in my Wiki.

I am French, and knows very little English, and I do not understand how installed "Extension: Scribunto" and I do not have a page "Special: Import"

How to do ?

MarkAHershberger (talkcontribs)

If you don't have a Special:Import page, then are you sure you're running a MediaWiki wiki?

Reply to "Installing infobox problem"

can shared hosting support mediawiki?

2
Summary by MarkAHershberger

If this hosting fullfils the requirements from Manual:Installation requirements, then yes.

Enhu~mediawikiwiki (talkcontribs)

I'm in a shared hosting plan but want to create a small wiki site. is this possible?

88.130.75.1 (talkcontribs)

If this hosting fullfils the requirements from Manual:Installation requirements, then yes.

Summary by MarkAHershberger

This is not the right place to ask. Please see the rename policy.

Beath111 (talkcontribs)

My nickname - Участник:Beath111

I want to change - Pack

Thank's

MarkAHershberger (talkcontribs)

This is not the right place to ask. Please see the rename policy.

Is there a number I may call to get a tech to log onto my computer and see what my problem is ? I cannot upload to GED MATCH.COM

1
Summary by Ciencia Al Poder

This question doesn't seem to be related to MediaWiki

2602:306:370E:8F10:C855:643:507A:221F (talkcontribs)

Is there a number I may call to get a tech to log onto my computer and help me upload to GED MATCH.com

German Mediawiki 1.24.2 default namespace in recent changes

2
Summary by Bmrberlin

I found it hard coded in SpecialRecentchanges.php

Bmrberlin (talkcontribs)

I would like to set up a general default namespace in recent changes. Right now it is set to "all". Any ideas?

Bmrberlin (talkcontribs)

This is hard coded in SpecialRecentchanges.php@Bmrberlin

copyrigth to the artist

2
Summary by MarkAHershberger

This isn't the place to get support for a Wikipedia wiki. Here you can ask for general support for the MediaWiki software.

ALMAwike (talkcontribs)

I would like to know, how were can I get copyrigth information to use a image from the wikepedia

Florianschmidtwelzow (talkcontribs)

This isn't the place to get support for a Wikipedia wiki. Here you can ask for general support for the MediaWiki software. But in general you should see copyright information for an image in wikipedia if you open the file page of the image (just click on the image).