[00:07:00] I need now to turn off, I will ask tomorrow again [03:34:18] Is there a MediaWiki API to make a preview by itself without the menus and so on? Can it be done with a user JavaScript to make these things work with Flow? [03:59:37] zzo38: is https://en.wikipedia.org/wiki/Main_Page?action=render what you are looking for? [03:59:57] I dont really understand the second part of the question [04:01:03] zzo38: there is also parse api: https://www.mediawiki.org/w/api.php?action=help&modules=parse [04:03:46] zzo38: and parsoid api - https://en.wikipedia.org/api/rest_v1/page/html/Main_Page [04:09:16] bawolff: action=render is similar, except that I want to render data given in the POST data, rather than an existing page (like a preview). [04:10:11] Ah. You would have to use either the parse api or the parsoid api [04:11:05] Mainly what I want to do is to add a user JavaScript code so that on the Flow talk pages on All The Tropes wiki, previewing is possible. [04:12:20] Why doesn't Flow have preview and keyboard commands? Due to this and other things, I prefer the plain talk pages, although still I would want to be able to use this on wikis where Flow is used. [04:13:59] I think flow has preview [04:14:08] It does on mediawiki.org [04:14:32] Maybe it depends on config or something [04:15:02] Or at least it previews on mediawiki.org by basically turnning on visual editor [04:15:20] * bawolff has never been that much of a flow fan [04:15:23] Maybe it does depend on config. However, visual editor isn't what I want. [04:15:51] I don't like Flow much, but some wikis use it, so I want to improve it on there. One example is All The Tropes wiki on Miraheze. [04:16:24] But yeah, user javascript calling api.php 's action=parse is probably the way to go [04:25:03] Is it compatible with POST (in case it doesn't fit in the URL)? [04:32:24] Well, it seems to work. [04:35:12] How do I add a trigger for when the Flow editor is loaded (whether for a new reply or for editing)? [05:17:31] I have gotten ALT+SHIFT+S to work in Flow now: https://allthetropes.org/wiki/User:Zzo38/cologneblue.js Is this good or is there a better way? [05:53:06] Now I added a preview function too. [09:22:52] Hi everyone, when using (Cite extension) ... I want to give the references automatically a title "References". This works if the last thing in the article is not a list element. Then the title gets suck into the list element. How can I fix that? [11:48:37] karlk: What is unclear with the error message? It says: meson.build:39:0: ERROR: Dependency "goa-1.0" not found, tried pkgconfig and cmake [11:48:54] Hence install the development package for goa [11:52:56] andre__ sorry I don't know. I am also looking for help :) [12:29:15] karlk: Urgh, I somehow managed to get lost within two completely different channels, wanted to reply in a different one. I am sorry! [12:29:30] Ignore my previous two lines [12:54:23] Hi. I am new to MediaWiki [12:54:38] I need to troubleshoot MediaWiki 1.31.6. [12:55:01] The CSS is not loading. Problems with loading the default skin "Vector". [12:55:30] I have the debug log, but I do not how to publish it. I would like to remove private data from it. [12:55:56] How to remove that sensitive data? What is the correct approach? Thank you. [13:02:03] Pavche, what "debug log"? [13:02:30] How was that created? [13:02:32] Pretty often there is a single line which tells you what the problem is... [13:03:10] Pavche: Look at the network tab of your developer tools in your web browser and look for errors. [13:06:23] andre__, when I turn on developer console in Firefox then I see this: https://bpaste.net/C6JQ [13:06:53] that's the problem: "404 Not Found" [13:09:20] wondering what your webserver log says [13:10:23] Apache error log [13:10:24] No messages while loading the main page. [13:10:24] Apache access log [13:10:24] ::1 - - [03/Jan/2020:13:26:07 +0100] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.4.38 (Debian) OpenSSL/1.1.1d (internal dummy connection)" [13:12:21] Is there a public URL where to see the problem? [13:13:49] Map IP:78.128.211.190 to wiki.egi.eu in /etc/hosts [13:14:10] Then try https://wiki.egi.eu [13:16:50] Pavche, https://wiki.egi.eu/wiki/Main_Page shows CSS to me. [13:22:46] andre__, there are 2 servers wiki.egi.eu [13:23:15] one is the current instance, the other is a testing instance. [13:23:30] As I asked: Is there a public URL where to see the problem? [13:24:54] andre__, Let me prepare a public URL without any tweak and customisation and I will come back. [13:25:10] I will make the testing Wiki normally available. [14:17:16] Hi andre__, now the testing instance of MediaWiki is available. [14:17:46] It's https://wiki-test.egi.eu , ver. 1.31.6 - LTS [14:17:58] The debugging is enabled. [14:19:03] Pavche, see the "Network" tab of your browser's Developer Tools: Nearly everything is a 404 [14:19:46] The correct URL would be https://wiki-test.egi.eu/load.php?debug=true&lang=en&modules=mediawiki.legacy.shared&only=styles&skin=vector [14:19:48] Do you need to see the Apache config? Maybe it's not properly configured. I am new to web servers. [14:19:49] without a /w/ [14:19:55] So your config is broken [14:20:03] see LocalSettings.php [14:20:07] OK [14:21:35] Now I have changed: [14:21:35] $wgScriptPath = "/w" -> $wgScriptPath = "" [14:21:43] in LocalSettings.php [14:22:34] Now, I see how one parameters made me work 2 days :) [14:23:20] andre__, finally it works! Great! Thank for the help. [14:43:57] Pavche, congrats :) Don't forget to make your test instance non-public again [16:08:34] Is something wrong with Jenkins? This patch (https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/DataTransfer/+/561880/) fails with the unexpected error message, "Call to undefined function wfLoadExtension()". [16:24:49] Yaron: you need an existence check for that [16:25:01] if ( function_exists( 'wfLoadExtension' ) ) { etc [16:28:06] apergos: thanks, I'll do that. But why would it not be defined? [16:29:03] This function has passed Jenkins validation before, in some of my other extensions. [16:34:44] and maybe things have changed since then [16:35:12] i guess that your code is run before GlobalFunctions.php is included [16:36:46] Oh, that could be. [22:00:47] https://www.mediawiki.org/wiki/Help_talk:Logging_in/es what appear here are trash comments or have nothing to do with the page