[00:59:54] hi all [01:00:22] is it possible to integrate a live markdown editor into mediawiki, like epiceditor or dillinger.io? [01:18:35] bosnjak: no [01:18:38] we don't support markdown at all [01:19:02] if you want a "nicer" way to edit, the best thing we have is VisualEditor [01:19:37] jackmcbarn: i see [01:19:52] jackmcbarn: thanks for the answer [01:20:12] oops, accidentally left [01:20:14] bosnjak: you could look into Extension:CodeEditor though... [01:20:17] !e CodeEditor [01:20:17] https://www.mediawiki.org/wiki/Extension:CodeEditor [01:20:27] I'm not sure if the ace editor has markdown support [01:21:12] legoktm: there is this: https://www.mediawiki.org/wiki/Extension:MarkdownSyntax [01:21:56] that extension looks scary... [01:30:37] legoktm: yes, unmaintained [01:45:00] hi folks a little problem with mw.util..... TypeError: mw.util is undefined .... I go to Special:BlankPage?action=mwutiltest&debug=true and the test "typeof mw.util" shows a question-mark.... not "true"... [01:47:20] hi folks a little problem with mw.util..... TypeError: mw.util is undefined .... I go to Special:BlankPage?action=mwutiltest&debug=true and the test "typeof mw.util" shows a question-mark.... not "true"... I am working a mw 1.17 version [01:53:29] okay i found a bug report that fixed this in mw 1.19 [01:53:36] Yeah 1.17 is very old [01:53:54] RoanKattouw: Running 1.9 at work. ;-) [01:54:12] I remember releasing 1.17 in my junior year of college, and I've now finished graduate school [01:54:31] RoanKattouw, hi there, author of bugfix... so i should update dependencies somewhere... hmm [01:54:38] Special:UserRights used to be pretty atrocious. [01:54:57] hypergrove: Wait, are you saying I fixed that bug? [01:55:01] i'm even seeing the old cookie problem [01:55:07] I mean, that's perfectly possible, I just don't remember doing it :) [01:55:14] yeah, http://www.gossamer-threads.com/lists/wiki/wikitech/270704?do=post_view_threaded [01:55:59] hypergrove: is there any reason you are running a outdated 1.17 version? [01:56:34] p858snake|l, of course, i don't work on old versions for pleasure :) I DO have a life ya know! [01:56:50] hi fhocutt [01:57:17] p858snake|l, i'm doing smw+ stuff, lots of fun oh joy oh boy! [01:58:16] pays the bills at least... ckeditor ontology browser, lots of stuff there [02:01:26] hi sumanah! [02:01:39] fhocutt: is now a good time to talk about Java absurdities? [02:01:45] hypergrove: I would consider convincing them to upgrade [02:02:06] briefly! [02:02:20] I will be heading off soon [02:02:31] fhocutt: ok [02:02:52] fhocutt: so, what have you done so far to try to get help on the problem? once I know that I can suggest the next people-to-contact [02:03:14] talked a lot with one of my friends who's working on java stuff now [02:04:06] searched the error [02:04:24] plus maven [02:04:25] fhocutt: so if I were you, at this point, I would write a rough summary, slap it online somewhere like a paste or a GitHub gist, and tweet it [02:04:26] p858snake|l and RoanKattouw --> many thanks for your advice .... back to salt mine [02:04:35] fhocutt: and send a link to wikitech-l [02:04:46] sure, makes sense [02:04:59] (I know you are about to stop working for the day, so this could wait till tomorrow) [02:05:04] I am pretty close to done for the day, yeah [02:05:10] p858snake|l and RoanKattouw --> and thanks for this hotline -- it IS a lifesaver for us trying to enlarge the wiki community [02:05:42] but that is a good idea [02:05:42] fhocutt: ok! well, maybe that can be the thing you do tomorrow if you don't happen upon a solution some other way before tomorrow AM [02:05:49] fhocutt: that's what Julia Evans does all the time [02:05:50] yep, sounds good [02:05:53] ah, cool [02:06:01] have a good night! see ya later! [02:06:10] later! [08:04:28] Hallo. [08:05:31] Is there any kind of effort to move Lua modules that are needed by many wikis from being stored on-wiki to being deployed as extensions in libraries? [08:10:42] not really [08:10:47] the only one I can think of is mw.html [08:10:52] which originally came from enwp [08:17:19] Can you think of any reason not to turn https://en.wikipedia.org/wiki/Module:Authority_control , for example, to an extension? [08:19:59] none other than "because code review in gerrit is slow" [08:20:17] same reason we don't turn gadgets into extensions basically [08:44:09] didn't wikipedia have a button to pronounce words? [09:15:57] hi [09:16:15] really confused about mw versions [09:20:40] graingert: some pages have a recording [09:22:40] 1.23.2 when installed becomes 1.19.14+dfsg-1? why is this? [09:26:05] does anyone know how to show TOC only on mobile? [09:31:02] shouldn't be the case [09:32:00] only workaround I have is to wrap __TOC__ in a div I define and add the media query to the stylesheet [09:46:49] valhallasw`cloud: ah okay [10:01:01] aharoni: also, hoo has been working on an infobox module [10:02:26] thedj: I know; that's almost *all* that I find when I do `find . -name '*lua'` in all extensions (can you suggest a better way to look for it?) [10:03:02] I also find bits in TitleBlacklist and ParserFunctions - and that's it. [10:03:41] there is nothing else [10:25:31] If a Lua module is in an extension, is there any established way to localize it? [12:06:48] I just upgraded an older wiki to 1.23 following the guide. Everything seems ok, except images are not displayed in pages. The file page looks fine (proper mime-type, e.g. File:Margin padding.png), but in a wiki page, "[[File:Margin padding.png]]" becomes [padding.png] [12:07:12] i tried "php maintainance/rebuildImages.php" with no luck [12:07:57] most of the references I'm finding for this sort of problem deal with bad mime-type detection, but that seems ok (did echo mim_content_type('images/d/d3/Margin_padding.png'); and got back image/png) [12:20:01] Hi. I'm looking for a method to quickly scramble all passwords after a server breach, to force universal password resets. [12:41:06] Hmmmm. [12:41:25] chuck54: Try the "WikimediaMaintenance" extension. [12:41:30] There may be a maintenance script in there. [12:42:21] superlou: You figure it out? [12:46:11] Carmela: thanks. I'm getting there with a script to reset each password using maintainance/changePassword.php --user="" --pass="" [12:58:27] Ah, that works. [12:58:39] Sort of, maybe. I wonder if that resets the password to "". [12:59:05] Wikimedia wikis had a similar breach recently, so I'm pretty sure there's a mass-reset maintenance script somewhere. [13:07:28] Carmela, checking out taht extension now, thanks. Had to switch gears for a bit so made a stackoverflow question: http://stackoverflow.com/questions/25286346/images-not-displayed-in-wiki-pages-after-upgrade [13:10:25] superlou: That extension wasn't for you. :-) [13:10:29] superlou: Is there a link to your wiki? [13:10:36] Or you can you paste the generated HTML markup? [13:10:53] Do the images load directly in the browser? e.g., example.com/w/images/f/a3/foo.png ? [13:14:50] Carmela, whoops. Unfortunately, it's an intranet only wiki at the moment. They do load directly [13:15:28] What does the generated markup look like? [13:15:57] Carmela, [padding.png] [13:16:15] it's almost like parsing is breaking down at the space [13:16:33] Does this happen with other images as well? [13:16:48] Try opening a test page and using a different image. [13:16:54] Sounds like an interesting bug. [13:17:45] Carmela, Happens with all images, both ones uploaded before and after the migratrion [13:18:35] also occurs if i make brand new test page [13:18:41] If you upload a new image, does the thumbnail render on the "File:Foo.png" page? [13:18:46] yep [13:18:55] Do you have any funky extensions installed? [13:19:11] You can try disabling extensions or other customizations in LocalSettings.php. [13:19:18] i have VisualEditor installed, but disabled [13:19:51] is it possible that my localsettings.php file is too old [13:20:00] Shouldn't really matter. [13:20:07] the migration guide recommended just taking the old 1.18 file and dropping it in the new install [13:20:08] ok [13:20:18] You can re-run the installer to generate a new LocalSettings.php if you want. [13:20:41] Did you test with images without a space? [13:20:44] yep [13:20:48] And it still breaks? [13:20:50] have a File:Bell.png [13:20:51] same symptoms [13:20:54] it's pretty odd [13:20:58] What's the HTML output? [13:21:32] Huhhhhhhhhhh. [13:21:42] I wonder if you customized your accepted URL protocols? [13:21:46] which generates [[1]] [13:21:53] And you made [file:/// ] links try to work? [13:21:58] hmm [13:22:07] let me open up localsettings [13:22:44] in hindsight, i did have it initially on a local PC, rather than on an intranet server [13:30:51] Carmela, i found this: $wgUrlProtocols[] = "file:"; [13:30:56] any chance that's related? [13:31:36] welp [13:31:37] http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols [13:31:49] there's a distinct warning on the page about it [13:33:33] :-) [13:33:34] thanks! [13:34:48] No problem. [13:45:56] where does the ResourceLoaderModule get it's dependencies from? I moved a wiki and it still tries to load files from the old file locations. Very annoying [13:48:18] sven^: You might want to see Resources.php, it lists all dependencies.Not sure of what you mean [13:48:45] mod_fcgid: stderr: PHP Warning: filemtime(): open_basedir restriction in effect. File(/home/foo/domain.tld/w/extensions/SemanticForms/skins/collapse-minus.png) is not within the allowed path(s): (/var/www/vhosts/domain.tld/:/tmp/) in /var/www/vhosts/domain.tld/wiki/includes/resourceloader/ResourceLoaderFileModule.php on line 380, referer: http://wiki.domain.tld/index.php?title=Hauptseite [13:48:49] kunalg: ^^ [13:49:20] I checked the code at that location and it loads some dependencies. I don't have time to debug it any further to see where they actually get loaded from [13:50:03] sven^: Have a look at your LocalSettings.php, it lists the folder to use. [13:50:22] no occurence of any absolute paths in that file [13:50:25] only using $IP there [13:50:55] everything else works fine, so the paths are not screwed up. Only that resourceloadermodule seems to have stored old paths "somewhere" [13:51:46] I did a mysqldump | grep '/home/domain.tld/' and grep -ir '/home/domain.tld/' path/to/wiki both with no results [13:51:50] so... [13:53:10] stuff like this drives me away from MediaWiki.. :( [13:54:40] sven^: What is your $wgScriptPath? [13:54:40] sven^: in LocalSettings.pph [13:54:40] *php [13:54:54] '' iirc [13:54:55] sec [13:55:06] yeah [13:56:08] kunalg: yeah, it's '' [13:56:09] sven^: Sorry got disconnected [14:00:36] in mw.message in Lua I only see a plain() method. [14:00:45] Isn't there something like parse()? [14:03:44] sven^ I seem to recall running across similar problems myself when I changed directory structure on mine. I think there's a database table somewhere that's caching paths [14:04:05] Although what I remember was just affected by some older extensions. [14:05:15] Rosencrantz: do you know what table that was? As I said I grepped a dump for the old paths and got no results [14:05:35] Yeaaah.. I'm trying to remember [14:05:37] vvv: privet, long time no see [14:07:57] I am still kind of angry that someone thought it was a good idea to store absolute paths for stuff, because they were too lazy to do it properly :( [14:12:31] Here we go. This is the one I ran across: http://www.mediawiki.org/wiki/Manual:Module_deps_table [14:17:55] sven^: I think you can safely just drop the contents of that table [14:25:58] Can someone explain to me why my preferences panel looks like this: http://s2.postimg.org/f559ju67t/Screenshot_2014_08_13_at_8_23_42_AM.png [14:26:32] Its without tabs and is only an un-ordered list. [14:34:53] Negative24: I think I've seen that when there's some files that aren't being loaded. Check your logs and see if you see anything. [14:35:02] usually like css or images or something [14:36:03] Rosencrantz: seems to be it, thanks [14:36:26] if I have install the MLEB, do I need to install Extension:UniversalLanguageSelecto [14:36:32] Extension:UniversalLanguageSelector [14:45:10] Rosencrantz: Which logs? MW recent changes, apache error logs, php logs? [14:47:40] where does Special:Version get the version from ? Is it from the mw database ? [14:51:14] dazza: What version? The MediaWiki version? (Special:Version has a lot of info on it) [14:52:42] the version of mediawiki. Special:Version is reporting 1.23.2 [14:53:07] It gets it from a global variable $wgVersion. [14:54:16] hello all. I'm trying to write a custom composer package for a mediawiki extension. I'm wondering, how does mediawiki know to automatically load the extensions in the composer.json file? [14:54:52] I'm trying to use autoloads but it doesn't seem to be working. maybe I need additional configuration. [14:58:28] Rosencrantz: Ah, look at that. There's my fix! https://git.wikimedia.org/commit/mediawiki%2Fcore.git/refs%2Fheads%2Fwmf%2F1.24wmf16 [15:50:56] Sigh. https://www.mediawiki.org/w/index.php?title=Manual:Running_MediaWiki_on_Red_Hat_Linux&dir=prev&offset=20140811202204&limit=6&action=history [15:59:03] qgil: Hi; Just checking: are we meeting on IRC or Hangout today? [16:00:41] never mind, just saw the calendar update :) [16:01:48] guillom, sumanah andre__ I just sent you a second invitation because in the first one "The party is over" [16:01:59] qgil, /me slightly late [16:03:39] guillom, have you problems joining? [16:04:24] qgil: I'm waiting for you in #wikimedia-meetbot . Should I be doing something else? [16:04:46] guillom, you should be joining the hangout -- sorry for the confusion [16:04:59] andre__, ^^^^ [16:05:05] will do soon. [16:05:09] Phab meeting :) [16:06:58] qgil: on my way. I didn't get any notification about that second change. [17:30:03] My preferences panel still doesn't have tabs. [17:30:12] I guess that commit/merge didn't fix it. [17:38:52] hi sandaru! [17:38:58] sandaru: do you have a moment to talk? [17:39:08] yeah [17:39:19] hi sumanah!! [17:39:39] sandaru: how are things going? have you been able to start following up on our suggestions from our last conversation? [17:40:16] not yet [17:40:39] things have been very busy in last few weeks since I was having my mis semester exams [17:41:43] sandaru: ok. I have found someone who would like to help you practice your conversational English [17:41:53] sandaru: what email address should she use to contact you? [17:41:55] ah great!! :D [17:42:05] and sandaru are you comfortable with Skype? [17:42:09] sandarumk@gmail.com [17:42:11] yes I am [17:42:18] (voice calls via Skype, I mean) [17:42:40] yeah I think it's ok. [17:43:33] my skype id is dinu.sandaru [17:46:12] Great, I'll put you both in touch with each other, sandaru [17:46:17] she's a friend of mine [17:46:25] By the way sumanah we will be having a session at #opw today in few hours right? [17:46:36] and she wants to practice her skills in tutoring people who want to speak better English [17:46:39] sandaru: yes we will [17:46:55] Thank you very much for the opportunity sumanah [17:47:08] :) [17:47:16] Then that will be a great chance for both of us :) [17:47:36] https://www.mediawiki.org/wiki/Gerrit/Project_ownership#footer need comments and action [17:49:08] qgil: ^ [17:51:32] I believe ^d is still granting +2 permissions in repos? ^^^^^^ [18:05:58] Rosencrantz: Can you specify what logs I should look at to find the problem to my preferences page? [18:06:39] !debug | Negative24 [18:06:39] Negative24: 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 [18:07:53] marktraceur: All debug vars are on true. [18:11:37] marktraceur: My preferences panel looks like this http://s2.postimg.org/f559ju67t/Screenshot_2014_08_13_at_8_23_42_AM.png [18:12:18] that looks like a JavaScript error [18:12:26] Yeah [18:12:29] or no JavaScript being loaded at all [18:13:22] My JS gadgets work. [18:13:32] Negative24: Hit F12, a browser console should pop up. Look for any JavaScript error there (optionally reloading the page when the console is open) [18:15:09] I get three errors: [18:15:11] Uncaught Error: Unknown dependency: ext.eventLogging [18:15:22] TypeError: Cannot set property 'watch' of undefined TypeError [18:15:32] Negative24, this is on labs, right? [18:15:32] TypeError: Cannot read property 'log' of null TypeError [18:15:39] !e EventLogging [18:15:40] https://www.mediawiki.org/wiki/Extension:EventLogging [18:15:44] jeremyb: You are correct [18:15:56] Ugh, then labs needs EL...again [18:16:23] marktraceur: EL? [18:16:26] EventLogging [18:16:29] See the link I gave you [18:16:51] Yea. Do you want me to install it? [18:17:14] Negative24: Yes, that should solve the issue [18:18:11] marktraceur: Alright, installed now. But isn't eventlogger a debug helper? [18:18:27] Negative24: No, it's for metrics usually [18:18:50] Hmmm. It works. [18:18:59] But why? [18:19:18] Wasn't expecting a fix like that. [18:19:51] Negative24: Because EventLogging defines the module that is the dependency in the error message [18:20:14] Negative24: You'd do well to figure out which module is using the dependency and report a bug asking to make it a soft dependency [18:20:47] marktraceur: and this is a MW bug? [18:20:53] not Labs? [18:21:16] sounds like MW [18:22:31] Negative24: It's a bug in whatever module has decided that EL is a hard dependency [18:22:40] And not mentioned it in its documentation :0 [18:22:42] :) [18:23:37] marktraceur: Alright. I guess I have some investigating to do. [18:25:54] marktraceur: I just commented out the require_once for EventLogging and refreshed Special:Preferences and now it works without EL and my debugging toolbar works. [18:27:39] ...huh, weird [18:27:45] Negative24: Maybe it got cached though [18:28:00] Browser or server? [18:28:08] Browser probably [18:29:31] I'm going to clear my cache and try again. [18:32:40] hi all -- are "QuickTemplates" really necessary (on MW 1.17+ versions)? [18:33:25] the doc says "While skins shouldn't use this class" I do see it being used in MW's own skin definitions.... [18:36:21] hypergrove: What documentation said to use it? [18:36:54] hypergrove: skins usually use BaseTemplate, which is a subclass of QuickTemplate [18:37:27] marktraceur: Discarding the cache worked as advertised and tabs are now gone again. [18:38:24] Negative24: Woohoo. Now I'd grep for ext.eventLogging in your mediawiki directory to find out what module is depending on it [18:39:20] marktraceur: Wouldn't it just be easier to backtrace the request in the console? [18:39:39] marktraceur, said NOT to use it? [18:39:49] http://www.mediawiki.org/wiki/Manual:QuickTemplate [18:41:05] MatmaRex, Monobook uses SkinTemplate [18:41:43] ? [18:41:55] What just happened? [18:42:07] Negative24: freenode had a netsplit [18:42:27] In mw.message in Lua I only see a plain() method. Isn't there something like parse()? [18:42:29] MatmaRex_, vector uses SkinTemplate [18:42:38] aharoni: there used to be, not anymore [18:42:46] Negative24: Maybe maybe not [18:42:53] Negative24: That was a netsplit, pay it no mind [18:43:30] vector defines a QuickTemplate too, and so does Monobook [18:43:32] hypergrove: It sounds like BaseTemplate is the way to go... [18:43:34] we do have a [[netplit]] [18:43:38] on enwiki [18:43:46] hypergrove: SkinTemplate and BaseTemplate/QuickTemplate are actually completely unrelated [18:43:52] marktraceur: I'm going to try that first and then grep (which will take forever and may turn up false positives) [18:43:54] it's just incredibly stupid naming [18:43:57] aharoni: if you want it to preprocess, then call frame:preprocess on the output of plain. if you want it to parse, just return it as normal and the parser will take care of it [18:44:03] class SkinTemplate extends Skin [18:44:08] class BaseTemplate extends QuickTemplate [18:45:33] MatmaRex_, agreed :) naming and the structure is a bit confusing thanks... [18:46:06] if by "a bit" you mean "extremely", then i agree [18:47:32] MatmaRex_, i try to be kind to legacy decisions [18:48:35] can we make skinnames language-appropriate? [18:49:24] better worded is, can skinnames be language qualified in any way? [18:51:41] marktraceur: I just ran grep -R "ext.eventLogging" *. What should I be looking for? [18:52:01] Negative24: Look at matches and find ones that look like hard dependencies [18:52:24] Actually [18:52:26] I have a better way [18:52:30] I should have thought of it sooner [18:52:31] One sec [18:54:07] Negative24: $.each( mw.loader.moduleRegistry, function ( i, module ) { if ( $.inArray( module.dependencies, 'ext.eventLogging' ) ) { console.log( i ); } } ); [18:54:13] Run that in your browser console on your wiki [18:54:19] It'll give you the names of a bunch of modules [18:54:29] Copy/paste it to dpaste.de or a similar pastebin site [18:55:57] hi fhocutt just wanted to wave [18:56:10] I am curious whether the sudden idea you had during our call has panned out :) [18:56:10] hi sumanah [18:56:16] sumanah! Have you tried rcstream? ori and I fixed it during wikimania :-) [18:56:25] valhallasw`cloud: I haven't tried it yet! [18:56:29] nope, unfortunately. I am trying to get the exec:exec plugin in maven to work [18:56:29] cool! [18:56:49] on the theory that running it in the same program will possibly help [18:57:10] right now I am trying to configure the plugin [18:57:12] \o [18:57:20] marktraceur: http://pastebin.com/P206R4zS [18:58:48] Hm, that doesn't make any sence [18:58:55] Maybe I did inArray backwards [19:00:31] Negative24: $.each( mw.loader.moduleRegistry, function ( i, module ) { if ( module.dependencies.indexOf( 'ext.eventLogging' ) >= 0 ) { console.log( i ); } } ); [19:00:34] That should be better [19:01:01] jQuery is stupid [19:01:47] :) [19:02:20] marktraceur: I only got one line: skins.vector.compactPersonalBar.trackClick [19:03:38] Much better [19:03:51] At which point I think I get to yell at MatmaRex_, GOD OF SKINS [19:03:58] Or something. [19:04:00] there was a bug about that script not being loaded because of adblock or some such [19:04:03] !bug ALL "skins.vector.compactPersonalBar.trackClick" [19:04:03] https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=ALL+%22skins.vector.compactPersonalBar.trackClick%22 [19:04:12] i think we wontfixed it [19:04:40] Is my adblock a problem? [19:04:53] hmm, no results? [19:04:56] Oh, no, I lied to you [19:04:57] https://bugzilla.wikimedia.org/show_bug.cgi?id=63535 [19:05:00] It's VectorBeta [19:05:01] Negative24: maybe [19:05:06] jdlrobson is the lucky winner!!! [19:05:08] does whatever you're seeing look like that bug? [19:05:21] (i haven't read the scrollback :P) [19:05:30] MatmaRex_: No bugs found [19:05:47] Negative24: https://bugzilla.wikimedia.org/show_bug.cgi?id=63535 is the correct link [19:06:21] No, I don't think that's right, MatmaRex_ [19:06:27] Loading eventLogging made it work [19:06:31] It's a dependency issue [19:06:41] VectorBeta uses EventLogging as a hard dependency [19:07:00] https://www.mediawiki.org/wiki/Extension:VectorBeta [19:07:13] And doesn't mention it as a dependency. [19:07:29] jackmcbarn: thanks, but if I do [19:07:31] myMsg = mw.message.new( 'nmembers', '3' ) [19:07:32] return myMsg:plain() [19:07:33] then I'd expect to get "3 members", but I get "3 {{PLURAL:3|member|members}}" [19:07:40] oh. heh [19:07:50] aharoni: return frame:preprocess(myMsg:plain()) [19:08:45] jackmcbarn: aha - that works. thanks. [19:08:49] np [19:09:40] btw fhocutt you are on Arabic Wikipedia https://ar.wikipedia.org/wiki/%D8%AD%D9%8A%D8%A7%D9%83%D8%A9 [19:09:43] (knitting) [19:09:51] awesome! [19:11:50] sumanah, fhocutt, but it's (the video) not translated! [19:12:02] * jeremyb will work on english subtitles if they don't already exist [19:12:19] :) [19:12:33] oh awesome! Thanks, jeremyb. Let me know if you need terms or spellings checked. [19:13:08] fhocutt, i will [19:16:03] MatmaRex, marktraceur: So should documentation be updated or removing the hard dependency? [19:18:40] Negative24: Both :) [19:19:02] Hmm. [19:22:15] hi #mediawiki! i updated $wgContentNamespaces, adding a new namespace to it, but {{NUMBEROFARTICLES}} hasn't changed and the row in site_stats table is unchanged - when does MW update stats and/or do i need to manually update stats on a cron or something? [19:22:48] firebus: there should be a maintenance script to do it [19:22:50] !maintenance [19:22:50] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [19:22:58] there is [19:23:28] so stats only update if i manually or cron the main script to run [19:23:32] maint [19:23:37] thanks! [19:23:53] or run php maintenance/update.php --quiet [19:24:07] Its better than cron [19:24:32] * I meant --quick [19:24:42] not quiet [19:25:35] I think {{NUMBEROFARTICLES}} doesn't get updated with update.php [19:26:53] It may be a job queue job [19:27:12] That's the way all templates get updated [19:28:23] well, it's updated on every edit. When you create a new page, it bumps up the number, and is decreased when you delete, etc [19:28:53] but if you change $wgContentNamespaces, that's a whole different thing [19:29:04] it needs to be repopulated [19:29:07] Vulpix, so on change i ned to run the updateArticleCount script to get things reset [19:29:15] then I can expect it to update on edit [19:29:23] firebus: yes [19:30:02] marktraceur: Should I file a bug report on the hard dep.? [19:30:24] I don't know how articles are counted, but some years ago a page required to have at least a "[[" sequence (or a comma depending on a config variable) to be counted as an "article" [19:30:49] that would require some sort of parsing of every page to check that [19:31:09] Negative24: Yes please :) against VectorBeta. [19:31:13] https://www.mediawiki.org/wiki/Manual:$wgArticleCountMethod [19:35:17] yeah, i saw tha [19:35:18] t [19:35:41] i'm not super concerned about exact count, but just want order of magnitude to be correct now that i've added a big namespace [19:36:59] marktraceur: Filed as !bug 69490 [19:37:14] https://bugzilla.wikimedia.org/show_bug.cgi?id=69490 [19:37:20] Thanks :) [19:48:25] fhocutt: I am about to hit publish on my blog entry about what has worked well in your/our internship [19:48:27] if that is okay [19:48:40] sure, go for it [19:48:42] fhocutt: ok [19:49:09] evening... [19:49:21] fhocutt: http://www.harihareswara.net/sumana/2014/08/13/1 - please skim it when you get a chance so I know of any inaccuracies or anything that makes you uncomfortable [19:49:35] oh shit I need to say "and you can hire her in the next few months btw" [19:49:52] :DDD [19:51:07] ok, edited to add that PS [19:51:29] looking now [19:51:39] gah, I need to update my website. [19:51:55] yeahhhhh [19:52:08] people know that sometimes other people's CVs are not up to date [19:52:50] the single additional line on your CV "Wikimedia Foundation internship: Evaluating, documenting, and improving MediaWiki API client libraries" with a link to https://www.mediawiki.org/wiki/Evaluating_and_Improving_MediaWiki_web_API_client_libraries and the dates May-Aug 2014 would do [19:55:38] jackmcbarn: Does this make sense as a first stab at a simple tutorial for using MW messages from Lua? - https://www.mediawiki.org/wiki/Manual:Messages_API#Using_messages_in_Lua [19:57:45] aharoni: there's nothing really wrong with it, but i'm not sure i see the value in it [19:58:13] I wondered how to use messages from Lua and had hard time finding it. This should make it easier. [19:58:43] aharoni: that page looks like it's designed for mediawiki developers. i'm not sure if "regular people" writing Lua would think to look there [19:59:04] It is, indeed, designed for MediaWiki developers. [19:59:37] There aren't a lot of libraries in Lua in our extensions now, but there may be more in the future. [20:02:43] do any of them use messages? [20:11:28] jackmcbarn: I cannot find practically anything like that in the current libraries, but it might be needed in the future. [20:12:53] sumanah, updated :) [20:12:57] :D [20:13:13] also added the OSB keynote [20:13:36] AW YEAH [20:29:06] !fast [20:29:06] [20:40:34] sumanah + java people: I have a suggestion to switch to Oracle's version of Java. How much of a yak is this likely to be? [20:41:11] we have java ? [20:41:49] fhocutt, suggestion from whom? [20:41:52] I'm working on a client library [20:41:56] the library maintainer [20:42:08] https://github.com/eldur/jwbf/issues/23#issuecomment-52106522 [20:42:23] basically, I'm getting runtime errors that probably have something to do with classpath but it's not clear [20:42:35] thedj: fhocutt is my intern who is improving some API client libraries, and she's working on a Java one right now [20:42:54] then i don't understand. each person that installs will have to make their own java decisions [20:43:03] some will definitely not be willing to use oracle java [20:43:14] for similar reasons to the reasons why WMF doesn't use oracle java [20:43:21] right. :/ [20:43:46] why not make the app work with both? [20:43:47] maybe it's ok for anyone *hacking* on it to have to use Oracle?...... [20:43:48] right now, I just want to be able to do any development on this library [20:44:09] or is there something particular about this app that makes it hard to support openjdk? [20:44:15] and that requires my programs running, and it appears to be an issue with my own set-up. [20:44:17] i'll go back to reading the bug :) [20:44:18] jeremyb: do you hack on Java? [20:44:34] * sumanah loves the status-ish nickname YuviPanda|groggy [20:44:36] sumanah, java was a big part of my job ~3-5 years ago [20:44:44] i don't like java though [20:44:53] s/big/substantial/ [20:45:42] jeremyb: I am seeing why many people don't. [20:47:04] ok, I finished reading the bug [20:47:12] yes, may be an issue with classpath [20:47:20] is there a more complete error msg? [20:47:28] e.g. does it say which class couldn't be found? [20:47:58] let me look [20:49:41] more evidence for classpath: when I gave it the complete path to the dependency's jar in my local repo, the class the error referred to changed (c/p coming) [20:49:45] $ java -cp "target/jwbf-test-1.0-SNAPSHOT.jar:/home/fhocutt/.m2/repository/net/sourceforge/jwbf/3.0.0-SNAPSHOT/jwbf-3.0.0-SNAPSHOT.jar" opw.jwbf.app.JavaBot [20:50:02] gives: Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory [20:50:03] at net.sourceforge.jwbf.mediawiki.bots.MediaWikiBot.(MediaWikiBot.java:54) [20:50:03] at opw.jwbf.app.JavaBot.main(JavaBot.java:24) [20:51:02] previously it had been giving me one of the dependency's (JWBF's) classes [20:51:42] so that was progress! But if there's any way to not have to include the dependencies' and dependencies' dependencies' locations in the classpath, that would be nice. [20:52:53] so, to clarify, what steps did you follow so far? are you using maven? [20:52:58] maven, yeah [20:53:08] this is after maven install, and it does compile [20:53:19] er, mvn install [20:55:18] fhocutt, ubuntu's maven? [20:55:25] or some other source? [20:55:30] ubuntu's. [20:55:35] k [20:56:00] I uninstalled everything related to Eclipse in case the m2e plugin was messing things up somehow [20:56:24] what's m2e? [20:56:38] the Maven-Eclipse integration plugin [20:56:48] I didn't find it worked for me, and I gave up on using Eclipse [20:56:59] I'm using a text editor + ubuntu's maven [20:58:19] whoa. debian wants 108 new packages in order for me to install maven [20:58:36] what's the emoticon for "shaking fist"? [20:59:05] ...yeah. [20:59:30] (not necessarily big though, they could be small packages) [21:07:04] brb (still looking) [21:08:58] thanks, jeremyb [21:09:37] sumanah: ty :) I used to be *Panda, so this would've been GroggyPanda or somesuch, but people found it hard to find me so this instead [21:10:20] YuviPanda|groggy: Aren't there social networks for you to monologue about your mood on? :) [21:10:22] YuviPanda|groggy: how about YuviGroggy? it also rhymes a bit ;-) [21:10:28] * marktraceur hands YuviPanda|groggy a LiveJournal [21:10:42] marktraceur: :P but I can't impose them on you on them [21:10:46] marktraceur: hence this. [21:13:01] YuviPanda|groggy: Exactly [21:21:45] fhocutt, btw, precise or trusty or ? [21:22:04] i was starting to test with precise. but maybe better to just use whatever you are [21:22:29] 14.04 [21:22:34] (utopic?) [21:22:44] the most recent ltr, anyhow [21:24:21] fhocutt, lts* fyi [21:24:31] ah, thanks! [21:24:43] * fhocutt could use a snack or coffee... [21:32:31] I updated to 1.23.2 from 1.22.x and now the main page seems to be CSS-less: http://wiki.dlang.org/ [21:32:43] But *only* the main page, and *only* if you're not logged in [21:32:49] fhocutt, will you be on tonight? i have to go soon and it's taking some time to download trusty. but i'm moving to somewhere with good internets (from 23h UTC, 19h eastern) [21:33:04] (12.04 LTS == trusty) [21:34:18] I'm on 14.04 lts [21:34:44] errr [21:34:50] fhocutt, yeah, sleeptyping [21:34:51] and I'll be around until 7 pm PDT/10 pm EDT but I have a meeting after that [21:34:56] 14.04 is what i meant [21:34:58] ok, cool [21:35:09] ok, ttyl [21:35:13] thanks a lot! [21:35:48] hi CyberShadow [21:36:53] fascinating [21:37:36] CyberShadow: it looks like something has cached old HTML for your main page [21:38:14] CyberShadow: it is loading this URL: http://wiki.dlang.org/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&only=styles&skin=vector&* [21:38:20] while it should be loading http://wiki.dlang.org/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector.styles&only=styles&skin=vector&* [21:38:33] (this has changed from 1.22 to 1.23) [21:39:01] You're right MatmaRex, clearing the file cache fixed it [21:39:03] Thanks! [21:39:04] oh, it's fixed now it seems [21:39:06] ah [21:39:07] :) [21:39:22] I must have missed that part of the upgrading instructions! [21:39:36] CyberShadow: if you have some sort of "static" cache, you might need to purge the entire thing [21:39:49] I did, nuked the whole directory [21:40:12] ah [21:40:20] CyberShadow: running update.php should purge caches, but i guess it might not be handling file cache? no idea [21:40:47] file cache is not very well-tested, i'm afraid [21:41:37] by the way, D is great :D [21:42:46] MatmaRex: D as in the programming language? [21:43:14] yup [21:51:27] yeah, it's very nice [21:52:09] multi-paradigm, so you can get things done without feeling like you are being forced to drink questionable language design kool-aid [22:05:15] You guys should talk to Trevor :) he's a big fan of D [22:05:27] I think he used to work on D (the language itself) at some point [22:06:37] Hiya RoanKattouw [22:06:42] Hey [22:07:11] RoanKattouw: did you see cool things in London? [22:07:31] I did [22:07:42] Perhaps moreso in Paris [22:08:32] ooooooh I have never been to Paris [22:08:53] I made a D-themed CAPTCHA for MediaWiki in D: https://github.com/CyberShadow/DCaptcha-MW [22:09:02] I hadn't been in five years, took a whirlwind side trip there pre-Wikimania with some VE people [22:09:59] RoanKattouw: I think you may find this interesting http://www.harihareswara.net/sumana/2014/08/10/1 and be able to add stuff [22:11:18] Hah I have read that classmatters.org page before [22:11:25] I wonder if I got that through you [22:11:34] sumanah: fyi I am listing approaches I have taken to getting this going [22:11:48] good! [22:29:35] huh. Question, sumanah. [22:29:43] Goahead fhocutt [22:30:13] oh, actually, never mind. I was going to ask for your take on if it was necessary to be able to run Maven projects [22:30:28] but I think I was correct, it is, because if I don't I have to manage dependencies by hand [22:31:16] :) [22:32:24] bother. [22:32:30] oh well. [22:33:51] fhocutt: I'm leaving in about 7 min btw [22:33:56] ok! [22:33:59] and then back online in maybe 3 hours [22:34:16] I know Jeremy said he might be able to help more when he comes back, yes? [22:34:20] jeremyb will be back in about 30 min, yeah [22:34:36] cool [22:34:46] I have to take off around 7 my time, but will be back after 9 sometime [22:36:00] ok! [22:36:25] fhocutt: I think an email would be best then - I figure you will cc me and the rest of the team with your paste/gist/etc [22:36:58] sure [22:39:07] later! [22:48:31] hi - is it true that, in addition to declaring dependencies, one must , [22:48:31] 'dependencies' => array( [22:48:31] 'jquery.outsideevents', [22:48:31] 'jquery.cookie', [22:48:31] 'jquery.placeholder' [22:48:31] ) [22:48:37] soory [22:49:05] hi - is it true that, in addition to declaring dependencies, one must perform addModules for each of them? [22:50:28] No, that is not true [22:50:43] Well, it depends on whether you're using addModules or addModuleStyles or addModuleScripts [22:50:53] But for addModules, dependencies are handled automatically [22:51:29] roan, thank you [23:00:58] one other question please, what is the impact of loading prototype.js in addition to mw's loading of jquery? [23:14:33] Is there a setting for keyboards or region on each wiki, specifically meta? I have a weird situation where the ~, *, and = characters work fine in my OS, and every other wiki except Meta - there they won't appear, either while editing or searching. [23:16:15] regardless of browser or updates, too. [23:18:37] figured it out! nm [23:26:10] hypergrove: I don't know, I've never used prototype.js, so I don't know how well it interacts with jQuery or with our code [23:31:24] pulling har out.. mediaWiki.loader.load("/resources/mediawiki.util/mediawiki.util.js"); execs, but STILL TypeError: mw.util is undefined [23:31:45] load() is asynchronous [23:32:02] So if you have code below that load() call that needs mw.util do be defined, then it won't work [23:32:08] Also you really shouldn't be loading the file directly like that [23:32:25] The correct way to do this is mw.loader.using( 'mediawiki.util', function () { code that uses mw.util goes here } ); [23:34:51] oh i'm not calling that... that's copied from debugger when wgResourceLoaderDebug=true.... i had inserted a dependency on mediawiki.util.... what's the diff with "using" [23:35:45] i'm somehat surprised i ever need to call the loader directly, didn't think i ever needed to, ever [23:37:54] the code that uses mw.util function execs after the load call, as i had bpoints at both lines -- this seems like it should be (load dependency, then use dependency) - what am i missing? [23:40:44] and the js that calls the mw.util fn is located within a jQuery(document).ready(function() [23:46:09] Roan, ok, i hear you tell me whenever code needs to use an mw.util fn, then it must be wrapped in an explicit call to mw.loader.using.... is this right: mw.loader.using('mediawiki.util', function() {if((mw.util.getParamValue('mode') !== 'wysiwyg'){}} ); [23:48:00] (2) and that specifying mediawiki.util as a dependency is wrong to do [23:56:06] So MediaWiki allows you to create the title "Http://www.example.com" [23:56:57] Is there some hack you can use in wikitext that allows you to link to this without it being picked up as an external link which happens to have be in the middle of '[' and ']'? [23:57:22] [23:58:06] I tried some variations with that already [23:58:15] What are you thinking of exactly? [23:58:50] what happens with [http://www.examples.com]