Done. Migration failed for 9 row(s).
Very cool error message. Everything is absolutely clear at the first glance.
scnr
Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!
(Read this message in a different language)
|
User's mistake, wrong version of ParserFunctions extension.
Done. Migration failed for 9 row(s).
Very cool error message. Everything is absolutely clear at the first glance.
scnr
[error] [ba7e546ea33fc2ecb983341e] /wiki/Hauptseite PHP Unknown error: Cannot access non-public property Parser::$mOutp ut #0 [internal function]: MWExceptionHandler::handleError() #1 /var/www/test/mediawiki/includes/debug/DeprecationHelper.php(202): trigger_error() #2 /var/www/test/mediawiki/extensions/ParserFunctions/includes/ParserFunctions.php(388): Parser->__get() #3 /var/www/test/mediawiki/extensions/ParserFunctions/includes/ParserFunctions.php(414): MediaWiki\Extensions\ParserFunct ions\ParserFunctions::ifexistInternal() #4 /var/www/test/mediawiki/includes/parser/Parser.php(3437): MediaWiki\Extensions\ParserFunctions\ParserFunctions::ifexis t() #5 /var/www/test/mediawiki/includes/parser/Parser.php(3122): Parser->callParserFunction() #6 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #7 /var/www/test/mediawiki/includes/parser/Parser.php(3313): PPFrame_Hash->expand() #8 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #9 /var/www/test/mediawiki/includes/parser/Parser.php(3030): PPFrame_Hash->expand() #10 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #11 /var/www/test/mediawiki/includes/parser/Parser.php(3313): PPFrame_Hash->expand() #12 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #13 /var/www/test/mediawiki/includes/parser/PPTemplateFrame_Hash.php(97): PPFrame_Hash->expand() #14 /var/www/test/mediawiki/includes/parser/Parser.php(3310): PPTemplateFrame_Hash->cachedExpand() #15 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #16 /var/www/test/mediawiki/includes/parser/PPTemplateFrame_Hash.php(97): PPFrame_Hash->expand() #17 /var/www/test/mediawiki/includes/parser/Parser.php(3310): PPTemplateFrame_Hash->cachedExpand() #18 /var/www/test/mediawiki/includes/parser/PPFrame_Hash.php(275): Parser->braceSubstitution() #19 /var/www/test/mediawiki/includes/parser/Parser.php(2951): PPFrame_Hash->expand() #20 /var/www/test/mediawiki/includes/parser/Parser.php(1609): Parser->replaceVariables() #21 /var/www/test/mediawiki/includes/parser/Parser.php(723): Parser->internalParse() #22 /var/www/test/mediawiki/includes/content/WikitextContentHandler.php(301): Parser->parse() #23 /var/www/test/mediawiki/includes/content/ContentHandler.php(1721): WikitextContentHandler->fillParserOutput() #24 /var/www/test/mediawiki/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput() #25 /var/www/test/mediawiki/includes/Revision/RenderedRevision.php(266): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput() #26 /var/www/test/mediawiki/includes/Revision/RenderedRevision.php(237): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached() #27 /var/www/test/mediawiki/includes/Revision/RevisionRenderer.php(221): MediaWiki\Revision\RenderedRevision->getSlotParserOutput() #28 /var/www/test/mediawiki/includes/Revision/RevisionRenderer.php(158): MediaWiki\Revision\RevisionRenderer->combineSlotOutput() #29 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}() #30 /var/www/test/mediawiki/includes/Revision/RenderedRevision.php(199): call_user_func() #31 /var/www/test/mediawiki/includes/poolcounter/PoolWorkArticleView.php(91): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput() #32 /var/www/test/mediawiki/includes/poolcounter/PoolWorkArticleViewCurrent.php(97): PoolWorkArticleView->renderRevision() #33 /var/www/test/mediawiki/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleViewCurrent->doWork() #34 /var/www/test/mediawiki/includes/page/ParserOutputAccess.php(299): PoolCounterWork->execute() #35 /var/www/test/mediawiki/includes/page/Article.php(714): MediaWiki\Page\ParserOutputAccess->getParserOutput() #36 /var/www/test/mediawiki/includes/page/Article.php(528): Article->generateContentOutput() #37 /var/www/test/mediawiki/includes/actions/ViewAction.php(78): Article->view() #38 /var/www/test/mediawiki/includes/MediaWiki.php(542): ViewAction->show() #39 /var/www/test/mediawiki/includes/MediaWiki.php(322): MediaWiki->performAction() #40 /var/www/test/mediawiki/includes/MediaWiki.php(904): MediaWiki->performRequest() #41 /var/www/test/mediawiki/includes/MediaWiki.php(562): MediaWiki->main() #42 /var/www/test/mediawiki/index.php(50): MediaWiki->run() #43 /var/www/test/mediawiki/index.php(46): wfIndexMain() #44 {main} [exception] [ba7e546ea33fc2ecb983341e] /wiki/Hauptseite PHP Fatal Error from line 202 of /var/www/test/mediawiki/includes/debug/DeprecationHelper.php: Cannot access non-public property Parser::$mOutput #0 [internal function]: MWExceptionHandler::handleFatalError() #1 {main} [session] Saving all sessions on shutdown
Nice backtrace but it does not show what's the problem. How can i find out which component is wrong?
Do you have the correct version of Extension:ParserFunctions for your version of MediaWiki.
Huh ...! No it's been the wrong version. Sorry for that. I thought ParserFunctions is part of the Mediawiki installation bundle.
Solved, thank you very much!
According to Manual:Database.php#Functions, we use the following code (extract):
$dbr = wfGetDB( DB_REPLICA ); $res = $dbr->query( ... some DB Query ... ); .... $dbr->numRows( $res ) ....
But we get:
Error: Call to undefined method Wikimedia\Rdbms\DatabaseMysqli::numRows() Backtrace: from /var/www/test/mediawiki/includes/libs/rdbms/database/DBConnRef.php(103) #0 /var/www/test/mediawiki/extensions/PPcheckRedirects/SpecialPPcheckRedirects.class.php(118): Wikimedia\Rdbms\DBConnRef->__call() #1 /var/www/test/mediawiki/includes/specialpage/SpecialPage.php(701): SpecialPPcheckRedirects->execute() #2 /var/www/test/mediawiki/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run() #3 /var/www/test/mediawiki/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath() #4 /var/www/test/mediawiki/includes/MediaWiki.php(904): MediaWiki->performRequest() #5 /var/www/test/mediawiki/includes/MediaWiki.php(562): MediaWiki->main() #6 /var/www/test/mediawiki/index.php(50): MediaWiki->run() #7 /var/www/test/mediawiki/index.php(46): wfIndexMain() #8 {main}
Prior to 1.39, the above code worked. Could this be an installation problem or has there been an undocumented redesign of the db access objects?
I have set the maximum upload file size to 150M as well as my post max size.
This is what my site configuration of the web server says:
php_value upload_max_filesize 150M
php_value post_max_size 150M
In my LocalSettings.php I set
$wgMaxUploadSize = 150*1024*1024;
But the wiki still shows me a file upload maximum size of 2 MB. Am I missing something?
Please have a look: Topic:Y34sat37bqi2stm8
Or shall i better post the question here.
After moving our site to another server, a problem occurred. If a page of the site has 'background' code, it is now not possible to edit that page. This error occurs:
'403 Forbidden Access to this resource on the server is denied!'
https://sheki.org/wiki/index.php?title=%C5%9Eablon:15_aprel&action=submit
But after deleting the "background" code on that page, everything is fine. How to solve this problem?
The Wiki as I have already talked about Shout Wiki I actually exactly not know that the founder of wiki should update wiki version or it can be done with MW Shout Wiki was just emerging wiki host but due to their own founder and staffs became inactive so I would know what should be done now.
There is no single admin active or Stewards or Staff none is active that's why I am asking here for a way.
Hello,
I'm deploying the bitnami/mediawiki via Kubernetes. I am noticing issues in which I deploy an image that has an error, i fix the error and push a new image, my updated deployment will call that new image, but still reference the prior error.
For example, I misconfigured OIDC Connect Extension and so the depoyment failed. I created a new image and removed OIDC Extension in order to start fresh, and when I deploy the new image, it still references the previous OIDC Error even though this new image has no reference to that extension. Does mediawiki have a caching mechanism that would prevent K8s from deploying the new image?
Here is the error, I am assuming you are correct in that it is a caching issue. Is it possible that the old images are stored in my PVC mount? somehow? the OIDCConnect Extension is not loaded on the new image I have deployed, nor am I calling it anywhere within that image.
Error: The OIDCConnect extension cannot be loaded. Check that all of its files are installed properly.
#0 /opt/bitnami/mediawiki/includes/GlobalFunctions.php(54): ExtensionRegistry->queue()
#1 /bitnami/mediawiki/LocalSettings.php(158): wfLoadExtension()
#2 /opt/bitnami/mediawiki/includes/Setup.php(212): require_once('...')
#3 /opt/bitnami/mediawiki/maintenance/doMaintenance.php(83): require_once('...')
#4 /opt/bitnami/mediawiki/maintenance/update.php(298): require_once('...')
#5 {main}
[17-Apr-2024 19:35:01 UTC] PHP Fatal error: Error Loading extension. Unable to open file /opt/bitnami/mediawiki/extensions/OIDCConnect/extension.json: filemtime(): stat failed for /opt/bitnami/mediawiki/extensions/OIDCConnect/extension.json in /opt/bitnami/mediawiki/includes/registration/MissingExtensionException.php on line 100
This sounds like your LocalSettings.php is still attempting to load in the extension you removed.
Hello everyone!
We are running our wiki, mediawiki version 1.42.0-wmf.23, PHP 8.1.2-1ubuntu2.14 (fpm-fcgi), MariaDB 10.6.16-MariaDB-0ubuntu0.22.04.1-log.
Lately when we import any article that contains citations such as { { cite book } , { { cite journal } } etc.. for example it contains a line like the following "{ { cite book | title = test book } }",
Instead of displaying "test book" it generates a lua error :
Lua error in Module:Citation/CS1/Configuration at line 2058: attempt to index field '?' (a nil value).
Backtrace:
We have been using mediawiki for more than 6 months and this issue only happened in past month.
I appreciate any guidance to identify the problem and solve it.
You need to install Extension:JsonConfig and import also data from Commons or modify module to not use them or disable some of its features.
As I can see in phab:T362754 it is resolved now.
Solved it by configuring the JsonConfig extension to support wikimedia templates :
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! :)
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.)
Any other sites like that out there? I went to Miraheze, but the status is declined.