[00:03:57] Ahonc: mw.util is not a module that needs to be loaded. [00:04:16] addPortletLink → mw.util.addPortletLink [00:05:01] wikibits.js got removed, so any deprecated functions from it are not working. Surprised you didn’t see some backlash about it on ukwiki. [00:08:24] sbliven: I saw your mw-vagrant questions in backscroll. I have some answers or at least partial answers. [00:09:20] 1) LocalSettings.php lives in /vagrant/LocalSettings.php and /vagrant/settings.d/**. It's not compiled down to a single file. [00:11:58] 2) The mysql root password is managed using hiera configuration. You should be able to change it by setting mysql::root_password to something else in a puppet/hieradata/local.yaml config file. You will have to do that *before* you run `vagrant up` for the first time. [00:12:54] 3) I would personally recommend making roles if you want to use mv-vagrant's git-update command to keep up with changes. For most extensions they are trivial to write. [00:15:32] sbliven: I would also not recommend at all the use of mediawiki-vagrant to host a "real" wiki. Its intended as a development and prototyping environment and is generally full of insecure settings. There are a couple of roles that try to make things a bit less insecure, but they aren't heavily reviewed/tested. [06:45:06] bd808: Thanks for the responses. Your last point about it being intended for dev only is particularly relevant, since I was thinking of replacing my current bare-metal setup with a VM. I find maintaining all the side services (parsoid, RESTbase, mathoid, etc) to be quite a burden now. I was hoping vagrant would improve this, but I guess it's not quite there. [07:14:45] STATUS request: [07:15:16] When will the ISBN be removed as magic name? [07:48:50] [[Tech]]; Alexis Jhon Gaspar; /* What the full template of banner */ new section; https://meta.wikimedia.org/w/index.php?diff=16700523&oldid=16696135&rcid=9611801 [12:48:11] Someone who can help with this gadget? [12:48:11] 14:43 https://da.wikipedia.org/w/index.php?title=Wikipedia:Velkomstscript/velkomst.js [12:48:11] 14:44 https://usercontent.irccloud-cdn.com/file/It9VWM2u/image.png [13:09:01] Rodejong: addOnloadHook → $ [13:09:17] Okay [13:09:20] addPortletLink → mw.util.addPortletLink [13:09:26] okay [13:09:50] mw.util declarations should be wrapped into mw.loader.using('mediawiki.util').done(function(){ ...code }); [13:09:54] Hope this helps. [13:10:21] (or you can wrap the whole function inside addOnloadHook) [13:10:23] The last bit I don't get [13:12:03] https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mw.loader.using [13:13:13] Okay thanks [13:13:15] mw.util is a module that doesn’t always load, so you need to call it using the name it has on that page (mediawiki.util) and that code in the link above. [13:19:10] https://usercontent.irccloud-cdn.com/file/wrA3TaUW/image.png [13:19:19] Like this, stjn? [13:19:54] No, you got me wrong. addPortletLink should be replaced by mw.util.addPortletLink. [13:20:09] Ah okay [13:20:19] The whole code inside $(function(){... should be wrapped into the code like in the link above. [13:20:40] I’ll show with Pastebin, I guess. [13:20:52] okay [13:24:17] Rodejong: https://pastebin.com/WaSgjC4C − like this [13:25:20] Okay.. thanks for your help. [13:32:40] Hi everyone, I have just discovered a bunch of two-years-ago-deleted eswiki pages that still appear in the page table [13:33:12] Any orientation about this? (And, could there be more?) [13:34:48] (More precisely, in the page table visible at Labs) [13:44:34] stjn: mw.loader.load('//da.wikipedia.org/w/index.php?title=Wikipedia:Velkomstscript/velkomst.js&action=raw&ctype=text/javascript'); [13:44:46] is this correct? [13:45:05] If you were using importScriptURI before, I think yes. [13:45:22] okay [13:46:41] The gadget doesn't work though [13:47:07] I don't know what goes wrong [13:48:01] do you have an idea stjn? is it the code? of is the gadget itself broken? I don't understand [13:48:16] of=or* [13:48:30] F12 → copy what’s coloured red [13:52:09] https://usercontent.irccloud-cdn.com/file/CXOnPKsq/image.png [13:52:55] No, I mean do it in browser on the page on which the script doesn’t work [13:53:15] ah.. [13:54:21] (unknown) This page is using the deprecated ResourceLoader module "jquery.jStorage". [13:54:21] Please use "mediawiki.storage" instead. [13:54:21] (anonymous) [13:55:26] is that what you mean, stjn? [13:55:48] Hm. It doesn’t have errors then. I’ll try it out myself. [13:55:57] okay [13:58:37] Hm, I get the buttons in ‘Mere’ section here, for example: https://da.wikipedia.org/w/index.php?title=Brugerdiskussion:76.11.72.162 Although I ran it through console, not as a user script. [13:59:09] Another detail, pages doesn't show in all-titles dumping. I'll be around for an hour or so... [13:59:37] Also you should be aware that this script doesn’t count IPv6 as IPs. It really needs updating from someone who is familiar with JavaScript at your wiki. [14:01:03] Yeah, the problem is that we don't have them. [14:01:42] It's all been like copy paste in the past [14:21:28] Ugh, sorry to hear that. [14:25:34] yeah. I've never really kept myself busy with this kind of thing. But since these deprecated items have been removed... ugh! [14:25:55] Well, I'll find someone who can. Thanks for your help though [21:31:43] Hi, why tools-static.wmflabs.org sends 403 forbidden on some files? Changing of a line would do and it would return the content. Can I see logs somewhere?