!mduWVRtKzYinVAelXP:matrix.org

MWStake General

135 Members
MediaWIki Stakeholders' Group general discussion https://commonmark.org/help/29 Servers

Load older messages


SenderMessageTime
15 Jan 2021
@richardheigl:matrix.orgrichardheigl
In reply to @freephile:matrix.org
love this line: "Optimizes PDF images, often producing files smaller than the input file"
Practical: Then you have more space for comments :-D
21:50:50
@hexmode:matrix.orghexmode
In reply to @cicalese:matrix.org
I tried to get it working with MySQL last week unsuccessfully, so I'll be interested if you get it working. I'm sure it is possible, but I was trying to use it for something else and didn't have much time to invest in working on it.
I'm using a MW+DB-container to create a fresh install. Tying the working bits together now
21:53:27
@cicalese:matrix.orgcicaleseIf you get it worked, please correct or enhance the documentation at https://www.mediawiki.org/wiki/MediaWiki-Docker/Configuration_recipes/Alternative_databases.21:57:22
@revi:revi.xyzrevi
In reply to @freephile:matrix.org
This is really bad news for 3rd-party users of MediaWiki... effectively forcing us to find a new implementation for search. https://anonymoushash.vmbrasseur.com/2021/01/14/elasticsearch-and-kibana-are-now-business-risks
Probably also bad for WMF themselves because IIRC WMF only installed free software (not just 'source published') and SSPL is obviously not free software :tm:
22:20:44
20 Jan 2021
@sen-sai:matrix.orgCharlyok.. question.. When MW parser is replaced with Parsoid then parsoid is allowed to just re-parse the bits of the page you modified and grab the rest of it out of the existing parser cache. This would mean that if Template A defines a Var and passes it to Template B .. It won't work22:26:36
@sen-sai:matrix.orgCharlywould this not break... uhh much ?22:27:02
@sen-sai:matrix.orgCharlyWould SMW even work ?22:27:36
@hexmode:matrix.orghexmodeThere are changes coming for SMW. You should use #set instead of [[ ]] notation22:28:14
@hexmode:matrix.orghexmode but cicalese knows more about that 22:28:32
@sen-sai:matrix.orgCharlyYeah I pinged here first, but seems afk atm22:28:50
@hexmode:matrix.orghexmodeits a good q for the public channel. For example, I'm trying to ask most stuff publicly so others can answer. 🙂22:30:55
@sen-sai:matrix.orgCharly:p22:31:10
@sen-sai:matrix.orgCharlyBut you mostly answer your own questions :p22:31:23
@hexmode:matrix.orghexmodeI guess I'm just an exhibitionist.22:32:49
@cicalese:matrix.orgcicalese hexmode is correct about the syntax limitation. I'm not sure of the answer to your bigger question. I do know that the parser team has considered SMW and identified the syntax issue. They did not seem to think that there was a more fundamental show stopper, as I understood it. But, the analysis is still preliminary. 22:35:50
@hexmode:matrix.orghexmodesomeone filed a bug about this page today: https://www.wikiapiary.com/wiki/Websites22:37:16
@hexmode:matrix.orghexmodeanyone know how to fix the total pages problem? Or the big red error?22:37:40
@hexmode:matrix.orghexmode(I will not answer that question now since I'm trying to move it off my mind so I can work on something else.)22:38:18
21 Jan 2021
@louispitingolo:matrix.orglouispitingoloHi, I've been running into issues updating my Mediawiki 1.35.0 installation to 1.35.1. I've downloaded the new files, copied over my Extensions, Images folders and LocalSettings.php and ran update.php, but going to the website yields HTTP error 500 "This page isn't working". Am I doing something wrong?00:01:41
@hexmode:matrix.orghexmode louispitingolo: probably not, but one or more of your extensions probably needs to be upgraded. 01:44:25
@hexmode:matrix.orghexmodeCheck your webserver's error log01:44:38
@tgr:matrix.orgtgr
In reply to @sen-sai:matrix.org
ok.. question..
When MW parser is replaced with Parsoid then
parsoid is allowed to just re-parse the bits of the page you modified and grab the rest of it out of the existing parser cache.

This would mean that if Template A defines a Var and passes it to Template B .. It won't work
My very superficial understanding is that page rendering is not allowed to have side effects (basically if page A transcludes page B then it should be possible to parse them separately and then plug the result of parsing B into where the result of parsing A has a placeholder for B; this is important for caching). So if template A uses a magic word to export something into the database and template B reads it back from the database, that would work. If the variables are specific to the parsing process, that will break.
02:50:08
@bryandamon:matrix.orgBryan Hilderbrand

louispitingolo: Add something like this to the top of your LocalSettings.php (ideally at the top just below <?php), then let us know what you see:

## Debugging PHP
error_reporting( -1 );
ini_set( 'display_errors', 1 );

# Enable more details (like a stack trace) to be shown on the "Fatal error" page.
$wgShowExceptionDetails = true;
# Shows a toolbar on the page with profiling, log messages and more.
$wgDebugToolbar = true;
#Adds the "log messages" part of wgDebugToolbar as a raw list to the page.
$wgShowDebug = true;
# MediaWiki will throw notices for some possible error conditions and for deprecated functions.
$wgDevelopmentWarnings = true;

## Debugging SQL
# To display SQL errors in error messages instead of "(SQL query hidden)", add the following to LocalSettings.php:
$wgShowSQLErrors = true;
$wgDebugDumpSql  = true;
# You can also enable backtrace on SQL error by setting $wgShowDBErrorBacktrace:
$wgShowDBErrorBacktrace = true;
# Enable MediaWiki's debug logging (I haven't used this yet)
$wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log";
03:18:58
@sen-sai:matrix.orgCharly tgr: Yeah, that's what I was afraid for.. 07:12:13
@sen-sai:matrix.orgCharly * tgr: Yeah, that's what I was afraid off.. 07:12:28
@sen-sai:matrix.orgCharly * tgr: Yeah, that's what I was afraid for.. 07:15:20
@louispitingolo:matrix.orglouispitingolo

This is the error log:

#0 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\libs\rdbms\loadbalancer\LoadBalancer.php(934): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\libs\rdbms\loadbalancer\LoadBalancer.php(901): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'testwikidb-test', 0)
#2 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1046): Wikimedia\Rdbms\LoadBalancer->getConnection(-1, Array, 'testwikidb-test', 0)
#3 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\GlobalFunctions.php(2469): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(-1, Array, 'testwikidb-test')
#4 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\localisation\LCStoreDB.php(56): wfGetDB(-1)
#5 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\localisation\LocalisationCache.php(449): LCStoreDB->get('en', 'deps')
#6 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\localisation\LocalisationCache.php(495): LocalisationCache->isExpired('en')
#7 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\localisation\LocalisationCache.php(414): LocalisationCache->initLanguage('en')
#8 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\localisation\LocalisationCache.php(333): LocalisationCache->loadSubitem('en', 'messages', 'title-invalid-e...')
#9 C:\MAMP\htdocs\mediawiki-1.35.1-updated\languages\Language.php(2645): LocalisationCache->getSubitem('en', 'messages', 'title-invalid-e...')
#10 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\MessageCache.php(1030): Language->getMessage('title-invalid-e...')
#11 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\MessageCache.php(988): MessageCache->getMessageForLang(Object(LanguageEn), 'title-invalid-e...', false, Array)
#12 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\cache\MessageCache.php(930): MessageCache->getMessageFromFallbackChain(Object(LanguageEn), 'title-invalid-e...', false)
#13 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\language\Message.php(1304): MessageCache->get('title-invalid-e...', false, Object(LanguageEn))
#14 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\language\Message.php(862): Message->fetchMessage()
#15 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\language\Message.php(954): Message->toString('text')
#16 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\title\MalformedTitleException.php(51): Message->text()
#17 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\title\MediaWikiTitleCodec.php(346): MalformedTitleException->__construct('title-invalid-e...', '')
#18 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\Title.php(3413): MediaWikiTitleCodec->splitTitleString('', 0)
#19 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\Title.php(427): Title->secureAndSplit('')
#20 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\MediaWiki.php(88): Title::newFromURL(NULL)
#21 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\MediaWiki.php(151): MediaWiki->parseTitle()
#22 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\MediaWiki.php(902): MediaWiki->getTitle()
#23 C:\MAMP\htdocs\mediawiki-1.35.1-updated\includes\MediaWiki.php(543): MediaWiki->main()
#24 C:\MAMP\htdocs\mediawiki-1.35.1-updated\index.php(53): MediaWiki->run()
#25 C:\MAMP\htdocs\mediawiki-1.35.1-updated\index.php(46): wfIndexMain()
#26 {main}
19:08:33
@hexmode:matrix.orghexmode
In reply to @bryandamon:matrix.org
Yeah, that's the read I got about it as well.
And Amazon has basically forked ES? Um... so, by making ES proprietary they've weaponized their competition?
22:40:04
@hexmode:matrix.orghexmode"Don't buy from us, we'll lock you in."22:40:26
@hexmode:matrix.orghexmode(Do not mistake me for an Amazon sycophant... but this is dumb.)22:41:27

Show newer messages


Back to Room ListRoom Version: