[00:01:49] hare, hey, yeah [00:02:02] What should I do? [00:02:20] hare, it needs to be registered in autoload.php in the root of core [00:02:28] there's a maintenance script that generates that file for you [00:02:33] Ah, beautiful [00:02:47] /maintenance/generateLocalAutoload.php [00:03:46] Should I include the newly generated autoload.php in my commit, or is that not necessary? [00:05:25] include it [00:17:52] And before I commit, what is the best way for me to test this? [00:18:29] I was thinking of just making a straw extension to test it out but you may have a more efficient idea in mind [04:43:16] hey folks running 1.26 and for some reason i can't get the footer to behave. i've set all of $wgRights* and that is good, but modifying e.g. Aboutsite/page, Disclaimers/page, or Privacy/page does nothing and SkinTemplateOutputPageBeforeExec doesn't seem to either, or at least my new Termsofservice/page doesn't work [04:45:54] oh and fwiw i'd used ?action=purge on several pages to no avail. it's been 24 hours since i implemented the change. [08:49:06] Is there any way to change the tag in code? [09:49:50] <MC8__> nischayn22: you can change it globally by editing Mediawiki:Pagetitle I think [09:50:05] <nischayn22> MC8__: [09:50:18] <MC8__> I'm not sure there's an easy way to change it on a page by page basis [09:50:24] <nischayn22> Hey, I know that. But I want to do this from within a tag extension. [09:51:15] <nischayn22> Hmm. This is weird. Thanks though. [09:51:46] <nischayn22> From what I know this is not available for change within the skin too :/ [10:06:34] <Dorami-Doraemon> i have a question [10:06:35] <wm-bot> Hi Dorami-Doraemon, just ask! There is no need to ask if you can ask, if you already asked the question please wait for someone to respond [18:22:44] <daFonseca> Hi, I want to setup the wiki to work just in my computer I want to use it for my personal research... Someone can help me? [18:25:45] <Meneth> daFonseca: On your own machine, or a server? [18:25:54] <Meneth> What operating system do you want to install it on? [18:26:33] <daFonseca> my pc, is not a server... windows, not server. Is that possible or I need to install a windows server? [18:26:51] <Meneth> It should be possible to get it working. [18:27:06] <Meneth> Here, this should guide you through it: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows [18:29:02] <daFonseca> thanks, I will try it... [18:41:36] <daFonseca> A web server is required to serve the requested pages to the client browser. [18:41:37] <daFonseca> PHP is required to run the software. [18:41:37] <daFonseca> A database server is required to store the pages and site data. [18:41:54] <daFonseca> from this 3 things I need the PHP language right? [18:42:25] <daFonseca> and how about the database server? [18:49:54] <CZauX> daFonseca: Any computer can 'be' a server. Server is just a term used for a computer that serves requests. In this case, your own computer would be the server and client. Mediawiki may not be the best ' [18:50:03] <CZauX> personal wiki' platform. But if you're interested. https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows#Bitnami [18:50:27] <CZauX> Though bitnami may not be suggested actually [18:50:33] <CZauX> they rarely update their stuff properly [18:50:41] <daFonseca> what you sugest? [18:51:42] <CZauX> You can get a wiki up and running quite easily just by installing xampp. But, you do have to start up the control panel and 'turn on' the web server and database. I haven't done much research into personal wiki's yet. [18:52:07] <daFonseca> hummm [18:52:09] <CZauX> But I'm guessing others have done it [18:52:17] <daFonseca> that will be hard... [18:52:43] <CZauX> XAAMP would be the easiest [18:52:52] <daFonseca> so if I turn my windowns to be a server, that means that I will open some doors, right? so... I will have some security prblems... [18:53:06] <daFonseca> I don't want that, jut private thing... [18:53:21] <CZauX> You can just change the listening address for apache to be internal, not external [18:53:32] <CZauX> so only your own computer can access it [18:54:31] <daFonseca> apache, so you means now XAAMP right? [18:54:51] <CZauX> XAAMP is just an installer for Apache, PHP, Mysql and a few other technologies that you can select on install [18:55:00] <daFonseca> it seems easier yes, already in download is easier... [18:56:08] <daFonseca> and what I need to install? [18:58:05] <CZauX> Should only need Apache, MySQL, and PHP [18:58:11] <CZauX> Apache and PHP are selected by default [18:58:57] <CZauX> Related to this subject, https://xpressrazor.wordpress.com/2015/03/19/create-an-offline-personal-wiki-to-organize-your-work/ Dokuwiki supports personal web server [18:59:05] <CZauX> May be more convenient, idunno [19:02:28] <daFonseca> yes, for sure that is easier as wiki, I have a instal .exe here lol [19:05:39] <daFonseca> Perl no? [19:06:12] <CZauX> Shouldn't need it. [19:10:57] <daFonseca> ok [19:11:03] <daFonseca> will stall it now.. [19:14:22] <daFonseca> Apache HTTP Server was blocked by my firewall [19:14:30] <daFonseca> shoud I give acees or not? [19:17:52] <daFonseca> I have give access just to private network... now I have receive this: 21:17:02 [Apache] Apache WILL NOT start without the configured ports free! [19:17:52] <daFonseca> 21:17:02 [Apache] You need to uninstall/disable/reconfigure the blocking application [19:17:52] <daFonseca> 21:17:02 [Apache] or reconfigure Apache and the Control Panel to listen on a different port [19:19:21] <CZauX> You can open up "C:\xaampp\apache\conf\httpd.conf" and change "listen 80" to "Listen 127.0.0.1:8082" [19:19:54] <CZauX> then restart apache. This will make it so that apache only listens on 127.0.0.1, which means your own computer [19:21:39] <CZauX> You should do the same for MySQL. in "C:\xaampp\mysql\bin\my.ini". Uncommenting "bind-address="127.0.0.1" [19:23:31] <daFonseca> uau... just a minute please... [19:24:47] <daFonseca> there are no conf here [19:25:03] <daFonseca> o moment [19:25:18] <daFonseca> found it [19:26:26] <daFonseca> ok, have found the httpd.conf, how I open it? [19:26:46] <CZauX> With a text editor [19:26:47] <CZauX> like notepad++ [19:29:17] <daFonseca> have no notepad++ anymore, will try the notepad, if stay to confuse I make the download... [19:30:23] <daFonseca> #Listen 12.34.56.78:80 [19:30:24] <daFonseca> Listen 80 [19:30:26] <daFonseca> found it [19:30:28] <daFonseca> not so hard [19:31:18] <daFonseca> so, I need to delete #Listen 12.34.56.78:80 too right? [19:32:22] <CZauX> The # before it signifies a comment [19:32:26] <CZauX> meaning that it doesn't actually do anything [19:32:30] <daFonseca> oo ok [19:32:31] <CZauX> its there purely for informational purposes [19:32:48] <CZauX> You just need to change the 'Listen 80' to 'Listen 127.0.0.1:80' [19:32:52] <CZauX> without the quotes of course [19:32:56] <daFonseca> done [19:33:08] <daFonseca> now with MySQL [19:33:13] <CZauX> make sure to save it [19:34:26] <daFonseca> have... :) [19:37:06] <daFonseca> i can fin just a comment: #bind-address="127.0.0.1" [19:37:17] <CZauX> Yep. remove the '#' [19:37:17] <daFonseca> *find [19:37:25] <daFonseca> o ok, just remove it? [19:37:47] <CZauX> Yeah, the # makes the line into a comment. Removing the # makes it into an actual line [19:37:53] <daFonseca> ok [19:37:56] <CZauX> Notepad++ should show colors about that [19:38:08] <daFonseca> done [19:38:29] <daFonseca> I know that is essier with notepad++, but I got it lol [19:38:39] <daFonseca> now reinitialize... [19:39:39] <daFonseca> lets do it in the easy way... [19:39:54] <CZauX> Nice. Now, full disclaimer. I haven't used xaampp in this way much before. There may be other things that should be locked down, but I do know that nobody else should be able to access the server. The main problem with hosting a webserver on your own computer is that it uses very common ports. It is possible to change the ports, but you'l have to remember them. [19:40:17] <darkdreamingdan> Hey guys, does anyone know how i would go about adding custom buttons to the VisualEditor? [19:40:32] <CZauX> For example, your apache is using port 80. So once you start up apache. You should be able to go into a webbrowser. Type in 'localhost'. and get a page [19:47:33] <daFonseca> OK, apache and MySQL running [19:48:02] <CZauX> Nice. pop up a web browser and put 'localhost' into the URL [19:48:06] <CZauX> see what that pops up [19:48:46] <daFonseca> nothing [19:48:53] <daFonseca> localhost.de come something [19:49:10] <CZauX> alright. type in '127.0.0.1:80" [19:49:53] <daFonseca> "is not possible to acess this site" [19:50:07] <daFonseca> are you testing with the port is open? [19:50:11] <daFonseca> *if [19:52:25] <CZauX> Testing to see if you can access the web server properly. I can. You may have a conflict with existing ports. In the apache config I listed above, change the line that began with 'Listen' to 'Listen 127.0.0.1:8082'. In the same file, change 'ServerName localhost:80' to 'ServerName localhost:8082' [19:52:37] <CZauX> This will make this web servers port '8082' rather than '80' [19:52:50] <CZauX> Which avoids conflicts with a lot of other software [19:53:35] <CZauX> Once that is done. Save, reload apache. Visit 'http://127.0.0.1:8082/' [19:55:22] <daFonseca> ok, just a moment please [20:00:12] <daFonseca> so, back... I had a conflict with skype, and I have close it... [20:00:28] <daFonseca> than they both could run... [20:00:41] <daFonseca> i mean: Apache and MySQL [20:01:02] <CZauX> Skype shouldn't conflict with Apache once those ports are changed [20:01:08] <CZauX> it will conflict if left to port 80, though [20:01:34] <CZauX> Well, actually [20:01:38] <CZauX> apache uses port 443, too [20:03:06] <CZauX> Though you don't need SSL if its on your own system. You can open up 'C:\xaampp\apache\conf\extra\https-ssl.conf' and add a # before "Listen 443'. This comments it out [20:03:14] <CZauX> and makes it so it doesn't listen on 443 anymore. [20:03:25] <daFonseca> Listen 127.0.0.1:8082 [20:03:38] <daFonseca> that is what I have... the another Listen is just a comment [20:04:00] <CZauX> Yep. Also make sure you're changing the ServerName like I said above [20:04:08] <daFonseca> yes, I will do it now [20:04:48] <daFonseca> okdone... [20:05:19] <CZauX> Alrighty. same as before. Restart apache, visit 127.0.0.1:8082 in the browser [20:05:22] <daFonseca> now 'C:\xaampp\apache\conf\extra\https-ssl.conf [20:05:30] <CZauX> Yep, that too, if you want [20:05:55] <CZauX> You can either change the port to something like 8084 or whatever. Or just comment it out. [20:06:19] <daFonseca> done [20:07:03] <daFonseca> how I restart it ? lets time I have restart the pc, but maybe I need to do it more times, so better learn... lol [20:07:26] <CZauX> You just go to the Xaampp control panel [20:07:32] <CZauX> Stop, then start Apache [20:07:55] <CZauX> C:\xaampp\xampp-control.exe [20:09:21] <daFonseca> oo sure... [20:10:07] <daFonseca> I did it with MySQL too... its working, both [20:10:21] <CZauX> Do you get a page in the browser when you visit the url I lsited? [20:10:24] <CZauX> *listed [20:10:38] <daFonseca> yes, did it now... [20:10:48] <daFonseca> i see now in the browser the title: [20:11:23] <daFonseca> XAMPP apache + MariaDB + PHP + PERL [20:11:29] <CZauX> Good. that is the correct page [20:11:36] <daFonseca> Welcome to XAMPP for Windows 5.6.24 ... etc [20:12:22] <daFonseca> so I will work through this page? [20:12:29] <CZauX> While we were doing that I did find a portable version of Xampp that may interest you. https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.0.9/xampp-portable-win32-7.0.9-1-VC14.zip/download [20:12:46] <daFonseca> will be like the webpage from Wikipedia, for example? [20:13:13] <CZauX> You have to download Mediawiki, put it into the web directory for xampp, and go through the install process [20:13:35] <daFonseca> ok... [20:14:08] <daFonseca> need to write a thing here, brb ... thanks... [20:18:49] <daFonseca> back [20:19:02] <daFonseca> so, I have tried to install it, but I could not... [20:19:23] <daFonseca> I have unzipped it, than I could not find somethink line .exe [20:19:29] <daFonseca> should I try again? [20:19:50] <daFonseca> now with this languages installed? [20:20:29] <daFonseca> Now I get it, Xampp is a easy way to install all that staff... nice... [20:20:42] <CZauX> Mediawiki installs itself with PHP. Now that you have a web server, you can do this because it has PHP [20:20:59] <CZauX> I'm still setting up a config for it, one sec [20:22:38] <Vulpix> !install [20:22:38] <wm-bot> Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at <http://www.mediawiki.org/wiki/Manual:Installation>. See also: !download [20:23:42] <daFonseca> ok [20:34:01] <daFonseca> so, the same... I made the download and unzipped it, I can not find a .exe [20:36:34] <Vulpix> daFonseca: you won't find an exe because it's not executable code. It's a PHP application, not a windows application [20:37:00] <Vulpix> it needs a PHP engine provided in a web server to run [20:37:35] <daFonseca> ok... I think I have it now... [20:38:19] <daFonseca> CZauX, have hep me with that, I think... [20:38:24] <daFonseca> but now? [20:39:08] <CZauX> Still working on a config. The convenient part about xampp is that you get a few applications 'built-in' to help you with the mysql database and such [20:40:03] <CZauX> But, the problem is that xampp ships only with a config for that, you have to make a config for mediawiki. which I'm doing right now. So you'l have 127.0.0.1:8082 and 127.0.0.1:8083. One for xampp tools, one for the actual mediawiki site [20:41:26] <daFonseca> ok... [20:51:25] <daFonseca> Should I wait or should I know what to do with that: "So you'l have 127.0.0.1:8082 and 127.0.0.1:8083." [20:56:12] <CZauX> daFonseca: one moment, config is working, just writing out instructions [20:56:26] <daFonseca> ok.. got it... thanks [21:02:02] <CZauX> daFonseca: Create these directories: C:\xampp\apps [21:02:02] <CZauX> , C:\xampp\apps\mediawiki, [21:02:03] <CZauX> C:\xampp\apps\mediawiki\w [21:02:08] <CZauX> derp. ignore the , [21:02:24] * Cameron11598 steals the , [21:02:46] <CZauX> A directory is just a folder. So create folders to match that path [21:03:18] <CZauX> C:\xampp\apps\mediawiki\w is where the actual mediawiki files will go when we're done [21:03:21] <daFonseca> ok... 1 minute... [21:05:00] <daFonseca> ok back [21:05:27] <CZauX> So you can go to C:\xampp\apps\mediawiki\w now, right? [21:05:55] <daFonseca> no no... I was finishing a text... need 1 minute... [21:05:59] <CZauX> kk [21:07:26] <daFonseca> C:\xampp\apps\mediawiki\w I am here [21:08:20] <CZauX> Nice. open up 'C:\xampp2\apache\conf\httpd.conf' again and one line under 'Listen 127.0.0.1:8082', put 'Listen 127.0.0.1:8083'. Save [21:11:24] <daFonseca> so I will leave both "working"? [21:11:29] <CZauX> yep [21:11:33] <daFonseca> #Listen 12.34.56.78:80 [21:11:33] <daFonseca> Listen 127.0.0.1:8082 [21:11:33] <daFonseca> Listen 127.0.0.1:8082 [21:11:34] <CZauX> Now it will listen on 8082 and 8083 [21:11:38] <daFonseca> there is it [21:11:46] <daFonseca> ups [21:11:46] <CZauX> make the last one '8083' [21:11:48] <CZauX> not 8082 [21:11:50] <CZauX> you already have 8082 [21:11:56] <daFonseca> yes now... [21:12:11] <daFonseca> reinnicialized aache? [21:12:14] <daFonseca> apache [21:12:27] <CZauX> Yep. see if it starts back up properly [21:13:22] <daFonseca> yes and say here: ports: 8082,8082 and PID(s) 4784, 2544 [21:13:43] <CZauX> Nice. Now the fun part. Open up 'C:\xampp2\apache\conf\extra\httpd-vhosts.conf' [21:14:59] <CZauX> Underneath all the commented stuff, copy and paste the code from this: https://gist.github.com/Cyken-Zeraux/181bb19436cb8295b751a4758854bd41 into the file [21:15:26] <daFonseca> ok... [21:16:10] <CZauX> That is the 'vhosts config' for your webserver. The bottom 'VirtualHost' is the entry for the wiki. Save the file [21:16:30] <CZauX> Reload apache, see if it works. [21:16:31] <daFonseca> do you mean xampp or xamp2? [21:16:42] <daFonseca> *xampp2 [21:16:55] <CZauX> ? [21:16:59] <CZauX> oh [21:17:00] <CZauX> derp [21:17:02] <CZauX> yeah xampp [21:17:05] <CZauX> my install path is differenet [21:17:10] <daFonseca> ok [21:19:12] <daFonseca> start here: <VirtualHost 127.0.0.1:8082> finish here: </VirtualHost> [21:19:42] <CZauX> ? [21:19:47] <daFonseca> nothing [21:20:11] <daFonseca> ok done [21:20:27] <daFonseca> now how a "see if it works"? [21:20:34] <CZauX> Restart apache [21:20:37] <CZauX> if it comes back up green [21:20:42] <daFonseca> yes yes [21:20:45] <daFonseca> its working [21:21:35] <CZauX> Visit '127.0.0.1:8082' in a browser [21:21:41] <CZauX> is it the same apachefriends screen? [21:23:45] <daFonseca> the same page [21:23:48] <daFonseca> Welcome to XAMPP for Windows 5.6.24.... [21:27:01] <CZauX> Nice. Alright, now in 'C:\xampp\mysql\bin\my.ini'. There are two 'port' options. Change them both from 3306 to 3309. This prevents some other mysql software from conflicting [21:27:11] <CZauX> After that, we're ready to install mediawiki [21:30:24] <daFonseca> ok MySQL woiking in Port 3309 [21:30:33] <CZauX> https://www.mediawiki.org/wiki/Download [21:30:38] <CZauX> Click the download button [21:31:03] <CZauX> Install 7-zip if you haven't already http://www.7-zip.org/ [21:33:58] <daFonseca> have download it and unzip in \\FELIPE-PC\Users\Felipe\Desktop\Wiki [21:35:27] <CZauX> Once you have it unzipped somewhere. You should be able to find a folder with a bunch of files and folders in it. Copy everything in that folder to C:\xampp\apps\mediawiki\w [21:36:26] <CZauX> This is what it should look like: https://i.gyazo.com/342a128ebf16ec7268f6e638ca51bf97.png [21:36:49] <daFonseca> ok [21:37:32] <daFonseca> done [21:37:45] <CZauX> visit 127.0.0.1:8083 [21:37:52] <CZauX> Should pop up with the mediawiki install screen [21:38:13] <CZauX> err. 127.0.0.1:8083/w [21:38:59] <daFonseca> now I have that MediaWiki 1.27.1 [21:39:00] <daFonseca> LocalSettings.php not found. [21:39:00] <daFonseca> Please set up the wiki first. [21:39:06] <CZauX> Yep [21:39:11] <CZauX> click the link there [21:39:13] <Meneth> It should give you a link to set up the wiki. [21:39:17] <Meneth> Then just follow the instructions. [21:39:23] <CZauX> ^ [21:39:26] <daFonseca> lol [21:39:28] <Meneth> It'll then give you a LocalSettings file that you place in your wiki. [21:39:28] <daFonseca> ok [21:39:33] <Meneth> Then you'll be done. [21:39:49] <CZauX> A wiki is never done :^) [21:40:02] <daFonseca> CZauX, thanks very much. thanks Meneth. [21:40:58] <daFonseca> I need a stop... I will try to configure later... [21:41:08] <CZauX> One thing before you leave [21:41:22] <CZauX> The actual MySQL address is '127.0.0.1:3309'. [21:41:24] <CZauX> It'l ask for an IP [21:41:39] <CZauX> But that is the correct input [21:42:21] <CZauX> Passwords for everything are in C:\xampp\passwords.txt :) [21:43:06] <daFonseca> ok [21:43:09] <daFonseca> thanks [21:43:18] <CZauX> np. [21:44:14] <daFonseca> XAMPP need to stay open? [21:44:26] <daFonseca> Control Painel [21:47:57] <lestaty> só precisa ficar aberto quando você for usar a wiki [21:52:47] <daFonseca> hi lestaty [21:52:50] <daFonseca> good to see you [21:53:12] <lestaty> ;) [21:53:16] <daFonseca> :) [22:03:59] <CZauX> daFonseca: Control panel can be closed. You can keep the webserver and mysql server running for however long you like. Shouldn't conflict with anything, though may have a minor performance impact [22:04:32] <CZauX> Exiting the control panel doesn't stop the server, btw. [22:07:03] <daFonseca> ok thanks... [22:07:28] <daFonseca> i have tried to open skype and work without problem... [22:19:38] <allaze-eroler> hello [22:21:15] <allaze-eroler> can someone tell me what is wrong with this template i made?: https://dpaste.de/NhAx ? it seem that i have a problem with the {{#if:}} thing [22:21:51] <allaze-eroler> i will take my shower while i wait the anwser :) [22:22:29] <daFonseca> me too [23:22:43] <burfo_> allaze-eroler, your IF syntax is wrong. Syntax is {{#if: <condition> | <non-empty result> | <empty result>}}. You seem to be missing the pipe delimiters. [23:44:24] <allaze-eroler> ah ok [23:44:27] <allaze-eroler> (back) [23:45:51] <allaze-eroler> let me test out the result [23:46:33] <allaze-eroler> it's something like this: |Class {{#if: {{{class}}} | ''unknown'' | }} ?