[01:08:57] Repton: you still around? [01:09:14] Yep [01:09:30] does /home/u272053737/public_html/wiki/images/ exist? [01:10:59] Repton: ^ [01:11:58] Yes [01:12:08] Sorry I was getting to it [01:12:28] does it contain a directory called avatars ? [01:12:41] But I don't know where to go in it to fix it. [01:12:51] Oh let me check [01:13:15] Repton: Im following some basic troubleshooting with you [01:13:16] Nope [01:13:24] Repton: create it [01:13:30] I think thats your problem [01:14:03] its trying to access that directory but it doesnt exist, and isnt smart enough to create it [01:14:38] Oh ok I created it [01:15:12] now see if your getting the errors [01:17:21] It works now thank you very much Betacommand :0 [01:17:28] :) * [01:17:56] Repton: no problem you could have saved yourself some time by looking at the error message being created [06:14:18] Hi everyone, I created a account locally and sent a confirmation email and confirmed. Do I need to confirm it locally too as it is showing not confirmed yet [06:25:02] ^never mind, done with that clicked on the wrong link I guess [06:53:15] Is there a way to send email other than using SMTP, seems SMTP is blocked on my university wifi [06:55:29] JacksonIsaac, you probably need to specify your uni's smtp servers / smarthosts. [06:57:51] Univ has their own SSL cert, cannot connect to ssl://smtp.gmail.com and also sometimes ssh is blocked [07:02:07] JacksonIsaac, do they have an outgoing smtp relay? [07:42:41] for dev purposes, is it preferable to set up mediawiki-vagrant or the alternate path would suffice? [07:59:00] I spoke with the networking person, he said that smtp is not blocked. [08:30:14] Hello. It seems there is still no universla extension that allows registering in Mediawiki using both Facebook and Google accounts. [08:52:22] I can't say I'm surprised. [08:52:41] gleki: is Facebook an OpenID provider? [09:04:44] interesting. unlike debian's 1.19 version (whiched used the hostname) i've installed the LTS to localhost. fetching [[Special:Version]] loads 8 items on localhost, but only 5 on the hostname (html, powered by, logo and 2 css). on localhost only one css is used, but 4 .js files. [09:04:45] here the links to the IP user's home+disc are missing and the menu is different. so they are inserted by a script? [09:23:53] EdePopede: I don't really understand what you're asking... [09:25:40] some parts seem to load from the same domain, some seem to use the hostname that was set in the installation procedure. is it so? and: the menu is changed by javascript after loading? (i am not logged in btw) [09:45:54] Nemo_bis: i think not anymore. [10:00:20] gleki: so what authentication is permitted? OAuth 1? [10:00:29] Or 2 [11:11:31] Nemo_bis: i know that Wikia has an extension to log in using G+ and Facebook but i have no idea how to adapt it to MW in general [11:37:12] gleki: all their code is in GitHub, you could check :) [11:39:21] omg https://github.com/Wikia/app/tree/dev/extensions [11:51:10] Nemo_bis: i know, i just have no idea how to adapt them since im no mediawiki developer. they made certain patches to mw, their extensions wont work in mw without patching them [12:03:11] gleki: yes, about 250 patches to core I saw; but some can be merged to core in gerrit too [13:14:27] Hi, Does anyone know how to get a custom namespace to always use a template when a new page is created. For example, pages created in `Foo:` will always transclude `Template:FooDefault` [13:43:34] nm. I just found Extension:Preloader which appears to do what I want. Thanks. [16:10:11] Hey all, I've upgraded to 1.24.1 and installed Scribunto (for Infoboxes)... in Scribunto's debug file, I see that it's going into a loop for some reason, ended with "CPU time limit exceeded", any idea waht would cause this? [16:10:27] I imported Template:Infobox from wikipedia, so that's the Template i'm browsing to when the error occurs [16:13:35] I can't find the option to create a page in my devwiki, can anyone help me out please [16:13:43] I am running mediawiki-vagrant [16:15:10] Ah, got it. Might be a better option if we had an option where we could create a page [16:22:16] I am trying to reproduce this bug https://phabricator.wikimedia.org/T51017 but seems like I am not receiving email updates on changes made. [16:30:12] JacksonIsaac: you need to have your SMTP configurations done correctly, and 'watch this page' enabled to get updates on edits [16:31:08] watch this page is enabled [16:31:41] Ah, the univ wifi is giving trouble while using SMTP to send mail [16:32:18] JacksonIsaac: you would probably have a block on port 25, I guess [16:33:43] do I need to add both the emails in $wgSMTP [16:33:49] I have currently foo email id [16:33:58] JacksonIsaac: which both emails ? [16:34:05] foo and bar [16:34:59] err. $wgSMTP is your SMTP configuration - and is how you connect to your mail server. So you should be giving some valid configurations as per your email provider gives you. [16:35:31] foo and bar are just two users who would use your configuration to send email [16:36:25] yes I have created gmail account for them. I recieved the confirmation email on both [16:37:24] err. You created gmail accounts for them ? I think you should've just created MediaWiki accounts in your local instance for them. Anyway, use one of the valid email configs for your SMTP connections [16:37:34] you should take a look at https://snowulf.com/2011/08/30/configuring-mediawiki-to-use-external-smtp/ [16:38:26] tonythomas: where would I recieve the emails then ? [16:38:53] tonythomas: I have done that [16:39:10] JacksonIsaac: you can have even both redirecting into your single valid gmail account. [16:40:12] tonythomas: I have already confirmed the mail id for both seperately [16:40:47] for the bug test case, you can manually confirm email both the users email id, and perform the same ( from my personal collection https://tttwrites.wordpress.com/2014/10/23/manually-authenticating-a-mediawiki-user-e-mail-id/) [16:41:18] I currently have foo email id in LocalSettings.php. And using foo I have created a page called Test and added changes using bar. [16:41:43] JacksonIsaac: okey - this is inside vagrant, right ? [16:42:14] tonythomas: yes [16:42:40] JacksonIsaac: first things first, can you type $ telnet smtp.gmail.com 25 in your vagrant terminal ? [16:45:46] tonythomas: using a private connection I am able to connect. Seems like port 25 is blocked on WiFi [16:46:28] ^tested on host machine. Don't know how to do it in vagrant. Is it through vagrant ssh ? [16:46:36] JacksonIsaac: yup ! [16:47:13] and make sure you are in the private connection to connect [16:48:35] tonythomas: tried on that but still didn't get the mail [16:48:52] JacksonIsaac: okey. lets see where your email went. [16:49:06] after loggin into your vagrant, [16:49:31] via ssh, give $ sudo nano /var/log/exim4/mainlog [16:49:37] and paste the last lines [16:52:19] There is no exim4 folder in /var/log [16:53:18] JacksonIsaac: how about restarting exim4 ? [16:53:25] tonythomas: https://dpaste.de/xZMQ [16:54:23] JacksonIsaac: can you sudo -i and do the same ? ( exim4 logs are only for the eyes of sudo, afaik ) [16:56:01] Still not there https://dpaste.de/EcDW [16:56:10] When I tried to open the file it was empty [16:56:43] JacksonIsaac: just see if exim4 is running ? [16:57:18] exim4 doesn't seem to be installed [16:58:06] https://dpaste.de/gGyL [16:59:06] JacksonIsaac: hmm. That looks strange! Earlier, you told me that you could e-mail confirm both foo and bar, right ? [16:59:37] tonythomas: yes [17:00:04] JacksonIsaac: that means, your box is capable of sending mails ! you are still on that same network ? [17:00:13] yes [17:00:45] JacksonIsaac: okey. in that case - your smtp configurations should not be a problem afaik. [17:02:54] JacksonIsaac: to make sure you are still able to send emails, you can always try sending one from Special:EmailUser [17:03:57] JacksonIsaac: I think you will need to have role 'echo' too to be provisioned [17:10:20] tonythomas: port number should not be 25, it is 465 for sending mails [17:11:10] JacksonIsaac: in your $wgSMTP variable, yes [17:11:16] Received the mail on the other side [17:11:50] great ! [17:12:57] I was running into an odd issue with the api giving me blank results, for example with: http://en.wikipedia.org/w/api.php?action=query&prop=extracts&rawcontinue&redirects&titles=paull&exsentences=10 [17:13:15] despite asking for 10 sentences, i get "" [17:13:21] tonythomas: But while making the changes to the page, no email :( [17:14:45] JacksonIsaac: I would've enabled the 'echo' role, so that vagrant automatically packs every mail requirments [17:15:46] where should I do that ? [17:16:24] on top of that, exchars from 0 to 26 return "..." [17:16:29] JacksonIsaac: https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Using_roles [17:34:15] echo role is set up [17:34:33] now if I try to make changes the outuput will be echoed on terminal ? [17:35:01] hello? [18:09:37] Hello. I'm editing a page on a wiki article on a private server, and for some reason page links I've created in a specific section, e.g. [[Page Name]] are being displayed as red links instead of identifying that the page actually exists. What could cause such a thing? I am not an administrator for this wiki site, but can suggest changes to the webmaster [18:16:37] Ah, wait, I figured something out. The lines were nested unnumbered bullets, like * [[Page Name]]. When I replaced it with :*[[Page Name]] it rendered properly. Solved, however wierd the case was [18:17:42] omgitsgela: the page was cached somehow. Your edit triggered a reparse of the page and it refreshed the link [18:18:30] Alright. Which is the more advisable way to create nested lists? ::* or *** ? [18:21:00] *** should generate them as nested lists, while ::* indents it but it's not a nested list [18:23:40] Is there any technical difference to choose one or the other, or is their rendering the same? Im unaware if there's anything affected by using one or the other [18:37:32] omgitsgela: It's totally different in the markup [18:38:03] omgitsgela: : is a definition list, so ::* will look like
  • [18:38:35] omgitsgela: Whereas *** will continue the existing unordered list and do
    • [18:39:03] With ordered lists I would imagine ::# would break the numbering on the outside list [18:40:23] I see. that helps. thanks! [18:48:34] Is there a nice way to allow for a user to authenticate using their choice of auth method? Ideally, I want to have the user able to choose to log in using the built in auth, LDAP or CAS. There are extensions for LDAP and CAS, but they replace each other. There is also the MultiAuth extension, which sorta works (with some hacking) but has been dead for a few years. Is there some authentication framework for Mediawiki? [18:49:55] Perhaps something like GeoServer's auth chaining? (http://docs.geoserver.org/stable/en/user/security/auth/chain.html) [19:47:39] So if any of you guys can help me, I'm trying to figure out how to make these advanced tables, and least I think they are tables. [19:47:41] https://www.mediawiki.org/wiki/Extension:Cite [19:48:03] that's an example. on the right side there seems to be a table. with video game wiki's, they do the same thing over the game [19:48:11] on the one hand [19:48:13] my students shouldn't be trusting an anonymous google doc that gets circulated around exam time, as a reliable study guide [19:48:16] on the other hand [19:48:18] the people who actively sabotage it are fucking douchebags [19:48:31] is it just a complicated table? If so, how do I incorporate images into the table? ty [19:48:34] sorry for interrupted [19:48:37] interrupting [19:50:05] Naris: it's a table with a fancy class definition [19:50:12] see https://www.mediawiki.org/w/index.php?title=Template:Extension&action=edit [19:50:20] ty for link [19:50:54] holy crap [19:51:04] i don't even know what to do [19:51:08] lol Schroeder [19:51:44] Naris: well, the essential point is it starts with {| class="tpl-infobox(...)" cellspacing="0" [19:51:59] Naris: that class tpl-infobox is defined in a css file to be 'float: right' [19:52:05] which makes to float on the right size [19:52:06] side [19:52:17] i see [19:53:08] I will do my best. thanks for showing me this. [20:07:50] sorry to chime in again, but I don't know what to do. and the help files aren't really helping [20:08:00] I get this output when putting the template code into my editor [20:08:02] {{ Template:TNTN }} [[Category:Info templatesTemplate:Translation|Counter-Strike 1.6]] [[Category:Extension creationTemplate:Translation]] [[Category:Categorizing templatesTemplate:Translation|Counter-Strike 1.6]] [[Category:Extension templatesTemplate:Translation]] Template:Languages [20:08:46] ? [20:08:57] Naris: what did you copy, and where? [20:09:07] one second [20:09:25] https://www.mediawiki.org/w/index.php?title=Template:Extension&action=edit and I put it just above my TOC of the page. [20:14:32] Naris: ah, ok. Just copy the part within .... [20:15:50] trying that change right now... [20:16:20] well now there is nothing, so i gotta figure out where to put stuff where. [20:17:15] is this css? [20:19:39] just need to know what languages i need to read up on [20:21:08] Naris: this is the most basic form: https://bpaste.net/show/b5f1c4cc3261 [20:21:13] which should work, but might not float right [20:21:37] this is all wikitext, by the way [20:21:49] if it doesn't work, you'll need to adapt your site css to add the relevant class [20:21:55] that is much easier to work with, thank you [20:22:04] i don't know what that means, but i can figure it out i think [20:22:16] i also have a friend who does web development as a living [20:22:18] he can help out too [20:22:22] but thanks for that [20:22:28] Naris: https://www.mediawiki.org/wiki/MediaWiki:Gadget-site.css [20:22:32] ctrl-f for tpl-infobox [20:27:26] ty [20:27:29] gotta learn css [20:27:34] ty for the help [22:44:49] API: How can I pass BOOL params as false? ignorewarnings="" is true just as ignorewarnings=false or ignorewarnings=Whatever [22:45:57] I have to pass it code I see now way to make a condition then in jQuery for POST-ajax [22:46:05] ** cos [22:46:37] Subfader: by not passing them at all [22:48:21] Yes, as mentioned that's hard for beautyful code in ajax() https://dpaste.de/4viP [22:49:45] param=false should never be true. [23:08:05] So, there is no solution to this? [23:09:26] Subfader: What are you trying? [23:09:45] ignorewarnings should be a standard boolean... [23:10:18] but it returns true when passed as ignorewarnings=[whatever] [23:10:59] In jQuery I want to pass this parameter only if user choses to [23:11:28] So data is a key, right? [23:11:40] And it has a value of a dictionary, it looks like. [23:11:50] Can't you just remove the "ignorewarnings" key from the data dictionary? [23:12:18] Let me google that. I'm not into arrays much [23:12:47] data: { format: ... [23:13:13] The {format: ...} dictionary can probably be put in a variable. Then you'd just update that variable appropriately. [23:15:36] Yeah, I'm trying that now. Looks fine. Thanks! [23:51:12] Title::escapeFullURL() was deprecated in 1.19 and removed in 1.24. I'm trying to update an old extension. Can someone point me in the direction of what to use instead? [23:51:55] freedata: What is the extension trying to do? Can you pastebin a snippet? [23:57:28] http://pastebin.com/qstXeUH8 [23:57:54] It's trying to create a URL for the UserLogin page and add a parameter