[00:35:19] Okay guys. if you were forced to upgrade your skin after a mediawiki upgrade and found that it changed the layout dimensions of a few things - elements are now overlapping and out of alignment, etc - WHERE do you go to fix this? [00:35:22] * Volund is n00b [00:35:30] example: [00:35:44] http://www.phantasmgames.org/srw/ this is kinda all over the place. [00:35:56] is there one of those handy .css pages I can look at for this? [00:36:26] MediaWiki:Common.css or MediaWiki:Vector.css [00:36:48] Hmm, seems you do not use either. [00:36:55] using Splash [00:39:58] would it be Mediawiki:Splash.css then? [00:49:43] Volund, yes [00:56:33] the only problem is now I read to read up on CSS and how it works (can do) and... somehow need to know what element I'm targeting (have no idea how to do THAT yet...) [01:00:07] Have you worked with CSS and HTML before? [01:02:19] noooooot really. [01:02:23] :( [01:02:51] Thankfully I do adapt well to coding syntax. [01:02:58] Yeah it'd be to hard to help then if you haven't had any basic web development background [01:03:14] Tried Khan Academy before? [01:03:30] nope. But *writes that down* [01:03:57] Wonderful site, you should try it; https://www.khanacademy.org/ [01:05:03] okay THIS is awesome [01:06:10] * Volund goes to Hour of Web [01:06:25] that said [01:07:16] The Hour of Web learning curriculum can actually be done quicker done much quicker than an hour (obviously), it just depends on your learning pace [01:07:41] and how much background you have had previously before starting it [01:12:33] :D [01:12:38] well I'm gonna start watching in a minute [01:12:58] All I really need to do -right now- is fix that darned placement of the banner [01:13:13] and the background image. [01:13:22] SHOULD be easy... IF I can figure out what the elements are called. [01:13:33] ... CSS handles that stuff, right? [01:14:03] CSS handles background images with the background-image property [01:15:04] You can handle positioning also with CSS [01:16:01] you'll learn CSS properties (and what that means), types of props such as display, position, and the box model (content, border, padding, margin), etc [01:16:50] the hour of code goes slightly into the basics but they serve a full course for all the basic things you need to know [01:17:22] awesome. :) Thank you for this link [01:17:25] https://www.khanacademy.org/computing/computer-programming/html-css [01:17:28] no problem :) [01:17:31] I ned to have this problem solved within 3 days. should be plenty of time [01:17:45] I just needed a STARTING POINT for research man. @_@ [01:17:47] y'know? [01:18:29] Researching, self-teaching, and experimenting are all great ways to learn [01:19:41] Also, you need to keep in mind that you need to practice [01:20:03] Keep all those concepts you learned in your brain, and to get better [01:20:42] It doesn't just apply to basic 'coding' languages such as HTML (for creating structures of websites) and CSS (aesthetics/appearance), but to other actual programming lnaguages too such as JS, PHP, Ruby, Python [01:21:06] yeah. X_X I'm working on a project, mind you, that will make heavy use of this. I just haven't gotten to THAT PART of it yet. instead a friend wanted me to migrate and update their mediawiki and it turned out to be a much more painstaking and demanding process than I anticipated. But I need to fix this layout within 3 days. [01:21:11] Python is great. [01:21:20] beats the TAR out of this mess I've been working with earlier... [01:21:27] Ever heard of MUSHcode? If not, be grateful. [01:21:55] I can help you really easily with the banner which should take only a few minutes, but you should still continue trying to learn code [01:23:20] MediaWiki is complicated software and if you want to get better, you need to learn [01:23:43] So eventually you'll be able to do more things by yourself and just be generally more knowledgable [01:24:46] And it'll take work - which of course, that makes sense; right? You need to be willing to work, but all the work you put towards learning will be worth it [09:29:37] Hi [09:29:56] Anybody using ExternalData with a mysql db? [09:54:29] I've found that using an additional mysql authenticated mysql connection to another db ends up in an error, the software can't access the db. [09:54:55] If I comment the user or pass line, the software can at least load the page. [14:14:19] How can I urlencode a semantic variable? [14:15:13] I've tried {{urlencode:{{{var}}}|PATH}}, but I get "{{{var}}}" [14:18:32] omgs: by "semantic variable", I assume you just mean "template parameter" - is "var" set for the page you're trying it on? [14:18:43] Yeah [14:20:17] In fact, the whole line, as part of a table, starts with {{{!}}}. Is this related? [14:21:26] I'm not an expert, so please don't take that I know lots of things [14:22:21] Any parsoid wizards around? [14:22:49] (The implication being that setting up VE is magic, which it might as well be at this point) [14:24:15] it's not trivial but not impossible either [14:24:54] morning [14:25:01] VisualEditor doesn't load and the error message in chrome reads "TypeError: Cannot read property 'length' of null" when attempting to reach ext.VisualEditor.targetloader [14:25:35] It looks as if I am missing some module or extension on which VE depends, but I can't for the life of me find what it's missing. [14:26:28] some things to check: check that your VE is compatible with the MediaWiki version. If you took it form git, make sure submodules are updated and checked out [14:27:39] Nikerabbit: using mw 1.25.1 from git, got VE from git, updated submodules. Only novel things about the setup is that each service is running in a docker container and the config of VE I did in LocalSettings, which seem to be correct. [14:28:04] dizzi90: is the VE from git from REL1_25 branch? [14:28:25] Nikerabbit: Let me check [14:28:27] I am pretty sure latest VE does not support 1.25, or even 1.26 (but I am not VE dev, don't quote me that) [14:28:46] Is it possible what I'm asking? Can't anybody help me? [14:29:34] Nikerabbit: I don't think I have anything dependent on the 1.25.1 version, it was just what was used in the docker image I used as a starting point. I can probably change the mw version just fine. [14:32:17] https://www.mediawiki.org/wiki/Extension:VisualEditor "The master branch requires alpha builds of MediaWiki (currently, 1.27.0-wmf8) and will not work with the older, official releases of MediaWiki" [14:33:13] Nikerabbit: Awesome. That's definitely a place to start. I'll tell you if replacing the wiki-version works :) [14:38:08] omgs: sorry for the delay. [14:38:35] What line are you talking about, that starts with {{!}} - is it in the template, or the page calling the template? [15:20:57] Yaron: where I intend to display the results [15:26:02] Nikerabbit: Apparently you can use 1.25 with Visualeditor if you manage to specify the branch of VE you want to check out. I'm going to try that first. [15:26:49] dizzi90: yep [15:27:14] omgs: so, in the template? [15:27:43] No, it's a a page where I retrieve data and show the records [15:27:51] Nikerabbit: Had I read the setup.sh which followed the docker image I used to begin with I would have done that correctly. As per usual the problem comes down to cutting corners [15:29:08] omgs: is there a template involved? Otherwise, I don't understand what "{{{var}}}" is. [15:33:01] Hi folks. I had a great time trying to get email working with mediawiki since pear is blocked, but I got authentication and password reset sending messages out. But the watchlist notifications aren't working for some reason. $wgEnotifWatchlist is true in LocalSettings.php, and notifications are checked in my preferences. Any ideas? [15:42:09] Nikerabbit: New and improved error message: VisualEditor loads and gets 404 from parsoid. Progress of a kind, I suppose. [15:43:14] dizzi90: I have spent some time figuring out how to allow parsoid to access my HTTP auth protected wiki ;) [15:44:20] Nikerabbit: I have not added any auth as far as I can tell. I tested with a curl in the previous instance and it seemed then that parsoid was able to read the documents in the mediawiki [15:46:39] salq: maybe the job queue is not being processed... https://www.mediawiki.org/wiki/Manual:Job_queue [15:46:52] Nikerabbit: It seems the api call from parsoid is as follows: /api.php?action=visualeditor&format=json&paction=parse&page=&uselang=nb [15:47:07] Yaron: It's retrieved with ExternalData from a db [15:47:09] curious, norwegian ;) [15:50:05] Nikerabbit: Yep. Internal wiki needs to be local language. It seems that may be the problem actually. It seems Main_Page can be loaded but Forside cannot (Main page in Norwegian) [15:50:22] Does parsoid take i10n parameters? [15:50:24] dizzi90: but the name of the main page depends on the content language [15:50:35] dizzi90: did you change the language after installation? [15:50:55] Nikerabbit: Exactly, but page=Main_Page&uselang=nb seems to get the page [15:50:58] That was a good thought, thanks Vulpix. But I checked the queue, it's empty [15:54:03] Nikerabbit: Curiously I get no error message when creating a new page, before attempting to save. That may be an authentication issue I guess. [15:59:23] Nikerabbit: I attempted to create a testpage and edit that with VE, but that didn't help either. [16:01:24] Nikerabbit: I'll check if its any better using en locale [16:01:32] dizzi90: I doubt locale is the issue [16:01:50] dizzi90: I don't remember exactly what I did but I was checking both parsoid and webserver logs and php error logs [16:13:03] Nikerabbit: I checked with en_gb and it wasnt improved. [16:13:29] Nikerabbit: I can't see anything obviously wrong with the api request parsoid is sending. [16:14:10] dizzi90: anything in parsoid logs? What exactly is failing? Does VE load? Does it get stuck loading the page? Does it fail when saving? [16:14:51] Nikerabbit: As far as I can see from outside the parsoid container, parsoid is only logging that its listening. I'm not even sure where it logs too, it certainly isn't the same place as in the debian package. [16:25:12] Nikerabbit: Thanks so much for your help. I'm going to take the weekend to think, but your assistance was a great help. [23:32:20] languages/Names.php no longer exists, where can I go to look at the list of languages which are supported (e.g. will return a language name if I call mw.languages.getByCode())