[00:02:16] https://i.imgur.com/3PNHEmF.png like this example, from linking the featured wikipedia page in discord [00:28:05] I don't think MW needs anything special for that [00:41:49] thats the ograph stuff i think from memory, I don't know if that got merged into core [00:42:00] thats odd, then because it doesn't show any preview for my pages [00:43:17] *open graph [00:43:41] exit [00:45:59] https://www.mediawiki.org/wiki/Extension:OpenGraphMeta this guy? [00:52:48] not that, no... [00:53:48] Ah, https://www.mediawiki.org/wiki/Extension:PageImages [00:53:51] >Since MediaWiki 1.29, PageImages provides OpenGraph protocol metadata for articles on the wiki for 3rd parties like Facebook to extract. [00:55:47] That's what Wikipedia et al use [06:00:46] hi [06:01:17] is any admin from wiki here [06:02:04] heeey [06:02:43] you mean wikimedia? [06:03:26] you might try #wikimedia-stewards [06:05:42] mario60: Are you talking about mediawiki.org, or another wiki? [06:05:57] yeah good question [07:32:52] I'm actually pretty silly [07:33:06] the release script is in Python, I can just monkeypatch to use the correct tarball format [07:41:00] posted a much more straightforward patch [12:06:31] y0 and BIG thanks for the awesome free wiki engine and support! Got an wiki improvement issue this time [12:07:46] I've installed Extension:MobileFrontend and Skin:MinervaNeue, but only recently discovered that the mobile UI seems to have no UI to access RecentChanges. So I think some configuration of MinervaNeue should be done [12:08:27] I've been searching looking at documentation and I have not yet found instructions to add RC to MinervaNeue [12:11:14] I am on irccloud so you can hit me up even days later, if you just highlight my nick and I'll see it [12:11:30] I'm looking at https://phabricator.wikimedia.org/diffusion/EMFR/browse/master/README.md;2d7a1ce4a027714bf1a7f82a3c0e9abfcc98910e$87 seems to be the configuration file explained [12:11:49] searching for "recent" finds nothing in that page [12:19:18] Found https://www.mediawiki.org/wiki/Making_MediaWiki_Mobile_Friendly and https://www.mediawiki.org/wiki/Manual:Mobiles,_tablets_and_responsive_design, but these don't address the issue of no reasonable default menu with MobileFrontend [12:22:41] I think I've been looking for this one https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu [12:23:08] yeah, override the skeleton menu, with a properly populated menu will fix. Gonna run backups now [12:24:12] Hold on.. "Allows other extensions to add or override items of the mobile menu (hamburger menu) and some other toolbars." [12:24:38] I don't want extensions altering the menu, I want it to have all the navigation stuff, please [12:29:44] Looking at https://www.mediawiki.org/wiki/Extension_talk:MobileFrontend [12:33:40] Cannot find a standardized solution to adding items to the menu in the extension talk. Someone's doing it with .js [12:34:11] I've never written .js, I barely understand ... I don't understand .js [12:36:38] Seems there are ways to add things like RecentChanges, Request account etc., but there is no tutorial / up-to-date documenatation of a general case [12:40:38] the person that is doing it with .js comments that the old route (from 4 yrs ago in the extension talk) of editing the skin near "getDiscoveryTools()" [12:44:48] I need to learn .js, coz it seems the best shot at altering the menu in 1.34.2 is via editing MediaWiki:Mobile.js [13:48:26] Hi guys, I'm currently developing my own bot to publish my wiki RC entries. By my understanding, I setup the $wgRCFeeds in LocalSettings.php.# RC feeds [13:48:28] Page operation, but only modification of existing pages. [14:14:15] LapisLazuli33: What's your actual question? [14:26:10] Hi all, is ES6 supported within mediawiki add-ons? I've been working on an addon but once I turned off debug mode and it began minifying my javascript code, I started seeing lots of syntax errors [14:28:06] I think it's not [14:28:45] the minifier doesn't support it [14:30:01] :( dang really? Is there any way around this without having to go back and un-es6-ify all of my javascript code by hand? [14:30:31] hi all [14:30:47] i am getting "mediawiki exists, overwriting...failed. (at recordUpload stage" [14:30:55] nolski: Use babel or something? [14:31:03] nolski: apparently there might be? i just found https://phabricator.wikimedia.org/T254261 which looks similar to your problem [14:31:14] when doing php /var/www/html/wiki/maintenance/importImages.php /home/downloads/wiki/images* --search-recursively [14:31:30] how can i overcome this? [14:31:42] nolski: the fix is to add /*@nomin*/ to the files [14:32:03] MatmaRex: you're my hero [14:32:22] nolski: check if that actually works first ;) [14:39:09] MatmaRex: Just gave it a try and everything seems to work now with debug mode off \o/ Thank you again [14:39:27] :D [15:39:57] Could someone help? The Extension:MobileFrontend has in its default menu only "Main Page", "Random page", "Log in" and "Settings". I'd like at minimum to have RecentChanges in there, but after searching for a while, there don't seem to be instructions for this [15:41:32] https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu [15:41:42] I suspect using that hook and adding a subscriber would be the way [15:42:47] Reedy: Thanks for the info. Where and how do I add a hook and a subscriber? Sorry, I'm not the texiest person in the world [15:43:06] You can just add it all in your LocalSettings.php [15:43:19] There's an example at hte bottom of the page [15:45:00] So that shows how do I add an "Upload" button, but I'm a little lost as to what values I should put where to make a RecentChanges appear in the menu [15:47:57] From https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu "discovery" is enabled by default, I'd like to add "personal", "sitetools", "user", "pageactions-toolbar" to the menu please [15:48:57] >Advanced mobile contributions mode is a feature set that will add more contributor features/capabilities to the mobile web experience. To turn advanced mode on, go to your settings page on the mobile site and select "Advanced mode". [15:50:32] In settings in FF on Android, there is no "Advanced mode" [15:51:04] It's not the browser settings [15:51:29] https://en.m.wikipedia.org/w/index.php?title=Special:MobileOptions&returnto=Main+Page for example [15:51:52] Click the "hamburger" in the top right from the mobile site, click settings [15:53:30] Yeah, there is no setting for "Advanced mode" in the mobile wiki on a mobile device. And that link gives me only the option to make font bigger or not [15:53:46] I'll try on desktop [15:54:34] https://stop-synthetic-filth.org/wiki/Special:MobileOptions says I can adjust font size or turn on beta-features [15:55:08] Might need to set $wgMFAdvancedMobileContributions = true; in your LocalSettings [15:57:18] I set that, no effect. I did 'sudo apachectl graceful', no effect [16:00:08] It would be so nice to actually have a link to RC in the mobile menu. I cannot deduce from the existing examples how to add RC to the hamburger menu [16:01:16] too much of a langauge I don't understand more than umpty percent and no idea where to get the values for RC instead of Upload (which is the only example given in the documentation) [16:04:00] I'll add '$wgMFAutodetectMobileView = true;', probably won't hurt [16:04:13] It's not possible to have examples for every possible use case [16:05:04] Are you logged in? [16:05:07] From https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu I'd like to add "personal", "sitetools", "user", "pageactions-toolbar" to every mobile visitor's default menu, please, pretty please [16:05:08] public function isAvailable() { [16:05:08] return $this->mobileContext->shouldDisplayMobileView() [16:05:09] && $this->config->get( self::AMC_MODE_CONFIG_NAME ) [16:05:09] && !$this->mobileContext->getUser()->isAnon(); [16:05:09] } [16:05:11] Reedy: yeah I am [16:09:28] I am making notes [16:14:33] I don't know enough php and I don't know enough Mediawiki to hack it from the only example given here https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu [16:17:41] For most of it, just replacing upload with recent changes will probably get you most of the way there [16:17:52] the hard part is the possible message [16:19:43] Reedy: What would be the easiest way to add these groups to the menu: "personal", "sitetools", "user", "pageactions-toolbar" ? Those would suffice just fine [16:20:32] From what I've done searching this lack of any sensible default menu has been an issue for 4-5 yrs [16:20:55] Well, based on the above, try and work out why setting $wgMFAdvancedMobileContributions = true; doesn't seem to enable the feature as it should [16:23:29] I cleared the cache and website preferences from the last 2 hrs with shift+ctrl+delete [16:23:35] Lemme try if this helps [16:41:16] nope, still nothing but "change font size" and "activate beta" in Special:MobileOptions [16:44:19] https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/includes/MenuBuilder.php linked from https://phabricator.wikimedia.org/T65459 is a 404 in https://phabricator.wikimedia.org/T65459 I need to locate this MenuBuilder that phuedx links [16:44:55] Those are oooold tickets [16:45:39] The problem is probably fixed, but the documentation is one example long, not even two so people would have better luck guessing what the change where [16:46:37] It looks like that hook might actually not exist these days [16:48:38] Thanks for that info [16:49:28] It's https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/96132669fd4d421d4956d36cf57c4b05c43fe536/includes/Menu/PageActions/DefaultOverflowBuilder.php#L61 these days [16:51:13] Thanks for that info too [16:51:50] Like when I go to mobile Wikipedia I can actually access RC. When I go to a wiki with vanilla Extension:MobileFrontend, there is no RC and no-one seems to have written instructions how to add RC and other stuff one would reasonably expect to find in an UI for a wiki even if people have been asking for it for the past 4-5 yrs [16:52:03] Filed T260577 for it [16:52:03] T260577: Extension:MobileFrontend/MobileMenu seems to be out of date - https://phabricator.wikimedia.org/T260577 [16:52:13] The recent changes is there, it's just hidden [16:53:00] Thanks Reedy! Keeping notes [16:54:38] https://stop-synthetic-filth.org/w/index.php?hidebots=1&translations=filter&limit=50&days=7&enhanced=1&title=Special:RecentChanges&mobileaction=toggle_view_mobile&urlversion=2 [16:54:40] for example [16:55:54] Thank you once again. The hamburger menu just doesn't have a link to it [16:57:25] Right, and as https://www.mediawiki.org/wiki/Extension:MobileFrontend/MobileMenu says [16:57:26] >sitetools: second section of the hamburger menu, when AMC is enabled; by default Recent changes, Special pages, Community portal [16:57:47] The AMC ain't working on SSF! wiki it seems [16:57:49] The issue is working out why it won't seemingly show up for you [16:59:18] hey. in the browser view of the mobile view Special:MobileOptions I now see the advanced mode, should I enable it? [16:59:37] That should fix it for you, yes [17:01:07] but I am not logged in in the phone's browser [17:01:15] and what I really want non-logged in users to have a reasonable UI to explore the wiki [17:02:37] Can I bribe someone with a café au lait and danish pastry? :) [17:04:41] ok, I turned the advanced settings on and now in the Special:MobileMenu I can see RC and Special pages when I'm logged in in my FF on my laptop [17:06:26] ... in the menu. [17:08:44] Ok subscribed to the phabricator task, now chill and not worry much about the daily ~ 19 visitors / day that SEM is sending daily with my massive budget of 1.10€ / d not having RC. SSF! wiki's search words are pretty uncompeteted [17:12:24] If there was a way to turn the Advanced Mode on for non-logged in users, wouldn't that fix the "No RC"-gaff [17:14:18] If you've got a phab account, create a task adding it [17:14:24] uh, requesting it [17:14:45] I'm not 100% sure why they allow some settings for anons, but not others [17:17:31] So something like "Could 'Advanced Mode' be turned on in Extension:MobileFrontend for non-logged in users, so that they would have 'Recent Changes' and 'Special Pages' in the mobile menu, instead of no menu item for RC like it is now?" ? [17:17:56] Something like that [17:18:08] Basically, you want Advanced Mode enabled by default for anons [17:18:36] Should I perhaps ask for an _option_ to have it on by default? [17:18:58] I think it's two fold imho, not restricting it to anons, and being able to default it on for them [17:19:04] *not restricting it to logged in users [17:20:16] Would seem more sensible to go with defaults that have RC for anons and have an option to turn it off [17:20:46] I'm guessing the assumption is that it was developed with what was needed/wanted for Wikimedia wikis [17:20:52] Which obviously doesn't necessarily work for others [17:22:31] Btw... how do I change between the mobile view and normal view on my laptop [17:23:05] I am in mobile view with the mobile menu, which doesn't have setting for "turn off mobile view" [17:28:38] On the desktop version, there's a "Mobile View" link at the bottom of the page [17:28:58] On the mobile version... There's a "Desktop" link at the bottom [17:38:22] Cheers! Now I know [18:19:39] Reedy: wrote this ticket https://phabricator.wikimedia.org/T260589 about the possibility that 'Advanced Mode' on by default for anons would be a saner default for Extension:MobileFrontend [18:20:24] Thanks once again for all your help. Now the zerozero beer shelves of the hyperette call me [19:39:32] hi all [19:39:59] do i need to keep hold off all the images in the /images/archive/* dir? [23:14:42] still waiting on this patch https://phabricator.wikimedia.org/T245359 which I really need to get merged (on a deadline) [23:15:14] I'm not sure how else to bug people at this point [23:54:24] merged because you need it deployed to Wikimedia projects? [23:54:30] yes [23:55:14] although there is nothing wikimedia-specific about the patch [23:59:53] and it can't be done with config alone