[02:27:55] is there a way to point dplcache to a different directory [02:28:09] having it in the images directory is a headache for me [02:29:09] Honestly, its super silly that even exists. I don't know why DPL doesn't use memcache like its supposed to [02:29:32] yes, but is there a way to point it somewhere else? [02:29:34] That of course doesn't help with your issue [02:30:37] our images directory is 151GB, so upgrading is a chore moving things over and dplcache is getting in the way of that and I'm trying to have the images pointing to an elastic mounted drive to save more headache [02:37:12] Looks like its hard coded (although there are like so many versions of this extesnion)... i guess you could modify the extension [03:02:43] i tried the other version on a sandbox once and it was a crapfest [03:13:08] All versions of DPL are a crapfest :P [17:54:43] I have a page in my wiki that a user created with a unicode character in the pagename. This is causing pages like recent changes to show an internal error of Bad value for parameter $dbkey: invalid DB key. I tried mass deleting the User's pages (as they only had the one) but that didn't fix the error. Is there a best way to do this? [17:55:19] error is here: https://elinux.org/Special:RecentChanges [17:56:09] wmat: Btw, your wiki is running on an outdated point release [17:56:22] Reedy: i know, it's on my todo list ;) [17:56:24] Did it delete the page at fault? [17:57:11] Mass Delete said it deleted [17:57:55] actually, trying mass delete still lists it [17:58:00] I wonder if you just need to manually nuke the bad row from the recentchanges db row [17:58:01] Ah [17:58:49] ah, it says Page ECE497 Project: could not be deleted. [17:59:02] It might be easiest deleting it via pageid or something on the api [18:01:21] and how would I find the pageid? [18:03:25] Database probably [18:03:49] no maintenance scripts that will list it? [18:03:50] Cause MW won't even play nice with the page to view ti [18:03:58] * wmat looks [18:04:05] ?action=info or the API would [18:04:21] But it's normalising the title before using it, so it's losing the trailing character, which is then no the page [18:04:40] SELECT page_id FROM page WHERE page_title LIKE 'ECE497 Project:%'; [18:12:33] great, there's 15 of them [18:14:18] 15 bad ones? [18:14:20] Or 15 results? [18:14:26] Oh, yeah, that sql query isn't much use [18:14:29] 15 results [18:14:33] SELECT page_id, page_title FROM page WHERE page_title LIKE 'ECE497 Project:%'; [18:14:34] :P [18:15:08] there we go, got it [18:19:55] i can't just do api.php?action=delete&pageid=134751 [18:20:05] i need a token [18:20:44] Needs to be POST'd too [18:21:51] https://elinux.org/Special:ApiSandbox might work [18:22:04] You can hit "autofill token" ;P [18:26:10] i don't see that option [18:26:24] have to call into a meeting now, will get back to this in a bit [18:26:39] Scroll down? [18:26:49] You need to select delete for action on the first screen [18:39:29] Please correct the marked fields and try again. Yet know fields are marked. [18:39:35] at least not that I can tell [18:46:01] ? [18:50:10] in the sandbox [19:01:28] what if I just do a delete from the table? [19:04:02] DELETE FROM page WHERE page_id = 134751; [19:04:58] will that fix recent changes? [19:06:26] Depends what's on the page [19:07:51] there'll probably be a bad row in recentchanges [19:08:07] i'm looking for that row right now to delete it as well [19:08:28] I guess the same thing [19:08:41] SELECT rc_id, rc_title FROM recentchanges WHERE rc_title LIKE 'ECE497 Project:%'; [19:12:31] deleted the recentchanges row first and it fixed the recentchanges page [19:14:51] is there any harm in leaving the row in the page table? [19:15:25] Not really [19:15:34] But if it's inaccessible... It has no value [19:15:58] yeah, nuked it [19:17:17] Reedy: thanks for the help! [19:31:59] hi. I am having trouble getting the Debug Toolbar to appear [19:32:20] I added $wgDebugToolbar = true; to my LocalSettings.php and reloaded. Still not at the bottom of the page [19:32:27] v1.31 [19:34:12] You don't have $wgUseCdn or $wgUseFileCache set to true? [19:42:02] no [19:43:04] ok now it showed up....20 minutes later. weird [19:43:47] Sounds like caching [19:44:14] browser cache? [19:44:57] resource loader [20:39:31] Ok. How about https://www.mediawiki.org/wiki/Extension:SyntaxHighlight .. I've installed it but it doesn't appear to be working. My page now has Category:Pages with syntax highlighting errors on it...so it seems like the extension is loaded, but something is wrong with my syntax/tag [20:40:02] I made sure the language is supported by SyntaxHighlight. Kinda at a loss [20:40:31] Not a lot of info on the extension page re:errors and troubleshooting [20:42:32] It's hard to say [20:43:04] Is pygmentize working? Have you got the necessary python depednancies? [20:46:31] how do I check that [20:46:38] I thought they're bundled with the extension [21:29:20] As per https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Installation [21:29:26] In Linux, set execute permissions for the pygmentize binary. You can use an FTP client or the following shell command to do so: [21:29:48] Python etc aren't bundled [22:50:21] test [23:22:05] Reedy I did set the permissions [23:29:42] I believe it's because I don't have python3