[00:27:59] What's the best way to append a string to every link generated by mw? :D [00:28:28] Or more generally modify links [00:30:22] There is a hook in the linker you could probably use [00:31:44] !hook LinkEnd | mwasteland [00:31:44] mwasteland: https://www.mediawiki.org/wiki/Manual:Hooks/LinkEnd [00:32:05] !hook LinkerMakeExternalLink | mwasteland [00:32:05] mwasteland: https://www.mediawiki.org/wiki/Manual:Hooks/LinkerMakeExternalLink [00:32:17] hmm, there's a lot of hooks there, you might have to research which is the best one to use [00:32:31] thanks! [00:33:09] https://www.mediawiki.org/wiki/Manual:Hooks/LinkEnd is deprecated though? [00:38:46] !hook HtmlPageLinkRendererEnd [00:38:47] https://www.mediawiki.org/wiki/Manual:Hooks/HtmlPageLinkRendererEnd [00:38:51] I guess is the modern version [00:53:35] * mwasteland gives thumbs up [11:09:25] I have a page, that contains sub-pages. On the top one, how to auto-generate list of all it's subpages? [11:12:08] queip: Special:PrefixIndex might help [11:12:59] MC8: but can it be used to actually have the list embbeded and visible when viewing the top-page? [11:14:17] instead of user navigating into that Special:PrefixIndex/Foo/ and only then seeing list of subpages [11:14:37] queip: you can translude some special pages like templates, assuming your wiki is configured to allow it [11:14:51] https://www.mediawiki.org/wiki/Transclusion#Special_pages [11:15:35] MC8: works, great [18:24:14] YairRand: Make a patch? ;) [18:25:29] dev accounts are free [18:25:36] You can make patches straight through the gerrit interface too [18:29:14] Do I need special access to clone and submit a patch to Extension:MultimediaViewer? [18:29:32] I keep getting access denied attempting to clone it down from Gerrit. [18:30:05] Trela: what clone url are you using? [18:30:32] ssh://Alexia@gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer/ [18:30:55] And alexia is your username on gerrit/wikitech? Plus you've uploaded a ssh key to gerrit? [18:31:06] Yep. [18:31:28] I can and have done so against core MediaWiki in the recent past. [18:32:04] Strange. O_o I just tried on my mediawiki checkout and got denied too. [18:32:11] try git clone --verbose [18:32:20] Rebooted your machine and not loaded your ssh key into an agent? [18:32:36] I double triple loaded that private key just to be sure. [18:33:46] Verbose just outputs the same usual "Please make sure you have the correct access rights"/"Permission denied (publickey).", but that is the same for mediawiki now too. [18:35:13] SSH key in Gerrit matches too. [18:35:59] If you absolutely cant get SSH to work, you can also use https (but the password is different from your normal one, its in your gerrit prefs) [18:36:22] If you have more than one key, or are using vagrant/virtual machine, make sure its actually using the right key [18:37:02] Just figured it out. [18:37:27] All of my checkouts use the same casing as my login "Alexia". Apparently Gerrit no longer accepts that and wants exclusively "alexia". [18:38:04] I guess something changed in the Gerrit/Git installation that changed that. [18:39:05] The ssh username is different from the "real name" in gerrit [18:39:16] So it could be you have one as Alexia and another as alexia [18:39:50] It has always both been first letter uppercase Alexia for both and I have not changed it. [18:40:51] hmm, weird [18:41:34] Either way, it is fixed. It was always silly having to uppercase the first letter for only MediaWiki's git setup. :O Everywhere else it is lowercase. [19:53:00] Running maintenance/update.php on MW 1.31 with composer-merge-plugin 1.4.1 and am told "^1.4 required". I'm a composer newb, and see that composer.lock has composer-merge-plugin locked at 1.4.1. Do I need a new composer.lock file? [19:54:01] 1.4.1 should satisfy ^1.4 [19:56:53] It seemed a strange error. Wasn't sure if ^1.4 was being used for 1.5+ - If not, is the version checker parsing wrong? And if so where would I go to fix it? (on first glance couldn't see it in update.php) [19:57:36] There's no 1.5 (yet) [19:58:02] How did you install MW? [19:58:18] Upgrading successively from an old 1.27 (we went step by step) [19:58:25] How did you install MW? [19:58:33] Tarball? Git? [19:58:40] tarball [19:58:41] Debian packages? [19:59:23] https://github.com/wikimedia/mediawiki/blob/REL1_31/composer.json#L39 [19:59:42] https://github.com/wikimedia/mediawiki-vendor/blob/REL1_31/composer.json#L31 [19:59:49] Abulafia: Have you changed something? [19:59:56] Cause REL1_31 doesn't have that constraint [20:01:10] Must have had an old composer.json - thank you! [20:02:15] Or some modifications to it [20:03:34] That did the trick. [20:03:52] Hadn't changed anything in the composer files, I don't think. [22:56:17] is there an irc channel for discussing wikimedia resources? [22:56:29] what do you mean by wikimedia resources? [22:56:49] images and things on https://commons.wikimedia.org [22:57:01] #wikimedia-commons [22:57:08] ah thanks Reedy