[01:59:24] Hi all! Inside a template: How do I take a parameter and replace or remove parts of its text? [02:00:45] For example, I have "[irc:chat.freenode.net irc:chat.freenode.net]", as parameter 1, and I want to remove "[irc:" and " irc:chat.freenode.net]" [03:38:34] adfeno: You could use a Scribunto module. [03:38:38] !scribunto [03:38:38] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [03:39:22] Hm.... Interesting.... [03:43:11] Ivy: Thank you very much for the help! ;) [03:44:16] No problem. [03:47:03] Now what is left for me is a way to make a text taken from a template parameter to be reconsidered as wiki markup. For example, I have a template that receives text from other, however for some reason the received text isn't considered as wiki markup but as plain text. [03:48:40] adfeno: Depends on the input. [03:48:54] If it's like "* foo", it may need to be on its own to be considered a bullet, for example. [03:49:13] It's a link [03:49:17] If you can provide a URL to an example, that would help. [03:49:23] Example: [03:49:40] https://directory.fsf.org/wiki/Sandbox [03:50:35] Oh, you want irc://. [03:50:39] The setup unfortunatelly isn't mine, [03:50:41] Or maybe ircs://. [03:50:48] Though I think irc:// is way more common. [03:50:54] You're missing the "//". [03:50:55] Yes, irc:// is enough [03:50:58] That's why it's not a link. [03:51:08] It'd do the same thing with http:example.com I think. [03:51:31] Hm.... I see... [03:51:36] Thanks again ;) [03:51:40] !wg UrlProtocols [03:51:40] https://www.mediawiki.org/wiki/Manual:%24wgUrlProtocols [03:51:48] Sure. [11:06:55] Hello? [11:18:51] Hello, I have installed mediawiki and one of it's extensions. [11:19:23] Everything has been setup correctly, but when i load the Special:'extension-name' [11:19:50] its giving an error " Fatal exception of type "Wikimedia\Rdbms\DBQueryError" [12:19:11] Hi, is there a way to have a category list all pages in all of its subcategories? [14:09:13] https://www.irccloud.com/pastebin/CekItzwM/The%20direction%20in%20which%20to%20list%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20One%20value%3A%20ascending%2C%20descending%20Default%3A%20ascending [14:11:32] https://phabricator.wikimedia.org/T58860 , How to modify description for cldir [15:49:54] Where is the sitewide notice stored on wiki? Mediawiki:Something but I cannot find it right now. [16:15:26] Found it! https://www.mediawiki.org/wiki/MediaWiki:Sitenotice [16:30:22] Nice work. [16:34:45] Ivy: I did other things also in the 26 minutes we see between those lines [16:46:08] I'm moving a wiki from a Debian 8 to a Debian 9 server [16:46:54] I'm trying to do it in the most controlled setting so I'm writing a blog post about it for later reference.. Now the question is "What is the best way to get all dependencies in place?" [17:28:30] I am following this https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu [17:29:40] But that article is listing only Mediawiki dependencies but I know the installed extensions at http://develop.consumerium.org/wiki/Special:SpecialPages require some funky stuff .. that I .. uhh .. installed with Composer a while ago [19:47:29] Tvka😁🐩🐭🐭🔰🐭🐩 [19:47:31] COMODO SSL Analyzer v1.0.14 Report for: www.petcarerx.com Certificate Details Common Name www.petcarerx.com Alternative Names Click a Name to crt.sh (search) for all publicly logged certificates www.petcarerx.com petcarerx.com Subject Name commonName=www.petcarerx.com organizationalUnitName=COMODO EV SSL organizationalUnitName=Hosted by MINDSHIFT TECHNOLOGIES, INC. organizationalUnitName=Website organizationName=PetC [20:00:16] The migration has gone nicely.. [20:00:36] I made a temporary subdomain to test the move went nicely [20:00:53] Everything seems to be working except pages that involve a CAPTCHA [20:01:24] it complains that the client key does not match the domain (I assume this will be fixed when the site is accessed with its usual domain) [20:01:52] TTL is 15 minutes so soon I'll find out if I've managed to move the Mediawiki to a new server [20:01:57] time to eat now [20:32:37] The DNS change has propagated.. All seems to work except the CAPTCHA when clicking "verify" says that reCAPTCHA cannot contact the server or something thereabouts.. I'll get the exact wording soon [20:33:14] The CAPTCHA itself shows up but when trying to get past it there is the error message box [20:34:21] "develop.consumerium.org says: Cannot contact reCAPTCHA. Check your connection and try again." [20:34:54] Something somewhere is slightly wrong.. Maybe the keys have been tied to the IP address of the old server [20:38:52] jubo2: check you codes i guess or try to reconfigure your recaptcha setup https://www.mediawiki.org/wiki/Extension:ConfirmEdit#ReCaptcha_(NoCaptcha) [20:41:39] p858snake|_: The ConfirmEdit settings in LocalSettings.php have not been touched [20:42:03] My guess is that _maybe_ registering new keys would rid of the problem [20:42:55] Googling wasn't very useful as the people having the problem were devels often suggesting to use 'localhost' for server name [20:47:04] Hmm.. this Invisible reCAPTCHA sounds goood [20:47:55] Because the NOCAPTCHA that we have currently is to large extent solved by XEvil (and maybe other programs) with good success rate while being really annoying for human to solve [20:49:18] https://www.mediawiki.org/wiki/Extension:ConfirmEdit does not list Invisible CAPTCHA .. maybe the maintainer is going to add it at some point [20:50:09] really should get something newer because NOCAPTCHA is annoying for humans to solve and causes no bother for the bots that can solve it [21:03:54] Yeah.. Deleting the keys and getting new ones seems to have fixed the CAPTCHA [21:04:28] Now there is a problem with my $wgSMTP service provider [21:05:12] Say.. How do I configure Mediawiki to use postfix smarthost? [21:19:41] Now the Mediawiki thinks the mails are going out (I instlled Postfix with smarthost and no relay and removed the $wgSMTP) but I ain't seeing them in my mailbox [23:15:20] how do I set configuration variable in the test these days? (would like to set 'Sitename' to avoid https://integration.wikimedia.org/ci/job/mediawiki-phpunit-hhvm-jessie/18626/console ) [23:16:23] jubo2: did postfix get the mail? [23:23:22] saper: I can't get postfix to send the damn emails [23:25:28] jubo2: but maybe it gets them, only does not forward? [23:25:32] checked postfix queue and logs? [23:27:47] uhh.. I already removed postfix and tried with sendmail [23:28:11] also I've tried to get the php mail()-function to send the mails [23:28:41] I installed php-pear and then 'sudo pear install MAIL Net_SMTP' [23:29:12] checked php.ini for mail settings? [23:29:22] yeah