[00:12:25] shouldn't be [00:35:33] from the #openbsd channel httpd chroots to /var/www .. it sees nothing outside of that directory .. the only way this is going to work is if you talk fcgi or whatever to something outside of the chroot [00:40:53] so it can't read the pygmentize executable? [00:43:22] honestly, in the time it took you to struggle through OpenBSD problems, you would have installed 5 wikis on Debian [00:45:42] my goal is to get it working on openbsd [00:46:13] it can read the pygmentize, but it's python, python isn't in the chroot. [00:46:27] lol [00:55:39] an older version of SyntaxHighlight didn't require pygments, you could try using it though I don't know if it works with modern MW [01:08:35] Thanks, but I'm not interested in going backwards... [01:40:11] GumShoe: either disable the chroot, or install all relevant supporting executables inside of the chroot [01:40:19] option 1 sounds far easier [01:41:13] chroot isn't an effective security boundary anyway [02:34:20] ok... I've been fooling with this awhile, and learned a lot which is a good thing. I'm thinking that a syntaxhighlighter extension might be better to be supported in the browser rather than calling python from php. [02:34:33] There is https://www.mediawiki.org/wiki/Extension:SyntaxHighlighterAndCodeColorizer [02:34:59] last version 2010, but the page was edited in 2017... [03:01:11] The more I learn and the more I think about this I really don't understand why mediawiki is not doing syntax highlighting in the browser! ????? [04:59:42] found a browser javascript extension Extension:Highlightjs Integration https://www.mediawiki.org/wiki/Extension:Highlightjs_Integration Wonder why MediaWiki doesn't use this or similar by default? Why go through all that server side calling python out of php... [05:11:31] Hi, by jQuery I want to check is the page redirect page or normal page. is it possible? [05:30:25] Hi reza1615. [05:30:30] Sure, that's possible. [05:30:36] For the current page or another page? [05:30:44] would you please tell me? [05:30:54] I checked it by this code [05:31:27] if ($('ul[class="redirectText"]')[0]) {'do something'} [05:32:40] Esther: for current page i used that code but for another page I don't know [05:35:43] You probably want to access the MediaWiki API. [05:52:40] GumShoe: we make a pretty big effort to support older browsers and users who don't use JavaScript [05:54:06] $("a[class='mw-disambig']")[0]['title']; [05:54:18] it is for disambig links [05:55:37] $("a[class='mw-redirect']")[0]['title']; [05:55:41] for redirects [07:03:50] Hi All! [07:05:05] Skizzerz: I figured out how to get it fixed :) Basically I started using lts version - 1.27.3. That was it. So, I would suspect that it deserves an issue on Phabracator. WDYT? [07:27:25] legoktm: you around ? [07:56:23] hi =) [07:56:35] https://www.mediawiki.org/wiki/Manual:Upgrading#Using_patch "Patches are incremental, you can not skip a version." What's "version" ? 1.27.0 1.27.1 1.27.2 1.28.0... ? Or just 1.27 1.28 1.29 ? [09:25:20] Hello. I was looking at the following list of UK children's authors and was surprised not to see my own name (Huw Powell). How do I get added? For info, I have 4 novels published (3 for children, published by Bloomsbury). [09:25:33] https://en.wikipedia.org/w/index.php?title=Category:British_children%27s_writers&pagefrom=Morton-Shaw%2C+Christine%0AChristine+Morton-Shaw#mw-pages [09:29:39] antgel appears to have quit this discussion, is there anyone else there? [09:34:07] ... apparently not! [11:10:45] i just installed MW 1.29 with composer and found WikiEditor and ParserFunctions extensions missing. Shouldn't they be included? [11:29:41] it turns out, we were using an old mediawiki-extensions.php. [12:20:19] is anybody able to decode this message: [26890d693e943c00776fa2c6] [no req] Onoi\CallbackContainer\Exception\ServiceTypeMismatchException from line 267 of /home/hitchwiki/src/public/wiki/ [12:20:23] vendor/onoi/callback-container/src/CallbackContainerBuilder.php: Expected \LBFactory type for DBLoadBalancerFactory but it did not match Wikimedia\Rdbms\LBFactorySimple [15:05:52] legoktm: Thank you. Point taken. I can't use it on openbsd as I run chroot [15:08:00] legoktm: What syntaxhighlighters that employ javascript are likely to continue in development? This one https://www.mediawiki.org/wiki/Extension:Highlightjs_Integration is working for me. [19:06:57] Hello! Any sysop of mediawiki.org here?:) [19:09:07] IQTex: hi [19:09:10] what do you need? [19:16:54] * Skizzerz pokes IQTex [19:21:03] Skizzers, have u seen my private messages?:) [19:21:21] no, I have pms from logged out users disabled [19:21:28] does this need to be in private? [19:21:34] lol [19:21:46] IQTex: send them again [22:01:40] hi there, which is the easierst way to get the suerrights of a user from the API? [22:03:48] Hi TRUMPed. [22:03:55] TRUMPed: groups or permissions? [22:04:03] list=users probably. [22:04:11] groups [22:04:15] TRUMPed: probably action=query&list=allusers&aufrom=username&auto=username&auprop=groups [22:04:31] Skizzerz: huh, a bit complicated. Thank you :) [22:04:38] https://en.wikipedia.org/w/api.php?action=query&list=users&ususers=Jimbo+Wales&usprop=groups%7Crights [22:04:41] Also works. [22:05:10] allusers is kind of different. [22:05:12] is that the easiest way too, to make sure a user exists? [22:05:37] Maybe you can tell us your real question and we can help with that. [22:06:14] Esther: the real question is that I want to add two functions to my bot framework, which are a) does the user exist? and b) in which groups the user is [22:06:17] ah, didn't notice list=users, that'd be more efficient than allusers probably [22:06:47] TRUMPed: list=users or list=allusers should be fine. [22:06:52] ok :) [22:07:03] There are existing libraries/frameworks that have already implemented this type of logic. [22:07:10] In lots of languages, if you don't want to write your own. [22:07:44] I still have a realitivly big framework :) [22:08:55] what language? [22:09:04] if python, pywikibot probably does 80% of what you need [22:09:16] no, PHP [22:09:51] works since 2015