[00:29:07] I am recovering an ancient dump of mediawiki, and now I got it up and running with 1.23.17. I see there is a bunch on pages starting with "News:" as well as "Index:News" which seem missing. I am not sure what extensions the original host used, but maybe that is the problem? [07:15:15] "So the modularity is needed..." <- But questioning why all the complexity is a good habit :-). You could do away with some layers (with tradeoffs), for example dokuwiki does not use a database, documents are simply stored in the filesystem. You could eliminate the scripting (here php) layer but then you'd need to code everything in c++ and recompile you web server :-). I suppose you could also eliminate the web server by [07:15:15] introducing a wiki protocol and port but there are huge advantages being interoperable with the "web" [11:06:54] Hi there, [11:07:41] I have been searching MediaWIKI for help on how to freeze the header of a long table in WIKI. [11:07:51] Is there a solution to that? [11:08:41] Or would someone think this is a good topic on the whish-list in case ther is no solution to this (yet)? [11:11:55] Guest7826: you can use style="position: sticky" on the table header cells [11:12:12] https://developer.mozilla.org/en-US/docs/Web/CSS/position#sticky_positioning [11:12:33] (it's not a MediaWiki feature, just regular CSS styling) [11:21:52] Thanks @MatmaRex! I'll try that and let you know after it worked. [11:22:54] Guest7826: here's an example btw: https://en.wikipedia.org/wiki/Nordic_countries#List [11:23:46] Hi! I'm trying to use the new Vector modifications, to make our Wiki more mobile-friendly. Works great so far. Is there a way to show the navigation bar at the side as a [11:23:56] default? [11:24:18] At least on desktop devices? [11:30:13] Hi MatmaRex, Where in this command should I put "position: sticky"? Actual command: {| class="wikitable sortable mw-collapsible" / Thanks again for your help! [11:34:11] Guest7826: you'd put it on individual table cells, e.g. instead of "! Header text", you'd use "! style="position: sticky" | Header text" [11:34:34] Guest7826: you can have a look at an example here: https://en.wikipedia.org/wiki/Nordic_countries#List and how it's done: https://en.wikipedia.org/w/index.php?title=Nordic_countries&action=edit§ion=2 [11:42:24] Thanks MatmaRex. Just to be sure: do I put "position:sticky;" only? Or rather "position:-webkit-sticky; position:sticky;" (as shown in the site you've sent? [11:44:17] Hi all! I hope I'm in the right place to ask for some help getting wikibase sitelinks to work (actually I want to get direct access to work https://www.wikidata.org/wiki/Wikidata:How_to_use_data_on_Wikimedia_projects#Direct_access). I followed the instructions on https://www.mediawiki.org/wiki/Wikibase/Installation and I got it to work in an [11:44:17] unidirectional way, i.e. I can get an Item to know the page it is linked to, but not vice versa. [11:50:08] Guest7826: i think just "position:sticky;" is enough. "position:-webkit-sticky;" was needed in the past for older versions of the Safari browser [11:51:03] (you can see data about browser support for this feature here: https://caniuse.com/css-sticky) [11:58:02] MatmaRex... I was not successful :-( [11:58:30] How would you do it? {| class="wikitable sortable mw-collapsible" [11:58:31] ! [11:58:31] Hello, I'm wm-bot. The database for this channel is published at https://wm-bot.wmflabs.org/dump/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [11:58:31] !Logo [11:58:32] !Stadt [11:58:32] !Bundesland [11:58:33] !Kontakt, Webseite, Social Media [11:58:33] !Fragestellung & Methode [11:58:34] !Zieljahr [11:58:34] !Situation vor Ort (z.B. Klimaneutralitäts-beschlüsse etc.) [11:58:35] !Adressat [15:18:57] Anyone know how to make FlaggedRevs work only for a protection level, like WP? [15:19:15] 🤔 [15:19:50] ok [15:20:04] . [17:15:48] Hi MatmaRex, Now it works! I managed it with "|align=center style="white-space:wrap; background:#f8f9fa; position:-webkit-sticky; position:sticky; top:-1px; left:-1px; z-index:1;"|'''[[Nr]]'''" [17:17:26] But... The table is not sortable any more. Although the first command is "{| class="wikitable sortable mw-collapsible""........... Any more ideas and help please? [17:18:18] Why would I need the "mw-collapsible" - bit in that command anyway? [17:21:49] oh, cool! sorry, i was away, and then i forgot [17:22:32] i don't think you need the "mw-collapsible", but if you include it, it would add [hide]/[show] buttons to the table headers [17:23:59] Guest7826: oh, it's not sortable, because sortable table require header cells – just change the "|" at the beginning to "!" [17:24:45] https://www.mediawiki.org/wiki/Help:Tables#Table_headers [17:45:03] Thanks, MatmaRex! I changed the "!" to "|" at the beginning of each cell-text in the header. But the table still is not sortable... Any other mistake I made? [17:45:57] huh, i don't know, i thought that would work [17:45:57] Ah, and how do I remove the Hyperlink in each cell-text preently leading to no-where? [17:46:14] wait, do you mean "!" to "|", or "|" to "!" ? [17:46:47] to remove links, remove the [[ and ]] [17:47:00] You are right! I changed from "|" to "!" - sorry [18:05:10] Hey, MatmaRex! I got it!!! The sorting worked with this version: "!align=center style="white-space:wrap; background:#f8f9fa; position:-webkit-sticky; position:sticky; top:-1px; left:-1px; z-index:1;"|'''text'''" I just didn't realize it works because the little triangles would not show... [18:05:36] So a big great hug to you!!! Thanks a lot!!! [18:05:41] oh :o [18:05:42] :D [18:09:13] Guest7826: try using "background-color" instead of "background", it's hiding the sorting triangle icons because it kind of overrides the "whole" background, and the icons are added as a background-image [18:09:23] there's a bug report about that somewhere :) [18:10:13] (https://phabricator.wikimedia.org/T33755#2282827) [18:10:41] Ah, OK, I'll try that one too. [18:13:22] MatmaRex Do you mean this: "background-color:#f8f9fa; " or rather just "background-color; " [18:13:42] yes, background-color:#f8f9fa; [18:13:53] (or remove that part if you don't care about the background color) [18:21:27] You are the greatest, MatmaRex. Now that is perfect! Again: Great big thanks to you! The background-color:#f8f9fa is necessary, 'cause otherwise the text of the header would be in conflict with the text coming from below. [18:22:47] :D [18:29:25] ^ agreed on being the greatest [18:51:01] heh [21:25:13] ooh shiny [21:25:27] (@ 1.37 release candidate) [21:26:27] I'm not sure how much actual shiny there is in it ;P [21:28:48] If you're a user, they think they're some shiny new diamond that's amazing [21:29:15] If you're me, I hate releases [21:29:32] It's why I've scripted half of it so I don't have to do actual work [21:51:25] Preliminary release notes for those interested: https://www.mediawiki.org/wiki/Release_notes/1.37 [21:52:48] JPEG2000 files? That's neat [22:19:38] who cares about JPEG2000? https://caniuse.com/jpeg2000 [22:20:11] mac users that still use safari, apparently [22:20:56] hey that's me! [22:24:19] IA uses them [22:25:35] IA? [22:25:41] Internet Archive [22:26:16] Oh, that's surprising