[00:38:36] Updated NativeSVG or those that need it. https://gitlab.com/N3X15/mediawiki-extension-NativeSvgHandler [00:38:49] Uses the new extension.json stuff. [00:46:18] Man, I wish setting up shorturls was simpler... [01:06:30] N3X15: :D Awesome [01:06:58] Anyone here ever tried to set up shorturls on digitalocean, or even CentOS 7 running apache httpd? [01:07:02] If you ever have time to make TitleIcon not rely on semantic :D [01:07:25] I'll look at it later. [01:07:36] For now, time to cook spaghetti~ [01:07:51] MIAM! [01:07:57] GitLab <3 FTW [01:08:18] I can get the rewrite to work, but all I get is a not found error. [01:08:49] elmerg: do you have a link to your config? [01:08:56] are you guys going to port this to node or something [01:08:58] I'm not a pro though I had a lot of issues myself [01:09:28] von-strauss: That would be awesome I agree but I don't think so, PHP is reliable in this case, porting to node would take a lot of time [01:10:06] One sec, let me throw it into a paste. [01:10:10] von-strauss: I use a lot of software written in PHP using MySQL and I wish I could use them in node with rethinkdb or couchdb [01:10:12] you can develop stuff idiomatic javascript a lot faster than the corresponding PHP [01:10:44] a team of four competent devs could get a feature parity mediawiki clone in MEAN in a matter of weeks [01:13:55] extarys: https://pastebin.com/7PW3nFWS [01:15:04] elmerg: I think you also need to add $wgUsePathInfo = true;, but I don't think the error is coming from that [01:16:20] elmerg: your /mw redirect to /wiki, but your apache configuration is for mw [01:16:48] you may need to change this line : $wgArticlePath = "/wiki/$1"; [01:17:22] OK. What do I change it to? [01:17:56] $wgArticlePath = "/mw/$1"; [01:18:05] I thought that articlepath was what it should be rewriting to? [01:18:25] Its rewritten to wiki, but your apache config is for mw [01:19:00] OK. So I changed it, and still Not Found error. The Requested URL wiki/Main_Page was not found on this server. [01:19:42] ER, /wiki/Main_Page [01:21:15] I have all the rewrite instances set to All in httpd.conf and I've restarted the server twice. [01:21:28] My old one was this https://pastebin.com/zgkXyq6Y [01:21:41] I switched to nginx though on a vps [01:21:51] the old setup was a local test server [01:22:48] Note it was at the root though [01:23:49] Yeah. I'm not a sysadmin by any stretch, and I used to be able to do this with no issues on shared hosting via .htaccess. Could this be because the thing is set up as a virtual host? [01:35:56] I just don't want to start over, since i have hosts and stuff already set up on CentOS and I have a MUSH server that runs best on CentOS. [01:45:39] I guess the other question is, am I putting this in the right host? I'm putting it in sites-available, should it be going into the conf in sites-enabled? [01:48:45] best practice is put it in sites-available, then a2ensite (I think that's the command) to "enable" that site (which creates a symlink in sites-enabled) [01:49:20] *nod* [01:49:32] WEll, I've undone my changes so I'm back to site.com/mw/index.php/Main_Page [01:49:46] ok, lemme read up to see what your actual issue is [01:50:08] so you're trying to set up short urls? [01:51:26] Yes. [01:51:31] elmerg: head to https://mwusers.org/apps/pretty-url-generator and put in what your URLs currently look like and what you'd want them to look like (see the placeholder text for examples) [01:51:40] that should spit out the config to use [01:52:56] Okay. But can I use .htaccess with a virtual host? [01:52:58] let me know if you're having issues or it doesn't work (I wrote that app a while ago) [01:53:01] yes [01:53:17] in the vhost config just add in "AllowOverride All" if it's not already there [01:53:40] I have tried all options that the redwerks shorturl builder spits out, both for htaccess and root access, and I constantly can only get the 404 Not Found error (with it successfully rewriting the /wiki/ directory). [01:54:06] (if there's a line in the vhost config that's like AllowOverride None, remove that. Also remove all rewrite rules and Alias directives from the vhost config) [01:54:35] I personally recommend having the rewrites in .htaccess instead of apache config because they're a lot easier to change in .htaccess, and it keeps it "local" to your site's files instead of having to remember it's in the apache config file [01:55:03] Well, I have some rewrite stuff in there that seems to have to do with my SSL? [01:55:17] AT least in the apache config. [01:55:26] I'll add in the AllowOverride All, which is not in there though. [01:55:35] try removing that. For mediawiki you can force SSL by setting $wgServer to a https url [01:55:47] AllowOverride All is what lets .htaccess work; without it, .htaccess will not do anything [01:57:59] OK. My directory is /var/www/hotbmush/public_html, do I just drop the .htaccess in there? [01:58:17] And /mw/ is the directory for the wiki, obvs. [02:03:38] So I did what you requested. I'm getting a 500 Interanl SErver Error, misconfiguration notice. [02:10:33] Skizzers: So yeah, that iddn't work. [02:11:11] ok what's in your error log? [02:12:11] Which error log? As I said earlier, I'm not quite a server admin by any stretch. [02:13:08] Also I got a systemctl restart error after I added the AllowOverride All in the virtual host, which went away after I removed it. [02:13:24] AT this point, I feel like I"m just going to have to deal with the long URLs. [04:57:17] do most mediawiki devs use vagrant for their environment? [05:01:03] https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker lists the options. [05:01:11] Not sure we have statistics what "most devs" do. [05:18:03] andre_: oh, okay, I was just thinking, "when in Rome..." [13:26:11] <[Leeloo]> Hi [13:29:03] hi [Leeloo] [13:29:49] <[Leeloo]> In a template (which generate table), I would like to iterate through the rows and fields, instead of having to do "{{#if: {{{field1_name|}}}| ..." is it possible ? ---> https://pastebin.com/a9fu6ZqU [13:31:05] In standard mediawiki and parser functions? No [13:31:13] With some other extensions, or using Lua/Scribunto? Probably [13:33:35] <[Leeloo]> Reedy: ok . I take a look [15:13:13] heyy anyone knows how to enable CI for an extension ? [15:13:35] I've found some tutorials but they are quite incomplete and would really appreciate some help [22:47:25] Is there a way to give sysops *all* permissions? [23:15:53] @spycrab0 see https://www.mediawiki.org/wiki/Manual_talk:User_rights#Give_sysops_all_rights_except_bot_rights [23:16:22] setian: Duh, should have looked at the talk page, thanks! [23:18:44] !help [23:18:45] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor.