[04:33:14] I installed Mediawiki (after a few years) and tried to do short URLs with Apache. However, the instructions say use DocumentRoot, and I have started using vhosts, so DocumentRoot is currently the wrong thing (and maybe I need to ask about that in Apache). For example, DocumentRoot is my main, most important site, like example.com, and my wiki is at like wiki.example.com... so DocumentRoot does not actually point to where the wiki is [04:39:16] so because of that, I have run into various problems trying to set it it--the first try, it was only showing a simpler wiki page, and now just blank [05:32:57] actually I guess my DocumentRoots are ok. I have Mediawiki running on a subdomain that is a vhost on my main site's server, and I cannot get fancy URLs working [05:34:02] so, in my vhost for Mediawiki, it has its own DocumentRoot... it is just not the same one as for the main site (rather than the wiki subdomain) [06:33:17] I am running Mediawiki on a subdomain--it installed fine, but it seems rewrite rules for those (with ways of doing vhosts) are different. Instead of me having like example.com/wiki/index.php/Main_page, I have like wiki.example.com/index.php/Main_page... so how would I go about doing a short URL rewrite rule for that (I own the physical server and can edit the httpd.conf, etc.) [06:34:02] and I might prefer it to be like wiki.example.com/wiki/index.php/Main_page but am not sure which way it would be best and what I have to do [06:34:44] DarwinElf: If Your vhost is at wiki.example.com You can not get rid of the wiki at the beginning, unless You change the name service IP addresses. [06:35:39] DarwinElf: Otherwise it seems to me the Short Url is done the same as usual. What particular problem do You have and what is the short url You try to accomplish? [06:40:59] I did not say I wanted to get rid of wiki at the beginning. I just get blank pages. [06:41:24] I wrote that vhost on a server I own after adding the subdomain to my DNS [06:41:51] !debugging | DarwinElf [06:41:51] DarwinElf: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [06:43:30] I am not sure there is anything to debug yet [06:44:01] my point was the Short URL article assumes you have something like example.com/wiki. I have wiki.example.com, so the rules have to be different [06:44:17] ('something like wiki.example.com') [06:44:31] (I do not know who really owns example.com) [06:45:44] DarwinElf: The difference is lack of subdirectory. The short url insctructions should still apply otherwise, just modify the settings to not have subdirectory. [06:46:46] well, I tried that and got blank pages. Maybe I will just delete like wiki.example.com and have something like example.com/wiki [06:46:54] because of the disadvantages of very short URLs [06:47:11] DarwinElf: So You do not want short URLs? [06:47:25] I at least want to get rid of them saying 'index.php' [06:47:41] but I am reconsidering if I want 'wiki' twice in the URL (before the domain name and after it) [06:47:57] DarwinElf: Anyway, it might be a good idea to install Mediawiki in a subdirectory, even if You can control the environment and install it in web server root. [06:48:24] I do not really care about 'SEO' but maybe there will be an article on some word that is in the mediawiki tree [06:48:35] DarwinElf: You might want to put two CMS:s in the server, for instance. [06:49:38] DarwinElf: The subcirectory does not have to be named wiki. And Short URL settings can remove it from the address, so it is not shown to visitors. [06:50:13] I named it wiki a couple times before, but I am aware of the problem doing that. Yeah; I am making it a subdirectory now [06:53:13] if I want Mediawiki in a different folder alongside my main website one, can I put something like '%{SERVER_ROOT}/w/index.php' as part of the Rewrite rule? [06:54:24] DarwinElf: I do not remember off hand what Short URL manual says. It that kind or rule is there then it should work. [06:54:24] actually I guess that will be irrelevant as long as I have a filesystem link. I will try that first [07:23:53] ok, I installed it in an actual subdirectory (not even a filesystem link), redid the short URL instructions, got a blank page, added debugging commands to LocalSettings.php, and still got a blank page :\ [07:30:01] well, for the actual directory I get a blank page, and for where it should be rewritten, I get a 404 [07:38:30] tale, if you are still around do you know what I should do next? [12:48:43] on https://wiki.debconf.org/wiki/DebConf15, I'd really like the tables with important numbers and the dates table to float at the top right. How can this be done easily? [12:50:08] i.e. it would be ideal just next to the content box [12:51:43] Hi, I’m configuring extension:Translate on my wiki and I can't find the option to set up the default language [12:53:56] hi, I am having an error I can't explain. I just moved the wiki from one server to another and all the images are coming back as 404s. The paths look like this: http://images/1/14/Mandatory_Action.png [13:05:51] skione: check out if you have defined $wgUploadPath and if it makes sense: https://www.mediawiki.org/wiki/Manual:$wgUploadPath [13:07:46] madduck: to float an element to the right use CSS property float:right;. Example on a table syntax: {| style="float:right;" [13:08:26] I don't have that defined and it wasn't defined on the old server either. Wouldn't that just be for uploads, not displaying images that are already uploaded? It seems the url to the images is missing the hostnames [13:08:32] Vulpix: yeah, I just noticed this possibility; thanks! [13:11:36] Vulpix: adding it doesn't fix the problem [13:12:56] skione: try defining it as a full URL. Eg: http://yourserver.com/images - you may need to purge that page to see the URLs updated [13:13:56] ug, cache! how do I purge the cache for the whole site? [13:17:28] skione: I guess this script would do that: https://www.mediawiki.org/wiki/Manual:PurgeParserCache.php [13:22:22] tyvm sir! [13:23:45] yw :) [15:40:51] * varnent sets up popcorn stand [19:19:40] Hi. I have a question. Is it possible to add affiliate links to gambling sites from my "own" MediaWiki? [19:20:46] Graff: yes, you can add new footer icons, for example, editing https://www.mediawiki.org/wiki/Manual:$wgFooterIcons [19:21:29] Thank you Vulpix. No, I mean as links from text or banners [19:23:03] on your own mediawiki you can do anything you want, I'm not sure I understand your question [19:24:11] Great. No, you understand it well.Thank you so much. [20:46:37] https://www.mediawiki.org/wiki/Special:Contributions/Web0906400344 <- anyone who can look into this? [20:46:46] bad moving of pages [20:47:12] Let me log in :) [20:48:14] looks like Nemo got it [20:48:24] \o/ [20:48:27] thx! [20:49:14] Hah! Faster than Reedy for once. [20:49:22] (Probably only for some session bug or something.) [20:49:49] I was logged in on enwiki but not mw.org [20:49:50] silly MW [20:50:29] Yeah, autologin almost never works for me these days [21:30:04] ok, I installed Mediawiki in a site subdirectory (not even a filesystem link), redid the short URL instructions, got a blank page, added debugging commands to LocalSettings.php, and still got a blank page :\ [21:30:41] !blankpage [21:30:41] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [21:37:26] well I said I added the debugging commands [21:37:32] which ones? [21:38:04] 'added debugging commands to LocalSettings.php'... so the ones for LocalSettings.php! [21:38:33] which ones though? [21:38:49] from that page! [21:38:50] there's a lot on that page :P [21:39:02] 'the ones for LocalSettings.php'! [21:39:09] ... [21:39:28] Nearly all of them have to go in LocalSettings [21:39:37] ... [21:40:09] no, it says 'or set it in php.ini', 'or set it in .htaccess'... most are for other files [21:40:35] You could add many of them to your LocalSettings and they wouldn't help with this issue [21:40:45] If you're not going to answer the question properly, no one can help you [21:45:54] if people had been paying attention to the conversation, someone showed me that page yesterday, and I said I added the commands for LocalSettings.php... this should have been *very clear*... if you read the page yourself, there are two at the top for that file [21:45:59] but I will add the ones for php.ini now [21:48:00] Paying attention to the conversation? [21:48:14] Most people won't look back through days of backscroll [21:48:46] You could have just said you did https://www.mediawiki.org/wiki/Manual:How_to_debug#PHP_errors [21:49:15] I do though. Ok, where is Mediawiki's PHP error log? [21:49:34] It doesn't have one [21:49:39] By default [21:49:44] Check the log for your webserver [21:50:37] what webserver are you using? [21:56:59] Apache [21:57:04] su - [21:57:08] oops, sorry [21:58:24] /var/log/apache2/error.log [21:58:40] I could not find an error log with PHP errors, but I fixed a PHP error [21:58:55] going to the page said the error [21:59:02] or what led me to find it [22:05:38] now it seems I have the rewrite rule sort of working, but I get a '404' error... like example.com/mediawiki redirects to example.com/wiki/Main_Page, but then that is just a '404'. It seems I did not need to add 'Options +FollowSymLinks' or (in RewriteRule) 'PT' (I tried both those, which did nothing)... I have also not directed '/' to '/wiki' because I have something else at '/' [22:08:02] I think I know what the problem might be so I will test something else [22:08:42] well apparently it was not that I do not need %{DOCUMENT_ROOT} either [22:20:24] I restarted Apache each time... I am stuck [22:25:50] do I need a different rewrite rule than the one from '/' to main page? [22:48:40] Hello I have a question and I am having troubles with mediawiki.org server starting a discussion [22:48:53] Is here anybody who could help me with installation of HolaACL [22:48:57] ? [22:50:47] Unlikely, considering I cannot find any details as to what it might be and you haven't actually described what issue(s) you're having with it [22:50:55] and if it's even related to mediawiki >_> [22:52:18] hah, sorry, misspelled - HaloACL... it is Acces Control List - https://www.mediawiki.org/wiki/Extension:Access_Control_List [22:52:37] I am total beginner to Mediwiki and I am trying to install HaloACL but I am stuck in a phase of patching in cmd. After I log in to FTP, I go to main directory of MediaWiki (same directory where LocalSettings.php is) and then I write command as it is described in installation guide "cp extensions/HaloACL/patch_for_MW1.24.1.txt ." sadly, cmd only writes "Invalid command." Same goes with my second try, after I copied this "patch. [22:53:02] Here is a simple installation guide of HaloACL... https://github.com/HaloACL/HaloACL/blob/master/INSTALL [22:53:09] those instructions need to be done via SSH or a terminal [22:53:14] you can't do them in FTP [22:53:58] I am using windows command prompt - cmd [22:54:20] I have just wrote that I firstly logged into FTP using command prompt [22:54:31] you'd need to log into SSH on the remote server to do that [22:54:44] if you cannot, you'll need to apply the patch locally and then upload the patched file(s) [22:55:05] aha... thanks, I am gonna try [22:59:00] was not their a third option in brackets people sometimes add for rewrite rule? I am still trying to figure out why I get a '404', and apparently it was no reason written in the short URL article [23:07:56] hello all [23:08:05] I have a new mediawiki installation [23:08:26] prevented auto user registration, so that only admin can create users [23:08:39] now, when admin creates users, with random password option [23:08:47] users get email with random password [23:09:00] but, this username and password in the emails are not working [23:09:19] but, if admin set the password manually, while creating users, it works well [23:09:24] how to fix this? [23:09:26] Thanks [23:37:05] DarwinElf: http://shorturls.redwerks.org/ ?