[02:42:17] legoktm, what do you think I should do with https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TemplateSandbox/+/698579? keep it as "CSS" or add a hardcoded special-case for "CSS + NS==Mediawiki"? [02:45:51] inductiveload I kinda think we should just move it to a separate change/phab task to unblock adding TemplateStyles which I think is more obvious [02:46:09] more obviously* correct [05:57:37] The ID "QString Module Error: Match not found" is unknown to the system. Please use a valid entity ID. [05:57:59] why i am grtting this error in infobox? [05:59:14] that page also has this error = lua error Coordinates must be specified on Wikidata or in |coord= [08:29:36] did anyone get accross this issue: [08:29:36] Error creating thumbnail: /var/www/html/wiki/includes/shell/limit.sh: line 101: 1841 Aborted /usr/bin/timeout $MW_WALL_CLOCK_LIMIT /bin/bash -c "$1" 3>&- Error code: 134 [08:30:09] this stuff seems to be cached somewhere [08:30:30] I found a post which points out to set wgMaxShellmemory=0 did that but it didn't change anything [08:30:47] even if I exit the limit script before line 101 it will print the same issue just if that script is not accessed at all [08:31:16] yes it's not accessed at all.. I renamed it and it still prints that error [08:38:48] oh yes this thing is cached... [08:51:15] Hello, i wanted to use an editing interface. After some investigation, i have chosen "WikiEditor", because it seems to be a default / most supported. I have enabled it, but now i am getting error, that parsoid is unavailable. In wiki: https://www.mediawiki.org/wiki/Parsoid there is information, that i need to manually enable it, but "This is expected to change for the release of 1.36.". My question is - have this been changed? I am using v [08:51:15] ersion 1.36. Thanks. [09:03:51] Sorry, i meant "VisualEditor", not "WikiEditor". [09:13:47] Ok, after enabling Parsoid with instructions from wiki, the MediaWiki no longer starts. How do i enable Parsoid in 1.36? [09:26:39] I am getting ""POST /rest.php/help.domain.com/v3/transform/html/to/wikitext/User%3AUser HTTP/1.1" 415 155" . Any bells ring? I would be very glad for any hint! [09:33:33] After setting "$wgServer = 'https://help.domain.com" from default "$wgServer = '//help.domain.com'" , it works. Anyone knows if this is proper fix or just workaround? Thanks [14:16:02] Hello! [14:16:47] Hello! [14:16:57] Hello! [14:18:38] Hello -- I'm trying to debug a syntax error in my config somewhere (I presume!) and am slowly going mad [14:18:41] {"services":[{"module":"/usr/lib/parsoid/src/lib/index.js","entrypoint":"apiServiceWorker","conf":{"localsettings":"/etc/mediawiki/parsoid/settings.js","uri":"https://magnetdata.dpag.ox.ac.uk/mediawiki/api.php","domain":"magnetdata.dpag.ox.ac.uk","debug":true}}],"name":"parsoid","hostname":"magnetdata","pid":18963,"level":60,"levelPath":"fatal/service-runner/worker","msg":"expecting an array or [14:18:43] an iterable object but got [object Null]","time":"2021-06-11T14:14:03.378Z","v":0} [14:18:45] {"services":[{"module":"/usr/lib/parsoid/src/lib/index.js","entrypoint":"apiServiceWorker","conf":{"localsettings":"/etc/mediawiki/parsoid/settings.js","uri":"https://magnetdata.dpag.ox.ac.uk/mediawiki/api.php","domain":"magnetdata.dpag.ox.ac.uk","debug":true}}],"name":"parsoid","hostname":"magnetdata","pid":18953,"level":40,"message":"first worker died during startup, continue [14:18:47] startup","worker_pid":18963,"exit_code":1,"startup_attempt":1,"levelPath":"warn/service-runner/master","msg":"first worker died during startup, continue startup","time":"2021-06-11T14:14:04.389Z","v":0} [14:19:00] Those are what my path contains, and I am not entirely sure what the '[object Null]' refers to [14:50:02] Landak Parsoid is now a PHP application that comes bundled with MediaWiki 1.35+, you don't need a separate nodejs service anymore [14:50:37] @legoktm -- I've recently seen that (well done!) but alas this wiki is on a machine with PHP 7.2... [14:51:29] I will try to update that. It looks a lot less hassle. [14:51:38] Thank you also so much for making this excellent, excellent software! [14:51:55] :))) [14:52:13] Yeah, getting the PHP Parsoid working should be much more straightforward [15:55:04] Forgive me for asking for help again [15:55:13] and (@legoktm -- thank you in advance!) [15:55:20] I've just run the upgrade script [15:55:25] And the (pgsql) database migration fails [15:55:41] Wikimedia\Rdbms\DBQueryError from line 1719 of /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php: Error 23505: ERROR: could not create unique index "wl_user_namespace_title" [15:55:43] DETAIL: Key (wl_namespace, wl_title, wl_user)=(0, Restarting_the_console, 1) is duplicated.y [15:59:47] Hmmm, Reedy , do you know ^^ [16:02:08] I think I've ended up with a duplicate page entry somehow (perhaps?) @Reedy [16:15:51] It seems to work though (!) [17:10:41] addshore: can you confirm that this is considered a core issue and not something Wikibase can/should accomodate? https://phabricator.wikimedia.org/T231084 [17:11:46] I believe so yes [17:12:23] all wikibase does is hook into the functionality that core provides :) [17:12:27] what is the issue in a nutshell, like why is one of them ItemContent and one of them WikitextContent, and why can't they be compared as text fallback? [17:13:09] 1) "why is one of them ItemContent and one of them WikitextContent" because core allows you to compare any 2 revisions [17:13:51] 2) "why can't they be compared as text fallback" they perhaps could be, is this something core supports in some way? [17:14:30] I believe so, yes. Json/Css/Wikitext afaik all inherit TextContent, so as last resort you'll just see all removed on the left, and all added on the right in their textual form. [17:15:04] but either way, I suppose there will always be ways to trigger manually two random revs that don't share a common parent type [17:15:12] I didn't realize they weren't revs to the same page [17:15:12] interesting, perhaps wikibase could extend json content? (it wasn't around when this ws all first written) not sure if that would give us anything else "for free" though [17:15:21] was thinking maybe the page changed content types or something [17:15:23] "but either way, I suppose there will always be ways to trigger manually two random revs that don't share a common parent type" +1 [17:15:39] likek what happens when a Q item becomes a redirect (Do I want to know?) [17:15:59] it is still json & some form of wikibase controled content [17:16:20] right, so it has its own way to express that [17:16:26] it doesn't have to become wikitext to be a redirect [17:16:33] same as Css/Js [17:16:34] nope [17:16:53] thoes also have ways besides #REDIRECT to become a redirect [17:16:56] those* [17:17:07] we do have a special page to change content types [17:18:37] https://test.wikidata.org/wiki/Special:ChangeContentModel/User:Krinkle/Qmess [17:18:50] but that won't allow changing to things without a common parent or transform method [17:18:51] cool [17:19:08] so it's really just url mangling that causes this [17:19:11] feeew, you had me worried there xD [17:19:29] And for wikibase entities "The content on azKVEBmL (Q6323) cannot be converted to any type." [17:25:32] How to create a page in custom namespace? any help? [17:28:52] addshore: ItemContent is JSON, right? [17:28:55] Guest59: just like how you'd create any other page [17:28:56] commented at https://phabricator.wikimedia.org/T231084#7152005 [17:29:36] ashley but it automatically created on main namespace na? [17:29:59] Krinkle: it is json yes, but not JsonCOntent [17:31:33] Guest59: no? if the namespace exists as a real namespace (e.g. either defined by an extension or yourself in LocalSettings.php via the $wgExtraNamespaces config global var) you can create pages in it. just like to edit the page called "Main Page" you'd visit Main_Page?action=edit in your browser, you can edit the page "Foo" in "TestNS" by visiting TestNS:Foo?action=edit in your browser. simple as that! [17:36:23] ashley Thank you, I have created a custom namespace but not able to understand how to created pages in that namespace only. can you explain little bit more please [17:38:01] Okay, you mean to say adding prefix my custom namespace to everypage right ? ashley [18:38:16] Guest59: yes [18:38:38] Like you would put User:Example for pages in the User namespace