[14:41:29] I've updated https://directory.fsf.org/wiki/Property:License but https://directory.fsf.org/w/api.php?action=pfautocomplete&format=json&property=License&substr=MPL doesn't show the update -- How can that be fixed? [14:46:13] adfeno: I suggest that we read about cache issues for pfautocomplete for example. [14:47:04] David_Hedlund: OK [14:53:39] What if we do "More -> Refresh" to Property:License, Template:Project license, Template:Entry, Template:Show, and Form:Entry ? [14:53:53] (all of these) [14:54:42] adfeno: Please try it, I think saper tried that without success. [14:55:06] adfeno: Not sure about exactly which files so please give it a shoot. [14:55:10] (I'm asking first just in case someone already did this, or just so we know what will probably cause another sequence of jobs to run) [14:55:39] "jobs": 4142 - https://directory2p.fsf.org/w/api.php?action=query&meta=siteinfo&siprop=statistics [14:56:20] The cron job solves them in batches of 200. [14:58:49] OK, I did the sequence of refreshes [14:58:56] Thanks. [15:00:11] The number of jobs didn't change yet [15:03:20] adfeno: Feel free to experiment with LocalSettings.php, just restore it if nothing happens. [15:03:33] OK. [15:03:52] I have a feeling that the issue is with the combobox form input [15:04:45] in Form:Entry, section "Licenses". [15:05:19] adfeno: https://directory.fsf.org/w/api.php?action=pfautocomplete&format=json&property=License&substr=MPL is not related to the combo box [15:07:09] adfeno: If you add FOO to https://directory2p.fsf.org/wiki/Property:License should you should be able to find it in https://directory.fsf.org/w/api.php?action=pfautocomplete&format=json&property=License&substr=FOO [15:07:36] adfeno: If you add FOO to https://directory2p.fsf.org/wiki/Property:License should you should be able to find it in https://directory2p.fsf.org/w/api.php?action=pfautocomplete&format=json&property=License&substr=FOO [15:13:33] Indeed, even after seting FOO in Property:License, it doesn't update. [15:13:40] pfautocomplete is stuck [15:14:12] I'll think this over while I get lunch. [15:14:27] adfeno: Thanks. [15:14:38] I need lunch myself. [16:38:52] adfeno: I'll try to reproduce the issue on the old server http://directory-dev.fsf.org/wiki/Main_Page -- it it's not possible to reproduce it then it probably has to do with our recent MW upgrade. [16:39:07] OK [16:39:43] I'll change the input type from combobox to the one used in Resource kind [16:39:52] Property:Resource_kind [16:41:42] adfeno: Same problem there. [16:52:07] (20:35:26) saper: I have identified that 1) actions were pointing cross-site, so different sites were used for editing etc. inadvertedly 2) the caching uses standard APCu caching but is apparently not enabled. If the problem persists, direct SQL queries sent to SMW should be examined. [16:54:11] adfeno: Please overview the email that I just sent to you. [16:56:35] legoktm: Do you think you can help us? [17:02:17] David_Hedlund: I read the email, OK, I'll see if the directory.fsf.org is fixed [17:02:58] adfeno: https://directory2p.fsf.org/wiki/ is a copy of it so you don't need to do that. [17:03:10] Oh, ok then [17:04:01] adfeno: I'm willing to give up on this issue, it's complex, I'm tired, we got to little time, and we need saper. [17:04:32] OK, so am I [17:05:06] It seems we got tangled with the /wiki and /new-wiki moves [17:05:15] adfeno: saper showed up! [17:05:34] adfeno: Check #fsfsys [18:13:50] hi, as i remember when editing a page, i should be able to see all the template he uses (recursively)? i cant see that, what have i missed? [18:43:35] hi, as i remember when editing a page, i should be able to see all the template he uses (recursively)? i cant see that, what have i missed? [18:49:35] niso: Maybe it only shows up when previewing a page [21:51:42] https://en.wikisource.org/wiki/User:ShakespeareFan00/common.css [21:51:50] Why does this NOT work? [21:52:04] Does mediawiki sanitise fontface locals fonts? [22:00:04] Have a look in the CSS served? [22:01:15] It's not recognising the font-face [22:01:17] Why? [22:01:32] It's valid CSS [22:01:46] Because it's styling EXACTLy as one the source site here [22:02:06] http://www.galax.xyz/TELETEXT/TELETEXT.CSS [22:02:31] Please specify EXACTLy how I am SUPPPOSED to set a custom edit font [22:02:43] I've no idea [22:02:47] https://github.com/wikimedia/css-sanitizer/blob/master/src/Sanitizer/FontFaceAtRuleSanitizer.php [22:03:24] I don't understand that code [22:03:44] https://www.mediawiki.org/w/index.php?title=Topic:Tnc2fy8qsqz8wj9t&topic_showPostId=tni9cw1qk5g6m33g#flow-post-tni9cw1qk5g6m33g [22:04:14] Though, that seems to be for text blocks [22:04:23] So I thought I'd done that [22:05:35] I have a feeling the font's broken [22:05:52] Or someone forget to fully add the names to it [22:08:33] As I said it worked on the source site [22:12:51] You really cannot compare them [22:18:05] It doesn't help that the font name concerned doesn't CONSISTENTLY display in applications [22:19:09] why are you TYPING randomly in CAPITALS [22:21:16] Because I'm annoyed [22:22:13] you only come here when you're annoyed, it's stressful [22:23:14] okdana: Apologies [22:23:29] but it's also stressful when something doesn't work as expected [22:23:40] it is [22:23:50] Okay so.. [22:23:52] https://jsfiddle.net/mxtu6ey7/1/ [22:23:57] Is a minimal example [22:24:05] It doesn't seem to work either [22:24:17] So I am wondering if something else is broken [22:24:23] like the font support in firefox [22:25:05] font book doesn't detect anything wrong with the ttf at least [22:25:24] (index):54 Mixed Content: The page at 'https://jsfiddle.net/' was loaded over HTTPS, but requested an insecure font 'http://www.galax.xyz/TELETEXT/MODE7GX4.OET'. This request has been blocked; the content must be served over HTTPS. [22:25:55] That's from Chrome, but I imagine FF does something similar [22:25:58] oh i didn't notice that [22:26:07] yeah it does [22:26:23] And the site doesn't seem to have https [22:26:24] Well I changed the Source URL to https [22:26:32] And it still didn't work [22:26:36] Because the site doesn't have HTTPS [22:26:54] So it won't [22:26:58] Okay [22:27:04] I have the font locally... [22:27:09] Let's try it with a file: [22:27:29] havn't browsers killed off file:// for years? [22:28:03] https://stackoverflow.com/questions/11812111/font-face-url-pointing-to-local-file suggests just like url('font/OpenSymbol.woff') [22:28:14] "Both IE 9 and Firefox require font files to be served from the same domain as the page they are loaded into." [22:28:20] Great [22:28:30] So something that should be simple isn't posisble [22:28:39] What a [deleted] shame [22:29:05] that doesn't make sense, maybe they mean the style sheet they're referenced in [22:29:11] otherwise stuff like google fonts wouldn't work [22:29:41] but in this case i guess it'd be the same issue either way [22:30:06] Time to send a carefully worded e-mail to the font developer [22:30:40] I was trying to set it up as a custom edit font because it's clearer on the LCD screen I use [22:31:01] That is unless you know of a good alaternative [22:31:34] I am using it in HexChat at the moment, although it reports the name as Monospace [22:31:44] suggesting the font naming isn't right in the font file [22:33:30] ah, you can control the font stuff with the usual cross-origin stuff, so google fonts uses access-control-allow-origin [22:33:56] it shows as ModeSeven for all of the different name variations in font book [22:34:38] can you not upload it to your own server [22:36:17] okdana : Link? [22:36:29] Might as well use the Google Font's version if it exists [22:36:34] *Fonts [22:36:48] i was speaking generally, i don't think this particular font is on there [22:37:05] okdana: I don't have a local server to upload it to [22:37:20] The font isn't license compatible with WMF servers [22:37:49] This one on the other hand - http://bjh21.me.uk/bedstead/ [22:37:51] Is [22:38:03] oh you're trying to load it into your user css on a wmf site? [22:38:13] okdana : yes [22:38:29] The JSfiddle was to check if it was an issue with the browser [22:40:51] https://jsfiddle.net/mxtu6ey7/7/ [22:40:58] Testing with a different font [22:41:31] there are security implications to loading fonts from another server, they have to be served in a particular way [22:41:45] That's what I thought [22:41:49] maybe the easiest thing to do is just install the font locally and use it that way [22:41:49] So.. [22:41:56] okdana: I tried that [22:42:14] but it didn't work when I tried to set the FontFace up locally either [22:42:31] Or used a Mode7 or ModeSeven name directly [22:43:41] once i install MODE7GX3.TTF, if i change your div style to just `font-family: ModeSeven`, that seems to work for me [22:46:47] okdana: Confirmed [22:46:52] Thanks [22:47:09] Wonder why it didn't work on Wikisource then... hmm [22:47:35] Is there any automated install of mediaWiki, Ansible/simple shell script? I am just trying out different ways. [22:47:46] for reference* [22:49:49] the vagrant stuff can do that can't it [22:49:53] i've never used it though [22:54:27] https://en.wikisource.org/w/index.php?title=Page:Coloured_Figures_of_English_Fungi_or_Mushrooms.djvu/595&action=edit [22:54:44] I put in the working font-family from the jsfiddle [22:54:49] and nothing happened. [22:54:54] okdana: it's using puppet, idk puppet. but thanks I'll see what i can get from it. btw, any idea on how wikifarms are built? i don't know much about sysadmin but i assume it can be something like having server blocks added to nginx.conf dynamically? [22:55:01] So Mediawiki must be overriding [22:55:22] i looked at an extension that one of those farm sites uses for creating new wikis [22:55:26] i forget what it was called [22:56:51] this one https://www.mediawiki.org/wiki/Extension:CreateWiki [22:58:39] ShakespeareFan00: Hence, look at the CSS that MW is actually sending your browser. As I said originally [22:58:53] Inspect the elements and see what rules are applied/overridden [23:00:04] Idid [23:00:32] for one thing your css is broken [23:00:38] font-family: 'ModeSeven', 'Bedstead', monospace, [23:00:40] lol [23:00:43] that last , needs to be ; [23:01:16] Typos yes... [23:01:36] okdana: thankyou, i am trying to build a side project to enable non cs college friends to create wikis easily. do you think it will be nice to have other wikis in the app. for eg. create a wiki using wikijs or mediawiki that kind? [23:01:43] ace editor seems to override it tho [23:01:43] Might be a typo, but doesn't mean it's gonna work if it's wrong [23:02:18] Done [23:02:21] And it worked.. [23:03:23] It replaces | with something more obvious [23:03:28] i have to say i don't understand how this improves readability [23:03:32] it renders { as [ [23:03:39] Hmm.. [23:03:44] geekodour08: i'm sorry, i'm not sure what you mean [23:03:46] I'll swap them over [23:04:04] Bedstead (another Mode7) font is certainly clearer [23:05:01] Bedstead is this font - http://bjh21.me.uk/bedstead/ [23:05:06] which is public domain [23:05:35] And is one I would strongly suggest as an edit-box font on mobile [23:05:52] as it was originally designed for poor quality TV screens [23:06:14] mobile devices don't have poor-quality tv screens tho [23:08:51] True [23:09:03] but the font is VERY readable what was I was trying to say [23:09:26] It's used in BBC Basic for SDL on mobile devices IIRC [23:09:42] By someone that was originally invovled in the BBC micro itself [23:09:47] :) [23:10:22] okdana: Anyway, thanks for being patient... [23:10:45] I'm still not sure why a font-face to a remote/local font wasn't going to work... [23:10:53] But I have a rough idea... [23:12:29] np [23:12:43] You might also want to look at RailwaySans [23:13:46] i use input mono for source/editing stuff [23:13:46] https://fontlibrary.org/en/font/railway-sans [23:13:54] i like it because it's similar to andale mono [23:13:55] okdana: You have a link? [23:14:15] http://input.fontbureau.com/ [23:14:31] RailwaySans is based on an older version of Johnston as I understand it [23:15:28] Input mono doesn't seem to be a free license font.. [23:15:36] Bedstead and Railways Sans are [23:16:04] i guess not, no [23:16:32] I've switched Hexchat to use Railway Sans and it looks like I'm reading on a Mac ;) [23:16:38] (I'm on Windows currently) [23:17:00] Mac's have better typefaces than Windows XD [23:17:04] :) [23:19:30] cool