[09:22:08] Hi guys :) [09:22:08] I have a quick question: did any of you try to embed opencast videos into mediawiki pages? I'm struggling a bit. [13:22:32] Good morning. I'm having some problems with my varnish-like cache bypassing pages due to javascript setting an anonymous sessionId. [13:23:16] This seems to be largely influenced by extensions, potentially PageImages and TextExtracts, but I have different wikis with those extensions on the same cache, and cached pages are served just fine. [13:25:11] https://fireemblemwiki.org/wiki/Main_Page is an example of one of the wikis I manage which has this problem. x-cache-status is a cookie which describes if the cache has been bypassed or not. [13:26:00] I currently bypass cache when cookies contain S(s)ession or T(t)oken [13:26:39] CSS and JS seem to cache fine, so it's not the end of the world, but this is a reasonably active site, and I'm trying to squeeze what I can out of our hardware. [18:07:24] Hello and a massive thank you for the awesomest wiki engine [18:08:33] Got a visitor, that keeps on visiting same page over and over and I though he/she/it/them could use a good old fashioned RSS or Atom-feed. Can I achieve it just by setting this: https://www.mediawiki.org/wiki/Manual:$wgAdvertisedFeedTypes [18:08:56] is this provided by the core, or do I need some extension? [18:19:24] Iamthehuman12: RecentChanges has a feed, which encompasses all changes on the wiki [18:19:49] chances are, however, that this user just has a tab to your wiki open as one of ther 200 browser tabs, and so it just gets reloaded each time they open their browser [18:20:42] yeah, Firefox loads the pinned tabs and the currently open tab first and the rest only when the tab is visited. I got 249 tabs alltogether now [18:21:48] 24GB is just about adequate for slightly heavier web browsing, but next lappy will not be under 64GB (possibility) [18:23:51] thanks moonmoon ... I'll link them to the RC feed [18:24:30] keep in mind they may view that as (rightfully) creepy [18:24:42] that you're spying on how they're browsing/using the wiki [18:27:09] The new (as introduced some versions ago) recent changes has an option for live recent changes, that precisely reloads it every now and then [18:27:56] I would be very intersted in how to make a single page's changes an ATOM-feed, I'd love this for me too [18:30:42] you can use your Watchlist for that in a way [18:30:58] (Watchlist provides a feed of all pages on your watchlist, so you can curate which pages are included or excluded from it) [18:32:08] nice, thank you moonmoon [18:33:20] * Iamthehuman12 wonders off to find an aggregator to try it out. In Feb 2003 I saw a tiny news item in my aggregator at work that said "Wikipedia, the free encyclopedia reaches 100,000 articles" so I went to check it out and still hooked [18:37:09] Liferea seems to fit the need, installed from apt, because people complain that snaps are bloat [18:37:51] Iamthehuman12: "rawdog" is an RSS feed aggregator that is precisely this. many RSS/Atom feeds go in.. a single feed comes out [18:37:59] you can use that to have a single feed of many wikis [18:38:19] it is kind of a succesor of "planet" [18:41:57] grazie mille mutante ... I have been privately hoping for that .. I have so many wikis and also like to tend to the Wikipedia every now and then. *gone to instaall* [18:44:10] Iamthehuman12: this is an example of that being used with Wikimedia-related feeds https://en.planet.wikimedia.org/ (there are other languages besides en ) [18:45:11] under "Subscriptions" you see the "source feeds" [18:45:27] that could totally be just a list of MW RC feeds as well instead of blogs [18:45:28] aaagghh... I see it is python, the python packaging systems have always been confusing mess, like Paris, before you notice its name means "The Bets" in French [18:46:02] well, if you find a good replacement for it, let me know. because that is an open ticket [23:12:36] Ok, sorry about the overtly strongly painted comment about python packaging and Paris sharings aspects. I'm sure I could be able to install _a_ python package manager on my lappy. Looks like I'll need python2, but those python2-python3-aaaaaaaghwhatispythonnnnnnwheremipythonnnn were probably only back in the day, and most likely because python3 came as an upgrade [23:15:06] Iamthehuman12: I would recommend to use distro packages first. a lot of python3- packages are in Debian. I'd only use pip if I am forced to because APT doesnt have it [23:15:39] mutante: I didn't see it in the standard Ubuntu Studio repos [23:15:47] I had a bad experience with pip not properly removing stuff and then running into bugs because both systems are mixed on the same box [23:15:59] but I guess I need to add something to the package name, like python- [23:16:52] python3 stuff is prefixed with python3 [23:17:03] So python3-pip for pip3 [23:17:04] cool, thanks N3X15 [23:17:22] no, no, no, the kind mutante said no pip [23:17:34] Iamthehuman12: what specifically are you looking for? just the aggregator I mentioned? or python itself [23:17:52] I have all sorts of python package management trauma. I want 'sudo apt install ???' [23:17:53] whatever works for you; Repo versions tend to be older but more stable [23:18:07] so apt install python[3]-whatever [23:18:39] mutante: the aggregator, rawdog, kinda cool for an acronym, but maybe a bit-tongue-in-the-nose [23:18:47] unfortunately it is only in "oldstable" and not in stable anymore :/ that is the answer [23:18:53] https://packages.debian.org/buster/rawdog [23:19:22] I have dreamed of merging multiple RCs together for years. DO WANT [23:19:29] Iamthehuman12: you are not the first to comment on the name. hah, it stands for "RSS Aggregator Without Delusions Of Grandeur" lol [23:19:36] sounds a bit like a backronym [23:20:15] downloading the tarball from that link above should also work I think [23:20:25] wouldn't normally recommend that but .. it is what it is [23:20:28] tarball containing what? [23:20:47] I'm looking, sorry [23:20:57] python code [23:21:00] and some setup.py [23:22:16] I read the description, sounds like I'd like this on a server, rather than my lappy? [23:22:58] ah, yea, it's mostly a server thing and then you access it with your browser [23:23:10] though no reason you couldn't have a local webserver [23:23:28] but I will try it out .... that I should do in a virtual machine or something, because I have spent hours trying to figure out how "python setup x where I did not understand the instructions" borked systems [23:23:45] alternatively you can manually install the deb (http://ftp.us.debian.org/debian/pool/main/r/rawdog/rawdog_2.23-2_all.deb) just don't tell #debian you are mixing distro versions [23:23:57] (in this case I think it's ok, just python) [23:25:02] Ubuntu Studio is basically Kubuntu with JACK-audio and the heart of it is Studio Controls by Ovenwerks over there. Studio Controls also comes as .aur, so I should man up and learn to install and configure Arch in such a way that it works and is not broken [23:27:15] or just use Debian they are all based on and install pulseaudio-module-jack I guess [23:27:48] mutante: so you figure installing python2 with apt and the .deb with the Discover software center (or was it dpkg if one wants to cli it) should do it for the RAWDOG? [23:28:40] mutante: all my servers have been Debian stable since the mid-00's. For lappy I like a bit of modern software [23:29:07] Iamthehuman12: nah, install python3 not python2. then the .deb with apt (I dont even know what Discover software center is), but yea, should work [23:29:31] I can confirm it works with python3 on buster [23:30:28] I'm not sure if python3 came pre-installed in this US 22.04, or did it come from the Aptik system aspects restoration software I bought from TeeJee, the guy who wrote Timeshift, but I have python3 already [23:31:21] actually, I take that back. it has both python- and python3- packages installed. But I can give you the exact names [23:31:35] package { ['python-tidylib', 'python-libxml2']: [23:31:47] ^ those are the ones it needs on buster (oldstable) [23:32:01] this sound creaky [23:32:27] ? it's normal that packages require other packages [23:32:44] I do not even recall which number is Buster, but I recall that has existed for a long time [23:33:07] just try 'apt-get install python-tidylib pythin-libxml2" [23:33:15] either you already have them or not [23:33:36] it shoudln't hurt. I did NOT need to use pip to make rawdog work [23:34:10] ok, I'll make a Timeshift snapshot and Baqpaq (also bought from the Timeshift guy, like "Timeshift for /home", but a lot fancier with rsync and rclone support) snapshot and do it [23:34:10] buster is 10. bullseye is 11 [23:35:42] I'm afraid we are getting a bit too offtopic for this channel. but also "apt-get install python-feedparser" and then you should be good [23:36:40] timeshift is done, but baqpaq will take time, these Plasma Vaults use some next gen type crypto which makes millions of tiny shard files .. or something thereabouts [23:38:39] I do not think people here mind the offtopic too much even though this a support channel, because everyone knows what excellent software this is, so the usual rule of thumb that "less traffic in support channels is better for everyone" does not apply the same way as with some other software [23:39:10] this == MediaWiki [23:41:00] if you got a support channel full of people, but no-one ever writes anything, that means that the software works, because no-one is being clueless in their efforts to get help for "it does not work", something like that [23:43:09] > what excellent software this is [23:43:11] oh ho ho [23:48:39] it can also mean people are asking the questions elsewhere but who knows [23:48:52] (It's Discord.)