[08:27:06] whois thedj [08:28:05] .whois Tm_T [11:50:08] How can I get a JSON representation of this page? https://en.wikipedia.org/wiki/Category:Nintendo_Entertainment_System_game_covers?format=json [12:28:27] !api | XenuLives [12:28:27] XenuLives: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at < https://www.mediawiki.org/wiki/API >. For client libraries in various languages, see < https://www.mediawiki.org/wiki/API:Client_Code >. [12:28:57] I followed those instructions [12:30:06] But the json response isn't particularly useful https://en.wikipedia.org/w/api.php?action=query&titles=Category:Nintendo_Entertainment_System_game_covers&prop=info&format=jsonfm [12:30:33] well, you used the wrong module. You want categorymembers [12:30:39] https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:Nintendo_Entertainment_System_game_covers [12:31:29] Aha! [12:31:33] Thank you [12:32:44] yw :) [14:01:34] InstantCcommons does not work anymore? [14:02:04] vev: it was broken for a while https://phabricator.wikimedia.org/T102566 [14:02:18] ok ty Vulpix [14:02:20] it should work again [14:02:41] no [14:02:57] not for my projetc [14:03:02] project* [14:06:57] vev: on that bug they mention a problem with installations on Windows. Is your MediaWiki on a windows server? [14:07:11] no, debian [14:07:28] nginx [14:07:51] hey vulpix [14:08:18] hola Petirrojo [14:08:38] heh [14:09:49] vev: try the settings that's on that bug page (at the top), and see if that works for you [14:10:10] i ll ask my sysadmin [14:10:39] apart from that bug page, I don't know exactly the details of what has been broken there :S [14:10:59] idem i understand nada :p [15:41:39] i am looking for words lists, categorized if possible [16:33:29] whoa, Special:RecentChanges looks really nice in 1.25 [16:42:26] RobotsOnDrugs, it changed..? [16:44:23] yes [17:16:05] is it possible to force get the desktop version of a page? [17:17:09] chinho_: you are using mobilefrontend? [17:17:17] there's a link at the bottom if so [17:17:34] if you want all pages to be destop version for everyone, then you can just disable mobilefrontend [17:19:09] I'm a user, and I need to fetch the page content and parse it programmatically [17:19:20] !api [17:19:20] The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at < https://www.mediawiki.org/wiki/API >. For client libraries in various languages, see < https://www.mediawiki.org/wiki/API:Client_Code >. [17:19:26] was about to say that [17:19:50] does wm-bot only respond to specific users? [17:20:11] using a custom parser for html should always be a last resort [17:20:16] not afaik [17:20:18] !bot [17:20:18] A bot is an automatic process which interacts with MediaWiki as though it were a human editor and is designed to simplify repetitive actions too cumbersome to do manually. An overview of how to create a bot and a list of known frameworks can be found at http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot [17:20:22] ooooh [17:20:38] I want the rendered HTML, so I can't use the API [17:20:54] pretty sure you can do that too [17:21:31] you can? [17:22:08] try action=parse [17:23:18] it's been a while since I use a mediawiki API. Can you give me a quick example to fetch the HTML content of this page using the API? https://en.wiktionary.org/w/index.php?title=avoir&printable=yes [17:23:48] chinho_: does this work? [17:23:48] https://en.wikipedia.org/wiki/Special:ApiSandbox#action=parse&format=json&page=Wikipedia%3ASandbox&prop=text [17:26:32] chinho_: in case you always want to get the mobile version there is a "mobileformat" parameter [17:26:46] so you can do it for desktop or mobile [17:28:09] oh, I just found out why I got the mobile version [17:28:17] I forgot to specify the user agent [17:29:03] either way, API is better than screen scraping imo [17:30:18] I don't know, I like screen scrapping better, especially when I more or less just display what is there, after doing more minor modifications to the page [17:30:35] the API output seems too much work for me: https://en.wiktionary.org/wiki/Special:ApiSandbox#action=parse&format=json&page=avoir [17:32:43] well, whatever works. good luck [17:35:02] thanks for the help [17:36:45] Don't come and complain here when your screen-scraping breaks [17:37:52] I wasn't complaining anything... [17:39:00] he meant that screen scraping is not as reliable [17:42:36] I'm wondering if mediawiki is the software i need for a project, is this a good place to ask about it? [17:43:55] brinerustle: sure, what's your project about? [17:44:34] it's a project that would look nothing like any of the wikimedia foundation projects but I do want it to be a collaborative project with versioning.... but it would probably actually be more like a neural network. [17:45:16] how would mediawiki be involved in a neural network? [17:46:37] well, the entries in and of themselves would be memes, opinions, basically, so the relationships between the ideas would actually be more important than the content [17:47:11] it's kind of hard to explain.... i'm just the fellow on the project who speaks english! [17:47:12] hmmm. [17:47:32] we want to develop a platform to centralize debates around issues, opinions. [17:48:13] so that some¡thing like the idea that "marijuana should be legal" and "marijuana should be legal in spain" are interconnected and related ideas [17:48:52] but we want it to be a wiki, since wikis don't give importance to authorship, which is what most opinion platforms like state.com don't do. [17:49:47] and we'd plan to do that by reducing everything to it's smallest component, a meme, and then construct arguments form sets of those. [17:49:54] hmmm. [17:50:30] maybe something using wikibase? [17:50:33] like wikidata? [17:50:43] https://www.wikidata.org [17:50:46] will look into it [17:52:07] thanks GEOFBOT [17:52:14] is it suitable? [17:52:21] I'm not very familiar with wikidata, but I know what it's about [17:55:32] GEOFBOT: that probably would do what we want. thanks. brilliant! [17:56:31] brinerustle: no problem, good luck. you'll have to set up the wikibase extension on your own mediawiki installation [17:56:41] wikibase is the extension that powers wikidata [18:01:02] excellent. one more question, if you'd be so kind.... the other part of the project is more like a social network and allow people not just to build opinions, but to choose to agree or disagree with them, for that we'd need something more like a social network. is there a part of mediawiki that might work for that? [18:02:15] brinerustle: I don't think there is an extension for like/dislike or agree/disagree but it shouldn't be too hard to set one up [18:02:25] there was another guy who asked the same question last week [18:03:07] so maybe if you have specific ideas as wikibase items and then combine them to form new wikibase items and then you can have a custom extension that allows agree/disagree on wikibase items? [18:03:21] hehe sorry if we're reinventing the wheel but we'd love to get involved with other people and haven't found them yet... [18:04:02] maybe you could start an open source project for it? :) [18:04:19] and then other people could use the extension [18:04:19] not too sure i understand the question... [18:04:50] but i think so... [18:05:19] yeah, of course, anything we'd do would be gpl and cc-by-sa, is that the question? [18:05:19] your project revolves around individual ideas combining to form opinions, right? [18:05:31] yes [18:05:47] but since it has nothing to do with facts, doubt it would fit into wikipedia [18:05:59] if you had a wikibase setup, then the ideas and opinions could be individual items [18:06:12] and the opinions could link to the ideas that they are made up of [18:06:43] and then an extension could be made to allow users to vote up or down on specific items [18:06:44] yeah, i'm seeing that. don't know how we missed wikidata when we were investigating this, looks great [18:07:07] hope i'm not leading you guys into a dead end [18:09:15] no, any ideas are helpful GEOFBOT, i appreciate the input. without having any coders in our group, we've basically no idea where to start. [18:10:36] or even if what we-re proposing is really possible - collaboration around opinions and hypotheses, strategies, etc. its everything wikipedia tries to avoid as far as we can tell. [18:11:06] brinerustle: maybe take a look at https://www.mediawiki.org/wiki/Extension:VoteNY [18:11:24] may or may not be compatible with wikibase but shouldn't be too hard to modify if needed [18:12:12] i-ll see if i can find the person who asked that question last week, and see what he or she-s working on, remember a name? [18:13:49] brinerustle: would be kind of hard to find him, he didn't leave a name or anything [18:14:14] The VoteNY extension seems pretty close to what you want, but it might not work with wikibase items, so it will need some modifying [18:15:53] I really appreciate some help to know what can I do to block their access and remove the spam content on the mediawiki [18:16:21] researchwiki: if you're going after specific users, https://www.mediawiki.org/wiki/Extension:BlockAndNuke [18:16:56] Thanks, I cannot access to my mediawiki because it has been blocked by spammers [18:17:22] I'm not web developer, just a researcher with a wiki to share my results but now it is block [18:17:31] researchwiki: you mean, they hacked it? [18:17:37] seized control? [18:17:48] yes, they did [18:18:01] do you have shell access? [18:18:27] no idea [18:18:33] i.e. can you log in to the server hosting mediawiki and interact with the installation files? [18:18:41] usually through ssh [18:18:46] yes, I can [18:18:54] go to your mediawiki installation folder [18:19:00] there should be a maintenance folder [18:19:04] ok [18:19:35] you can run createAndPromote.php to create a new user [18:19:47] that has permissions to delete the spammers [18:20:07] researchwiki: https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php [18:20:20] ok just a minute to log in the server [18:20:24] you can also change the password [18:20:29] to your old account if its been hacked [18:20:36] and then give that account rights [18:20:48] make sure you use a good password and what not so it doesn't happen again [18:22:03] well, you can't delete the spammers, but you can block them indefinitely [18:25:41] Hi GEOFBOT, I'm already in the maintenance folder I'm going to run the createAndPromote.php [18:26:09] ok. also, would be wise to change your LocalSettings.php [18:26:17] to block editing and account creation by random people [18:28:24] should I open or save createAndPromote.php? [18:28:46] researchwiki: do you have a terminal open? [18:29:44] no I do not, should I? [18:29:56] researchwiki: you want to run createAndPromote.php, and it is a php script [18:30:05] ok! [18:30:27] so you want to open a terminal, go to the maintenance folder [18:31:53] and type in 'php createAndPromote.php --bureaucrat ' [18:36:19] researchwiki: you should also install the BlockAndNuke extension [18:36:28] and modify your localsettings.php [18:36:43] before you start blocking spamemrs, because they are often automated and can come back [18:36:47] ups! I'm just trying to localize the ssh user [18:46:21] researchwiki: how's it going? [18:47:32] I'm looking for the acces via ssh to my sever to run the php file, it is not easy for me ;-) [18:48:06] do you have access to desktop? [18:48:19] like can you log in on the server itself? [18:49:59] researchwiki: where is it hosted? [18:52:33] yes, BUT it seems that I have not a dedicated server [18:53:12] so, I could not access via ssh because it closes the terminal connection when I've tried [18:56:16] researchwiki: if you own the server, why not go to it, log in, and open a terminal window there? [18:57:51] GEOFBOT: well, it is just the first time I'm working with a ssh protocol and I searched the info in the web, and follow the steps [18:58:14] you don't need ssh if you have direct access [18:58:29] GEOFBOT I cannot find the terminal in the server, [18:58:39] it is running linux, no? [18:59:55] GEOFBOT, thanks so much, wikidata looks like it's just what we need... [19:00:39] brinerustle: no problem. are you contributing directly to wikidata [19:00:55] because in your case I think would be best to make your own installation [19:01:08] brinerustle: I think you mean the Wikibase extension [19:01:17] warning: it can be difficult to setup [19:01:24] * JD|cloud is an admin of Wikidata itself [19:08:14] GEOFBOT: I do not have access to the ssh as my server is not dedicated is shared [19:10:21] GEOFBOT: It is hosted in OVH.com [19:13:19] researchwiki: you should contact your server hosting company and ask them to run the command for you then. in the meantime you should use ftp to change your LocalSettings.php to disable new account creation and editing by users [19:17:31] GEOFBOT, thanks! I'll. As for the change in the LocalSettings.php via ftp could you give any clue how to do it? [19:18:16] GEOBOT, I just hit the LocalSettings.php file but it doesn't appear anything on the new tab [19:18:48] GEOFBOT, no the project we're hoping to find or create doesn't really have a place in wikidata, since its about opinions, not facts. [19:18:56] so we'll do our own install [19:19:33] unless of course we're reinventing the wheel, then we'll just collaborate on someone else's project ;-) [19:20:24] there must be some scientist or philosopher somewhere who has thought of creating a place for debate around hypotheses, conclusions, and evidence to support theories, which is essentially what we want to use (or create). Ever heard of a project to do something like that? [19:20:39] researchwiki: download your LocalSettings.php through ftp [19:21:19] add these lines https://www.irccloud.com/pastebin/A8k75JF1/ [19:21:27] and reupload [19:23:12] JD|cloud, thanks for the heads up around wikibase! [19:23:29] brinerustle: great, good luck :) [19:23:59] researchwiki: since you have lost control, I would assume that the spammers have sysop accounts [19:24:18] but you can temporarily disable all editing by anyone [19:24:21] so they can't make it worse [19:24:48] disable all editing by adding this: https://www.irccloud.com/pastebin/89BONccd/ [19:26:36] My electricity is unstable because of a pesky thunderstorm, so I might not be able to stay on [19:27:27] GEOFBOT well I'm moving on, I manage to dowload it and now I'm adding the chunk of code [19:27:51] GEOBOT can I added the chunk of code anywhere within the script file? [19:28:13] researchwiki: yes, but usually at the bottom [19:28:25] ok, I did it at the bottom [19:28:46] Great, good luck fighting the spammers [19:29:01] GEOFBOT: what do you mean by "sysop accounts"? [19:29:47] Sysops are administrator accounts [19:30:20] They can block people and do other stuff regular users cannot [19:30:51] * Skizzerz doubts that the spammers were given admin access [19:31:04] Because you said you weren't able to access your own wiki, the spammers probably guessed a password or something and took over [19:31:12] more likely is that there are just so many spam pages that cleaning it up manually would take a very very long time [19:32:24] reading above, I'm not entirely clear on what researchwiki means by "blocked access to the wiki" [19:32:52] is the wiki public? [19:33:29] GEOFBOT: ok [19:34:19] Skizzerz : yes it is public but I haven't uploaded my content yet. Unfourtunately, the spammers did for me [19:34:45] so there is no actual content on the wiki? [19:34:53] Well, since there is no content you can just fresh install [19:34:56] ^ [19:35:03] Shoulda told us that :P [19:35:14] before you do that though, do you mind sending me a link? I'd really like to know what you meant by "blocked access" above [19:36:15] GEOFBOT: Please could you tell how can I upload the modified .php file again via ftp? [19:37:25] Just use your ftp client to upload the file over the original [19:38:43] Skizzerz: here http://www.silviamajo.com/wiki/index.php?title=Main_Page [19:39:37] researchwiki: you cannot log in? [19:39:48] Skizzerz: by blocked access I meant that I cannot log in the mediawiki [19:40:21] ok [19:40:43] researchwiki: can you confirm that you did not add any content of your own to the wiki? [19:40:57] if so, that makes cleaning this up very easy [19:41:05] GEOFBOT : yes! I can confirm it [19:41:12] awesome :) [19:41:45] so, wiping out the wiki entirely and doing a fresh install is the easiest course of action here, manually cleaning up the spam would take hours if not days of mind-numbingly boring work [19:42:00] if you want, I can help step you through doing that [19:42:14] Skizzerz: could you take over, I have some stuff to do :P [19:42:29] alternatively, if you're comfortable with sharing FTP credentials (in private message of course), I can just do it for you, it'd take ~20 minutes or so [19:42:44] GEOFBOT: sure thing :) [19:42:48] thanks :D [19:42:49] Skizzerz: that would be nice. But as I told to GEOFBOT I have not access via ssh [19:42:54] don't need ssh [19:43:05] do you have cpanel? [19:43:34] * Skizzerz isn't super familiar with OVH offerings [19:43:59] Yes I have a control panel [19:44:15] GEOFBOT: Thank you so much for your help and advice [19:44:18] cool, so do you want to go with option 1 where you do it yourself and I help walk you through it, or option 2 where I do it for you? [19:44:27] researchwiki: no problem [19:44:31] if you don't trust me, go with option 1 :) [19:45:33] Skizzerz: I trust you but I rather choice option 2 to learn how to do it that's an opportunity to learn it [19:46:23] Skezzerz: so do you have time to go through option 1 [19:46:37] sure [19:47:22] Skizzerz: then what should I do first? [19:47:37] first off, log into your control panel [19:48:24] Skizzerz I'm logged in [19:48:54] you're going to want to manage the database for your domain to wipe it (if they don't have an option to wipe, then delete and re-create it) [19:49:13] er [19:49:16] before you do that [19:49:26] DON'T do that if you have non-wiki stuff on the database [19:49:49] which looking at your website, you probably do [19:50:00] Skizzerz: You mean the control panel of the server? [19:50:37] Yes, I do, I have some stuff in my database, mostly the content of my workingprogress site [19:50:43] I did, but disregard all of that [19:50:49] Ok [19:50:52] there's another way of going about it that will keep all your other data [19:51:01] ok [19:51:46] so instead, log into FTP [19:52:31] and delete all of the existing wiki files (we'll be re-uploading them in a bit with updated versions, the version you had on there was quite out of date) [19:52:32] I'm logged into the FTP because I modified the LocalSettings.php [19:52:49] ok [19:53:03] since you will probably be the only one editing, you should change the localsettings.php on your new installation too [19:53:05] But to delete the wiki files I need some kind of sofware [19:53:15] next up, head to https://www.mediawiki.org/wiki/Download and click the link to download the 1.25.1 release [19:53:22] you can delete the wiki files with FTP [19:53:48] I know but I need some sofware to interact with the FTP [19:54:01] I thought you said you were already logged into it? [19:54:53] I am, I accessed into it just by clicking the link from the cpanel of the server provider [19:54:58] that's all I did [19:55:21] oh [19:55:38] does the control panel on the server have a file manager? If so we can just do this there [19:55:39] I dowloaded the php file to add the chunks of code that GEOBOT recommended and now I cannot figure out how to upload it [19:56:38] if not, download and install FileZilla Client from https://filezilla-project.org/ on your local PC; that is an FTP client which will let you upload and delete files to the remote server [19:56:42] Oh! yes I found it [19:57:06] Should I delete the entire wiki folder? [19:57:09] yes [19:57:16] Sure? ;-) [19:57:24] yes, we'll be reuploading it as the next thing we do [19:57:33] Ok! [19:58:05] after you do that, download the 1.25.1 package of MediaWiki from https://www.mediawiki.org/wiki/Download [19:58:13] it will save as a .tar.gz file [19:58:42] what we do next depends on the following: does your file manager have any button that says "Extract" on it (or if you right-click a file, is "Extract" one of the options)? [19:58:49] ok done it! [19:59:44] researchwiki: can you answer my question? :) [19:59:54] Yes, just a minute [20:00:57] No it does not have any button that says "Extract" [20:01:08] hmm, from my own searching it looks like it should support it, so we'll try anyway [20:01:25] upload that .tar.gz file to your web root (the folder that "wiki" used to be in) [20:01:53] And If I right-click it does not have Extract option. [20:01:53] the folder name will probably be called something like "public_html" or "www" [20:02:21] ok! [20:02:26] just 2' [20:02:38] I'm downloading the package [20:03:44] Ok I'm uploading the file to the root [20:05:44] Skizzerz: it says that Mediawiki is to big [20:05:51] hmm [20:05:55] Skizzerz: It cannot upload it [20:06:08] ok [20:06:37] in that case, you're going to need to install a few things on your local PC [20:06:59] ok [20:07:01] the first one is called 7-zip, and it will let you extract the .tar.gz locally into the mediawiki folder [20:07:19] you can get that from http://www.7-zip.org/ [20:07:49] (if you already have something that can extract tar.gz files such as WinRAR, you can just use that instead) [20:07:58] but if you don't, 7-zip is free :) [20:08:19] Skizzerz: Does 7-zip run in Mac? [20:08:26] ah, you're on Mac [20:08:40] in that case you should just be good to go as-is [20:08:44] no need to install anything [20:09:17] Yes, I am [20:09:32] just double-click on the downloaded tar.gz file and the Mac should extract it for you automatically [20:09:43] ok! [20:09:43] it'll make a new folder called mediawiki-1.25 [20:10:21] yes it did it [20:10:42] cool, next up grab FileZilla Client from https://filezilla-project.org/ (it has a Mac version) [20:11:15] you'll need to install that one (should just be the normal install method where you drag it to your Applications folder) [20:11:54] if not you'll have to give me a bit to set up my own Mac as it's packed away at the moment ;) [20:16:01] Hey Skizzerz I got disconnected when I installed the FileZilla [20:16:28] I think that was freenode having issues, actually [20:16:37] is it installed now? [20:16:49] Skizzerz, yes I installed [20:17:09] ok, open it up [20:17:52] you should see near the top a bar with "Host" "Username" and "Password" and a "Quickconnect" button [20:18:06] fill the Host, Username, and Password with your FTP details, then hit Quickconnect [20:18:14] It's open and I can see the bar [20:18:23] ok ! [20:18:35] the left half will be all the files on your Mac, and the right half will be all the files on the remote server [20:18:41] give me 2' I'm opening the FTP which was also closed before [20:19:34] (if you can't find those details, try www.silviamajo.com as the Host and your control panel username/password for the Username and Password) [20:20:49] ok I'm almost there [20:20:51] just 1' [20:21:36] It is stablishing connection and wating for welcom message [20:22:35] Skizzerz, are we trying to connect to the FTP now? [20:22:42] yes [20:24:33] Well, It is trying to connect but it seems It cannot [20:26:19] Skizzerz: "Port" is empty right now, is it correct? [20:27:14] that should be fine [20:27:25] you can fill in 21 if you'd like as well [20:27:39] make sure that FTP is active in your control panel: https://www.ovh.co.uk/web-hosting/manage_ftp_access.xml [20:28:00] Skizzerz: I did it, I'm connected [20:28:06] It was the host name [20:28:12] ah, cool [20:28:29] It wasn't my domain but another host provided I found it [20:28:29] so you'll want to go to your www or public_html folder on the right-hand side [20:28:50] then on the left hand side go to wherever that mediawiki-1.25 folder is [20:29:00] ok [20:29:05] right hand side done it [20:29:20] once you've done that, simply drag the mediawiki-1.25 folder over from the left to the right, that will upload the folder as well as every file inside of it [20:29:24] this will likely take a few minutes [20:30:29] Skizzerz: Should I drag it at the end of the list of files inside www [20:31:10] sure [20:33:14] Skizzerz: should I drag it to the top of the right hand site. there are 4 windows [20:33:52] Ok It seems that now is transferring, let's wait a few minutes [20:38:39] I'll be back in ~5 mins or so [20:39:00] OK I'll be here, it is still transferring [20:39:04] thanks a lot!! [20:45:24] * Skizzerz is back [20:49:32] Skizzerz: it has transfered more than 7 thousand files, is that normal? [20:49:41] uh [20:50:17] yes [20:50:27] it should transfer a bit shy of 10000 [20:50:33] There are 2000 queued [20:50:48] ok! [20:54:40] Skizzerz: it's finished [20:54:48] ok [20:54:53] which is the next step? [20:55:26] rename the mediawiki-1.25 folder on the remote server to wiki [20:55:57] Skizzerz, why "wiki"? [20:56:11] it seems more likely he wants a url like example.com/wiki/Article [20:56:12] Platonides: it's what his old install was named [20:56:15] in which case it's wrong [20:56:18] ah, ok [20:56:19] so I'm keeping things consistent [20:56:27] I missed that, then [20:56:32] 'tis fine :) [20:56:35] where does the mediawiki-1.25 should be now? [20:56:42] once it's installed we can mess with short urls if needed [20:56:45] I can see it on the left hand side [20:56:57] researchwiki: is it not on the right hand side? [20:57:07] but I cannot see it on the right hand side? Shouw I refresh something? [20:57:10] yes [20:58:04] Great! It is there! [20:58:30] Skizzerz: name changed! [20:58:42] hmm [20:59:00] is the new wiki folder in the same place as the old wiki folder I had you delete a while ago? [20:59:13] I think so! [20:59:14] because I'm not able to access it on your website [20:59:19] It is under www [20:59:40] but I'm sure it was the second folder on the list, no it is [21:00:19] ok, now I'm seeing it [21:00:32] Skizzerz: really? [21:00:57] getting an error message though [21:01:12] Skizzerz: I mean I cannot see it "MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes." [21:01:22] yes, that's what I'm seeing as well [21:01:28] Ah! ;-) [21:01:50] Skizzerz: Why do you think I got an error there? [21:01:58] I'm looking into it [21:07:01] researchwiki: create a new file in your wiki folder called .htaccess (with the dot in front), then edit it in a text editor (NOT a word processor like Word or Pages) and add the following line: [21:07:10] SetEnv MAGIC_QUOTES 0 [21:07:19] (then save) [21:07:44] irccloud down? [21:08:12] yep https://twitter.com/irccloud [21:11:29] there's been netsplits, too [21:13:47] Skizzerz: sorry I was out for 1' [21:13:55] let me read what you said [21:15:56] Skizzerz: How can I create the new file within the wiki folder? (I know it is a basic ? but I haven't done it befoer) [21:16:14] FileZilla should let you do it I think [21:16:49] (as for how, I don't know myself; I'm unfamiliar with the mac version of it) [21:17:12] ok no worries I'll figure it out [21:18:02] if not you can create it locally and then upload it [21:18:48] (although if you do that you may wish to create it without the dot in front at first, and then rename it to include the dot in front after you upload it -- files that start with dots are considered "hidden" files so they may not show up by default on Macs, I'm not 100% on that though) [21:19:03] not by default no [21:19:22] * greg-g 's partner has a mac [21:19:45] * Skizzerz has one too, but hasn't used it in well over a month (still packed away due to moving) [21:19:47] Skizzerz: I did it [21:19:55] It is already on the wiki folder ;-) [21:19:58] hooray, irccloud is back-ish [21:20:54] researchwiki: great! next up head to http://www.silviamajo.com/wiki/mw-config/ [21:20:59] that will walk you through the install process [21:21:14] Skizzerz: wow! ok! [21:21:31] what is going on 0_o [21:21:37] if you're given an option between upgrading an existing install and making a new one, choose to make a new one [21:21:41] the users list is shrinking before my eyes [21:21:45] GEOFBOT: netsplits [21:22:22] Skizzerz: could I change the setting to avoid spammers again? [21:22:26] but usually netsplits don't happen this much [21:22:38] yes, I'll walk you through each screen [21:23:33] first up, choose your language, and then hit next step :) [21:23:36] Skizzerz: which of this options? MySQL (or compatible) PostgreSQL SQLite [21:23:42] MySQL [21:23:44] Ok [21:24:17] for Database table prefix, make it wiki_ [21:24:23] with the underscore at the end [21:24:28] Then default parameters are ok? [21:25:04] Database name, Database username, and Database password are the credentials you use to connect to the database (according to what I've read online, you should have gotten an email about that a while ago from OVH) [21:25:36] Skizzerz: Yes I did, let me check it again [21:26:37] Skizzerz: data base name must be my_wiki? [21:26:57] no, it's the database name you got in that email [21:27:11] ups! ok [21:27:13] database prefix should be wiki_ [21:27:16] (not blank) [21:30:12] researchwiki: once you have that all filled in, hit the Continue button [21:30:34] I'm struggling with the database name and passwords [21:30:51] did you find the email? [21:37:28] researchwiki: I have to be heading off soon, but once you fill in those details correctly, the next screen should be "Database Settings" (If it takes you to an "Upgrade Existing Installation" screen, head back and choose a different database table prefix). You can leave all of the Database Settings as the default values [21:38:03] After that is a screen where you choose your initial user account's username and password, as well as the name for your wiki. Fill those out however you want to. Then, make sure that "Ask me more questions" is checked before continuing [21:38:38] OK many thanks!! [21:38:40] Finally, on the last screen, choose "Authorized editors only" on the User rights profile list which will make it so that only you can edit your wiki [21:38:59] I was just going to ask you that! [21:39:08] Thanks a lot Skizzerz!! [21:39:45] (for the rest of the options, the defaults are probably fine but you can customize them if you wish, the Help links give you more info on what each option does) [21:40:18] After it finishes downloading, it will prompt you to download the LocalSettings.php file, you will need to download that file and then upload it back to the wiki folder using FileZilla [21:40:26] after that your wiki is fully set up and ready for use! [21:40:42] er, *After it finishes installing, it will prompt... [21:56:22] Skizzerz: Hey thanks again for all the info and help!! [22:23:07] is there any difference between ?useformat=desktop and &mobileaction=toggle_view_desktop? [22:23:21] I can't find a detail documentation on their usage [22:25:32] where can I find the source code repository for mediawiki? [22:27:02] !gerrit | chinho_ [22:27:02] chinho_: https://gerrit.wikimedia.org/r/#q,,n,z [22:27:29] !git | chinho_ [22:27:29] chinho_: MediaWiki development is using git, a distributed source control manager, starting on March 21st, 2012; details: https://www.mediawiki.org/wiki/Git_happens Instructions for using it: https://www.mediawiki.org/wiki/Git/Workflow To get an account: https://www.mediawiki.org/wiki/Project:Labsconsole_accounts [22:29:08] chinho_: a github mirror on https://github.com/wikimedia/mediawiki [22:29:32] oh cool, thanks [22:29:51] much better for viewing and searching [22:29:55] &mobileaction sounds like an extension [22:30:27] chinho_: https://github.com/wikimedia/mediawiki-extensions-MobileFrontend [22:31:05] cool, thank you so much [22:35:19] I still can't understand their difference. There's even a test here which involves both of them: https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/e267cda2e792678c1f3cc6bad0fb37001af88787/tests/phpunit/MobileContextTest.php#L160 [22:37:12] also, for mobileaction, sometimes the value is toggle_view_desktop, sometimes it's toggle_desktop_view [22:38:25] from the look of it here: https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/9fb2eb5221c15252f0e599ff4cda9b48980d864c/includes/MobileContext.php#L977, the value can only be toggle_view_desktop [22:38:34] so maybe I found a typo in the source code? [22:38:51] chinho_, perhaps it's worth asking at #wikimedia-mobile [22:39:25] and in case you want to report an issue use !phabricator [22:39:27] oh so that exists. Will do. [22:39:42] !phab | chinho_ [22:39:42] chinho_: https://phabricator.wikimedia.org/