[00:25:00] hello guys [02:36:40] Hi all. I could use some help. In process of upgrading to 1.28. Most working other than Scribunto pages. Getting PHP stack dump with: Fatal error: Call to undefined method ObjectCache::newAccelerator() in (Windows path)\extensions\Scribunto\engines\LuaCommon\LuaCommon.php on line 311. I did delete and reinstall Scribunto and am using built-in engine. Any thoughts? Thanks, Jason [02:41:19] hi IowaJason. Are you using the 1.28 version of Scribunto? [02:42:33] Hi legoktm. I just deleted and reinstalled from Scribunto site. I picked the 1.28 version. Appreciate advice if there is a better way to ensure I got proper version. [02:43:51] how did you download it? [02:44:30] line 311 is a comment in the 1.28 version, so I think you're using an older version [02:44:43] OK. I'll try again. My Wiki Special- Version page shows: – (4da5346) 01:46, 23 May 2016 as version. [02:45:05] yeah, that's old [02:45:16] IowaJason: https://www.mediawiki.org/w/index.php?title=Special:ExtensionDistributor&extdist_name=Scribunto&extdist_version=REL1_28 [02:46:02] legoktm: Thanks for the link. I'll go off and work from that for a while. Appreciate the help. [02:46:09] np [02:52:34] I am having a problem with mediawiki and nginx. i can only parse the first page. The rest turn out white. Are there any docs about this problem around ? [02:52:41] !blankpage [02:52:41] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [02:52:48] Betacommand: what does LTSB mean? [10:19:35] Hello everyone! [10:19:39] I am a HS senior participating in the Wikimedia task for GCI 2016. :) [10:22:20] Warning: failed to mkdir "/public_html/drowsy/datadir/tmp_vvuys9" mode 0777 [Called from wfMkdirParents in /home/darkunix/public_html/drowsy.me/includes/GlobalFunctions.php at line 2127] in /home/darkunix/public_html/drowsy/includes/debug/MWDebug.php on line 311 [10:22:20] [WEaQlMCj5xAAAHR2OP0AAAPD] 2016-12-06 10:19:00: Fatal exception of type MWException [10:22:25] Facing problme ^ [10:22:28] problem* [10:24:27] that's usually a filesystem permission problem [10:24:30] The_Codeguy: Hi and welcome! ("HS" = "high school"?) [10:24:39] mode 0777 <- [10:25:02] andre__: yes, high school [10:25:08] Shuriken: For future reference, https://www.mediawiki.org/wiki/Manual:How_to_debug explains how to get a stacktrace for the exception [10:25:13] The_Codeguy, I see :) [10:25:29] Shuriken`: For future reference, https://www.mediawiki.org/wiki/Manual:How_to_debug explains how to get a stacktrace for the exception [10:25:34] Shuriken`: that's usually a filesystem permission problem [10:25:40] andre__: are you in high school too? [10:27:06] The_Codeguy: Heh, I admit I've always had problem to understand which age is implied by terms like "college" or "high school" in random other countries... Nah, just finished university. :) [10:27:56] 17/18: last year of high school [10:28:05] Vulpix> Yea, I can guess that. But how am I fixing it? [10:28:31] I changed the permissions to 777 [10:29:20] Shuriken`: permissions of /public_html/drowsy/datadir/ ? note that the dir is different than /home/darkunix/public_html/drowsy.me/ (check if paths are correct) [10:29:44] that one is also drowsy/ [10:30:57] It should be /home/darkunix/public_html ? [10:30:59] it looks like one of those paths is not correct, or it shouldn't exist [10:31:21] /home/darkunix is my primary path of my cpanel [10:31:43] I dunno how to make it /home/public_html/drowsy/datadir [10:31:50] I'm completely newbie at mediawiki [10:32:10] look at LocalSettings.php and see if there's something pointing to /public_html/drowsy/datadir [10:33:15] Thanks alot!! [10:33:17] It worked. [10:33:24] Hadn't scrolled down LocalSettings [10:33:30] Found a variable for it in there. [10:33:32] :) [10:39:15] Vulpix> Can you please recommend me a WYSIWYG editor extension for Wikimedia? [10:39:30] *MediaWiki [10:39:44] MediaWiki, yup. [10:40:00] VisualEditor? [10:40:12] if you're able to install and run VisualEditor, that's the best you can get [10:41:17] I'm not sure if there are other WYSIWYG extensions available that actually work in latest versions... some of them were somewhat broken in recent versions, although they may now be fixed [10:41:51] hi all [10:42:24] is it possible to show the last editor/reviewer (directly) on an mw page? [10:45:56] it shows last edit of the page, so I guess it should be possible... Let's see if it's already provided in the footer message [10:46:56] Visual Editor so nice :D [10:51:04] grus: apparently not possible by editing a MediaWiki message or config variable, you may require something more involved like coding a MediaWiki hook in PHP [10:57:31] grus: There's https://www.mediawiki.org/wiki/Extension:Contribution_Credits but I don't know if it would work with recent versions of MediaWiki [11:02:59] When I click edit after setting up visualeditor, I'm encountering that error "(curl error: 7) Couldn't connect to server" [11:07:22] Shuriken`: setting up VE requires also to set up parsoid, have you followed all steps of the installation instructions? [11:07:36] it's not easy to install [11:09:02] Any alternative to VE? [11:10:39] https://www.mediawiki.org/wiki/Category:WYSIWYG_extensions (check purpose and maybe possible problems noticed on the talk page of each extension) [11:55:35] justinl: as you mentioned https://github.com/poke/mediawiki-RecentChangesLogFilter yesterday, are you aware of https://phabricator.wikimedia.org/T144451 ? [11:56:02] justinl, maybe you want to check and/or comment in that task. See https://www.mediawiki.org/wiki/Phabricator/Help#Creating_your_account [12:12:22] legoktm: Long Term Service Branch aka LTS [12:13:19] *Long Term Support [12:14:56] Yeah what Vulpix said, need my coffee first [12:17:22] Betacommand: well then you just follow the normal git steps and just checkout REL1_27 everywhere [12:18:58] legoktm: Ill post what Im doing and send a follow up email then, because I think the process is broken [12:19:03] please [12:19:08] and okay :) [12:19:47] legoktm: try checking out the rel1_27 of the extensions repo [12:19:59] what happens? [12:20:23] I had 15 interruptions [12:20:50] you mean like repos that fail to clone or something? [12:21:38] legoktm: it would stop at Username for 'https://gerrit.wikimedia.org': [12:22:56] legoktm: http://pastebin.com/Us78su2B [12:23:12] ugh [12:23:18] thats because those repos were deleted [12:23:22] we just need to delete them [12:23:37] do you have a full list of them? [12:24:38] legoktm: http://pastebin.com/00e7vXHi [12:24:54] need to update the docs for repo deleting :) [12:28:09] Betacommand: good news: it's no longer possible to delete gerrit repos [12:28:53] Betacommand: review plz https://gerrit.wikimedia.org/r/#/c/325545/ [12:34:48] * legoktm zzz [13:00:21] hi [13:03:11] Hi Guneet! [13:05:09] i am back [13:05:19] Guneet [13:05:28] hi lucifer [13:05:46] andre iam doing this task-"CURRENT TASK: SET UP YOUR MEDIAWIKI DEVELOPMENT ENVIRONMENT AND UPLOAD A SCREENSHOT OF A MEDIAWIKI EXTENSION" [13:05:56] Great! Good luck! :) [13:06:16] no,no i need your help [13:06:25] wait [13:07:19] there is a command in the instructions -"./setup.sh" [13:07:28] it is to used in git [13:07:49] now when i do this [13:08:08] it says -"which: no vagrant in (/c/Users/Guneet/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/mingw32/bin:/usr/bin:/c/Users/Guneet/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files/Common Files/lenovo/easyplussdk/bin:/usr/bin/vendor_perl:/usr/bin/core_perl) [13:08:08] Vagrant doesn't seem to be installed. Please download and install it [13:08:09] from http://www.vagrantup.com/downloads.html and re-run setup.sh. [13:08:09] " [13:08:49] and thus i am not able to follow the instructions [13:08:51] Hey there! My hoster upgraded php to version 7.1 and i upgraded mediawiki to version 1.28 since it says it is full compatible. Does anyone else has this setup? Got a lot of errors using some extensions which are bundled with mediawiki like Cite [13:09:54] are you doing the task -"SET UP YOUR MEDIAWIKI DEVELOPMENT ENVIRONMENT AND UPLOAD A SCREENSHOT OF A MEDIAWIKI EXTENSION"" [13:10:01] amket [13:10:20] akmet [13:11:02] i dont really understand what exactly you want from me :/ [13:11:35] I just wanted to know if this problem is known or if it is just an error made by my setup [13:11:52] ok [13:11:55] sorry [13:12:01] then :) [13:12:01] no problem :) [13:12:13] andre you there [13:13:05] andre__ are you there [13:35:17] Patience is a virtue on IRC. :) [13:52:41] andre__: Thanks for those links, we'll look into them! [14:19:28] Vulpix thanks, I am going to check tomorrow [14:19:31] I have to leave now [14:19:32] bye [15:19:31] legoktm: https://wikitech.wikimedia.org/wiki/User:Betacommand/Sandbox [18:11:59] Hey everyone! I'm currently participating in the Google Code-In challenge, I'm excited to be here! [18:13:39] Hi bence and welcome! [18:23:51] * divadsn remebers the last days where this channel was more active than today :D [19:28:44] I hav a questin about resource loader, which is basically "why doesn't it work as I expect!?" [19:28:52] Oki… [19:28:55] Ask it? :P [19:29:10] It refuses to talk to me [19:29:31] I try to get data urls working [19:29:47] And I want to use variants [19:30:19] Together with ltr and rtl versions of the same images [19:33:02] jeblad: https://www.mediawiki.org/wiki/ResourceLoader/Images [19:33:05] It sems like this is used… [19:33:09] protected $selectorWithoutVariant = '.{prefix}-{name}'; [19:33:50] That is line 44 in https://doc.wikimedia.org/mediawiki-core/master/php/ResourceLoaderImageModule_8php_source.html [19:34:33] But the line 45 with… [19:34:36] protected $selectorWithVariant = '.{prefix}-{name}-{variant}'; [19:35:00] is not used, at least the data url is not generated. [19:35:34] jeblad: what's your module definition? [19:35:40] So I don't get the fancy colored icons [19:36:37] I'll pase a few lines [19:36:42] "ext.spec.indicator.icon": { [19:36:44] "prefix": "mw-speclink", [19:36:45] "position": "left center", [19:36:47] "class": "ResourceLoaderImageModule", [19:36:48] "variants": { [19:36:50] "critical": { [19:36:51] "color": "#d11d13" [19:36:53] }, [19:36:54] Later from images [19:37:10] "images": { [19:37:12] "good": { [19:37:13] "file": { [19:37:15] "ltr": "images/ext.spec.indicator.icon/good-ltr.svg", [19:37:16] "rtl": "images/ext.spec.indicator.icon/good-rtl.svg" [19:37:18] } [19:37:19] }, [19:37:20] jeblad: dpaste please [19:38:02] jeblad, please, please, use dpaste! [19:39:18] This is basically the same as https://www.mediawiki.org/wiki/ResourceLoader/Images#Identifying_different_icons together with https://www.mediawiki.org/wiki/ResourceLoader/Images#Variants [19:39:42] jeblad: you need to specify for each image that a given variant should be generated, or specify that the variant is "global". this doesn't seem to be documented :/ hold on, let me recall how to do this exactly [19:40:21] hm, or maybe not? give me a minute [19:40:54] i wrote most of this code, but it was like two years ago [19:42:35] MatmaRex: when you refresh your memory, you can also improve the documentation (there's even a task for it: T107804 ) [19:42:36] T107804: Document ResourceLoaderImage module - https://phabricator.wikimedia.org/T107804 [19:43:14] There is a entry for "data", but I can't find anything about it [19:44:04] Could be stuff tucked in there at some other point and then reused [19:45:40] no, 'data' is a gross hack that is unrelated to data: URIs, ignore that [19:46:34] There is also "default" which I don't use, I guess it is the file with no direction? [19:47:03] Hm, no variant [19:48:31] jeblad: please hold on and give me 20 minutes [19:48:55] Hey guys, where does Vagrant store pages, or something like that. [19:50:08] I was also wondering if I needed a specific style to trigger generation of a specific data url, but then noticed that all three icons were generated, but only without variants [19:50:24] Ok, I make myself coffee! =) [19:53:48] jeblad: https://www.mediawiki.org/w/index.php?title=ResourceLoader/Images&diff=2303882&oldid=2163198 [19:57:47] lost in maintenence? [19:58:01] added now… :D [19:58:48] Bu this makes sense!, I'll try it out! [20:10:19] Yes, it works as expected! Thanks! =D [23:41:22] Hi..