[00:03:13] "It works in my Docker container." [00:06:25] well at least if that's the case you can commit your container and push it as an image to docker hub so we can all use it :p [00:14:06] https://dpaste.de/sXCm on that page it also shows "Configure Command ....'--disable-cgi'...", normal? [03:35:48] Been running into `Error: 1054 Unknown column 'ug_expiry' in 'field list'` after recent MW updates including npm, composer and `php update.php` [04:56:26] Volker_E: that *should* be fixed by update.php. the migration that adds it is in maintenance/archives/patch-user_groups-ug_expiry.sql [04:57:01] bd808: thanks. so it isn't. what now? [04:57:24] manually apply the migration I guess [04:57:58] I remember somebody else having this problem too... [05:01:54] bd808: ok, seeking for the patience inside to do it manually ;) [05:02:48] computers are the worst :) [05:35:14] I'm confused about the bot oauth interface, and can't tell if mine is setup incorrectly. https://www.reddit.com/r/SNPedia/comments/68rhkr/cant_access_snpedia_with_oauth_tokens/ [05:37:28] specifically the error message: mwclient.errors.OAuthAuthorizationError: The authorization headers in your request are not valid: Invalid signature [06:14:17] HI [06:14:36] I need help to migrate from 1.24 version to 1.26. [06:14:47] am facing issue while upgrading the version [06:19:16] Hi Apexil [10:11:42] Volker_E: just run mwscript sql.php --wiki=mywiki maintenance/archives/patch-user_groups-ug_expiry.sql [10:11:58] not a harsh test of patience [10:15:13] cariaso: not really possible to answer that without debugging [10:21:02] https://www.mediawiki.org/wiki/OAuth/Owner-only_consumers explains how you should do it [10:21:23] but if it doesn't work, you are mostly on your own in figuring out what's wrong [10:21:38] could be clock skew on the server or client, for example [14:23:55] with gadgets I see them loaded with dependencies, how does one do that if one wishes to load them straight from a global.js file? [14:25:53] sDrewth, https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#mw.loader [14:25:59] sDrewth, https://en.wikipedia.org/wiki/Wikipedia:User_scripts/Guide#Basic_examples [14:26:54] thanks, was there working my way down the page [14:27:18] I need a translation to noon-geek [14:33:58] andre__: if the old fashioned line is mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript'); I presume it is not a case of just sticking in the dependency component in square brackets prior to the parenthesis [14:35:55] oh mw.loader.using [16:00:52] Hi anyone. I'm trying to import a wiki dump but keep getting this: MWUnknownContentModelException from line 347 of /var/www/includes/content/ContentHandler.php: The content model 'Scribunto' is not regi stered on this wiki. [16:03:51] Calnation: Is the Scribunto extension actually installed on your wiki? [16:04:54] yes and I checked all requirements on the ext page and they're there. Installed manually, not w/ vargant [16:09:08] though i didn't install any additional LuaBinaries, not sure if that's required [17:42:45] Again, "MWUnknownContentModelException from line 347 of /var/www/includes/content/ContentHandler.php: The content model 'Scribunto' is not regi stered on this wiki." [17:42:58] plz anyone let me know if u can help [17:53:43] Calnation, which MediaWiki version? Which exact version of Scribunto? Is this a public wiki? [17:55:05] MW 1.28 and same for Scribunto. Wiki is local but i'm planning on making it public once all the bugs are out [18:05:15] looked at http://localhost/wiki/Special:Version and it doesn't show Scribunto there. But I did everything to manually install Scribunto according to this page https://www.mediawiki.org/wiki/Extension:Scribunto [18:57:45] is it bad to have vector vectorv2 skins in the same installation? I keep getting "..Uncaught Exception: /var/www/skins/Vector/skin.json does not exist!.." [21:29:31] how do u know an extension is properly installed? Been trying to install Scribunto but keep hitting an error importing an xml dump that might indicate Scribunto isn't installed [21:31:31] Special:Version displays if MediaWiki knows if the extension is installed or not. Still, that doesn't guarantee that all steps of the installation instructions have been completed (running database schema changes, changing permissions, isntalling/configuring other extensions...) [21:33:33] well i don't see Scribunto there so it's not installed properly? [21:37:45] calnation: correct, if it is not in Special:Version it is not installed [21:37:56] perhaps you missed the wfLoadExtension() call in your LocalSettings.php [21:38:04] or typoed it [21:38:16] or put the extension files in the wrong place [21:38:36] a typo or wrong path would result in a blatant error, I guess :) [21:41:15] I followed every single step on that page for manual installation. Is there any secret for Scribunto than no one is willing to talk about?! [21:42:04] calnation: yes, for complex deployemnts there is actually a secret: experience [21:42:36] Scribunto is something requiring to install Lua, a PHP extension, etc. [21:42:53] It's normal you've difficulties with this level of complexity. [21:43:23] So the secret is simply to be able to debug each potential problem points [21:43:35] something you'll learn doing more and more complex deploys [21:44:03] I thought Scribunto has all needed lua binaries inside it, no? [21:45:41] You need three extensions, WikiEditor, CodeEditor and Scribunto [21:46:20] Then if you use Lua binary, you need to know the path to lua51 [21:46:47] That gives something like this in the config: [21:46:48] $wgScribuntoDefaultEngine = 'luastandalone'; [21:46:48] $wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/local/bin/lua51'; [21:47:42] Then in your special:version page you'll see Lua in the Installed software table, see https://www.mediawiki.org/wiki/Special:Version [21:47:54] you won't have LuaSandbox, only the Lua one [21:48:25] `which lua51` will give you path to lua if it's installed [21:48:45] if not, tell me what UNIX OS or Linux distro you use, I'll try to figure what you need [21:49:49] and yes, you can use the binaries shipped with the extension instead if you wish [21:50:30] currently extension ships with binaries for Linux and Windodws in 32 64, Mac in 64 [21:54:58] but why is CodeEditor needed for Scribunto to work [21:58:52] it's not needed [21:59:16] depending of your definition of "to work" [21:59:33] CodeEditor is the extension to allow to get a decent editor with tab allowed, syntax highlighting, etc. [21:59:46] it doesn't only work for Lua but also for css/js [22:04:10] So I certainly don't have CodeEditor, but the binaries are there for a linux 64 and I did chmod a+x the file [22:04:54] haven't added any setting regarding $wgScribuntoEngineConf['luastandalone']['luaPath'] =.... though [22:05:12] I have this one "$wgScribuntoDefaultEngine = 'luastandalone';" [22:13:38] I added CodeEditor, which now appears in the version page, but still no Scribunto or Lua [22:56:21] are there any known extensions that would prevent Scribunto/Lua from working?