[00:53:38] is it possible to search (with the API) for a file by sha1 hash? [01:17:56] ignore me, I remembered allimages aisha1 [07:40:56] Hi MediaWiki. I have some data (say five lines), and I want one of these lines to display randomly in another MediaWiki page. I wonder whether someone here could help me on that, thanks in advance. [10:09:46] https://en.wikisource.org/w/index.php?title=Healthy_Oregon_Act&oldid=6501937 [10:10:02] Can HTML lists not be embedded inside wikimarkup based ones? [10:10:24] Because I've tried to find where the 'missing' end is and think there might be a false detection going on [10:11:42] because the eventual error turned up in a different location to where it was claimed. [12:48:17] getting "Tags: Redirect target changed, Mobile web edit, Visual edit, Blanking, Mobile edit, Rollback, New redirect, Replaced, Removed redirect, Undo, Visual edit: Switched" on some edits (somehow all the tags are set), wondering if this is a visualeditor issue or something else [14:00:05] how to link to specific chapter in given page? The problem is I do not know chapter's URL in case if the table-of-content is not generated on a page [14:52:46] looking at the recent changes stream, it's composed of 2 topics, eqiad and codfw.. anybdoy know what the difference is between those? [14:56:18] thousands of miles [15:02:00] heh got it, I saw documentation about topics getting mirrored from one dc to another [15:02:30] but what I really want to know is why.. do certain change types go to one dc, or ...? [15:02:42] They shouldn't [15:02:52] I think [15:02:55] Basically, they're active and backup datacentres [15:03:13] ok I see [15:03:31] also how do you pronounce those out of curiosity? [15:03:50] eck-eee-ad cod-fuh-wuh [15:04:03] it's a combination of a couple of identifiers [15:04:11] eq is equinix, iad is washington dulles airport [15:04:24] co is cyrus one, dfw is dallas fort worth airport [15:04:58] co-dee-eff-double u [15:07:52] if I request a rewind from about 2 weeks ago and make the same stream url multiple times, I sometimes get eqiad changes, and sometimes codfw [15:07:57] does that make sense? [15:08:09] 2019-07-14T00:00:00Z is the timestamp I'm u sing [15:10:27] I don't think we've had a datacetnre switchover for a while [15:10:44] But I guess it might be possible the streams had some maintenance and was switched to the other DC for a few hours [15:14:49] when I specify a rewind and use Last-Event-ID, do I specify offsets for both those topics? and if I also specify a since query param, does that override Last-Event-ID? [15:19:11] I'm trying to implement consistent rewind.. should I be futzing with since, Last-Event-ID, or sse's last_id? [16:35:26] ok upon further investigation, this is what I now believe to be the case.. when you specify the "since" query param to the recent changes sse endpoint, wikimedia converts that into to subscription requests to topics eqiad and codfw at different offsets. These subscription requests pull independently and the SSE endpoint does not attempt to time mer [16:35:26] ge them. As a result, you can receive events with wildly varying date times [16:36:52] for example, a rewind with since=2017-07-14T00:00:00Z will return data from 2017-07-14 from the eqiad topic, and then a few thousand messages later may switch to returning data from the codfw topic with meta.dt 2017-07-22 or vice versa [16:37:14] apparently there was a DC flip on 7/22 [16:37:30] ah my bad, I wrote 2017 in those chat messages but actually mean 2019 [16:37:46] I'm so scatter brained right now I don't even know the year [18:25:35] getting a weird error 500 in messagecache.php when saving changes to at least Vector.css and Mobile.css: https://paste.ee/p/JKuGs [18:31:36] "overridable" is not being set anywhere in this code path or so it seems [18:33:10] that looks like you have some other error, which results in MW trying to output the 'internalerror' message, but doing that also causes a second error [18:33:35] you're seeing the backtrace for the second error, can you look again at your logs and see if you see a backtrace for the first error too? [19:21:01] MatmaRex: I guess I will need to enable mediawiki logging again and wait for this to happen [19:21:30] the weird part is that if I open the page I edited, it pops "Your edit was saved" and the changes are there [19:22:01] I am guessing the error happens during the redirect between the POST target and the page [19:27:08] Setting custom log groups for exception and error is usually a good idea. Only exceptions would be logged, and you can leave them enabled always: https://www.mediawiki.org/wiki/Manual:How_to_debug#Creating_custom_log_groups [21:47:57] hello! I am installing a wiki for the first time and cannot seem to manage to update my version of SQLite3, or at least get the configuration page to recognize it. I *have* succesfully updated it to 3.29.0 from 3.7.17 on Centos7, but MW page does not recognize it. Does my binary have to be in /usr/bin for it to work, instead of /usr/local/bin? [22:02:57] check your PHP config and what sqlite that the php extension is pointing at [22:07:04] ah. it is referencing my PDO driver [22:07:51] actually no, it doesn't see the new library [22:11:04] can I explicitly reference the path in the ini file? [22:12:33] it seems that the php extension is linked directly with the sqlite API rather than shelling out to a binary [22:13:08] so as far as I can tell, you’d need to get a version of the php extension that links to the updated sqlite or recompile it yourself [22:13:49] agh. I figured as much [22:19:02] Skizzerz even the latest version of php does not support SQLite >3.8. How would I go about recompiling with the new version? [22:19:23] or I should say, does not come preinstalled with [22:19:36] so, compiling php stuff by yourself is a gigantic rabbit hole you usually don’t want to go down into. What OS are you running? [22:19:45] centos7 [22:20:34] also, backing up one more step, how many users will be using your wiki? [22:20:40] maybe 5 [22:20:45] if it’s more than just you, sqlite is the wrong choice [22:20:51] I already have mariadb installed [22:20:53] it has zero concurrency support [22:21:43] ok. i was just going about it since the configurator was giving me a warning. [22:21:52] I’d suggest using mariadb then if you’re able to. It’s the best-supported db for mediawiki [22:26:51] For "server name" and URL changes, would I just make regular changes to my centos hosts file that would update that? [22:27:27] hmm? Not sure what you mean by that. The hosts file doesn’t have much of anything to do with mediawiki [22:28:27] on the install page (mw-config/index.php?page=Welcome), the "environmental checks"...it says "Using server name " and "Using server url that’s autodetected by how you’re accessing the mw-config/index.php page. If your browser is connecting via the IP address, then it’ll detect the IP. If you pointed your browser at a domain, it’ll detect that instead [22:29:41] ah great. ok. I'll update DNS then and refresh [22:30:10] you may need to adjust your webserver listener config as well to accept that hostname and point it at the wiki files [22:31:59] hmm. yes probably that too