[00:29:43] https://github.com/iamcal/oembed/issues/178 When/If this is implimented to the oEmbed standard, and services adopt it, it will then be possible to develop a proper oEmbed extension for Mediawiki [02:49:13] hi [02:49:19] someone still awake ? [02:49:39] depends [02:50:06] i try to install the pear mail package for using smtp [02:50:28] uhm can i simply put pears php files into any directory ? [02:50:51] in which directory does mediawiki search for pear ? [02:52:55] iirc mw doesn't, pear and pecl packages are a thing of php itself, and so /j #php [02:53:18] oh [02:53:46] so my hoster must have pear installed ? [02:53:53] bah [02:54:45] if you need pear packages then obviously [02:54:59] my hoster has phar installed [02:55:23] he php info sayes [02:55:24] Phar EXT version 2.0.2 [02:55:24] Phar API version 1.1.1 [02:55:44] since phar is based on pear, can i use pear packages also ? [02:56:06] thats outside of this channel, try your php question on #php [02:56:07] *the php info says [02:56:18] ok :/ [04:08:57] On the wiki I sysop, we use DPL and one of the template pages for that is Template:Extension_DPL_cache which contains a parameter of {{{page}}} which seems to encode the quote into ' -- the issue with this is that when run through {{urlencode:|WIKI}} to allow me to use it as a URL parameter, it double encodes... Is there any way for me to decode before encode? [04:09:23] I do have Extension:StringFunctions installed on the MW1.23 wiki. [04:10:35] "DDO wiki:Administrators' noticeboard/Requests" is the term that is populating the {{{page}}} parameter. {{#urldecode:DDO wiki:Administrators' noticeboard/Requests}} shows "DDO wiki:Administrators' noticeboard/Requests" but {{urlencode:{{#urldecode:DDO wiki:Administrators' noticeboard/Requests}}|WIKI}} gives me "DDO_wiki:Administrators%26%2339;_noticeboard/Requests" [04:10:50] It's at very least been frustrating. [04:12:26] {{#replace:{{#urldecode:DDO wiki:Administrators' noticeboard/Requests}}| |_}} looks like it might work, but is very hacky... [06:09:42] so if I installed an MW extension that got "converted to extension.json and deprecated PHP entry point", would using "require_once" in LocalSettings.php still work? Or must I use "wfLoadExtension"? [06:40:23] hello everyone!, [06:40:47] I'm amrit from India and i would like to contribute for this organisation [06:42:37] Please brief me on where I should start [06:45:00] hi amrits and welcome! thanks for your interest! Which area interests you? Would you like to work on code, or other areas? [06:45:22] see https://www.mediawiki.org/wiki/How_to_contribute for an overview [06:49:56] Thank you andre__ . Well I've attended a hackathon conducted by Wikimedia in our college and I've got a decent exposure over fixing bugs and working with the mediawiki core. What do you suggest? [06:51:48] amrits, ah great! Have you checked https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker ? [06:54:54] andre__: Thanks again for the link, I will go through it :) [10:44:44] Can someone shed some light on this error we get when pressing 'log in'? Exception encountered, of type "BadMethodCallException" Notice: Uncommitted DB writes (transaction from DatabaseBase::query (SqlBagOStuff::setMulti)). in /usr/local/www/mediawiki/includes/db/Database.php on line 3303" [10:46:33] alvin: BadMethodCallException implies a version incompatibility. perhaps you are using an extension that is not compatible with your version of mediawiki [11:20:11] DanielK_WMDE: Thanks. I will search for that extension. [11:25:31] DanielK_WMDE: We only have 2 active extensions. SyntaxHighlight and ParserFunctions. Both of which came with Mediawiki 1.27.1 [11:48:07] $wgSessionInsecureSecrets = true; ..... that was a very unclear message (it's a local wiki. http only. Not really a problem.) [12:03:13] alvin: please instead install OpenSSL and mcrypt PHP extensions [12:03:39] See https://www.mediawiki.org/wiki/Manual:$wgSessionInsecureSecrets [12:05:06] Dereckson: But do you have to run mediawiki over https then? I'm not willing to present my users with certificate errors. (As I said. Internal use only. Small group too) [12:06:07] For ICANN domains, Let's encrypt? For internal domains, a small local CA is probably a good idea. [12:06:08] They're used for more things than direct SSL/HTTPS [12:06:27] But no, they're not tied to https [12:07:10] If I install an MW extension that got "converted to extension.json and deprecated PHP entry point", would using "require_once" in LocalSettings.php still work? Or must I use "wfLoadExtension"? [12:07:48] that will work, as the PHP entrypoint will call wfLoadExtension [12:07:57] Indeed [12:08:13] andre__: It's worth changing it over in your LocalSettings, but not necessary while the entry point is still there [12:08:38] But the entry point may disappear at any point when it's converted in WMF wmf-config [12:09:51] Technically we have a local CA (FreeIPA) I could try something. [12:11:01] Reedy, and unrelated to wmf-config, talking about a 3rd party installation? [12:11:06] alvin: by the way, the two aren't related: HTTPS terminaison is purely handled by your webserver, not by PHP, the PHP extensions will crypt data for MediaWiki itself [12:11:33] Dereckson: Oh, I'm mistaken then. Yes, I can install those php modules. Thanks. [12:11:35] Reedy: to make this less abstract: Docs for WikimediaMessages extension say "Load this via wfLoad". Code of that extension says "has been converted" [12:11:43] argh. wrong way round, andre [12:11:54] "Load this via require_once", I meant [12:12:16] andre__: what about two arrays? $extensions = ["modern1", "modern2"]; $legacyExtensions = ["legacy1", "legacy2"]; then two foreach loop to require legacy items, wfLoadExtensions the others? [12:13:13] Dereckson, errm, what about "what about"? :) [12:13:22] I'm not trying to fix a problem, I only want to understand it :D [12:13:35] specifcally: rEWME77f2969d52081cbf70840eb752b3602bd25dbcd5 ported the `WikimediaMessages` extension code to use `wfLoadExtension` [12:13:41] and https://www.mediawiki.org/wiki/Extension:WikimediaMessages still lists `require_once "$IP/extensions/WikimediaMessages/WikimediaMessages.php";`. [12:13:56] now are the docs incorrect and won't work? or are the docs just outdated but still work? [12:14:10] if I installed that WikimediaMessages extension on my own private 1.27 wiki installation [12:14:21] sorry. I should have probably asked it like that earlier [12:14:25] instead of staying abstract [12:15:27] the docs are just oudated but stillw ork [12:15:38] Thanks! [12:15:55] but to start to migrate all these instructions to "use wfLoadExtensions" is a good idea [12:16:10] (as long as an extension.json exists for the extension of course) [12:16:21] the instructions should not exist IMHO. at least not on each and every single extension page. [12:16:44] instead, extension wiki pages should link to generic "how to install an extension" page [12:18:53] yes, as long as some specific extra installation instructions are allowed [12:19:04] for example for VisualEditor we need to say "install Parsoid first" [13:15:27] how do i edit a title page of a wiki page? [13:28:34] Jakey3, what is a "title page"? [13:28:54] solved issue moved the wiki page [13:29:01] thanks anyhow [16:47:06] Hi - I want to rename one of my extensions, which is hosted on the Wikimedia Git repository. What do I do? Is there someone I should talk to about it? [16:52:04] probably file a task about it [16:52:40] i'm not sure if it's possible… but if you file a task then somebody who knows how this works will probably reply and advise :) [16:53:10] MatmaRex: that's true, okay. [16:53:47] But whom do I assign it to? No one? [16:55:41] just put it in the #gerrit project [17:01:07] MatmaRex: thanks. [17:50:56] is it possible (in any way) to ban or allow specific bots ? (whitelist, blacklist ...) [17:51:33] i mean bos like from google or else [17:51:37] *bots [18:06:18] DMI-1407: crawling bots like Googlebot? Have you tried robots.txt? [18:06:33] googlebots are not my problem [18:06:46] more bots that ignore things like robots.txt [18:07:08] And what do you want them not to do? [18:07:42] there are some bots i want to exclute [18:08:37] on some forum softwares it is possible to define white or blacklists with ip or useragent strings [18:08:46] exclude from WHAT [18:08:56] visiting my page [18:08:59] as example [18:09:00] a single page? [18:09:08] no the wiki [18:09:12] the entire domain [18:09:26] ok [18:09:37] For editing, we have https://www.mediawiki.org/wiki/Manual:$wgDnsBlacklistUrls and you need to find a suitable blacklist [18:10:08] If you just want to block specific user agents and stuff, you should check your webserver's configuration options [18:11:11] If you want something smart and automatic, I believe fail2ban can be configured to do what you want http://www.fail2ban.org/wiki/index.php/Category:HTTP [18:11:25] If your objective is to reduce load, you might consider caching instead [18:16:32] no i doesnt want to reduce load [18:17:03] and i doesnt have access to the web servers config [18:17:09] because its a webspace [18:20:21] i need something like $wgDnsBlacklistUrls but for viewing pages [18:20:56] and it must detect useragents and simple ips too [18:21:00] not only dns server [18:40:09] Is a patch fixing APCu detection planned for 1.27 LTS? [18:40:17] Asterixf2: It's already there [18:40:20] It's just not released [18:40:23] ok [18:40:33] (in a tarball that is) [18:41:01] It will be in 1.27.2 whenever that actually happens [18:48:08] gerrit.wikimedia.org is down right now, if anyone was wondering... [18:48:17] Yup [19:33:36] ehm [19:33:43] because folders [19:34:20] where does the wiki create folders automatically ? [19:34:38] does the wiki remove folders automatically ? (temp folder or such) [19:46:11] does anyone know where I can get a copy of WikiEditor for mw 1.27? the extension distributor isn't working and the trunk version isn't working for me [19:46:49] !e WikiEditor [19:46:49] https://www.mediawiki.org/wiki/Extension:WikiEditor [19:47:33] quintus: it's bundled with MediaWiki... you should have it if you downloaded the tarball of MediaWiki [19:50:35] Oh [19:50:38] Vulpix [19:50:40] might [19:50:45] be related to gerrit going down [19:50:50] no extension called wikieditor [19:50:54] https://www.mediawiki.org/wiki/Special:ExtensionDistributor/WikiEditor [19:51:11] Yes there is one [19:51:19] It's almost certainly relatd to gerrit being down [19:51:31] Ok [19:53:53] oh, okay, thanks. let me check the tarball. [19:54:31] quintus: FWIW, we don't generally reccomend running trunk versions of extensions with branched versions of MW [19:54:34] unless you know what you're doing [19:55:06] Reedy: yeah, sometimes I just do that when the extension distributor isn't working, but it usually doesn't end well [19:55:20] well, if you can get the git repo.. [19:55:26] just do git checkout REL1_27 [19:55:35] You could always use the github mirror [19:56:50] No such extension "WikiEditor". [19:56:50] Unable to fetch extension list! [19:56:58] Woops [19:57:02] https://github.com/wikimedia/mediawiki-extensions-WikiEditor [19:57:07] quintus ^^ [19:57:16] switch to branch REL1_27 [19:57:23] you can either git clone or download the zip [19:57:53] paladox: that should be the same as the one in the MW 1.27 tarball, right? [19:58:06] Yes, or slightly newer [19:58:08] Yes [19:58:17] If things have been backported [19:58:27] what Reedy says :) [21:14:32] Gerrit is back up now. [21:15:11] I wouldn't bet on it staying up [21:15:25] LOL [21:15:40] Yaron we have no idea if it is a hardwhare fault [21:15:46] see #wikimedia-operations [21:16:10] They switched it to performance, but it should not require us to do that, but will do for now