[00:30:08] It's in core? [00:30:16] doritos: ^ [00:32:01] Yvette ya it's built in now [00:32:16] https://phabricator.wikimedia.org/rMW0988d1200dd5d67719baf076cdbe3e363801ac23 [00:54:57] Ahh, right. [08:57:21] Is there a way to change the special characters at the bottom of the edit screen for just one person? [09:01:43] Xxmarijnw: you can inject JS in User:/Common.js to customize the UI and the page features [09:01:58] but that's not the easiest path [09:02:17] why do you think the special characters you wish to add will only benefit to one person? [09:03:54] It is on Wikipedia for myself, so injecting JS is probably the only way to change those for just me. Any idea how I should go about doing that? Or any documentation perhaps? [09:10:34] on Wikipedia, there are a very large set in the text editor and at the bottom, are you sure your characters aren't generic enough to make them useful for several users? [09:12:11] Yes, pretty much certain. I could however use AutoHotkey instead if it is very difficult to do. [09:12:48] ok [09:13:57] Thank you for you help anyway, Dereckson. [09:14:18] on fr.wikipedia, they added a JS method in MediaWiki:Common.js to personalise the list [09:14:38] you can borrow it, and then use it in your own Common.js subpage I guess [09:15:05] Seems like a good idea, thank you. [09:21:58] Xxmarijnw: https://fr.wikipedia.org/wiki/MediaWiki:Common.js/edit.js addSpecialCharsetHTML [10:26:35] Hello. I am looking for a way to batch create mediawiki articles (from some documents through a pipeline), and then upload them to a MW installation. [10:32:06] Is there an api that I could use, or should I write directly to the database? [10:33:02] apologies, wrong channel [10:42:12] Anyone awake? [10:42:18] I've found a problem [10:42:36] https://en.wikisource.org/wiki/User:ShakespeareFan00/Sandbox#Junicode won't display as intented [10:43:06] Attempting to override the font-feature settings apparently it isn't possible. [10:43:19] This is despite Firefox 52.0 being KNOWN to support that feature [12:26:43] Does anyone here have experience with the current API for exporting article history? [12:26:54] The example at https://www.mediawiki.org/wiki/Parameters_to_Special:Export no longer works [12:27:32] I'm needing the oldest N revisions; the example that's meant to return the five earliest revisions of the main page now only returns the most recent one [12:28:31] Everything I try only returns only the most recent revision. Exporting the full history with the web form won't work as the revisions I'm needed won't be included in the most recent 1000. [12:28:45] s/needed/needing/ [12:29:54] Many thanks in advance [16:36:54] * Strangelv still hasn't found an answer for his problem anywhere [17:25:34] So I've got a freshly-made mediawiki. Now... how do I create an initial (sysop) user? [17:26:08] Baughn: You should have set up a use when you installed MediaWiki. [17:26:20] It will have sysop by default. [17:26:33] That wasn't one of the config options. [17:27:26] Baughn: You did a manual install, right? Not a one-click thing from your hosting provider? [17:27:37] Um... [17:27:42] http://pastebin.com/GUWs3rMw <- My installation config looks like this. [17:27:54] I'm using NixOS. It doesn't create an initial user. [17:27:57] So I'll need to do that manually. [17:28:52] Baughn: oh, okay. There's a maintenance script to create a user probably. [17:29:22] Hopefully... [17:29:35] Baughn: https://m.mediawiki.org/wiki/Manual:CreateAndPromote.php [17:30:31] Ah, that's what I was looking for. Thanks! [17:57:12] I have been trying to get Special:PollResults to work, but I don't know the syntax. What is it? [17:59:54] Is anyone here to help? [18:29:04] * Strangelv tries to fugure out if he has any hope of answering Scientific_Guy's question, then notices he's no longer here [18:29:11] lol Same. [18:29:25] Did you see my question from 6 hours ago? [18:30:00] I have a weird problem: If I add categories to a page after the page is created, the category won't be updated until I rebuild all the links in the wiki. If I create the page with the right categories at the beginning, the category is updated. [18:30:06] Strangelv: no -- resend? [18:30:20] Does anyone here have experience with the current API for exporting article history? [18:30:23] The example at https://www.mediawiki.org/wiki/Parameters_to_Special:Export no longer works [18:30:34] I'm needing the oldest N revisions; the example that's meant to return the five earliest revisions of the main page now only returns the most recent one [18:30:43] Everything I try only returns only the most recent revision. Exporting the full history with the web form won't work as the revisions I'm needing won't be included in the most recent 1000. [18:30:46] mmmm. [18:31:37] Strangelv: version? [18:32:04] I've recently seen problems similar to what you describe. the latest iteration is that updates to templates don't propogate in a timely matter. How are you rebuilding the links? [18:32:56] The wiki I'm trying to get the revisions off of is en.wikipedia... that would be a beta of 1.29? [18:33:16] 'cd /usr/share/webapps/mediawiki/maintenance/; php rebuildall.php; php refreshLinks.php;' [18:33:19] The one I'm having propagation difficulties with is running 1.27.1 [18:33:29] I'm 1.28... [18:34:05] Did yours stop working after upgrading to 1.27? From what version? [18:34:13] As in your export API [18:36:54] The wiki in question was recently migrated from another host. It was previously running 1.12 for reasons thar are probably TMI to explain [18:37:06] OK [18:37:41] My most immediately pressing problem is trying to get exports of the earliest edits [18:38:21] The wiki I'm presently focused on has articles that are technically copyright violations until I get those edits in place [18:38:45] Not that anyone noticed until I did this week [18:40:47] So naturally, Wikimedia makes it as hard as possible to be in full compliance... [18:41:24] So, it works for me... [18:41:40] Are you doing it from the browser or CLI? [18:46:52] "Browser. You got the first five revisions of the main page? [18:47:13] Yeah, I can,but it has to be a POST request; with the browser, it's GET. [18:47:27] https://www.mediawiki.org/wiki/Manual:Parameters_to_Special:Export#POST_request_to_download [18:53:33] Hello. I want to start contributing. How can I go about doing it? [19:07:08] Thank you for noticing that [19:07:31] See if I'm awake enough to try it via console [19:26:11] * Strangelv runs it from a console and gets: [...] Error: 403, Insecure Request Forbidden - use HTTPS - https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-May/000110.html at Sat, 11 Mar 2017 19:24:33 GMT [...] [19:28:35] * Strangelv tries to think of what to do here but is getting really drowsy and may need to try again later [19:32:20] Okay, easy. Change from http to https from the example [19:32:54] * Strangelv sees: 2005-10-19T05:10:15Z [19:32:58] Yay! [20:05:02] Hi [20:05:08] How does Mediawiki handle fonts? [20:12:16] ShakespeareFan00: What do you mean? It depends on the skin, how fonts are provided. [20:13:06] The problem is this - https://en.wikisource.org/wiki/Page:The_pilgrims_progress_as_originally_published_by_John_Bunyan_;_being_a_facsimile_of_the_first_edition_(1878).djvu/166 [20:13:16] I wanted to use Junicode to display it [20:13:33] Wrapping the font-family call in a Div didn't work [20:13:57] https://en.wikisource.org/wiki/User:ShakespeareFan00/Sandbox#Junicode [20:14:12] And I couldn't get the font display to behave consistently [20:14:26] I was told it needed something called a @font-face: [20:14:35] set up in the main site style sheet [20:14:43] on Mediawiki this is buried in the interface [20:14:47] or internal code [20:15:12] So, where does support for a new font JUnicode need to be added so it works consistently when requested [20:15:14] ? [20:15:49] http://junicode.sourceforge.net/ It's under Open Font License [20:15:53] Resources i'd assume [20:16:20] I'll be asking the developer of the font about it shortly [20:16:33] ShakespeareFan00: I think MediaWiki sanitizes against @font-face in {{#css:}} but not sure about MediaWiki:Common.css [20:17:02] MTres19[m]: So what's the CORRECT way to add support for a different display font? [20:17:15] inlining it didn't result in consistent behaviour [20:17:18] ShakespeareFan00: is there no documentation on this? [20:17:35] Where would I start looking? [20:17:43] I had to add it to the skin's CSS. [20:17:44] manual:code [20:17:47] Zippix: Mediwiki or on the font? [20:18:08] Mediawiki.org for font support font for how to add it perhaps? [20:18:59] !e WebFonts [20:18:59] https://www.mediawiki.org/wiki/Extension:WebFonts [20:19:35] Discontinued [20:20:00] ShakespeareFan00: try [[manual:code]] [20:20:10] I did nothing obvious came up [20:20:26] You may have to do some minor digging [20:20:56] Right, so i will have to conclude It can't be done [20:21:17] What a shame mediawiki can't support additional fonts in a way a normal contributor can make use of easily [20:22:55] ShakespeareFan00: if you want you can open a phabricator task and i will contiune to look into it and/or have that functionality added via discussion [20:23:18] I'll have to words with the Wikisource project first [20:23:57] Apparently NORMAL people aren't supposed to open phabricator tasks without a wider consultation [20:25:31] And at present I'm giving serious consideration if I bother [20:25:38] According to whom? [20:25:47] Anyone is allowed to open phabricator tasks [20:26:26] According to someone that gave me an earful the last time I made a sensible proposal about a template on English Wikisource being implemented as a magic word [20:26:51] Oh that kind of thing ye [20:26:54] Yes* [20:27:07] But this could be useful cross-project [20:27:08] The template concerned being {{ts}} which allows for a lot of inline table formatting to be reduced to short codes [20:27:36] I'm not entirly happy with Junicode as I could not get it working considtently [20:27:41] *consistently [20:27:55] Zppix: Can you link me to Phabricator? [20:28:09] ShakespeareFan00: yes phabricator.wikimedia.org [20:28:12] I have a rough idea on what I'd like to ask about [20:30:01] How do I find stuff I've reported previosuly? [20:30:27] https://phabricator.wikimedia.org/maniphest/query/authored/ [20:35:32] The thing about {{ts}} as a magic word was here - https://phabricator.wikimedia.org/T86984 [20:35:43] You can revive it if you feel it would have wider use [20:36:03] No, but the font thing i think will [20:47:04] https://phabricator.wikimedia.org/T160261 [20:47:12] I've limited to English Wikisource for now [20:47:28] As that's the specifc area , If you want to triage, add comments feel free [20:50:18] ShakespeareFan00, the font shows up on chrome consistently [20:50:25] on my end at least [20:50:56] or were you referring to the flash of unstyled content [20:55:12] For me, on Firefox it displayed differrntly [20:55:33] So first thing is to check the code other than the font-family name is the same [20:55:52] it shows up on firefox too [20:56:17] on both browsers however the text is first rendered with a system font before it flashes into the new font, if that's what you're referring to [20:56:23] OH [20:56:31] Both versions should have long s [20:56:43] as they have the same font-features [20:56:46] for me they dont [20:57:51] Also compared to another site :- http://www.yourphotocard.com/Ascanius/Gladsmuir.htm# the long s beahviour seems off [20:57:54] ShakespeareFan00, what I see: http://imgur.com/Px1aevZ.png [20:58:22] Yeah That's what I get [20:59:00] It may be a failure of logic but both the upper and lower font should ideally be the same [20:59:20] which is why I said I couldn't get it to behave consistently [20:59:36] and what prompted the disscussion about getting implemented properly with font-face and whatever [20:59:40] oh, you meant the bottom part [20:59:57] Yeah [21:00:14] how are you including the font? [21:00:22] OH-> Inlined font-family [21:00:28] Albiet different names [21:01:02] OH-: You have the relevant font installed? [21:02:23] perhaps "JunicodeRegular" isn't being included properly [21:02:41] chrome tells me "Junicode" works for the top portion, and is via network (not locally installed) [21:27:13] Intresating [21:27:27] Feel free to respond in the Phab ticket [21:27:40] It's probably best to respond there for the present [21:28:04] Not sure why how to get it to do mid word long-s end of word stand s though [21:28:34] It may be beyond the font-engine to determine that [21:31:02] My comment about a "wishlist" for an easy way to add missing fonts would be appreciated [21:31:38] *was something I felt was needed and feedback would be appreciated sorry [21:34:38] How to hide ip of my users from RC page? [21:37:05] Karpo: anomyous editing (ip editors) can be disabled in mw-config directory [21:38:09] what [21:38:33] Oh my bad i misread the question [21:38:52] No, I want to allow anonymous editing, but hide their IP from another users except me [21:39:25] Im not aware of such functionality? Let me see if i can find something [21:39:35] Karpo: What would you want them to display as instead? [21:40:36] just "Anonymous" [21:42:10] There's a lot more to it by then... You lose the ability to know which other edit that IP went, as otherwise it'd have to be exposed in the url or something [21:42:23] i tried to edit getName() function in include/users/User.php file, but it make problem with loging and registration [21:42:35] makes* [22:09:13] OH-: Still here? [22:09:24] Can we take the font thing to /query? [22:20:48] Karpo: it should probably work [22:21:45] alternatively, forbid anonymous editing but publish the password for loggin in as user "Anonymous" [22:22:16] but someone can change it