Nothing Special   »   [go: up one dir, main page]

Jump to content

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

Version page is throwing Composer errors after upgrading to 1.42.1

1
Bdaltman (talkcontribs)

Post upgrade, the Version page of Special Pages is now throwing 4 errors. Upgrading Composer on Windows didn't help. What do we need to do to fix this? Thanks!

Warning: Undefined array key "packages" in C:\inetpub\wwwroot\includes\libs\composer\ComposerInstalled.php on line 30

Warning: foreach() argument must be of type array|object, null given in C:\inetpub\wwwroot\includes\libs\composer\ComposerInstalled.php on line 33

Warning: Undefined array key "packages" in C:\inetpub\wwwroot\includes\libs\composer\ComposerInstalled.php on line 30

Warning: foreach() argument must be of type array|object, null given in C:\inetpub\wwwroot\includes\libs\composer\ComposerInstalled.php on line 33

Reply to "Version page is throwing Composer errors after upgrading to 1.42.1"

Lua error in package.lua at line 80: module 'Dev:User error' not found.

4
Eldomtom2 (talkcontribs)

I'm having this issue with infoboxes (that IIRC I imported from the Miraheze Developers Wiki). I didn't have this issue when I originally imported them, something has broken. I can't find anything online about this specific error.

Malyacko (talkcontribs)

Please see "Post a new question" in the sidebar.

Eldomtom2 (talkcontribs)

If that's a request for more information, my wiki is cyberpedia.miraheze.org and the MediaWiki version is 1.42.1

Bawolff (talkcontribs)

Does miraheze have a global lua module system? If so, this sounds like it would be related to that. You might have better luck at miraheze support.

Reply to "Lua error in package.lua at line 80: module 'Dev:User error' not found."
ArchATempAcct (talkcontribs)

We havent altered localsettings.php (to my knowledge) and now everyone is getting this error, seemingly out of nowhere, when people try to use their preferences area:

Internal error Jump to navigation Jump to search

[5ae6fcab633b45b38c47906d] /Special:Preferences MWException: Default '2' is invalid for preference imagesize of user 𝗔𝗿𝗰𝗵𝗮𝗻𝗴𝗲𝗹

Backtrace:

from /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(351)

  1. 0 /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(260): MediaWiki\Preferences\DefaultPreferencesFactory->loadPreferenceValues(User, RequestContext, array)
  2. 1 /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(1800): MediaWiki\Preferences\DefaultPreferencesFactory->getFormDescriptor(User, RequestContext)
  3. 2 /home/rabidpan/public_html/fascipedia/includes/specials/SpecialPreferences.php(131): MediaWiki\Preferences\DefaultPreferencesFactory->getForm(User, RequestContext, string)
  4. 3 /home/rabidpan/public_html/fascipedia/includes/specials/SpecialPreferences.php(109): SpecialPreferences->getFormObject(User, RequestContext)
  5. 4 /home/rabidpan/public_html/fascipedia/includes/specialpage/SpecialPage.php(701): SpecialPreferences->execute(NULL)
  6. 5 /home/rabidpan/public_html/fascipedia/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run(NULL)
  7. 6 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
  8. 7 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(904): MediaWiki->performRequest()
  9. 8 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(562): MediaWiki->main()
  10. 9 /home/rabidpan/public_html/fascipedia/index.php(50): MediaWiki->run()
  11. 10 /home/rabidpan/public_html/fascipedia/index.php(46): wfIndexMain()
  12. 11 {main}
Reply to "preferences error"

Wikipedia Logo and for family, font size change

2
Glacious (talkcontribs)

Hello and greetings,

I have a few questions. Firstly, I would like to change the logo of our Wikipedia (dv:wikipedia) . The current font is very old and outdated. Secondly, the font and size used throughout the Wikipedia need to be updated as well. Can anyone guide me in the right direction? Glacious (talk) 10:02, 28 July 2024 (UTC)

Malyacko (talkcontribs)
Reply to "Wikipedia Logo and for family, font size change"

Visual Editor not working

3
JulianMalcolm08 (talkcontribs)

I recently upgraded my Media Wiki to the latest stable version. I followed all the procedures I do in any other upgrade except this time there were a few issues. The first and most major issue is the fact that the Visual Editor is not working. When you click the "edit" tab the web page URL changes to show you are editing but the actual page does not change. I already tried re-installing the extension, but I still get the same issue. My search bar is also not working as it did before. It no longer gives me page suggestions while I am typing but that might just be a new thing in the update?


Any help would be appreciated.

Thanks,

TheDJ (talkcontribs)

That sounds like your Javascript resources are not served up correctly ? A browser inspector should be able to tell you these things.

2600:1005:B051:9F7F:5468:37D7:D221:CC0 (talkcontribs)

Thank you.

Reply to "Visual Editor not working"

help regarding custom titles

2
Icantthinkofanamexd (talkcontribs)

I tried to put the displaytitle on a page of a wiki I'm in, but all I got was this: "Display title "United Kingdomball" was ignored since it is not equivalent to the page's actual title."

This was the context of how I want to add it:

The title of the page is called "UKball", but I placed the code {{DISPLAYTITLE:United Kingdomball}}. The DISPLAYTITLE code ended up failing as a result, and I want to ask: How can I overcome this problem (which is changing the page's display title to something that isn't "related" to the actual title)?

Bawolff (talkcontribs)
Reply to "help regarding custom titles"

Lua error: module 'Module:Message box' not found

3
VonCorax (talkcontribs)

I want to use MediaWiki's Stub template on my own installation. When I try to edit the template file I get the error message "Lua error in package.lua at line 80: module 'Module:Message box' not found." How can I fix this?

I'm using MediaWiki 1.42.1 with Lua 5.1.5 and TemplateStyles 1.0 (8a7dd4a).

Thanks.

Bawolff (talkcontribs)

You need to also copy all templates it depends on (in this case w:Module:Message box)

If transferring using Special:Export and Special:import, be sure to check the "Include templates" checkbox.

VonCorax (talkcontribs)

I've done that, and now I'm getting "Module:Message box/configuration" not found. Do I just keep importing stuff until it works? Importing Message box/configuration accomplished nothing.

Reply to "Lua error: module 'Module:Message box' not found"
ArchATempAcct (talkcontribs)

My wiki is consuming memory at an alarming rate. It is 20 gigs past where it should be.

I have deleted the image temp, archive, and thumbs folders. I have reduced the default thumb images to a single size. These purges produce temporary and tiny reductions but soon enough the numbers are right back where they were.

When I have less visitors it happens slower, when I have more visitors it increases faster. I am the only one who can add images.

Do I have a virus or a hacker, or just a bloated folder somewhere?

Reply to "ever-growing wiki"

Extension:GlobalBlocking

8
Nexovia (talkcontribs)

I've already posted about this error but now I've this detailed error while installing the GlobalBlocking extension and I've followed everything mentioned in Extension:GlobalBlocking but facing this problem can anyone help

Database error

A database query error has occurred. This may indicate a bug in the software.

[ZqL81IaLlLGPQ01JYt0l7QAAAAk] /index.php?title=Special:UserLogin&returnto=Special%3AGlobalBlockList Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.

Error 1044: Access denied for user '36900384_a'@'192.168.0.%' to database 'globalblocking'

Function: Wikimedia\Rdbms\DatabaseMySQL::doSelectDomain

Query: USE `globalblocking`

Backtrace:

from /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/Database.php(1236)

#0 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/Database.php(1220): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)

#1 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/Database.php(1194): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#2 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/DatabaseMySQL.php(202): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string)

#3 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/Database.php(1543): Wikimedia\Rdbms\DatabaseMySQL->doSelectDomain(Wikimedia\Rdbms\DatabaseDomain)

#4 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(922): Wikimedia\Rdbms\Database->selectDomain(Wikimedia\Rdbms\DatabaseDomain)

#5 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(801): Wikimedia\Rdbms\LoadBalancer->reuseOrOpenConnectionForNewRef(integer, Wikimedia\Rdbms\DatabaseDomain, integer)

#6 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(793): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)

#7 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/DBConnRef.php(99): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(integer, string, string, integer)

#8 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/DBConnRef.php(117): Wikimedia\Rdbms\DBConnRef->ensureConnection()

#9 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/rdbms/database/DBConnRef.php(538): Wikimedia\Rdbms\DBConnRef->__call(string, array)

#10 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/extensions/GlobalBlocking/includes/GlobalBlocking.php(313): Wikimedia\Rdbms\DBConnRef->anyString()

#11 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/extensions/GlobalBlocking/includes/GlobalBlocking.php(287): MediaWiki\Extension\GlobalBlocking\GlobalBlocking::getRangeCondition(string)

#12 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/extensions/GlobalBlocking/includes/GlobalBlocking.php(121): MediaWiki\Extension\GlobalBlocking\GlobalBlocking::getGlobalBlockingBlock(string, boolean)

#13 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/extensions/GlobalBlocking/includes/GlobalBlocking.php(38): MediaWiki\Extension\GlobalBlocking\GlobalBlocking::getUserBlockDetails(MediaWiki\User\User, string)

#14 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/extensions/GlobalBlocking/includes/GlobalBlockingHooks.php(102): MediaWiki\Extension\GlobalBlocking\GlobalBlocking::getUserBlock(MediaWiki\User\User, string)

#15 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/HookContainer/HookContainer.php(161): MediaWiki\Extension\GlobalBlocking\GlobalBlockingHooks->onGetUserBlock(MediaWiki\User\User, string, NULL)

#16 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/HookContainer/HookRunner.php(1962): MediaWiki\HookContainer\HookContainer->run(string, array)

#17 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/block/BlockManager.php(186): MediaWiki\HookContainer\HookRunner->onGetUserBlock(MediaWiki\User\User, string, NULL)

#18 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/User.php(1406): MediaWiki\Block\BlockManager->getUserBlock(MediaWiki\User\User, MediaWiki\Request\WebRequest, boolean, boolean)

#19 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/User.php(1507): MediaWiki\User\User->getBlockedStatus(boolean, boolean)

#20 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/PasswordReset.php(349): MediaWiki\User\User->getBlock()

#21 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/PasswordReset.php(154): MediaWiki\User\PasswordReset->isBlocked(MediaWiki\User\User)

#22 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/PasswordReset.php(124): MediaWiki\User\PasswordReset->computeIsAllowed(MediaWiki\User\User)

#23 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/libs/MapCacheLRU.php(271): MediaWiki\User\PasswordReset->MediaWiki\User\{closure}()

#24 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/user/PasswordReset.php(121): MapCacheLRU->getWithSetCallback(string, Closure)

#25 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/LoginSignupSpecialPage.php(1082): MediaWiki\User\PasswordReset->isAllowed(MediaWiki\User\User)

#26 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/LoginSignupSpecialPage.php(757): MediaWiki\SpecialPage\LoginSignupSpecialPage->getFieldDefinitions(array)

#27 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/AuthManagerSpecialPage.php(695): MediaWiki\SpecialPage\LoginSignupSpecialPage->onAuthChangeFormFields(array, array, array, string)

#28 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/LoginSignupSpecialPage.php(708): MediaWiki\SpecialPage\AuthManagerSpecialPage->fieldInfoToFormDescriptor(array, array, string)

#29 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/AuthManagerSpecialPage.php(434): MediaWiki\SpecialPage\LoginSignupSpecialPage->getAuthForm(array, string)

#30 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/LoginSignupSpecialPage.php(337): MediaWiki\SpecialPage\AuthManagerSpecialPage->trySubmit()

#31 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/SpecialPage.php(727): MediaWiki\SpecialPage\LoginSignupSpecialPage->execute(NULL)

#32 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/specialpage/SpecialPageFactory.php(1621): MediaWiki\SpecialPage\SpecialPage->run(NULL)

#33 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/MediaWiki.php(357): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)

#34 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/MediaWiki.php(960): MediaWiki->performRequest()

#35 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/includes/MediaWiki.php(613): MediaWiki->main()

#36 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/index.php(50): MediaWiki->run()

#37 /home/vol15_5/infinityfree.com/if0_36900384/nepalpedia.great-site.net/htdocs/index.php(46): wfIndexMain()

#38 {main}

TheDJ (talkcontribs)

When you login/register, it is running a check by the user against the global blocking table.

Access denied for user '36900384_a'@'192.168.0.%' to database 'globalblocking'

User 36900384_an accessing via '192.168.0.%' cannot read or write to the globalblocking table. You'll have to fix that, it is a database configuration problem.

Nexovia (talkcontribs)

Ok it's a database configuration problem but how can I fix this can you give me little bit idea.

TheDJ (talkcontribs)
Bawolff (talkcontribs)

It should be noted, that access denied might literally mean access denied, but in many setups you will get the same error if you simply forgot to create the database.

Nexovia (talkcontribs)

This was solved by making some changes in database but now another problem has been shown to me.

Nexovia (talkcontribs)

This problem has gone but now I've another problem like this MediaWiki internal error.

Original exception: [ZqODYk6fQHQg5OQmWuIAhQAAAAs] / Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.

Error 1146: Table 'if0_36900384_globalblocking.mwfm_l10n_cache' doesn't exist Function: LCStoreDB::get Query: SELECT lc_value FROM `mwfm_l10n_cache` WHERE lc_lang = 'en' AND lc_key = 'deps' LIMIT 1

Bawolff (talkcontribs)

This sounds like you changed the mediawiki db name ($wgDBname) to your globalblocking db, which would be the wrong thing to do.

Reply to "Extension:GlobalBlocking"

How to Remove Footer Links?

3
49.237.200.144 (talkcontribs)

How can I remove the footer links?: Disclaimer and Privacy

I want to remove them using PHP (not CSS), and I'd like to keep the About link.

49.237.200.144 (talkcontribs)

Apologies! My Mediawiki v1.42.1

TheDJ (talkcontribs)
Reply to "How to Remove Footer Links?"