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

How to make infobox sections not appear if not filled?

3
Tang Empire (talkcontribs)

I am using MediaWiki version 1.41.1, and I added a infobox template. My problem is, whenever a section is not filled with text, it will still appear but blank, (but I want it to be not visible completely). I have figured out a bit, but still cannot get the full picture. Here is a wiki page of mine for reference and code: Germany - Heterodontosaurus Balls (heterodontosaurus-balls.com)

All help is appreciated greatly ❤️

Bawolff (talkcontribs)
Tang Empire (talkcontribs)
Reply to "How to make infobox sections not appear if not filled?"

Error: Table 'flow_revision' doesn't exist in ContributionsQuery

2
Davisvawiz (talkcontribs)

How do i fix this

Deprecated: Caller from MediaWiki\Revision\RevisionStore::getRevisionSizes ignored an error originally raised from Flow\Formatter\ContributionsQuery::queryRevisions: [1146] Table 'path_wiki.flow_revision' doesn't exist in /home/path/public_html/mydomain.com/includes/debug/MWDebug.php on line 386

Bawolff (talkcontribs)

Either disable the flow extension, or make sure that all its tables are created (presumably with update.php)

Reply to "Error: Table 'flow_revision' doesn't exist in ContributionsQuery"
Cindymetzdowey (talkcontribs)

I just wanted to say thank you for all the years you have been providing me/us/the community with so much valid information. I have been using Wikipedia for years to gain information on education, receive knowledge, no how, history, music artists, movie artists and so so much more. This is a brilliant site and I hope you continue all the hard work you put into this page, it is magnificent. I actually just read up on the Georgia Guidestones, very interesting article. Thank you, thank you, thank you for your information,. Blessings.

Reply to "Thank you"

Question about file types and user rights

3
89.108.148.55 (talkcontribs)

Is there a way to assign the rights to upload different types based on the user group?

For example to let "user" can only upload .jpg while "sysop" can upload .jpg and .pdf

Can I do something like this in the LocalSettings.php?

Bawolff (talkcontribs)
170.211.126.186 (talkcontribs)

I was wondering the same but except for “defaultuser” to view webpages normally and “defaultadmin” to be able to edit the webpage after a login via a login Ul panel that if “defaultadmin” logs into, it puts it in a user action log and gives the permissions temporarily until the “defaultadmin” logs out or closes the webpage with a browser cookie to store the permissions until the browser (or webpage) is closed.

Reply to "Question about file types and user rights"

Can't query data from category using DynamicPageList3

1
BotBernard (talkcontribs)

Hi, I'm working with a form that sends its responses to individual pages, which are then categorized. I'm trying to retrieve these responses using DynamicPageList3 (DPL3), but I'm having trouble.

When I use the `{{#dpl ...}}` syntax to query the data, I don't get the expected results. Instead, I receive a message like "Template: DPL Extension," as if the DPL3 extension can't find or process my request properly.

I've checked that the names in the format parameter of my DPL3 query are the same as the property names in my form responses. I also made sure that DynamicPageList3 is installed correctly, and I've tried disabling cache results with $wgDplSettings['alwaysCacheResults'] = false;, but I'm still not getting the expected results. I don't know what else I can do to resolve this.

Could you help me understand why this might be happening and what I can do to fix it? Any advice on troubleshooting DPL3 issues or suggestions for resolving this problem would be appreciated.

Here is my query :

{{#dpl:

 category=Liste Appui Assistance
 exclude=Modèle:Appui Assistance
 format=|%|Date|%||%|TraitePar|%||%|QualitéDuDemandeur|%||%|Organisme|%||%|Unité|%||%|Département|%||%|Problématique|%||%|Thématique|%||%|Cadre|%||%|ObjetDemandeRésumé|%||%|SuiviAfaire|%||%|TypeAppui|%||%|DelaiTraitement|%
 mode=userformat

}}

Reply to "Can't query data from category using DynamicPageList3"

Media Wiki Installing error

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

Reply to "Media Wiki Installing error"

DynamicPageList.php file not found

3
2A01:CB06:B864:339A:857D:4503:5FF7:B41C (talkcontribs)

Hi, i'm trying to use DynamicPageList3 extension.

I've seen that I need to add the following line to the LocalSettings.php file :

require_once "$IP/extensions/DynamicPageList3/DynamicPageList.php";

The thing is that there is no file with that name in the DPL3 files.

Am I missing something ? Is the file useless ? Thanks in advance

Osnard (talkcontribs)

This is probably caused by an update of the codebase. Try to change

require_once "$IP/extensions/DynamicPageList3/DynamicPageList.php";

into

wfLoadExtension( 'DynamicPageList3' );
2A01:CB06:B864:339A:1D2C:26AD:FA18:BF9D (talkcontribs)

oh ok i thought it was two different things but I already have it, thank you ;)

Reply to "DynamicPageList.php file not found"

Fatal error when clicking on notice: OOUI\Exception - Issue with Theme Singleton in MediaWiki

3
Davisvawiz (talkcontribs)

Hello, I am currently facing a fatal error when clicking on a notice in my MediaWiki site, and I am seeking some assistance in resolving it. The specific notice that triggers the error when i click on it is: "You just made a tenth edit. Thank you and keep up the good work."

The error message I receive is as follows:

"Fatal error: OOUI\Exception: OOUI\Theme::singleton was called with no singleton theme set. in /home/[your_directory]/public_html/[your_site_directory]/vendor/oojs/oojs-ui/php/Theme.php:31"

I have attempted to clear the cache and verify the integrity of the Theme.php and Tag.php files mentioned in the error message. However, these steps did not resolve the issue. I suspect that there might be a compatibility problem between the version of OOUI and my MediaWiki installation.

Has anyone else encountered this particular error when interacting with notices in MediaWiki? If so, I would greatly appreciate any insights or solutions you have discovered. Your guidance and suggestions would be immensely helpful in resolving this issue.

my mediawiki site is Netvibe World

Thank you kindly for your assistance!

Best regards,

Davis Wanyonyi

Bawolff (talkcontribs)

Check that all your extensions are correct version for your version of mediawiki

Davisvawiz (talkcontribs)

Thanks i managed to solve this by creating this php file

<?php

use OOUI\Theme;

class CustomTheme extends Theme {

    public function __construct() {

        // Custom theme initialization code

    }

    // Implement any required methods for your custom theme

}

and adding this following code in the localSetting.php

use OOUI\Theme;

// Create a new theme instance

require_once __DIR__ . '/skins/CustomTheme.php';

$theme = new CustomTheme();

// Set the theme as the singleton

Theme::setSingleton($theme);

Reply to "Fatal error when clicking on notice: OOUI\Exception - Issue with Theme Singleton in MediaWiki"
2003:C2:3F21:FD00:A1BE:8BA5:2092:924F (talkcontribs)
2003:C2:3F21:FD00:134:BD68:4409:6542 (talkcontribs)

Is it okay to create my own page about myself instead of Wikipedia?

12
JayAndrewBoy (talkcontribs)

Hi there!

I just signed up for MediaWiki and I'm hoping to create a page about myself. I'd like a place to share information without disruption.

Unfortunately, Wikipedia has deleted my user page.

So I was wondering if it's okay to create my own page here on MediaWiki instead?

I'm waiting for your replies! :)

Malyacko (talkcontribs)

Hi and welcome. No, it is not okay as we are not a place to host random content. Please see Project:About - thanks! (You are always free to host your own website about yourself on your own server.)

Bawolff (talkcontribs)
JayAndrewBoy (talkcontribs)

Really? How does it work? 🤔

Malyacko (talkcontribs)

Click that link and find out.

JayAndrewBoy (talkcontribs)

Any other sites like that out there? I went to Miraheze, but the status is declined.

Malyacko (talkcontribs)

Web hosting services exist. You could create your own website.

JayAndrewBoy (talkcontribs)

But how? The status on my wiki request queue is declined, so I don't know what to do.

Bawolff (talkcontribs)

If you don't have the knowledge to do it yourself and are unwilling to learn, you can pay someone to do it for you. There is a list of people who do that sort of thing at Professional development and consulting

JayAndrewBoy (talkcontribs)

I can't do it, I'm a beginner.

Malyacko (talkcontribs)

Then you are free to pay someone to create a website for you.

JayAndrewBoy (talkcontribs)

I don't have any money. Sorry.

Reply to "Is it okay to create my own page about myself instead of Wikipedia?"