[14:39:57] y0 and thanks for the awesomest wiki engine. Got this one wiki with only a few handfuls of pages. I need to add some pages to https://www.mediawiki.org/wiki/Manual:Interface/Sidebar and also the same ones to the mw:Extension:MobileFrontend. I assume this will be straightforward as the MediaWiki documentation is of high quality. [14:42:28] Not particularly bad, but as always, there's room for improvement :) [14:54:08] Doing pre-backup checks on wikis histories. I'm seeing a need for reCAPTCHA for the RequestAccount-feature [14:55:37] I need to look up if that is possible. Almost checked the wikis and written about performing a backup [15:43:07] jukebohi: $wgConfirmAccountCaptchas seems to be a thing [17:13:35] ashley: thanks! I'll look into it [17:16:27] can't find it in the documentation on mediawiki.org. I'll search wider [17:18:54] I guess I need to set something right into '$wgCaptchaTriggers' [17:22:23] Nope, I can't seem to find syntax for adding a CAPTCHA to the request account form [17:23:56] jukebohi: are looking for this? https://www.mediawiki.org/wiki/Extension:ConfirmEdit [17:24:02] are you [17:24:03] * [17:24:05] ugh. [17:24:36] Ostrzyciel: Yeah, I've had that for ages. I'm trying to figure out how to make the CAPTCHA happen, so these botnets would not be able to request accounts [17:25:04] jukebohi: oooh, the bots just waltz through the captcha [17:25:20] (reCAPTCHA at least) [17:26:09] yeah.. unfortunately. But it would be nice to have some CAPTCHA in the Request Account -page to make 'em put some effort in it [17:26:41] is that a special page or a regular page with wikitext? [17:27:48] ...or maybe this will be useful to you? https://www.mediawiki.org/wiki/Extension:ConfirmAccount [17:29:24] I have that already. I need a way to make the CAPTCHA by mw:Extension:ConfirmEdit to show up in mw:Extension:ConfirmAccount. I just need the right key into $wgCaptchaTriggers[] [17:32:39] the key is (judging from ConfirmAccount's code) 'createaccount', also $wgConfirmAccountCaptchas has to be true (which is the default) [17:32:58] they code is here if you're interested :P https://gerrit.wikimedia.org/g/mediawiki/extensions/ConfirmAccount/+/7de11112ec58cddd154aeeb9cb83f00a3ca347bd/includes/frontend/specialpages/actions/RequestAccount_body.php#247 [17:33:46] QuestyCaptcha is pretty effective (until broken; but a lot of bots won't bother figuring it out and will happily move onto more vulnerable MW installations) [17:34:20] that's true, until you get a really bad troll :P they'll do anything [17:34:47] IMO that's too much risk, but yeah... it depends on your wiki [17:36:51] Ostrzyciel: "$wgCaptchaTriggers['createaccount'] = true;" is already there. That must apply for the normal create user view, not the request account view [17:37:55] cancel that. it applies also to "Request account" [17:38:08] so the bots are passing it, perhaps with the help of a human [17:38:20] yeah, probably [17:38:31] I see tons of bots, even with recaptcha [17:38:53] we use AbuseFilter to stop them from posting anything, it works [17:39:00] a few simple regexes really :) [17:39:13] I should remove ~ 60k accounts that were regged in a rampage in 2010 [17:39:26] oh gee. [17:50:36] Raymond_: you may be interested in setting SASL-authentication instead of NickServ so that your IP-address would not be revealed. Having this in time for me would have probably made a world of difference [17:51:46] Raymond_: here be the instructions to do so https://freenode.net/kb/answer/sasl [17:56:09] On to other things. I have a clean, backed up MW 1.35.0 and I'll test the procedure to install citation templates to a non-WMF wiki [18:01:13] I'm grabbing everything from https://en.wikipedia.org/wiki/Category:Citation_Style_1_templates as it seems to cover the needs [18:06:21] Now doing the Special:Import [18:06:39] it is computing [18:06:52] I hope this does not timeout, the web GUI [18:08:51] it finished. now to see if they work [18:11:13] nope. wiki broken. now it needs... uhh... prlly a 'php update.php' [18:11:57] yeah, now the wiki works [18:14:19] now the moment of truth, I've pasted into a test article some content that contains citations. If they work they'll work when I hit the "Show preview" [18:14:48] SUCCESS! [18:16:00] .. except template called "Citation" does not exist, but at least all the {{cite web}}s and few others work [18:18:29] I'ma import it too. This time I just grabbed everything in CS1 [18:18:36] Wonderful progress [18:22:44] Imported Template:Citation and contents exist, but still in the rendering in the references I'm seeing a red link http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Template:Citation. I'ma try again, this time including the templates that come with it [18:23:53] have you cleared out the job queue? (anyway unless you have a *very* particular, pressing need, I'd say importing enwikipedia's templates is a certified Bad Idea™ :) [18:24:48] Is it still red after doing ?action=purge on the page in question [18:26:38] Now I imported everything that exporting Template:Citation and ticking the "include templates" made. I'm keeping notes of whats going on [18:27:22] nope, that didn't help. I try the purge [18:28:07] bawolff: now it is ok. the purge helped [18:28:43] jukebohi: So that probably indicates that the job queue hasn't been processed fully [18:29:04] If you can run the script runJobs.php from the command line, that would probably help [18:29:33] I'ma revert database and do this one time over in the testwiki, this time grabbing everything from CS1-templates and also Template:Citation and all the stuff that that brings so I'm clear on what worked [18:34:07] It sounds like it worked fine, just the page cache has not been updated [18:39:23] I want to make sure I know how this goes before I do it in the actual wikis and I'd maybe like to contribute documentation, coz I was looking for a way to do this for years [18:44:43] 328 things imported. I'll run the job runner now [18:59:49] it lost all the imports [19:00:40] Trying it again. The previous run reported that it finshed ok, but nothing was shown in RC and then trying to run it again it complains something [19:02:48] so jobRunner, update.php and jobRunner [19:04:01] again I don't see anything in the RC, when there should be entries in the Import-log [19:04:30] oh hold on, that was just a RC setting [19:06:01] yes. now I have success. I'll finish up documenting