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".

why do the kombumerri people still live in the gold coast.

1
203.100.2.130 (talkcontribs)

this inquiry question is for schoolies and some inquiry questions are similar to this, so the quotation of this question is Aboriginal according to the Wikipedia funds of the Australian government. 

Reply to "why do the kombumerri people still live in the gold coast."

How do I change the colour?

1
MWQs (talkcontribs)

Can I make just slight modifications to the existing skins? I like the layout and functionality of vector (or whichever one it is that matches most Wikipedias?) but I want to give it some themed colours to suit our own

wikiCan I locate the file for that skin (where?) and just change a few he codes? Or is it more complicated than that?

Reply to "How do I change the colour?"

Doesn't recognize my original or new name, new e-mail address, and passwords

1
KramdenII (talkcontribs)

I keep trying to sign into Closing Logos. When I enter my e-mail address (which has changed from the previous one) and request a new password, I receive no e-mail. Then I try to establish a new account name and use the temporary password to create a new password, but it keeps coming in as "not identified."

What's the problem? Has Closing Logos kept me from signing back in again? I don't recall making any bad comments; if I disagree with something I just overlook it.

Please tell me what I can do about this. Thanks.

Reply to "Doesn't recognize my original or new name, new e-mail address, and passwords"

Media Wiki Installing error

10
Nexovia (talkcontribs)

I am facing this problem and I have tried opening php.ini file and deleting ; this from extension I am using Xampp local host for all process can somone help to get out fro this.

MediaWiki 1.41 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:

Malyacko (talkcontribs)

You need to install the PHP intl extension. I am not sure how to rephrase the error message to make it clearer, please elaborate what is unclear.

Nexovia (talkcontribs)

The problem as I has mentioned is the exact problem it says for installation of php so how could I do it.

Bawolff (talkcontribs)

What happened when you deleted the ; ?

Did you restart xampp? You have to restart for changes to take effect

Nexovia (talkcontribs)

I have restarted xamppp but it's not working.

Malyacko (talkcontribs)

It is still not clear to me: Did you successfully install the PHP intl extension?

Nexovia (talkcontribs)

I am confused in actually how to install it I have't installed it yet.

Malyacko (talkcontribs)

That depends on your operating system. Please refer to PHP documentation as this question is not related to MediaWiki itself but to PHP (which MediaWiki uses).

Nexovia (talkcontribs)

From where can I get help of this topic at all.

Malyacko (talkcontribs)

In a PHP support forum. Or maybe from your hosting provider if you have one.

Reply to "Media Wiki Installing error"
2003:C2:3F21:FD00:29DF:84AE:2326:3100 (talkcontribs)
Reply to "Importing gadgets"

Double URLs on certain links, other URL issues

1
Summary by MisterGoon

Silly me, I realised that the server needed to include the http:// at the start, and not simply be www.domain.com

MisterGoon (talkcontribs)

Hello, I have just installed MediaWiki following the "Running MediaWiki on ArchLinux" guide.

I am currently getting an issue where certain actions forward the user to an incorrect URL. Namely, if editing a page and hitting "save" the user gets redirected to MYDOMAIN/mediawiki/MYDOMAIN/mediawiki/index.php/Main_Page

This is happening with other links within MediaWiki as well, where they redirect to a URL where the domain appears twice.

I have not attempted to make short links, my wgScriptPath is set to "/mediawiki" and my wgServer is set to (domain redacted) "mydomain.com".

I've been trying to read documentation but nothing I've tried has been able to fix the issue, I'm hoping I've just missed something simple.


Any help is greatly appreciated!

MWException from line 724 of WikiImporter.php: Expected <mediawiki> tag, got mysqldump

6
Realaaa (talkcontribs)

hi guys!

I was sure I'd find something quickly on this, but getting stuck it seems - and cannot find exactly the same error which is weird

basically trying to restore my old wiki XML dump on newer wiki, which is running on Synology

  • MediaWiki 1.39.2
  • PHP 8.0.28 (fpm-fcgi)
  • MariaDB 10.11.2-MariaDB
  • ICU 64.2


the file is quite big and has multiple languages in it (mostly english, but also Russian and Japanese etc).

what else can I try? I am hoping that I can import it like this (without having to restore older files & try to match MySQL version for mysqldump which I also have etc etc).

appreciate any tips !

user@Syn:/var/services/web_packages/mediawiki/maintenance$ php74 importDump.php --conf ../LocalSettings.php < /volume1/Syn/User/mediawiki_backups/wikidb_20140913.xml

MWException from line 724 of /volume1/web_packages/mediawiki/includes/import/WikiImporter.php: Expected <mediawiki> tag, got mysqldump

#0 /volume1/web_packages/mediawiki/maintenance/importDump.php(364): WikiImporter->doImport()

#1 /volume1/web_packages/mediawiki/maintenance/importDump.php(305): BackupReader->importFromHandle(Resource id #760)

#2 /volume1/web_packages/mediawiki/maintenance/importDump.php(139): BackupReader->importFromStdin()

#3 /volume1/web_packages/mediawiki/maintenance/includes/MaintenanceRunner.php(309): BackupReader->execute()

#4 /volume1/web_packages/mediawiki/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()

#5 /volume1/web_packages/mediawiki/maintenance/importDump.php(369): require_once('/volume1/web_pa...')

#6 {main}

Realaaa (talkcontribs)

just for reference beginning of this XML file is


<?xml version="1.0"?>

<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<database name="wikidb">

<table_structure name="mw_archive">

<field Field="ar_id" Type="int(10) unsigned" Null="NO" Key="PRI" Extra="auto_increment" Comment="" />

<field Field="ar_namespace" Type="int(11)" Null="NO" Key="MUL" Default="0" Extra="" Comment="" />

<field Field="ar_title" Type="varbinary(255)" Null="NO" Key="" Default="" Extra="" Comment="" />

<field Field="ar_text" Type="mediumblob" Null="NO" Key="" Extra="" Comment="" />

<field Field="ar_comment" Type="tinyblob" Null="NO" Key="" Extra="" Comment="" />

<field Field="ar_user" Type="int(10) unsigned" Null="NO" Key="" Default="0" Extra="" Comment="" />

<field Field="ar_user_text" Type="varbinary(255)" Null="NO" Key="MUL" Extra="" Comment="" />

<field Field="ar_timestamp" Type="binary(14)" Null="NO" Key="" Default="" Extra="" Comment="" />

<field Field="ar_minor_edit" Type="tinyint(4)" Null="NO" Key="" Default="0" Extra="" Comment="" />

<field Field="ar_flags" Type="tinyblob" Null="NO" Key="" Extra="" Comment="" />

<field Field="ar_rev_id" Type="int(10) unsigned" Null="YES" Key="MUL" Extra="" Comment="" />

<field Field="ar_text_id" Type="int(10) unsigned" Null="YES" Key="" Extra="" Comment="" />

<field Field="ar_deleted" Type="tinyint(3) unsigned" Null="NO" Key="" Default="0" Extra="" Comment="" />

<field Field="ar_len" Type="int(10) unsigned" Null="YES" Key="" Extra="" Comment="" />

<field Field="ar_page_id" Type="int(10) unsigned" Null="YES" Key="" Extra="" Comment="" />

<field Field="ar_parent_id" Type="int(10) unsigned" Null="YES" Key="" Extra="" Comment="" />

<field Field="ar_sha1" Type="varbinary(32)" Null="NO" Key="" Default="" Extra="" Comment="" />

<field Field="ar_content_format" Type="varbinary(64)" Null="YES" Key="" Extra="" Comment="" />

<field Field="ar_content_model" Type="varbinary(32)" Null="YES" Key="" Extra="" Comment="" />

<key Table="mw_archive" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="ar_id" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="name_title_timestamp" Seq_in_index="1" Column_name="ar_namespace" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="name_title_timestamp" Seq_in_index="2" Column_name="ar_title" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="name_title_timestamp" Seq_in_index="3" Column_name="ar_timestamp" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="usertext_timestamp" Seq_in_index="1" Column_name="ar_user_text" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="usertext_timestamp" Seq_in_index="2" Column_name="ar_timestamp" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_archive" Non_unique="1" Key_name="ar_revid" Seq_in_index="1" Column_name="ar_rev_id" Collation="A" Cardinality="0" Null="YES" Index_type="BTREE" Comment="" Index_comment="" />

<options Name="mw_archive" Engine="InnoDB" Version="10" Row_format="Compact" Rows="0" Avg_row_length="0" Data_length="16384" Max_data_length="0" Index_length="49152" Data_free="5242880" Auto_increment="1" Create_time="2014-09-13 02:23:19" Collation="binary" Create_options="" Comment="" />

</table_structure>

<table_data name="mw_archive">

</table_data>

<table_structure name="mw_category">

<field Field="cat_id" Type="int(10) unsigned" Null="NO" Key="PRI" Extra="auto_increment" Comment="" />

<field Field="cat_title" Type="varbinary(255)" Null="NO" Key="UNI" Extra="" Comment="" />

<field Field="cat_pages" Type="int(11)" Null="NO" Key="MUL" Default="0" Extra="" Comment="" />

<field Field="cat_subcats" Type="int(11)" Null="NO" Key="" Default="0" Extra="" Comment="" />

<field Field="cat_files" Type="int(11)" Null="NO" Key="" Default="0" Extra="" Comment="" />

<key Table="mw_category" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="cat_id" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_category" Non_unique="0" Key_name="cat_title" Seq_in_index="1" Column_name="cat_title" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<key Table="mw_category" Non_unique="1" Key_name="cat_pages" Seq_in_index="1" Column_name="cat_pages" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" Index_comment="" />

<options Name="mw_category" Engine="InnoDB" Version="10" Row_format="Compact" Rows="40" Avg_row_length="409" Data_length="16384" Max_data_length="0" Index_length="32768" Data_free="5242880" Auto_increment="41" Create_time="2014-09-13 02:23:19" Collation="binary" Create_options="" Comment="" />

</table_structure>

<table_data name="mw_category">

<row>

<field name="cat_id">1</field>

<field name="cat_title">Debian</field>

<field name="cat_pages">18</field>

<field name="cat_subcats">0</field>

<field name="cat_files">0</field>

Ciencia Al Poder (talkcontribs)

importDump.php only accepts XML dumps generated from Special:Export or Manual:dumpBackup.php

Your XML dump seems to be a *database* dump, which is more low-level than MediaWiki's dumps. You should import it directly to the mysql/mariadb database, not with MediaWiki.

Realaaa (talkcontribs)

thanks @Ciencia Al Poder !

I just checked what script I used, it seems like it was dumpBackup.php indeed

I do have a second set of pure .sql files as well, those are indeed created by mysqldump (and those I am trying not to use due to old version)


php /usr/share/mediawiki/maintenance/dumpBackup.php --full --output=bzip2:wikixml-$(date '+%Y%m%d').tar.bz2

Ciencia Al Poder (talkcontribs)
Realaaa (talkcontribs)

@Ciencia Al Poder thanks ! indeed yes, I get that the format is wrong

however I am pretty sure that this was the command which generated the file (unless I'm mixing something up)

my only guess now is that it is some very ancient version - I think that MediaWiki version was 1.18.1 or something like that

I'll have to do via a MySQL restoration indeed, cheers

Reply to "MWException from line 724 of WikiImporter.php: Expected <mediawiki> tag, got mysqldump"

MediaWiki Mobile Access

1
Nexovia (talkcontribs)

I have recently installed MediaWiki and tried accessing it to my android mobile so how can I access that wiki and open it on my mobile?

Reply to "MediaWiki Mobile Access"

File doesn't update

1
Tang Empire (talkcontribs)

Sometimes when I upload a new version of a file, it doesn't change to the new version on pages. Sometimes it changes on one device but not another. Anyone know how to fix this?

Reply to "File doesn't update"

Transclude QueryPage

2
134.34.7.73 (talkcontribs)
Bawolff (talkcontribs)

You have to create a method in your special page called isIncludable that returns true.

Reply to "Transclude QueryPage"