[00:31:08] Nemo_bis: are they running mediawiki? [00:33:17] Betacommand: no [01:16:46] I need immediate help I broke my wiki and even though I deleted the problem it's still broken! [01:18:26] Repton: Make sure there aren't any errors in your LocalSettings, and check out the How to debug article on mw.org [01:24:01] I tried runing the script in htacess and jf didn't show any errors.... [01:24:10] It* [01:31:17] Repton: what do you mean by "broken"? [01:32:09] As in all it shows is this: " [01:32:09] Parse error: syntax error, unexpected '[' in /home/u769226260/public_html/mediawiki-1.24.1/LocalSettings.php on line 249" [01:33:28] How do I enable PHP code to be executed (eg ) in articles? [01:34:33] Repton: what do you have in LocalSettings.php around that line? [01:35:16] I had the checkuser thing in it but I deleted it but now it's just the user groups [01:35:40] What's the exact PHP code? [01:37:42] http://pastebin.com/QF57WRJD [01:37:43] siieoa: you can't call PHP within wiki pages (thankfully). You can call Smarty, though, via the Widgets extension, and Lua via the Scribunto extension. [01:38:01] Yaron1: I want to use in my article [01:38:08] once* [01:38:18] Repton: ooh, you should take that down... it has your password on it. [01:38:27] ...and change your password. [01:38:29] Repton: " wgGroupsRemoveFromSelf['sysop'] = array( 'sysop' );" there is no $ before that [01:38:37] siieoa: yes, okay. You can't do that. [01:38:55] Why not? [01:39:11] There's no code that enables it. [01:39:23] Repton: you have a space instead of a $ on that line. [01:39:57] Yaron1: How do I do this with Smarty or Lua? I have Scribunto installed. [01:40:11] Great. Did you read the documentation? [01:40:43] siieoa: plus, what do you mean by "requiring" an article? [01:41:16] Yaron1: That I want to see errors if it exists. [01:41:28] Yaron1: include will work for me as well. [01:41:36] What do you mean by errors, in a wiki page? [01:41:58] I don't understand what you want to do. [01:42:26] Yaron1: I want to include various articles in one page. [01:42:53] I fixed that thing now what? [01:43:01] Ah. You don't need any programming for that - just add "{{:NameOfThePage}}" to the wikitext. [01:43:08] Repton: does it work now? [01:44:42] Yaron1: Perfect, almost. How do I export title at the top of each included article? Example: {{:Beta-carotene}} does not place Beta-carotene at the top [01:44:45] Yes *phew* [01:44:55] Repton: great! [01:45:15] siieoa: you need to put that wikitext at the top of the page, then. [01:45:27] I thought for an hour that it would be irreversible [01:45:37] Yaron1: How do I create variables and use them? [01:45:44] Yaron1: Is that even possible? [01:45:48] * Repton wipes sweat off forehead * [01:46:03] Repton: you really should change your password, though. [01:46:20] I will right now [01:46:48] !e Variables | siieoa [01:46:48] siieoa: https://www.mediawiki.org/wiki/Extension:Variables_ [01:47:15] Cool. [01:48:04] Yaron1: Thank you once again. [01:49:35] You're welcome! [01:56:13] I changed it [08:19:07] good morning. trying to authenticate my user via openldap but no success until now. who can help me? [08:40:54] hi! please suggest what might work with errors in vagrant up and vagrant reload? [08:41:21] i am unable to run and test my code [08:41:37] errors: http://paste.ubuntu.com/9916525/ [08:42:40] i already tried all the solutions on the web including enabling a GUI and this: http://stackoverflow.com/a/23095019/2015112 [08:43:35] On the GUI I get an error: keys: press S to skip mounting or M for manual recovery [08:44:19] what can be done? [08:46:54] also, I am using Elementary OS Luna, and the latest versions of vagrant and virtualbox [09:17:42] help please, i am only a beginner in this :) [09:28:27] ankita_: I've heard about this problem, but not sure there is any solution found [09:29:31] ankita_: probably you just need to run fsck? [10:17:20] Anyone here? [11:44:44] Hiya and thanks thanks for the great FLGOSS wiki engine [11:46:09] I'm having an issue of slowness on saves [11:46:49] I should prlly boot to a proper OS and log in to server and turn debugging on and look at that first [12:00:18] http://hypotheticalhurricanes.hol.es/mediawiki-1.24.1/index.php?title=Template:Infobox_hurricane_small is there any way in LocalSettings.php that I can make it look like what it is supposed to? [12:15:07] Nvm I figured it out. [12:18:53] How do I make the wiki so that only I can add users ? [12:19:21] there are some bots registering accounts for spamming purposes not much minding the reCAPTCHA [12:24:08] juboxi: https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [12:26:47] Dänks parent5446 [12:35:26] Is there a way to import files from another mw site to mine I need to upload a lot of hurricane pictures. [12:38:21] is there a list of page namespaces stored in the mediawiki db? [12:46:53] '$wgDebugLogFile = "/sites/globba12.si/logs/mediawiki.log";' ain't working as expected [12:47:02] file is zero bytes in size [12:48:14] file has same rights as access.log and error.log [12:48:18] which work just fine [12:48:30] just the debugging log is not getting written [12:56:48] juboxi: have you enabled debugging? [13:09:10] hello [13:11:38] is it possible to query sha1 and description of an image in one api call? [14:04:04] kthx_: Description? [14:06:57] Fiona: the wikitext on the File: page itself [14:07:11] Ah. [14:13:16] https://en.wikisource.org/wiki/Page:Physical_Geography_of_the_Sea_and_its_Meteorology.djvu/370 [14:13:20] Won't render [14:13:23] correctly [14:13:27] Hiya [14:13:37] Mediawiki it seems can't cope with embedded footnotes [14:13:47] I'm not having much luck turning the debugging on for http://GloBBA12.si/wiki/ [14:15:23] tried [14:15:24] $wgDebugLogFile = "/sites/globba12.si/logs/mediawiki.log"; [14:15:35] but that doesn't produce anything to the empty log file [14:16:02] I need to diagnose why saves are so damn slow on the GloBBA12.si study wiki [14:16:15] jubo2: https://www.google.com/search?q=mediawiki+enable+debug [14:17:02] Qcoder00: which part, the image or the crappy OCR? [14:17:16] The OCR [14:17:30] Qcoder00: then manually edit it? [14:17:31] Transcription has an embeeded footnote [14:17:34] I did [14:17:51] The solution for embedding a footnote DOES NOT WORK [14:20:19] because doing {{#tag|follow=}} isn't recognised [14:20:37] Meaning the tranclusion will break when rendered [14:21:00] I am getting slightly disapointed that I'm finding simple things like this quite often [14:21:19] Qcoder00: so the issue is you have reference inside a reference? [14:21:24] Yes [14:21:40] And that's how it is in the scan [14:22:43] https://en.wikisource.org/wiki/Page:Physical_Geography_of_the_Sea_and_its_Meteorology.djvu/370 [14:22:50] Gravis: I looked at the instructions in http://www.mediawiki.org/wiki/Manual:How_to_debug#Logging and the debug logging should be on but is not [14:23:29] Gravis: I trird the approach in the help but it didn't work [14:23:35] *tried [14:23:50] So I am once again having to conclude Mediawiki can't do something [14:23:59] Fix your code [14:24:02] ;( [14:24:52] Qcoder00: sounds about right. though i'm not part of the mediawiki team [14:28:13] jubo2: is "/sites/globba12.si/logs/mediawiki.log" an absolute or relative address? [14:28:13] Anyone here that is? [14:29:08] jubo2: well, better said, "/sites/globba12.si/logs/mediawiki.log" is an absolute address, did you mean it to be? [14:31:29] Solved: mediawiki parser being pedantic again [14:31:30] :( [14:33:14] Gravis: yes it is an absolute address [14:33:29] Qcoder00: a bit of info. this is a known issue. https://en.wikipedia.org/wiki/Help:Footnotes [14:33:36] Yep [14:33:46] Qcoder00: seems it's not actually part of mediawiki but rather an extension [14:33:51] Gravis: I was bit of a newb when I set up that server so the sites are located in there [14:34:06] Solved it though, seems MEdiwiki/cite is even more pedantic than templates about parameter order [14:34:46] jubo2: have you tried writing to somewhere like... /tmp? [14:34:49] I cannot see what is wrong [14:34:53] Gravis: I try that now [14:35:12] jubo2: it's likely a permissions issue [14:35:40] Gravis: but the file has the exact same permissions as does the apache log files [14:36:06] Are the PHP process and the apache process distinct from each other? [14:37:07] jubo2: i dont think so [14:37:19] Gravis: mystic [14:37:38] to /tmp it prints out the file as expected [14:37:44] ;) [14:38:07] jubo2: permissions issue. [14:38:22] jubo2: now you just have to figure out why. :P [14:52:57] ok.. I saw it was the SpamBlacklist extension ( prlly broken ) causing the delay [14:53:05] Now the saves are fast [15:04:28] "The text you wanted to save was blocked by the spam filter." I am trying to save a cloud link on a page. (http://cl.ly/image/3E3w3p3e2r1J) Is there a way to avoid this? [15:27:21] Niharika_: sure, don't use cloud link. [15:28:00] Niharika_: either that or the wiki you are editing has blocked external links in which case, nope. [15:59:42] Gravis: Alright. I'm editing MediaWiki. [16:23:59] Ugh, the dreaded "Base lambda function for closure not found" [16:24:31] Anyone know which PHP version has fixed that? It's not clear from https://bugs.php.net/bug.php?id=52144 [16:24:55] Happens even if $wgMainCacheType is not APC [16:38:55] 5.4.9 was the next release after they said it was committed (although I have no idea if that's relevant) [17:47:21] !debug [17:47:21] 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 [17:49:06] !internalerror [17:49:10] Course not [18:36:54] could anyone tell if HtmlCheckMatrix supports using labels from i18n, for its row names? I'm stuck [18:37:46] hi. [19:23:01] ^d: during yesterdays mw:core review you guys mentioned that we have more performance instrumentation around search after the Elasticsearch upgrade. can you point me to where i can find that. not seeing a reference to it from https://wikitech.wikimedia.org/wiki/Search#CirrusSearch [19:23:49] <^d> It's in ganglia [19:24:10] <^d> http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&s=by+name&c=Elasticsearch%2520cluster%2520eqiad&tab=m&vn=&hide-hf=false - you're looking for the various es_* stats [19:24:54] <^d> eg: http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&m=cpu_report&c=Elasticsearch+cluster+eqiad&h=elastic1005.eqiad.wmnet&tab=m&vn=&hide-hf=false&mc=2&z=medium&metric_group=NOGROUPS for elastic1001 [19:26:05] ^d: nice, are all the es_* metrics standard and documented elastic search terms? [19:27:12] ^d: nice, are all the es_* metrics standard and documented elastic search terms? [19:27:47] ^d: looking over this https://doc.wikimedia.org/puppetsource/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py i'm guessing the naming is our own [19:28:39] <^d> We stole some of that stuff from $somewhere [19:28:46] <^d> manybubbles prolly knows more here [19:48:05] ^d: past system and application level search stats do we have any other instrumentation to show what kind of experience our users are seeing when they search? [19:48:33] ^d: and yeah, you guys got the module from https://github.com/ganglia/gmond_python_modules/tree/master/elasticsearch [19:48:42] <^d> So we measure search latency as well when Graphite's not broken. [19:48:57] <^d> gdash.wikimedia.org/dashboards/searchlatency/ [19:51:25] <^d> And we log slow searches to fluorine, but that's mostly for us to find ways to fix edge cases. [19:53:33] ^d: yeah, no data. who maintains Graphite? and/or is there a phab task for it being down ? [19:53:40] <^d> That's an ops thing. [19:53:41] I didn't even know that 1.9 worked in PHP 5.3.3 http://wiki.quakeworld.nu/Special:Version vs. https://www.mediawiki.org/wiki/Compatibility#PHP [20:11:42] hey is anyone around? [20:12:02] !ask | Jon___ [20:12:02] Jon___: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [20:13:02] I'm trying to go thru the help pages, but I can't find how to fix my problem. I was logged onto an administrative account, and I went to protect my homepage. After that, there is just a white screen. Is there anyway I can protect pages and not break my site? If so, how? [20:14:30] And, how do I recover my site? [20:16:27] !blank | Jon___ [20:16:27] Jon___: A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [20:36:56] what is interesting is I am getting syntax errors on my LocalSettings.php file, and I literally copied and pasted from the help files [20:46:11] I have a lot of undefined constants and syntax errors. But I'm telling you, I followed the format on mediawiki.org. [20:48:22] maybe there was a help file with errors [20:50:55] do you have any idea how to get my site up and running after trying to protect a page? [20:52:03] without the error messages, no, sorry [20:52:58] I'm using the error_log in the home directory. do you know of any other error logs? [20:54:55] It seems the Tstring errors have to do with the version of PHP running [20:56:57] do you think these errors are causing the crash? [20:57:53] possible [20:58:16] It's the documentation's devilish trick to make you use an up to date PHP [20:58:22] Education by torture [21:01:06] [29-Jan-2015 13:55:20 America/Denver] PHP Parse error: syntax error, unexpected 'pWriter' (T_STRING), expecting ']' in /home2/gdonline/public_html/LocalSettings.php on line 123 [21:02:08] could you paste the line 123 of LocalSettings.php? [21:02:59] I put the number sign in hopes it would bring the site back up, but it didn't work [21:03:02] #$wgGroupPermissions['pWriter'][read] = true; [21:03:22] s/read/'read'/ [21:04:04] i don't know what that means sorry [21:04:16] it's commented out. The error must be from an earlier line [21:04:26] most probably an unclosed string [21:04:39] I put the number sign in hopes it would bring the site back up, but it didn't work [21:04:44] I just put the number sign in [21:04:53] it's been doing the same error with or without the number sign [21:04:54] look for a single quote missing its pair [21:06:29] everything checks, I can align it with the other permissions [21:07:02] what I don't get is for one, it was spitting out these errors when I protected the page, and two, why now? [21:07:05] I haven't changed the code [21:07:55] could you please post the entire contents of LocalSettings.php in dpaste, replacing any password with asterisks and such? [21:08:25] dpaste? [21:09:20] https://dpaste.de/ [21:16:15] so do i just control v in here? [21:16:20] or is there another way to go about doing things? [21:16:25] i've never used dpaste before [21:16:46] yes, you paste the contents there and save [21:17:01] then you post here the new URL of the page it redirects you to [21:19:13] i see no link to save it in dpaste.de [21:19:53] there's a big blue button below the textarea [21:20:12] https://dpaste.de/YxCJ [21:21:21] Jon___: if you changed language frompython to PHP, it would have made things a lot easier :) here's the error: https://dpaste.de/RKS0#L122 [21:21:41] line 122 [21:22:04] well, from that line onwards... [21:23:36] it fixed it, thank you [21:23:43] why did the error log specify the wrong line? [21:23:54] it's amazing you miss one little character and the site breaks [21:24:47] thank you for your time and effort [21:24:50] that file is telling the server how to work, and machines often do not tolerate such faults [22:27:10] hello [22:30:48] hm [22:30:52] hi [22:32:25] hi [22:38:16] how can i look up page id by its title using sql? [22:38:45] !db page | kynlem [22:38:45] kynlem: See http://www.mediawiki.org/wiki/Manual:page_table [22:39:42] yeah, checked that. but there are multiple entries in mediawiki.page with page_title i'm looking for, so there must be an extra criterium [22:40:32] kynlem: page_namespace is the namespace [22:41:02] page_namespace = 0 for mainspace pages [22:42:00] got it, thanks, Vulpix! [22:42:16] yw [22:43:01] Hi, I'm trying to find someone who can explain what's going on with this mediawiki version 1.5. [22:44:23] I looked up the email authentication function and found that it was added in version 1.5, but the latest release is supposedly version 1.24 [22:44:30] the_called_: 1.5 or 1.15? [22:44:44] 1.5 [22:44:58] http://www.mediawiki.org/wiki/Manual:$wgEmailAuthentication [22:45:29] http://www.mediawiki.org/wiki/Release_notes/1.5 [22:47:23] the_called_: What's your question about it? Keep in mind 1.5 is 10 years old now and therefore no longer supported [22:47:37] It looks like version 1.25 is still in the alpha stage though, so I'm very confused. [22:47:43] O_o [22:49:04] I see. So I should be able to use this email authentication feature just fine with my current version. [22:50:51] How was version 1.5 developed 10 years ago and version 1.22 (the one I have) developed in 2013? [22:52:30] oh [22:52:42] 'cause it's not .22 it's 22 [22:54:42] Then I guess my question is how do I get the email authentication to work? It's set to TRUE, but it's not requiring emails.