[03:19:33] Query: Should I upgrade my 1.23alpha to 1.23.11, 1.25.3 or 1.26? [03:20:28] (As little maintenance as possible is an advantage.) [03:21:13] 1.23.11 should be the smallest step, depending on how old your version is [03:21:21] Unfortunately there's no newer LTS than 1.23 [04:33:01] So general question as I'm not sure if anyone else has encountered this [04:33:41] Just upgraded from 1.24 to 1.26 and when searching I now get a \n at the bottom of the page title matches [04:34:19] Thus breaking the layout https://remywiki.com/index.php?title=Special:Search&profile=advanced&search=beatmania&fulltext=Search [04:34:35] Anyone encountered this before? [04:44:05] Yeah [04:44:09] I think it's already been fixed [04:44:46] https://gerrit.wikimedia.org/r/#/q/owner:Legoktm+status:open,n,z [04:44:47] ffs [04:44:53] https://gerrit.wikimedia.org/r/#/c/255654/ [04:45:26] welp [04:45:38] surprised there's no patch already for it on the mw website, thanks for that! [04:46:49] It'sa relatively minor issue.. It should make it into the first point release [04:48:05] Fair [04:48:30] I suppose it did only come out the other day anyway [04:50:47] Also any idea on how to setup Elastica/Cirrus? The MW instructions are cryptic as fuck. elasticas install instructions tells you to create a dir in the extensions dir and get a zip of another plugin and put it in there (which doesn't exist) [04:51:55] When following the combined setup of Cirrus/Elastica, Version just whitepages and error logs have a nice undefined function in there [04:59:39] You'll need the composer stuff for it I guess [05:01:04] fun fun fun [05:01:16] so much for "No weird dependencies that make this difficult to install", oh well. [05:03:24] If you use the MW vendor repo, Elastica is already in it [05:08:16] I don't sadly. tbh Might as well go back to Lucene. Nothing was broken with it I guess and I just wanted to modernize [05:09:10] It's easy enough to swap over to [05:09:43] The elasticsearch.yml seems pretty daunting :P [05:10:02] Kinda what's putting me off, unless it's easier than it looks? [06:21:16] Yeah this is really easy, I was just overcomplicating it. Though I'm at a dead end now with this https://corin.s-ul.eu/qgkAdWMR [09:10:33] Hello channel. Could someone please let me know if there is a mailing list for Visual Editor? [09:11:03] Came across this mailing list (https://lists.wikimedia.org/pipermail/wikitech-l/) but it doesn't seem be used for the purpose of asking (VE) support questions. [09:49:23] algo: there is no mailing list for support [09:49:50] but you can use wikitext-l to find some visualeditor people without disturbing everyone else [09:51:12] @Nemo_bis: argh. Unfortunately, I've already sent an email exposing the issue I'm having with VE. [09:51:52] @Nemo_bis: also just found out about #mediawiki-visualeditor. Would that be a better channel for my questions? [10:01:49] dunno, most people there are here too [11:07:02] hi, anyone recently get hit with a DoS-like event on their wiki homepage (index)? [11:52:38] hmm, nevermind. Looks like I just had an over-zealous spam poster that slippied through my updated config [13:29:48] Hi [13:30:04] Is there an extension for generating morse code sequences? [16:09:41] Hi [16:09:54] I could really use some help can anyone give me some? [16:10:20] Hi [16:10:24] Im trying to access my wiki externally [16:10:31] from the internet [16:10:43] but I can't even though I forwarded all the port correctly [16:11:23] but when I try to connect it gives me an error [16:11:54] My question is how do I access my Wiki from the internet using my own computer as a web server [16:13:38] CAN ANYONE PLEASE HELP? [16:14:16] people do not usually answer very quickly on irc [16:14:22] it depends [16:15:24] yay [16:15:25] Im not a total noob. I can access my wiki on my LAN [16:15:37] sorry, wrong channel [16:15:41] But not from the internet, despite me forwarding my port correctly [16:16:06] ? [16:16:08] maybe I'm using the wrong access address? [16:16:15] What system, what webserver ? [16:16:26] Im using xampp [16:16:32] ... [16:16:38] with the latest mediawiki [16:16:41] ugh, out of the box ß [16:16:42] ? [16:16:44] my own computer is my homeserver [16:16:47] xampp [16:17:10] and you accessing the server(your pc) from you own machine ? [16:17:35] If I remember right, xampp has a standard config that you can't access from the outside [16:18:40] I'm using an iphone, laptop and ipad to see if I can access it. When I type in my machines IP (192.168...etc) I can access them. But when I try to use my external IP address to access them from the same devices I cannot access the website [16:19:12] You are behind a firewall, that is natting. [16:19:27] so...I need to switch off my firewall? [16:19:42] So you need to forward the port on which you are accessing the service. [16:19:49] eh [16:19:53] wait [16:20:12] Yes. I forwarded the port I'm going to use. [16:20:12] you have a router in your home, right ? can you access the management interface ? [16:20:17] and that port is open. [16:20:23] Yes [16:20:51] ok, then. On what virtualhost address is the server listening ? [16:20:54] *:80 [16:20:57] ? [16:21:00] Yes [16:21:05] its 80 [16:21:51] When you try to access from outside, time out or no response ? [16:22:40] It redirects but it times out [16:23:16] tried it with my ipad right now it times out definitely [16:23:27] what do you logs say ? [16:23:31] of apache ? [16:23:37] Ill check [16:23:41] If you are connecting, they should talk [16:24:40] what would i be looking out for? [16:24:44] in the access logs? [16:24:48] yes [16:25:44] cant see anything dont think they are connecting [16:26:10] Am I supposed to be using my External IP to access the site? Just want to confirm [16:26:25] xampp, meaning windows. Are you running skype ? [16:26:28] either way [16:26:52] Yeah, you want to test if you can access from outside, right ? [16:27:16] So you need to test your public IP-Address, or DDNS. [16:27:31] Im running the wiki, and apache, sql and filezilla are all green, meaning the ports are not in conflict with anything. [16:27:36] skype is not running [16:28:36] Good good, the public IP address shows that the port is forwarded. [16:28:44] I think its a connection issue with the firewall perhaps? [16:28:58] Windows. Depends. [16:29:12] You can try to deactivate the firewall first [16:29:23] ...and if that doesn't work? [16:29:38] Check it first. We talk after that. [16:31:21] I checked. [16:31:25] And ? [16:31:26] It's still not connecting [16:31:40] still timing out [16:31:47] And you're 100% sure the port is forwarded? [16:31:49] browser or server ? [16:31:56] browser [16:32:01] ... [16:32:51] Do us a favor [16:32:57] ok [16:33:13] I'm a 100% sure the port is forwarded [16:33:23] change the outside port to something higher than 2048, forward it to your machine port 80 [16:33:32] and check if it's enabled [16:33:48] and then see if there are no firewall rulles on the router [16:33:57] and how do I do that? [16:33:59] If he's running xampp that wont be an issue I don't think. Windows doesn't lock ports <1024 [16:34:13] thats what I thought corin [16:34:20] No, I don't know what ISP he is using and if they block stuff [16:34:23] But do it anyw- [16:34:29] Ohhhh yea there's a point actually [16:35:08] by outside port you mean "external port"? [16:35:22] ConfusedGuy, but you can access the wiki with your other devices. On the local net, right ? [16:35:35] yep :) [16:36:05] PC:80 <=> Router:63229 <=> The Big Internet [16:36:43] Oh hang on [16:36:48] He's as132 which is Talktalk [16:36:55] Talktalk don't block port 80, i used them before. [16:37:05] OH MY GOD IT WORKED!!!! [16:37:08] THANK YOU!!! [16:37:10] Oh [16:37:10] Also, deactivate your firewall and AV software for a moment.......................................... [16:37:12] huh [16:37:27] I don't need to to deactivate the firewall afterall!!! [16:37:31] ... [16:37:35] dude....I LOVE YOU SIMON [16:37:42] Thank you corin as well! [16:37:47] ConfusedGuy, http://wiki.mcneel.com/zoo/window7firewall [16:38:05] np, sorry for wrong advice haha [16:38:06] Hahahaha Im so happy man [16:38:17] I owe you guys! [16:38:21] Ive been at this for 3 hours [16:38:37] tried everything and on my last attempt from here it worked [16:38:42] sweet jesus [16:38:55] I feel like Im having a rush of euphoria lol [16:39:46] Im going to write a guide for mediawiki and credit you guys [16:39:49] Go activate the firewall back on, and only open the needed port [16:40:17] Simon, all I need to do was to change the external port higher than 2048 [16:40:25] I have an feeling that port 80 is already forwarded to something, hence why his new 80 rule wasn't working. [16:40:32] when it redirected to port 80 it worked [16:40:39] Like I'm 99% sure his ISP doesn't block port 80 [16:41:02] The firewall was still on [16:41:06] when I changed the port [16:41:15] meaning that that external port thing was the only problem [16:42:07] But I'll never forget what you guys did for me. Sincerely, thank you! [16:44:04] sure, sure, go back to work [16:45:56] Also I asked last night and didn't get much light shone on the issue. I'm trying to get Elastica/CirrusSearch working with my wiki; trying to modernize from Lucene, but I keep hitting this error https://corin.s-ul.eu/SkUF15KJ [16:46:11] Special:Version also gives me a white page with the same kind of general error in the error logs. [16:46:26] Does anyone know how to recover from this? [16:46:38] !blankpage [16:46:38] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [16:46:43] gj Katie [16:46:48] I wish I could help you man, but that looks way too advanced for me [16:47:03] I... just posted the error. It's the same roundabout one in the error logs. [16:47:24] There's either a version mismatch [16:47:33] Or something that has been fixed in a newer version, and hasn't been backported [16:48:02] Corin1: What version of MediaWiki? [16:48:07] 1.26 [16:48:18] Both plugins are using the REL1.26 branch too [16:48:52] Already done a composer install/update too [16:49:43] It might be something worth filing a task for [16:51:36] Welp, alright. [16:51:53] i could probably help you narrow it down, but a little busy atm [16:52:39] Would appreciate it if you have time later but fair enough if not [16:52:41] hmm, this might be an easy one though [16:52:57] I should do.. I was up till 5.30am this morning dealing with facebook software [16:53:14] welp [16:54:08] https://corin.s-ul.eu/0Crvoj6T This is from special:version [16:54:30] When CirrusSearch is disabled however it runs just fine so it's definitely to do with Cirrus [16:54:35] https://github.com/wikimedia/mediawiki-extensions-Elastica/blob/REL1_26/ElasticaConnection.php#L46 [16:54:51] The function is publi [16:54:51] c [16:55:07] Should it be private? [16:55:18] Oh [16:55:55] It's complaining it's protected [16:56:41] Yeah [16:57:01] Hm [16:57:12] special version complains about it being an undefined method though so [16:57:35] Oh? [16:57:40] yep [16:57:41] https://corin.s-ul.eu/0Crvoj6T This is from special:version [16:59:36] Can you paste in here line 46? [16:59:55] Yep, same as in the repo [16:59:55] $client = $this->getClient(); [17:00:11] And the method is public, just defined below [17:00:24] Yep [17:00:34] https://corin.s-ul.eu/ZTkCUVqK [17:01:13] Do you get a stack trace with it? [17:01:17] * c eyes Reedy [17:01:26] c: behave. [17:01:43] Reedy: says the phantom ping ;) [17:01:55] Which phantom ping? [17:02:14] brb, gonna go out of the cellar [17:02:20] dunno i got a c [17:02:25] Nope, those two errors are the only ones [17:02:35] No stacks anywhere [17:02:39] $wgShowExceptionDetails does nothing either [17:03:14] Yeah, it's a fatal not an exception [17:03:32] You can work around that... [17:03:46] Might be easier for me to just try enabling the extensions on my dev wiki and seeing how they look [17:04:10] mm, I mean if it means getting hacky with things I don't really mind. [17:05:39] I can't see why it'd be seriously broken, WMF were using REL1_26 until not long aog [17:06:21] master throws a completely different error though that feels like it might be something to do with new 1.27 features perhaps [17:06:32] bagostuff or something along those lines [17:07:00] EmptyBagOStuff, that's it [17:07:32] https://corin.s-ul.eu/Xrqhd2ve [17:09:02] Hmm. So just enabling the 2 extensions on my wiki (git master), and Special:Version works fine [17:09:51] And all on REL1.26? [17:10:18] I mean worst case I'll back everything up and jump to wmf1.27 [17:11:51] I do note that I've not configured any ES servers [17:12:22] Ah. So enabling CirrusSearch breaks my 1.26 wiki too [17:12:30] That's a good start :) [17:12:42] Welp at least it's reproduceable! [17:12:51] And yeah I haven't either [17:12:53] Different error [17:12:58] o [17:13:12] It's not been converted to the new extension loading [17:13:54] [Sun Nov 29 17:13:44.963873 2015] [:error] [pid 20161] [client 10.0.100.13:62577] PHP Fatal error: Call to undefined method CirrusSearch\\Version::getClient() in /var/www/w/extensions/Elastica/ElasticaConnection.php on line 46 [17:14:00] Ok, so we're on the same page now :) [17:14:03] \o/ [17:14:13] I'm gonna open a task for this in the meantime [17:14:23] Alright, thank you :D [17:14:30] I grealy appreciate this btw [17:14:41] Kinda wanted to upgrade from Lucene for a while >.> [17:14:56] https://phabricator.wikimedia.org/T119837 is the task [17:15:23] c: https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/tree/REL1_26 [17:15:28] This branch is 2 commits ahead, 105 commits behind master. [17:16:16] https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/compare/REL1_26...master [17:16:57] Issue is master throws the BagOStuff error [17:17:15] That's probably just misconfig [17:17:45] hrm lets try again then [17:18:49] REL1_26 should work :P [17:18:52] hi [17:18:53] sorry Im back [17:19:41] after being able to access my own server from a WAN on an iphone my iphone just keeps timing out [17:20:24] Your provider might (for some reason) not allow you to access ports other than 80 and 443 on your phone [17:20:28] Corin can you please help again if possible? [17:22:42] yeah I can't find where it needs config on master for this error, it's in hooks.php so [17:23:05] Assuming it's trying to call to a MW function that doesn't exist [17:25:54] well [17:25:58] at least we found out his timeout issue [17:28:35] Corin1: Found it [17:28:36] Connection::setTimeout( $wgCirrusSearchClientSideSearchTimeout[ 'default' ] ); [17:28:39] That differs from master [17:28:51] Which line? [17:29:09] Oh [17:29:18] hur [17:29:20] extensions/CirrusSearch/includes/Version.php line 47 [17:29:51] let's find out when/where it changed [17:30:27] https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/commit/8d21229c43688eba694d8720fef3f755d3f83203 [17:30:30] * Reedy tries to backport [17:30:47] holy shit that's a big commit [17:31:53] Backport proposed in https://gerrit.wikimedia.org/r/#/c/255934/ [17:32:16] https://gerrit.wikimedia.org/r/#/c/235175/ seems to need backporting too, but doesn't want to to it trivially [17:32:39] Ayyy [17:32:41] Did a checkout 8d21229c43688eba694d8720fef3f755d3f83203 . [17:32:42] Worked [17:32:44] It's loading now [17:33:21] You should need an Elastica patch too [17:33:47] o [17:34:17] for the sake of simplicity, is 1.27 "stable"? [17:34:24] Nope [17:34:29] fuck. welp. [17:34:31] It's under a lot of development, won't be for a while :P [17:34:37] i've gotta go eat... Back in a bit [17:34:43] kk thanks though btw [17:35:08] https://gerrit.wikimedia.org/r/#/c/235175/ needs cherry picking/backporting onto REL1_26 of Elastica [17:35:21] might work better on proper git, instead of the git in gerrit [17:35:24] Anyway, will poke later [17:35:38] kk [17:35:43] Thanks for all your help :P [17:35:56] Corin1: It looks like REL1_26 was just branched for Cirrus/Elastica at a bad time [17:36:25] It might be easier to just update the branch in it's entireity to a newer version... [17:36:31] That's stuff to poke later [17:36:41] Alright haha [18:32:32] does anyone can help me to find the cause of the following problem: [18:32:54] I noticed a problem with the data in database of pl ws [18:33:04] take a look at: http://quarry.wmflabs.org/query/6238 [18:33:13] 99623 pages in "Uwierzytelniona" category [18:33:27] but... in real there is 99 632 pages -> https://pl.wikisource.org/wiki/Kategoria:Uwierzytelniona [18:33:45] the difference is 9 pages, it is not associated with replication lag [18:34:21] since a long time the difference is constant [18:34:43] zdzislaw: its a known glitch [18:35:23] zdzislaw: let me get you the reason... [18:37:07] zdzislaw: sometimes when pages are deleted cat_pages isnt always updated in the database, which will result in the wrong number of pages listed [18:37:29] however if you actually count the pages both the database and the website will be the same [18:39:29] Betacommand: but the difference is +6 pages, and in this case (problem with delete in cat_pages) should be negative [18:40:02] +9 sorry [18:40:40] zdzislaw: there are some categories where the difference is ~500 ;) [18:41:38] https://phabricator.wikimedia.org/T85527 [18:42:19] (and a few other bugs filed) [18:42:35] or there is only with a message "The following 200 pages are in this category, out of 99,632 total." on https://pl.wikisource.org/wiki/Kategoria:Uwierzytelniona, but in real there id 99623 pages? [18:43:09] zdzislaw: that uses cat_pages which list 99617 [18:43:35] actual count is: 99582 [18:44:30] zdzislaw: which mean there are 35 pages that have been deleted but not removed from the count [18:48:33] Betacommand: Could you help me create a query on Quarry, which will return the "true/real" number of pages in "Uwierzytelniona"? [18:49:14] zdzislaw: your query does that except for the namespace filter [18:50:17] zdzislaw: SELECT count(cl_from) FROM categorylinks WHERE cl_to='Uwierzytelniona'; [18:51:02] http://quarry.wmflabs.org/query/6270 [18:51:05] the same problem [18:51:36] Betacommand: http://quarry.wmflabs.org/query/6270 -> 99623 :) [18:52:20] Hi I'm new on this channel.I would like to contribute with mediawiki. I would like to prepare for GSOC 2016.Suggest me How to start. [18:52:34] Betacommand: not 99582 [18:53:00] zdzislaw: its an issue with quarry [18:53:32] zdzislaw: http://pastebin.com/z9HVzX3n [18:53:38] hey dnysdk. https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker should be a good reading for a beginner :) [18:54:06] thanks MatmaRex [18:57:30] zdzislaw: looks like a we are hitting different servers [18:57:54] quarry is getting 1001, while im getting 1003 [18:58:43] Corin1: I guess we're lucky that the refactor commit was the first one :P [18:58:56] Betacommand: Could you check the real number now again - I would check whether the difference is constant [18:59:12] Oh? [18:59:19] Ah yeah before the new shit haha [18:59:32] zdzislaw: one of our databases is wrong, im filing a ticket right now [19:00:25] Corin1: Though, I'm not sure I like the look of the various "Fix" commits afterwards :P [19:01:12] mmm and like you said, without Elastica being backported too then it's kinda dead in the water [19:01:45] zdzislaw: https://phabricator.wikimedia.org/T119841 [19:02:15] Corin1: The Elastica commit is already in REL1_26. Which is I guess, why it worked [19:02:17] Betacommand: please check the real number now again - is now 99583? [19:02:23] Corin1: https://github.com/wikimedia/mediawiki-extensions-Elastica/commits/REL1_26 [19:02:52] zdzislaw: Im not sure what the actual real number is [19:03:15] zdzislaw: with the database giving different answers Im not sure which value is correct [19:03:19] huh? that's weird [19:03:27] It died on me with REL1.26 I think [19:03:29] lemme check [19:03:42] Betacommand: ok, but on 1003 is 99583 now? [19:04:06] yeah [19:04:27] zdzislaw: one sec and Ill get you a valid count [19:04:54] Betacommand: thanks [19:06:34] Corin1: Are you on phabricator? [19:07:03] Nope I'm not. And apparently I can't recover my old wikipedia account to login on mw either [19:07:57] zdzislaw: actual count is 99624 [19:09:10] Corin1: I can help with that.. What username? [19:09:15] corin12355 :P [19:09:49] Might be tied to my ancient corin12355@hotmail account which is rip [19:10:25] Betacommand: hm..., thank you [19:10:26] What wikis was the account on? [19:10:26] ! [19:10:26] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [19:10:37] ah, it is on enwiki, found it [19:11:04] zdzislaw: like I said Ive filed a ticket [19:11:08] Yeah en wikipedia [19:11:44] What email do you want the account changing to? Can PM me it if you want [19:12:16] Before you do that [19:12:23] Is the email address corin12355 or corin1235555? [19:12:30] or corin@seion? [19:12:32] Betacommand: yes, I will be subscribe it, thank you again [19:12:37] Should be one of those three [19:12:38] 12355 [19:12:47] Yeah that's old, corin@seion.us if possible then please [19:14:14] hey has anybody managed to get mw working on nginx with short urls? [19:14:30] i've got my wiki mostly working except some strange redirect issues [19:14:31] I think a few people have ;) [19:15:09] well that's encouraging :) would you happen to be one of them? [19:15:09] Works fine on nginx :P [19:16:21] just in case you haven't seen these… [19:16:22] Betacommand: so, it looks that 1001 have correct data [19:16:23] !shorturls [19:16:24] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [19:16:40] could you please check for me, because i am having trouble replicating the issue; does this url redirect to /wiki/Main_page for you? https://psychonautwiki.org [19:17:00] Nope [19:17:04] some of my visitors are complaining of being redirected to wiki/Wiki/Main_page [19:17:08] but it works for me.. [19:17:15] Corin1: Check your email.. You should have a password reset email. Hopefully [19:17:23] PJosepherum, looks like PHP is fucked [19:17:27] You're sending raw PHP [19:17:39] https://psychonautwiki.org/wiki [19:17:42] PJosepherum: i got a 403 Forbidden [19:18:06] https://psychonautwiki.org/wiki/Main_page works for me [19:18:13] as does https://psychonautwiki.org/w/index.php [19:18:32] yeah those work [19:18:49] You're just missing a rule or 2 then [19:18:59] here's my conf http://hastebin.com/filavofose.nginx =[ [19:19:05] i'm not sure where i'm going wrong [19:19:22] <3 HTTPS by default :) [19:19:38] hehe [19:19:52] I ended up just using error_page 497 https://$server_name$request_uri; [19:19:59] !rewriteproblems [19:19:59] 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root (see !nullpath); 4) Use different, non-overlapping paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. See also !shorturls [19:20:02] >SSLv3 enabled [19:20:08] pls :P [19:20:31] the files are not in the doc root, they are in "w" subdirectory [19:20:51] i need the doc root to redirect to the alias wiki [19:20:53] or something [19:21:07] that's how i had it working in apache anyways [19:21:29] i'll enable SSLv3 corin1 :) [19:21:38] Nono I mean disable it haha [19:21:40] oh it is [19:21:43] how come? [19:21:56] SSL was basically thrown out like I think a few months ago? [19:22:14] v3 had an exploit which basically ruled the end of SSL (If memory serves right) [19:22:18] Yeah, have a look at https://www.ssllabs.com/ssltest/analyze.html?d=psychonautwiki.org&latest [19:22:29] oh, heart bleed. i thought that had since been fixed [19:22:37] Wasn't heartbleed [19:22:40] Was something else [19:22:55] :o [19:22:56] There's been quite a few things like that [19:23:04] There's a load of stuff you should ideally disable etc [19:23:30] https://www.ssllabs.com/ssltest/analyze.html?d=psychonautwiki.org&s=45.56.92.111 [19:23:32] Rating B [19:23:56] I'd highly recommend working through that when you get your rewrites fixed :) [19:24:13] nice thanks! i certainly will [19:24:42] Corin1: Did you get an email? [19:24:55] Can you help PJosepherum with the missing rewrite? :P [19:25:05] Reedy: would you mind adding #cvn-mediawiki to this channel's topic? [19:25:12] it's the new countervandalism channel for mediawiki [19:25:15] Reedy, nope haha I didn't was about to say :P [19:25:21] And sure I can take a look [19:25:29] PJosepherum, so what's the end goal? [19:25:35] What do you want at the end of this? [19:25:45] I presume rewrite / to /wiki/Main_page rather than 403 :P [19:25:51] Oooh [19:26:08] Corin1: You've sent one on enwiki, so it won't send another for 24 hours... Unless I reset the key. Or get it to create your account on another wiki [19:27:28] Hm [19:27:51] Might bee worth the latter? But then again no real worries I mean [19:27:59] It's not like I'm desperate for the account haha [19:28:01] I can fix it either way :P [19:28:01] 24 hours is fine [19:28:09] well whatever is less haslte for you :P [19:28:40] PJosepherum, do you want a clean way of doing this btw? Like I can probably do you a rewrite rule for /Main_Page rather than /wiki/Main_Page [19:28:51] But I think that's frowned upon around here, not too sure. [19:30:59] any help would be appreciated. i just need to forward all traffic from www. and http:// to https://psychonautwiki.org, and have index.php? route to /wiki/ [19:31:55] it's best to keep the /wiki/ prefix as there are a few files in the root directory which may still need to be accessed [19:32:40] Gotcha [19:34:35] Gotta be honest I'm rusty as hell with nginx so this might take a little bit (I'm an apache user) [19:35:26] no worries, i'm playing with stuff too perhaps between us we can get it working as expected [19:35:38] also in my localsettings.php is: $wgScriptPath = "/w"; [19:35:38] $wgArticlePath = "/wiki/$1"; [19:35:38] $wgThumbnailScriptPath = "$wgScriptPath/thumb.php"; [19:35:38] $wgUsePathInfo = true; [19:35:39] $wgScriptExtension = ".php"; [19:36:01] That was my next question haha [19:37:39] I mean if you REALLY wanted a quick and easy way to do it [19:38:05] You could probably do return 302 / /wiki/ [19:38:20] That'll forward index.php// to /wiki [19:40:00] well i'm looking for the correct way to do it :p [19:40:13] Unfortunately our nginx guides are meh [19:40:54] my conf is a hackup of some instructions i found on mw and the example configuration in nginx' docs [19:41:02] Reedy: would you mind changing the topic? [19:41:03] If http://shorturls.redwerks.org/ didn't barf over your HTTPS config, I'd suggest using that [19:41:27] eurodyne: sorry... What do you want me to add with that channel link? ie what text to go with it [19:42:07] Reedy: add Anti-vandalism channel: #cvn-mediawiki somewhere [19:42:19] "Anti-vandalism channel: #cvn-mediawiki" [19:42:27] PJosepherum, chain the comodo certs together, get the ca-bundle that they gave you when you bought the cert and add it to the bottom of your cert [19:42:44] That'll fix one of the issues ont he ssl test :) [19:42:52] :) thanks [19:43:12] oh sweet, i'll try it thanks [19:43:25] Should also fix redwerks too :P [19:43:41] heh [19:45:00] But yeah nginx's config reminds me of why I went back to apache. I'm probably not going to be much use here unfortunately, sorry. ;_; [19:45:17] To be fair [19:45:29] That return rule would be youir best bet if you just want to have / go to /wiki [19:46:09] I just filed https://phabricator.wikimedia.org/T119844 to get the nginx docs fixed up [19:46:20] I swapped to nginx for https on my site (not MW) [19:46:50] The one thing that apache lacks is SPDY :c [19:48:16] thanks anyway guise, a hacky solution is better than how it's currently operating anyways :) [19:48:26] so what's the correct format for a chained certificate? pem or crt? [19:49:06] pem [19:49:11] literally [19:49:21] cat ca_bundle >> site.crt [19:49:23] And you're done [19:52:26] cool redwerks gave me a config to try [20:03:25] nearly there :p https://psychonautwiki.org/wiki/Main_Page [20:04:03] "The stylesheet https://psychonautwiki.org/w/load.php?debug=false&lang=en-gb&modules=site&only=styles&skin=vector was not loaded because its MIME type, "text/html", is not "text/css"." [20:04:05] Well that's different [20:05:01] !blank [20:05:01] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [20:10:29] where are you seeing that error message, corin1? [20:11:09] browser console presumably [20:11:14] Open up your inspector for your browser and check console :P [20:18:22] Corin1: That patch to REL1_26 CirrusSearch has merged [20:19:11] Damn that was fast haha [20:19:23] It would've been done earlier [20:19:36] But I had to fight with our CI pipeline that was failing it due to an unrelated error [20:19:52] welp [20:20:47] i'm not sure what's inhibiting the resources now :/ http://hastebin.com/onuxorebul.nginx [20:21:31] Awesome, it's indexing now! Thanks so much for htis Reedy haha [20:21:37] Wheee [20:21:56] Corin1: I've asked one of our ES devs if we should update to a newer revision for REL1_26 [20:22:11] If you could get logged in, I'd suggest you subscribed to the task in phab to see the response, and know when it's been done [20:24:16] Corin1: Aha. Check your email now [20:24:19] Got it :D [20:24:21] But uh [20:24:23] I killed mediawiki [20:24:30] https://corin.s-ul.eu/3brw3z2f [20:24:40] Oh, I bet I know what that one related to [20:24:50] Haha [20:25:20] Oh, nope [20:25:20] 2015-11-29 20:24:04 mw1090 mediawikiwiki exception ERROR: [06e9ceb3] /wiki/Special:PasswordReset MWException from line 3719 of /srv/mediawiki/php-1.27.0-wmf.7/includes/User.php: CAS update failed on user_touched for user ID '4315871' (read from slave); the version of the user to be saved is older than the current version. {"exception_id":"06e9ceb3"} [20:25:26] How far were you through the process? [20:25:38] Entered my user and email and hit send [20:25:51] Straight after that I got that [20:27:13] Did it let you put a password in? [20:27:22] Nope this was a password reset [20:27:30] I noticed my account had been linked to mediawiki.org [20:27:35] So I tried to reset it there [20:27:45] Yeah, I did that [20:27:50] I think it might have been that we reset it at the exact same time? [20:27:57] lol, mebbe [20:28:04] It should've sent you a password reset email [20:28:12] Yeah I got it :P I'm signed in now haha, thanks for that [20:28:23] Sweet [20:28:27] Try and get onto phab now? ;) [20:28:37] Reedy: https://phabricator.wikimedia.org/T95839 [20:28:54] Thanks ;) [20:30:30] https://corin.s-ul.eu/cdtg9KN4 [20:30:38] I love how literally everything mw wise I've touched in the past day has broken [20:31:05] Lmfao [20:31:57] Try that again... I'll file a task for it if necessary [20:32:39] Same erorr again [20:33:05] Logged out and in again? [20:33:17] Yep [20:33:37] Oh hang on [20:33:44] logged into en.wiki instead [20:33:46] That did the trick [20:34:19] heh [20:34:27] Wheee [20:35:13] I cc'd you [20:35:34] Yep got it, thanks :D [20:41:12] Gotta be honest I didn't expect to get the level of help I did haha thank you [20:42:20] A lot of us dogfood... We don't like stuff being broken :P [20:43:05] Fair game [20:43:57] Certainly with stuff like this, that it's obviously broken, file a task if no one can help you on IRC "now" [20:45:42] Yeah that was my next step if nobody came around this afternoon, last night I realised i couldn't get into my wikipedia account to get into phab so I just thought I'd pick it up in the morning [20:45:46] glad I waited [20:54:19] Looking through the docs there doesn't seem to be a variable to enable errors on Cirrus, getting an "An errro has occoured while searching" error but no errors in error.log [20:54:46] https://remywiki.com/index.php?title=Special%3ASearch&profile=advanced&search=test Is there a var I should be enabling to show them or is this one of those blind sort of things? [20:56:37] $wgCirrusSearchServers isn't defined but it is localhost, according to CirrusSearch.php the defaults are setup for this without defining it and the updateSearchConfig script ran just fine so, slightly confused [20:56:44] blind? [20:57:06] Err debugging blind* [20:57:06] oh, if you're using the REL1_26 branch of mw core from git, if you git pull,it'll fix that \n now [20:57:07] i merged that earlier today [20:57:39] Oh awesome, done haha, I forgot to reapply that fix after I moved over to a git/composer setup [20:57:40] !debug [20:57:40] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [20:57:40] !blankpage [20:57:40] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [20:57:47] !botsucks [20:58:12] It must've died [21:03:23] https://corin.s-ul.eu/E8aehxGG Thanks Cirrus [21:06:06] You can enable some Cirrus specific logs [21:07:54] Oh? I didn't see anything like that in the main php file D: Or is it not in there? [21:25:45] PJosepherum, you got it working then? [21:34:52] no i've resorted to asking th emailing lsit corin1 [21:35:01] and have switched back to apache in the mean time :) [21:35:06] Ah fair enough :P [21:35:35] SSL labs is reporting an A- now though which is cool [21:37:19] anyway, bed time :) [21:37:41] nini \o [21:38:03] A- is a lot better than B :) [21:54:39] I tried asking in #semantic-mediawiki yesterday, but nobody responded. Any idea why "no autofocus" is not working here? | {{#forminput:form=Research question|size=40|placeholder=Essence of your research question (one sentence)|button text=Add research question|preload=Template:Template research question|no autofocus}} || [21:54:39] {{#forminput:form=Idea|size=40|placeholder=Essence of your idea (one sentence)|button text=Add idea|preload=Template:Template idea|no autofocus}} || {{#forminput:form=Project|size=40|placeholder=Essence of your project (one sentence)|button text=Start project|preload=Template:Template project|no autofocus}} libreidea.org/Main_Page [21:54:55] https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Using_.23forminput [22:24:48] Yeah I give up. Any chance anyone could point me in the right direction of enabling the Cirrus specific logs? ._. [22:25:57] Yeah [22:26:29] $wgDebugLogGroups['CirrusSearch'] = '/path/to/logs/cirrus.log'; [22:26:31] That *should* work [22:30:43] Perfect, thank you. That gave me the answer I wanted [22:33:04] found the problem, sorry for the dumb question [22:47:50] Well that was a very very annoying fun ride. [22:48:02] Debian Jessie's version of ElasticSearch is too new [22:48:05] Err too old* [22:48:13] ElasticSearch's 2.1 version is too new [22:48:28] So I had to check what version Wikipedia was running and used that. [22:48:39] and it works [22:49:03] \o/ Thanks for all the help Reedy :D