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

Can I still attribute my contributions to my account after forgetting to log in?

4
StarGazer909 (talkcontribs)

I rather not have my IP-adress listed, but I forgot to log in. How can I attribute those edits to my account now? It's an IPv6 and the contributions were just a few hours ago so since I am on logged in through the same IPv6 it should be obvious that I am the same person.

TheDJ (talkcontribs)

Generally, you would request the administrators of the specific wiki to remove/suppress those contributions and you can make them again when logged in.

StarGazer909 (talkcontribs)

Thanks but would it not be possible for the administrator to change the user attribution on edits without destroying them?

Leaderboard (talkcontribs)
Reply to "Can I still attribute my contributions to my account after forgetting to log in?"

لقد وجدت ثغرة اختراق

2
Abobakr515 (talkcontribs)

لقد وجدت ثغرة اختراق في موقعكم واريد التواصل معكم ل اخباركم عنها معلومات خاصة

Clump (talkcontribs)
Reply to "لقد وجدت ثغرة اختراق"

How can I make reset in sqlzoo.net?

3
Dax123dax (talkcontribs)

How can I make reset in sqlzoo.net?

I made it before and I want to go through it again.

Dax123dax (talkcontribs)

Deleting cookies doesn't work

Malyacko (talkcontribs)

@Dax123dax Hi, this is mediawiki.org. Why do you think that we know anything about other random websites like "sqlzoo.net"? Because we do not.

Reply to "How can I make reset in sqlzoo.net?"

1.39 how to setup mobile skin?

6
2003:C2:3F21:FD00:9449:AC0F:F20E:94B7 (talkcontribs)

Mediawiki 1.39.6, PHP 7.4.3, MySQL 8.0.36

wfLoadExtension( 'MobileDetect' );
wfLoadExtension( 'MobileFrontend' );
wfLoadSkin( 'MinervaNeue' );
$wgMFDefaultSkinClass = 'SkinMinerva';
$wgDefaultMobileSkin = 'MinervaNeue';
$wgMinervaEnableSiteNotice = true;
$wgMFAutodetectMobileView = true;
$wgMFEditorOptions = array(
        'anonymousEditing' => false,
        'skipPreview' => false
);


Till 1.35 we used to have MinervaNeue as mobile skin. With 1.39, this doesn't work anymore. Mobile devices apparently use the vector skin. What will i have to do to make the mobile skin work?

The mediawiki logfile is full of thousands of lines which don't say nothing to me, by filtering "mobile" i found one interesting line:

[resourceloader] Module "ext.MobileDetect.mobileonly" not loadable on target "mobile".

???

Bawolff (talkcontribs)

Do you have the correct versions of all your extensions? You need 1.39 version of Minerva and MobileFrontend etc.

2003:C2:3F21:FD00:E5D4:4DFC:FAFA:3692 (talkcontribs)

I am quite sure. MobileDetect 2.2 (fc3a66e) 18:49, 11. Feb. 2024, MobileFrontend 2.4.0 (7dc20b0) 07:36, 4. Mär 2024, MinervaNeue – (d515f6a) 08:24, 29. Apr. 2024

These are the versions I get when using ExtensionDistributor and SkinDistributor using target "1.39"

In the desktop browser, skin MinervaNeue has got the look. After login, of course. On my mobile, the skin is s.th. like vector, whether I am logged in or not. This means even when I select MinervaNeue in my user preferences!

Certainly the problem is sitting here in front of my screen, but I've got no more ideas where to look.

Pspviwki (talkcontribs)

How about $wgDefaultMobileSkin = 'minerva';

2003:C2:3F3F:4A00:49D7:2504:A269:1D1 (talkcontribs)

This answer is not helpful. In fact, may you be volunteers or not, this is exactly the kind of answer that makes me angry. This is exactly the kind of support that is superfluous. "Why do you want to use x, use y" is intolerable.

We used to have MinervaNeue as mobile skin for years and years. It used to work for years and years. Now with the upgrade it does not work anymore. You tell me I should use another skin. I am upset, i am outraged. If it does not work THEN DO NOT OFFER IT.

2003:C2:3F3F:4A00:B4E7:5E4:D871:A6EB (talkcontribs)

f***, te name of the skin is MinervaNeue but the value of the parameter is minerva. But, it has been working for years and years so obviously some sort of braniac must have changed it. Those kind of modifications are making me ill. Thanks for the conversation.

Reply to "1.39 how to setup mobile skin?"

Error "Cannot access the database"

4
NowInHD (talkcontribs)

Hello! I recently messed up. A few days ago, I shut down my PC without stopping Apache or MySQL, which I have been running through XAMPP to use MediaWiki. I think this caused issues with MySQL, since when I tried running it again, it kept crashing and refusing to load any pages. I have since reinstalled XAMPP and copied over the MediaWiki and MySQL data folders, and MySQL is no longer crashing, however i am now getting the following error when trying to access my wiki:

MediaWiki internal error.

Original exception: [2e740f7107b90c8fdf67f407] /wiki/ Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Access denied for user 'wikiuser'@'localhost' (using password: YES) (localhost)

Backtrace:

from C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1149)

#0 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(805): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()

#1 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(793): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)

#2 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(99): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(integer, array, string, integer)

#3 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(117): Wikimedia\Rdbms\DBConnRef->ensureConnection()

#4 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(710): Wikimedia\Rdbms\DBConnRef->__call(string, array)

#5 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\Database.php(2760): Wikimedia\Rdbms\DBConnRef->getSessionLagStatus()

#6 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(526): Wikimedia\Rdbms\Database::getCacheSetOptions(Wikimedia\Rdbms\DBConnRef)

#7 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\objectcache\wancache\WANObjectCache.php(1725): MediaWiki\User\User->MediaWiki\User\{closure}(boolean, integer, array, NULL, array)

#8 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\objectcache\wancache\WANObjectCache.php(1556): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)

#9 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(522): WANObjectCache->getWithSetCallback(string, integer, Closure, array)

#10 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(480): MediaWiki\User\User->loadFromCache()

#11 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(412): MediaWiki\User\User->loadFromId(integer)

#12 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\UserInfo.php(92): MediaWiki\User\User->load()

#13 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\CookieSessionProvider.php(127): MediaWiki\Session\UserInfo::newFromId(string)

#14 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\SessionManager.php(538): MediaWiki\Session\CookieSessionProvider->provideSessionInfo(MediaWiki\Request\WebRequest)

#15 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\SessionManager.php(244): MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)

#16 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\Request\WebRequest.php(840): MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)

#17 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\SessionManager.php(165): MediaWiki\Request\WebRequest->getSession()

#18 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\Setup.php(486): MediaWiki\Session\SessionManager::getGlobalSession()

#19 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\WebStart.php(92): require_once(string)

#20 C:\Users\Aven\Desktop\xampp\htdocs\wiki\index.php(44): require(string)

#21 {main}

Exception caught inside exception handler: [2e740f7107b90c8fdf67f407] /wiki/ Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Access denied for user 'wikiuser'@'localhost' (using password: YES) (localhost)

Backtrace:

from C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1149)

#0 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(805): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()

#1 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(793): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)

#2 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(99): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(integer, array, string, integer)

#3 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(117): Wikimedia\Rdbms\DBConnRef->ensureConnection()

#4 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\DBConnRef.php(710): Wikimedia\Rdbms\DBConnRef->__call(string, array)

#5 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\rdbms\database\Database.php(2760): Wikimedia\Rdbms\DBConnRef->getSessionLagStatus()

#6 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(526): Wikimedia\Rdbms\Database::getCacheSetOptions(Wikimedia\Rdbms\DBConnRef)

#7 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\objectcache\wancache\WANObjectCache.php(1725): MediaWiki\User\User->MediaWiki\User\{closure}(boolean, integer, array, NULL, array)

#8 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\libs\objectcache\wancache\WANObjectCache.php(1556): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)

#9 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(522): WANObjectCache->getWithSetCallback(string, integer, Closure, array)

#10 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(480): MediaWiki\User\User->loadFromCache()

#11 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(412): MediaWiki\User\User->loadFromId(integer)

#12 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\UserInfo.php(92): MediaWiki\User\User->load()

#13 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\CookieSessionProvider.php(127): MediaWiki\Session\UserInfo::newFromId(string)

#14 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\SessionManager.php(538): MediaWiki\Session\CookieSessionProvider->provideSessionInfo(MediaWiki\Request\WebRequest)

#15 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\session\SessionManager.php(244): MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)

#16 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\Request\WebRequest.php(840): MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)

#17 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(1024): MediaWiki\Request\WebRequest->getSession()

#18 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(393): MediaWiki\User\User->loadDefaults()

#19 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(1637): MediaWiki\User\User->load()

#20 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\User.php(2297): MediaWiki\User\User->getId()

#21 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\UserOptionsManager.php(656): MediaWiki\User\User->isRegistered()

#22 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\UserOptionsManager.php(500): MediaWiki\User\UserOptionsManager->getCacheKey(MediaWiki\User\User)

#23 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\user\UserOptionsManager.php(147): MediaWiki\User\UserOptionsManager->loadUserOptions(MediaWiki\User\User, integer)

#24 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\context\RequestContext.php(459): MediaWiki\User\UserOptionsManager->getOption(MediaWiki\User\User, string)

#25 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\language\Message.php(389): RequestContext->getLanguage()

#26 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\language\Message.php(1485): Message->getLanguage()

#27 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\language\Message.php(972): Message->fetchMessage()

#28 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\language\Message.php(1059): Message->format(string)

#29 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionRenderer.php(254): Message->text()

#30 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionRenderer.php(398): MWExceptionRenderer::msg(string, string)

#31 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionRenderer.php(103): MWExceptionRenderer::reportOutageHTML(Wikimedia\Rdbms\DBConnectionError)

#32 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionHandler.php(134): MWExceptionRenderer::output(Wikimedia\Rdbms\DBConnectionError, integer)

#33 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionHandler.php(251): MWExceptionHandler::report(Wikimedia\Rdbms\DBConnectionError)

#34 C:\Users\Aven\Desktop\xampp\htdocs\wiki\includes\exception\MWExceptionHandler.php(219): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBConnectionError, string)

#35 [internal function]: MWExceptionHandler::handleUncaughtException(Wikimedia\Rdbms\DBConnectionError)

#36 {main}


Any help is appreciated, thank you! :)

NowInHD (talkcontribs)

Ah. Just discovered that the wiki SQL database is gone. Where can I go from here?

NowInHD (talkcontribs)

Looking in the folder mysql/data/data i have found that the folder for my wiki database is still there, however it isnt showing up on phpMyAdmin and it responded with "Unknown database 'wikidb'" when i tried to access it using SQL.

Bawolff (talkcontribs)
Reply to "Error "Cannot access the database""

DBTransactionStateError only when load balancing

2
MarianArlt (talkcontribs)

I recently upgraded on FreeBSD 13.3 from 1.40 to 1.41:

MediaWiki 1.41.1
PHP 8.3.6 (fpm-fcgi)
ICU 74.2
MariaDB 10.11.7-MariaDB-log
Pygments 2.16.1

I have two database servers synced with MariaDB GTID replication.The replication works very well as far as MariaDB is concerned, the slave replicates in miliseconds whatever the master does. They're always on the same position too, as they should. I confirmed this several times over, even re-configured replication several times. I can create anything on the master and the slave replicates almost instantly.For some reason MediaWiki just won't take it though. As soon as I add this second server to $wgDBservers I get a critical RDBMS error.

$wgDBname = "mwdb";
$wgDBservers = [
        [
                'host' => "mwdb1.domain.net",
                'user' => "mediawiki",
                'password' => "password",
                'type' => "mysql",
                'flags' => DBO_DEFAULT | DBO_SSL | DBO_TRX | DBO_PERSISTENT,
                'useGTIDs' => true,
                'sslKeyPath' => "/some/path/mediawiki.key",
                'sslCertPath' => "/some/path/mediawiki.crt",
                'sslCAFile' => "/some/path/ca.pem",
                'load' => 0
        ],
        [
                'host' => "mwdb2.domain.net",
                'user' => "mediawiki",
                'password' => "password",
                'type' => "mysql",
                'flags' => DBO_DEFAULT | DBO_SSL | DBO_TRX | DBO_PERSISTENT,
                'useGTIDs' => true,
                'sslKeyPath' => "/some/path/mediawiki.key",
                'sslCertPath' => "/some/path/mediawiki.crt",
                'sslCAFile' => "/some/path/ca.pem",
                'load' => 1
        ]
];

The error itself looks like it may have to do with user session caches or Vector skin or something? I have rebuilt L10n cache, updated a thousand times, used rebuildall and anything I could run from the maintentance folder...to no avail. As soon as I delete the replica from $wgDBservers everything is swell again. Note: The site works perfectly fine with only one main database attached. Is there a way to further debug this or purge some user caches?

MediaWiki internal error.
 
 Original exception: [55dd886a15a6a5dafabacfb7] /index.php?title=Spezial:Anmelden&returnto=Hauptseite&returntoquery=   Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from MediaWiki\User\TalkPageNotificationManager::dbCheckNewUserMessages while transaction status is ERROR
 Backtrace:
 from /usr/local/www/mediawiki/includes/libs/rdbms/database/TransactionManager.php(207)
 #0 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1022): Wikimedia\Rdbms\TransactionManager->assertTransactionStatus()
 #1 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(667): Wikimedia\Rdbms\Database->assertQueryIsCurrentlyAllowed()
 #2 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1383): Wikimedia\Rdbms\Database->query()
 #3 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1334): Wikimedia\Rdbms\Database->select()
 #4 /usr/local/www/mediawiki/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->selectField()
 #5 /usr/local/www/mediawiki/includes/libs/rdbms/database/DBConnRef.php(338): Wikimedia\Rdbms\DBConnRef->__call()
 #6 /usr/local/www/mediawiki/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(725): Wikimedia\Rdbms\DBConnRef->selectField()
 #7 /usr/local/www/mediawiki/includes/user/TalkPageNotificationManager.php(259): Wikimedia\Rdbms\SelectQueryBuilder->fetchField()
 #8 /usr/local/www/mediawiki/includes/user/TalkPageNotificationManager.php(95): MediaWiki\User\TalkPageNotificationManager->dbCheckNewUserMessages()
 #9 /usr/local/www/mediawiki/includes/skins/Skin.php(1710): MediaWiki\User\TalkPageNotificationManager->userHasNewMessages()
 #10 /usr/local/www/mediawiki/includes/skins/SkinMustache.php(123): Skin->getNewtalks()
 #11 /usr/local/www/mediawiki/skins/Vector/includes/SkinVector22.php(329): SkinMustache->getTemplateData()
 #12 /usr/local/www/mediawiki/includes/skins/SkinMustache.php(92): MediaWiki\Skins\Vector\SkinVector22->getTemplateData()
 #13 /usr/local/www/mediawiki/includes/skins/SkinTemplate.php(174): SkinMustache->generateHTML()
 #14 /usr/local/www/mediawiki/includes/Output/OutputPage.php(2947): SkinTemplate->outputPage()
 #15 /usr/local/www/mediawiki/includes/MediaWiki.php(978): MediaWiki\Output\OutputPage->output()
 #16 /usr/local/www/mediawiki/includes/MediaWiki.php(613): MediaWiki->main()
 #17 /usr/local/www/mediawiki/index.php(50): MediaWiki->run()
 #18 /usr/local/www/mediawiki/index.php(46): wfIndexMain()
 #19 {main}
 
 Exception caught inside exception handler: [55dd886a15a6a5dafabacfb7] /index.php?title=Spezial:Anmelden&returnto=Hauptseite&returntoquery=   Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from MediaWiki\User\TalkPageNotificationManager::dbCheckNewUserMessages while transaction status is ERROR
 Backtrace:
 from /usr/local/www/mediawiki/includes/libs/rdbms/database/TransactionManager.php(207)
 #0 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1022): Wikimedia\Rdbms\TransactionManager->assertTransactionStatus()
 #1 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(667): Wikimedia\Rdbms\Database->assertQueryIsCurrentlyAllowed()
 #2 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1383): Wikimedia\Rdbms\Database->query()
 #3 /usr/local/www/mediawiki/includes/libs/rdbms/database/Database.php(1334): Wikimedia\Rdbms\Database->select()
 #4 /usr/local/www/mediawiki/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->selectField()
 #5 /usr/local/www/mediawiki/includes/libs/rdbms/database/DBConnRef.php(338): Wikimedia\Rdbms\DBConnRef->__call()
 #6 /usr/local/www/mediawiki/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(725): Wikimedia\Rdbms\DBConnRef->selectField()
 #7 /usr/local/www/mediawiki/includes/user/TalkPageNotificationManager.php(259): Wikimedia\Rdbms\SelectQueryBuilder->fetchField()
 #8 /usr/local/www/mediawiki/includes/user/TalkPageNotificationManager.php(95): MediaWiki\User\TalkPageNotificationManager->dbCheckNewUserMessages()
 #9 /usr/local/www/mediawiki/includes/skins/Skin.php(1710): MediaWiki\User\TalkPageNotificationManager->userHasNewMessages()
 #10 /usr/local/www/mediawiki/includes/skins/SkinMustache.php(123): Skin->getNewtalks()
 #11 /usr/local/www/mediawiki/skins/Vector/includes/SkinVector22.php(329): SkinMustache->getTemplateData()
 #12 /usr/local/www/mediawiki/includes/skins/SkinMustache.php(92): MediaWiki\Skins\Vector\SkinVector22->getTemplateData()
 #13 /usr/local/www/mediawiki/includes/skins/SkinTemplate.php(174): SkinMustache->generateHTML()
 #14 /usr/local/www/mediawiki/includes/Output/OutputPage.php(2947): SkinTemplate->outputPage()
 #15 /usr/local/www/mediawiki/includes/exception/MWExceptionRenderer.php(188): MediaWiki\Output\OutputPage->output()
 #16 /usr/local/www/mediawiki/includes/exception/MWExceptionRenderer.php(105): MWExceptionRenderer::reportHTML()
 #17 /usr/local/www/mediawiki/includes/exception/MWExceptionHandler.php(134): MWExceptionRenderer::output()
 #18 /usr/local/www/mediawiki/includes/exception/MWExceptionHandler.php(251): MWExceptionHandler::report()
 #19 /usr/local/www/mediawiki/includes/MediaWiki.php(632): MWExceptionHandler::handleException()
 #20 /usr/local/www/mediawiki/index.php(50): MediaWiki->run()
 #21 /usr/local/www/mediawiki/index.php(46): wfIndexMain()
 #22 {main}
Bawolff (talkcontribs)

I guess the question is why is the transaction state "error".

Could you enable $wgDebugLogFile? That should give more info.

[Note, its possible to make i18n cache not use the database, see $wgCacheDirectory, but that is probably just a symptom and won't fix the underlying problem]

Reply to "DBTransactionStateError only when load balancing"
Elizium23 (talkcontribs)

Greetings: the topic here is about "non-Wikimedia" installations. But I have a question about Wikimedia's own deployments. Does Mediawiki.org have a place for support, or would I be better served at Phabricator or Metawiki?

P858snake (talkcontribs)

@Elizium23 It depends on the type of question, Could you provide some more information?

Where's the location of actuall common.css?

2
DannyMiggo (talkcontribs)

Since I can't access the MediaWiki:Common.css for some reason, not sure why, I figured I can just edit the real one, but which file is that exactly, like where is it?

Bawolff (talkcontribs)

I think you have the wrong conceptual model. There is no "real" one.


If you want to edit it from commandline, use edit.php

Reply to "Where's the location of actuall common.css?"

I can't do php update.php or php run.php update

7
Christbirego (talkcontribs)

Hello I am a beginner contributor on mediawiki and I have errors on the installation of extensions my mediawiki I installed with compose. now I can not do: php update.php

Bawolff (talkcontribs)

Please include what errors you have. Please explain what you mean by not being able to do update.php (i.e. what is stopping you).

Christbirego (talkcontribs)
error update.php

When I update, the process does not run to completion

Bawolff (talkcontribs)

Are you running this script on the same host as your mediawiki is on?

Christbirego (talkcontribs)

I've installed everything with composer, but I don't know if I need to change port to update.

Bawolff (talkcontribs)

That wasn't the question I asked...

Reply to "I can't do php update.php or php run.php update"

problem to use 'syntaxhighlight'

1
JanTappenbeck (talkcontribs)

hi!

i want to highlight code and in the statusbar i offen get following message: "Seiten mit Syntaxhervorhebungsfehlern" (Page with Syntaxhighlighterror)

i look to description https://de.wikipedia.org/wiki/Hilfe:Syntaxhighlight but did not see any error.

here my full page-text

Allgmeines

Sollen Punkte für Google, Apple, OSM oder andere Karten verwendet werden, dann ist eine Transformation erforderlich als das die Funktion Point.ToWKT zur Verfügung stellt.

Beispiel aus Template:Siehe

In args.Point ist der abgegriffene Punkt enthalten.

Dim Point As New Mum.Geo.Geometry.Point

If Not args.Canceled Then
  Point = args.Point

  'Wenn Sie Koordinaten via den Map.GetXXX Funktioen holen
  'erzeugen sie zuerst mit Clone eine Kopie der Geometry, weil mit der Transformation ansonsten Point nicht mehr die GK-Koordinaten enthält.
  Dim geom As Mum.Geo.Geometry.Point = Point.Clone

  'Transformieren der Koordinaten
  'Aktuellens Koordinaten System der Karte holen
  Dim sourceEpsg As String = Me.Application.Project.Map.SRS

  'Ziel System angeben
  Dim targetEpsg As String = "EPSG:4326"
  Mum.Geo.Application.CoordinateTransformation.Transform(sourceEpsg, targetEpsg, geom)

Else
  _EBLog.LogAndMsgBox("Es wurde kein Punkt gewählt!")
End If

Anwendung

could someone help to me to find the mistake?

regards Jan

Reply to "problem to use 'syntaxhighlight'"