[00:09:19] I'm looking at BitmapHandler (after Reedy's change to suggest ext-gd in composer.json) and noticing that we seem to prefer imagick shell > gd (which make sense I guess since Imagic is said to support more file types as per $wgUseImageMagick docs), but then by default if imagick shell is not configured we still prefer ext-gd over ext-imagick which seems odd. [00:09:35] Does anyone know why class_exists( 'Imagick' ) is not preferred over 'gd'? [00:10:53] Some weirdly optimised version for Wikimedia purposes? [00:11:02] Not that we really use imagemagick much these days [00:12:38] to clarify, I'm proposing to swich (imagic shell, gd, imagick) to (imagic shell, imagic, gd) [00:12:50] but I suspect maybe there's something bad about ext-imagic that we don't recomemnd it [00:15:19] right yeah, at wikimedia we don't use either, assuming we have full confidence over mw really really not doing it anywhere anymore [00:15:40] I'm drafting a change that adds more relevant descriptions of what the suggested extensions enable [00:16:11] it seems openssl is oused in two places: EncryptedPassword, which nothing uses by default (so I'd describe that as "custom password types"), and Session.php which looks like maybe it shouldn't be using it anymore? [00:16:42] assuming there's some built-in way of doing that in php7+ [01:40:55] Reedy, I think you broke something: https://meta.wikimedia.beta.wmflabs.org/ [01:41:18] caching? [01:41:45] potentially [01:42:18] There's a global class alias... [01:43:50] Hmm [01:43:56] Phpstorm isn't completely happy either [01:46:41] I think we might need an extra class_alias for cache purposes [01:50:54] zabe: https://gerrit.wikimedia.org/r/768274 [01:51:37] let's try it [01:53:26] yay, seriali[sz]ation [02:10:47] lol [02:10:56] 02:09:56 02:09:56 Executing check 'Check endpoints for deployment-mediawiki12.deployment-prep.eqiad1.wikimedia.cloud' [02:10:56] 02:09:57 02:09:57 Check 'Check endpoints for deployment-mediawiki12.deployment-prep.eqiad1.wikimedia.cloud' failed: /wiki/{title} (Main Page) is CRITICAL: Test Main Page returned the unexpected status 500 (expecting: 200); /wiki/{title} (Special Version) is CRITICAL: Test Special Version returned the unexpected status 500 (expecting: 200); /w/api.php (Main Page pageprops) is CRITICAL: Test Main Page pageprops returned the unexpected status 500 ( [02:10:56] expecting: 200) [02:10:56] 02:09:57 [02:10:56] 02:09:57 02:09:57 Finished Canary Endpoint Check Complete (duration: 00m 00s) [02:10:59] Carries on with the deploy [02:11:01] And it's fixed! [02:11:23] zabe: thanks for the heads up [02:11:44] yw [08:19:58] I created a mediawiki site and every so often when I continue to preview my edits, I see "Sorry! We could not process your edit due to a loss of session data. You might have been logged out. Please verify that you're still logged in and try again. If it still does not work, try logging out and logging back in, and check that your browser allows cookies from this site." while still logged in, and if I resubmit to preview, [08:19:58] then it works. But I keep seeing this so frequently. I don't see this on Wikipedia. How can I adjust setetings so that I don't see this so frequently? [08:36:17] also, I think I'm doing this wrong, lol, I'm trying to figure out how to get {{reflist}} to work on my mediawiki site, and I'm creating the individual articles one by one that I think are part of this, but I'm stuck at " Lua error in package.lua at line 80: module 'Module:No globals' not found." and there should be a better way to download and importa all the relevant data, right? [16:07:57] Hi. I set out to clear my caches. However, I don't remember my account password on XAMPP. What am I suppose to do? [16:16:16] What do you mean account password on XAMPP? [16:16:21] Account password for what? [16:21:40] re: VisualEditor extension, my shared hosting provider doesn't allow me to use "AllowEncodedSlashes NoDecode" in apache config for my virtualhost, so I was wondering if there is any work around that maybe the "Error contacting the Parsoid/RESTBase server (HTTP 400)" error that appears cuz of 400 in rest query with %3A instead of : and %2F instead of / in the url is not working, to somehow get it to work? [16:24:49] oh sweet! I see a #mediawiki-visualeditor channel! [16:37:49] Reedy: I forgot my MediaWiki password on XAMPP. I am asking to find a reset ways. How do I reset my password? [16:37:56] !resetpassword [16:37:56] For information regarding the resetting of a user's password, please see [16:38:20] thank you! [17:03:48] Oh my fuck! Dreamhost livechat support are stupid as fuck lol "I'm checking on that one. Just a moment. Thank you for waiting. It is indeed enabled by default. If you'd like to change to NoDecode, you may add this line to your .htaccess file: AllowEncodedSlashes NoDecode" [18:01:22] I have no idea about running the scripts. How can I learn easily? [18:11:51] What is the extension that is used on Wikipedia shown on the edit pages above the edit textbox after "Help" labeled "Cite" that when clicked, expands below showing Templates, Named references, Error check, etc.? [18:14:12] Victor_Trevor: If you cd into the mediawiki/maintenance directory, you should then just be able to run https://www.mediawiki.org/wiki/Manual:Resetting_passwords#Use_the_changePassword.php_maintenance_script [18:16:10] ryzenda: Seemingly https://en.wikipedia.org/wiki/Wikipedia:RefToolbar [18:16:38] Reedy: I don't know how I'd do it. [18:16:48] How do do what? [18:18:11] To run command at maintenance subdirectory. [18:18:51] open cmd.exe [18:19:15] cd c:\xampp\htdocs\ [18:19:25] then depending what's there (run dir) [18:19:32] cd mediawiki\maintenance [18:28:04] Reedy: I run PowerShell at E:\XAMPP\htdocs\Victorpedia\maintenance [18:28:55] and receving the error. [18:29:01] What error? [18:29:25] php : The term 'php' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s [18:29:26] pelling of the name, or if a path was included, verify that the path is correct and try again. [18:29:26] At line:1 char:1 [18:34:01] There is a folder called runScript.php at \maintenance. Is there a way to run? [18:44:12] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts/Running_the_scripts#Running_the_script [18:44:31] try php-cgi instead of php, if that doesn't work find and use the absolute path [18:52:01] When I add this line $wgPasswordDefault = 'E'; to LocalSettings.php, I logged into my account miraculously. [18:52:02] Thank you for your interest, @reed [18:52:18] Reedy, AntiComposite. [20:08:41] I'm still tinkering setting up Mediawiki with extensions used on MediaWiki/Wikipedia and when I edit and save, I see the 'session_fail_preview' message all the time. I'm trying to track down what the issue is. [20:16:06] I cleared all cookies for the domain, logged in (keep me logged in checked), edited an article and saved successfully once, twice, thrice, etc., trying editing another article, once, twice, thrice, ah it's working now, but it wasn't working before, lol whatever [20:19:46] Sometimes when you change settings stuff gets in a mess [20:47:27] For extension https://mediawiki.org/wiki/Extension:TemplateStyles with all the styles on Wikipedia and MediaWiki sites, is there a repository available that I can download all of the important ones to add to my mediawiki site? [20:48:27] Ah https://mediawiki.org/wiki/Manual:Interface/Stylesheets might be what I'm looking for [20:50:12] That with Special:Export is probably the closest you're going to get, indeed [21:50:26] In my LocalSettings.php I put $wgSkinMetaTags = ['og:type' => 'website']; // (and other things), but none of the meta data is showing up during page requests when logged in (and cache disabled) [21:53:20] Which skin? [22:08:16] Reedy, aha, that must be why! lol, I'm using DarkVector skin, which I thought was dark version of the Vector skin,and that it wouldn't have any issues compared toVector. [22:09:01] Looking at the code, anything that overrides initPage and then doesn't call the parent and/or do the tag stuff I guess could be potentially broken [22:12:50] Reedy, Also I noticed you were in #mediawiki-visualeditor channel too, and I said a few things there, and no replies. No rush though, but just thought I'd mention [22:13:07] Most of the people that do VE stuff probably are having a weekend ;) [22:24:30] ah right, it's the weekend! [22:25:42] Also I used https://mediawiki.org/wiki/Special:Export to add all pages from MediaWiki namespace but I only see MediaWiki:Accesskey-ca-nstab-extension and MediaWiki:Accesskey-ca-nstab-manual for the Accesskey pages, and according to the list in https://mediawiki.org/wiki/Manual:Interface/Access_keys there are many more that weren't included in the list. How come? [22:29:49] oh, maybe it's cuz those pages that aren't included do not have any history, despite having source content for their pages? I wonder then how do I get those configuration data articles too? [22:32:31] oh, or otherwise apparently those articles are not in the MediaWiki namespace, and are in the main namespace, lol what? [22:33:57] oh but even then, https://translatewiki.net/wiki/Special:PrefixIndex?prefix=Accesskey-&namespace=8 shows a bunch more too! [23:15:58] Chances are your wiki doesn't have an Extension namespace... [23:17:02] Also, many things in hte MediaWiki namespace are l10n/i18n messages that your MW will already have