[06:00:02] Reedy: I suck? [17:52:55] thank you for 1.37.4 Reedy! [18:41:39] I cant seen to find this but I feel like there was a way to turn off wikicode parsing on a page, right? [18:43:01] what are you trying to do? [18:43:46] You can change the content model to plaintext [18:45:51] does it but then I loose html [18:46:33] ignore things wikicode on a pager [18:46:41] only wikicode [18:47:28] You can change the content model to plaintext using Special:ChangeContentModel [18:48:18] I think the OP wants an "html content model", which currently doesn't exist [18:49:30] Oh so he does wants to render HTML, but not any custom wikitext [18:49:35] *they [18:49:42] Interesting... [18:49:57] I could render HTML [18:50:19] I just dont want to render Wikicode on only 1 page [18:50:51] you'd have to write an extension to the parser (you do not want to do this) [18:51:38] Write your own parser! [18:52:12] Note that MediaWiki currently strips a lot of HTML elements/properties for security reasons [18:52:21] I could use a tab to put it in code block but that messes up the actual text also. nor do I want it in a code block [18:52:30] Or write a custom parser that handles that content model. However, I'm having a hard time understanding why you would want to render HTML, but not any wikitext. There are probably other options for that (maybe Gadgets or Widgets?). [18:52:31] yah, not a big deal [18:53:19] it does not need to render HTML but somehow I would still need to get CRs in the text [18:53:41] where also removes CRs [18:53:43] If you just want to show plain html (unrendered), creating a content model isn't that difficult [18:53:57] ? [18:53:58] What are CRs? [18:54:04] Carriage Returns, I guess [18:55:01] But that wouldn't make sense, since HTML doesn't render newlines unless you write
[18:55:29] Chr(13) CR Carriage Return [18:57:02] To make CR on wikitext to be rendered as they're placed, use
, or wrap everything between [18:59:36] mm didnt help [19:00:02] still rendered wikicode [19:02:18]
[19:02:55] 	 But 
 doesn't render html tags. *shrugs*
[19:08:32] 	 <3
[19:08:34] 	 
[19:08:36] 	 worked
[19:10:25] 	 Thanks everyone!
[19:12:55] 	 wats up
[19:27:21] 	 xxn
[21:34:58] 	 A question regarding the flow extension: i'm writing my own extension and I would like to add a hook whenever something is posted. In the hook i would like access to the page title and the user. Perhaps with onAPIFlowAfterExecute?
[22:53:14] 	 Does anyone know what would be causing this error when trying to upload a file:
[22:53:15] 	 > The file you uploaded seems to be empty. This might be due to a typo in the filename. Please check whether you really want to upload this file.
[22:53:15] 	 It is most definitely not empty.
[22:53:41] 	 What sort of file is it?
[22:54:01] 	 anything I try to upload, png, JPEG etc.
[22:54:51] 	 It's possible the file isn't reaching MW properly
[22:54:57] 	 php post sizes etc
[23:02:34] 	 Hello all... Anyone else having issues with Gmail rejecting mediawiki account verification emails?
[23:02:59] 	 Also Gmail appears to be blocking based off message content for us, not based off IP address.
[23:03:18] 	 your own wiki?
[23:03:18] 	 Getting flagged as spam for some reason. Also blocking /buffer 64
[23:03:58] 	 Oops, i meant to say it's also blocking notification email (page updated, etc.).
[23:04:04] 	 Reedy: Yes, on our wiki. Sorry.
[23:04:33] 	 I came here to see if it's an issue for anyone else hosting a mediawiki instance.
[23:04:37] 	 I help with the Gentoo wiki.
[23:04:45] 	 https://wiki.gentoo.org
[23:04:57] 	 I've not seen anyone else complaining, but that doesn't necessarily mean anything
[23:05:24] 	 Okay. Does Mediawiki host a set of forums? I could try searching there.
[23:05:49] 	 https://www.mediawiki.org/wiki/Support_desk would be the closest
[23:05:52] 	 And I'm not talking about Extention:Page Forms. :P
[23:05:53] 	 Else some phabricator ticket
[23:06:01] 	 Do Google tell you what about the content it doesn't like?
[23:06:52] 	 It appears to be content based SPAM detection. Our bugzilla is also using the same emailing backend, and Gmail users have no issues receiving those emails.
[23:08:52] 	 I'd presume if it was Mediawiki more generally, and therefore Wikipedia et al, we'd be hearing about it from a lot more people
[23:09:29] 	 >On a recent Gentoo system, what does sed -n "6p" /etc/os-release | sha256sum | cut -d " " -f 1 print? 
[23:09:35] 	 So I've got to install gentoo to join the wiki?
[23:09:37] * Reedy grins
[23:09:38] 	 Haha
[23:09:44] 	 #installgentoo meme?
[23:09:51] 	 I'll help you get past that.
[23:11:01] 	 I was going to sign up using my wikimedia (gapps) email...
[23:11:34] 	 Reedy, sure, you can do it. Check your DM.
[23:12:06] 	 >Why is this message in spam? It is similar to messages that were identified as spam in the past.
[23:12:10] 	 If you're not using gmail as the provider you should have no issues.
[23:12:15] * Reedy reports not as spam
[23:12:35] 	 It wouldn't surprise me if some user of your wiki (or the spammers) ahve just marked you as spam
[23:12:36] 	 Is gmail the backend for your wikimedia mail?
[23:12:51] 	 yeah
[23:13:32] 	 Google very unhelpfully unobviously putting anything in the headers
[23:13:59] 	 SPF passes
[23:14:00] 	 And you received the account activation email?
[23:14:09] 	 Yeah, it went to my spam, but it arrived
[23:14:28] 	 Oh, awesome! you're the first to have success.
[23:14:43] 	 Hmm
[23:14:54] 	 It's possible hosted gapps is different vs random gmail account
[23:14:59] 	 let me try changing the email to my personal gmail
[23:15:20] 	 It didn't come through (even to my spam folder) to my personal gmail.
[23:15:52] 	 And I know at least two other people who checked their spam as wlel.
[23:15:54] 	 *well
[23:16:05] 	 Have you disabled email changing?
[23:16:11] 	 Or is this a MW bug...
[23:16:18] 	 >Email address is required. 
[23:16:31] 	 I understand not being able to remove it, but not being able to change it is silly
[23:17:33] 	 No, I don't think we've changed it.
[23:17:43] 	 Let me check.
[23:18:19] 	 https://wiki.gentoo.org/wiki/Project:Wiki#How_can_I_change_my_email_address.3F
[23:18:59] 	 Looks like there are a couple of workarounds.
[23:19:00] 	 >The MediaWiki software does not allow users or administrators to directly change the email address of any account. 
[23:19:02] 	 That's a lie
[23:19:05] 	 I couldn't remember.
[23:19:07] 	 https://www.mediawiki.org/wiki/Manual:ResetUserEmail.php
[23:19:20] 	 on wikipedia it's self serve via Special:Preferences
[23:19:32] 	 Then we should probably fix that then...
[23:19:37] 	 Like I say, it might be a MW bug
[23:19:46] 	 Around the EmailConfirmToEdit config
[23:20:26] 	 It probably is a bug; we haven't disabled that to the best of my knowledge.
[23:20:51] 	 https://www.mediawiki.org/wiki/Manual:$wgEmailConfirmToEdit is off by default :)
[23:21:51] 	 Is there another switch to enable changing email addresses? :P
[23:22:09] 	 Turning that off ;)
[23:22:25] 	 With your new captcha, that flag might be unnecessary
[23:22:29] 	 But it still feels like a MW bug
[23:24:07] 	 I'll create an entry in our bugtracker to hopefully fix the self-service email reset and change the message. 
[23:24:14] 	 We'll just say it isn't currently working for our wiki.
[23:24:20] 	 Really appreciate your help.
[23:24:23] 	 You've been most helpful.
[23:24:41] 	 I've just filed https://phabricator.wikimedia.org/T312687 too
[23:25:53] 	 And added another image to show the difference
[23:33:38] 	 Reedy: For record, our bug tracking the new account gmail issue: https://bugs.gentoo.org/856757
[23:34:07] 	 I'll file a second one for changing the email address when $wgEmailConfirmToEdit is set to true.
[23:37:40] 	 And yes, I just confirmed $wgEmailConfirmToEdit = true;
[23:38:02] 	 Like I say, wtih your captcha you can probably turn it off
[23:38:10] 	 But there's the effective apparent upstream bug here in MW too
[23:39:31] 	 SEE!
[23:39:36] 	 We were...sort of right!
[23:41:10] 	 Were you able to test that someone on upstream mediawiki?
[23:41:15] 	 *somehow
[23:42:34] 	 on my dev wiki... if I set wgEmailConfirmToEdit to true, I still see the change link
[23:42:39] 	 But my email isn't confirmed there
[23:42:41] * Reedy hacks that
[23:44:16] 	 Or not..
[23:44:17] 	 Nice!
[23:44:40] 	 ?
[23:44:40] 	 Something else must be upsetting the config for you
[23:44:49] 	 even with email confirmed it's still showing
[23:45:10] * Reedy looks at $wgwgEmailAuthentication
[23:45:28] 	 Yeah, that's false
[23:45:35] 	 $wgEmailAuthentication = true;
[23:45:36] 	 >Set to true to enable email authentication (confirmation) for this wiki. Except for password reminder emails, email functions only work for authenticated email addresses.
[23:45:37] 	 For me.
[23:45:41] 	 https://www.mediawiki.org/wiki/Manual:$wgEmailConfirmToEdit
[23:45:46] 	 >This configuration parameter is ignored if $wgEmailAuthentication​ is false.
[23:45:53] 	 so if I set wgEmailAuthentication too...
[23:46:17] 	 the button is still there
[23:46:21] * Reedy looks at the code
[23:47:10] 	 if ( $canEditPrivateInfo && $this->authManager->allowsPropertyChange( 'emailaddress' ) ) {
[23:47:38] 	 editmyprivateinfo
[23:48:04] 	 https://wiki.gentoo.org/wiki/Special:ListGroupRights "all" has it...
[23:48:48] 	 Are you doing anything custom with auth?
[23:49:18] 	 Wonder if OpenID or similar is conflicting there
[23:50:30] 	 No, I don't think we have anything special with Auth.
[23:51:04] 	 PluggableAuth looks suspicious
[23:51:48] 	 That's not enabled for our main wiki...
[23:51:55] 	 AFAIK
[23:51:58] 	 It's on Special:Version
[23:52:02] 	 So it's loaded to some extent
[23:52:23] 	 Let me restate... I think it's only in testing phase. It _is_ enabled.
[23:52:23] 	 Is $wgPluggableAuth_EnableLocalProperties true?
[23:53:04] 	 wfLoadExtension( 'PluggableAuth' );
[23:53:06] 	 $wgPluggableAuth_EnableLocalLogin = true;
[23:53:08] 	 $wgPluggableAuth_ButtonLabel = "Log in with Gentoo SSO";
[23:53:14] 	 So... no.
[23:53:46] * maffblaster goes to look that up
[23:54:12] 	 https://wiki.gentoo.org/wiki/Special:ChangeEmail
[23:54:15] 	 >Account email addresses cannot be changed on this wiki. 
[23:54:25] 	 Ah! 
[23:54:39] 	 wgPluggableAuth_EnableLocalProperties = true; should fix this, then?
[23:55:06] 	 Yeah
[23:55:07] 	 If true, users can edit their email address and real name on the wiki. If false, the default, they cannot do so. Note that, if you rely on email address and/or real name returned from the authentication provider in any way, you should leave this setting at its default value. 
[23:55:29] 	 You might want to change it again later if some external auth becomes the canonical source of truth
[23:55:44] 	 I'm seeing that under https://www.mediawiki.org/wiki/Extension:PluggableAuth#All%20versions
[23:56:01] 	 Well, as far as I know, the Gentoo SSO project is not going anywhere any time soon.
[23:56:16] 	 The dev who was working on it has been away for a few months.
[23:56:18] 	 I'd probably just disable the extensions you don't need fo rnow
[23:56:24] 	 Mmhmm.
[23:56:50] 	 Or just set that variable to true for the time being with a note to revisit in the future.
[23:57:02] 	 Definitely at least do that, indeed
[23:57:25] 	 But then we'll have the same problem with email being unable to be changed again; at that point perhaps there will be a better work around.
[23:58:02] 	 Well, you'd not be changing in MW, you'd be changing it whatever centralised auth panel the gentoo SSO provides
[23:58:09] 	 And then MW would be syncing that (at login?)
[23:58:23] 	 Something like that - like I said, I wasn't involved with that effort in the least bit.
[23:58:58] 	 But - yeah - it would mean that all our subdomains that require authentication would/should be authenticated with SSO.
[23:59:20] 	 And that we'd have to determine what should be the source of truth...