[07:27:25] hello all [07:34:22] is there any date for support of php 7.2 ? [07:34:44] latest Ubuntu have 7.2 now and mediawiki no longer work... [07:43:55] evildead: in what way does mediawiki not work? [07:44:02] and which version of MediaWiki are you running? [07:51:23] legoktm: i have open this ticket https://phabricator.wikimedia.org/T194052 [07:51:30] i use 1.30 [07:51:51] ah [07:52:07] what's the output of `php -i` on your system? [07:53:25] https://pastebin.com/zi8kC2cN [07:57:21] i load this custom file for not cli: https://pastebin.com/Td2HHPzb [07:57:25] evildead: try installing php-gmp? I think that might fix your issue (we still need to fix the underlying bug of course) [07:59:40] legoktm: you arre right, it works, thank you very much ! [07:59:55] great :) [08:00:39] you want i add a comment on the ticket ? [08:06:39] evildead: yeah, that would be appreciated [08:06:50] that code section supports using the gmp extension, and then falls back to bcmath [08:06:57] so it looks like just the bcmath part is broken [08:08:08] ok [13:45:56] As I haven't really had an answers last time, is it possible to have 2 oAuth servers to authenticate to? Like in the docs for oAuth client I only see an example on how to use one endpoint [13:52:01] DrowningElysium: not clear what you are asking [13:52:32] paste that example twice, change the server name and credentials in the second instance, and you have authenticated to two different servers [13:52:41] Well we have a members website and a old member (alumni type thing) website and want to use both as authentication points [13:53:08] So that both user types can log in on the same wiki instance [13:53:48] are you asking about the functionality of some specific software? [13:53:50] tgr: if I paste it twice it will only work on the last mentioned server [13:53:57] such as OauthAuthentication? [13:54:27] With https://www.mediawiki.org/wiki/Extension:OAuth2_Client you can use another website as authentication endpoint instead of that of the wiki itself. But it only supports one website. So is there a way I can add 2? [13:55:31] It's weird that it only supports one endpoint, what if I want to use google and facebook to authenticate? That plugin doesn't allow that it seems [13:56:45] at a glance, not without a rewrite [13:57:10] Yeah thought so, but there must be a plugin that does that already, this shouldn't be a weird use case [13:57:33] Like I don't have time to rewrite that plugin and we work with volunteers [14:01:20] DrowningElysium: Extension:OpenID Connect supports that, I think [14:01:45] not quite the same thing as OAuth 2 but sometimes the terms are mixed up [14:02:11] as OpenID Connect is a protocol on top of OAuth 2 [14:04:15] Hmm not sure, not really getting that from the docs [14:07:41] DrowningElysium: tgr is correct. You can have more than one issuer specified in $wgOpenIDConnect_Config, which will present a page for the user to select the issuer they wish to use to authenticate. [14:08:04] CindyCicaleseWMF: Yeah but is he also correct in that it works with oAuth 2.0 too? [14:08:14] Because the wikipedia page is saying that there are differences [14:09:40] there is no such thing as OAuth 2 authentication per se [14:10:38] some sites use OpenID Connect which is a specific protocol using an OAuth2-signed request, some sites have their own custom OAuth2-based protocol [14:11:20] I do know that Extension:OpenID Connect works with Google. Several years ago, it did not work with Facebook, but that may have been fixed on the Facebook end in the interim. [14:12:21] `Authentication - OAuth 2 The current authentication flow present at Congressus API is by the use of the Bearer Token suggested by the OAuth 2.0 concept.` This is what I know currently so that is why I am not sure if they follow openID [14:16:43] The OpenID Connect PHP library (https://github.com/jumbojett/OpenID-Connect-PHP) used by the OpenID Connect extension does support the bearer token. The best way to know if it works with your desired endpoint is to give it a try. [14:24:25] Thanks, we will try it then [14:30:21] bearer token is a way to sign your OAuth2 requests [14:31:39] OpenID Connect means you send a signed (bearer token or otherwise) OAuth2 request to an athentication endpoint and get back a JWT object with the user identity [14:32:39] so whether or not you use bearer tokens is sort of orthogonal to whether your OAuth2-based auth protocol is OIDC or not [14:46:50] is there a way of adding an html element to an existing MediaWiki page? what is the hook I should be looking for? [14:47:44] take into consideration that i need that element to appear in a specific place and with dynamic info. i want to render it using an extension that hooks into the page load process [14:52:16] is it BeforePageDisplay() that I'm looking for? [16:14:17] Hello, can you help me? [16:15:26] I created my mediawiki site and I would like to know how to do it completely mobile [16:20:51] Hello, can you help me? [16:20:57] created my mediawiki site and I would like to know how to do it completely mobile [18:55:50] hello [19:08:58] could someone help me?