[00:04:00] yeah i just discovered them. Experimenting with them [00:04:13] seems like they're loaded too late in this instance, trying to see if i can delay the dependency till after they are loaded [00:05:07] !resourceloader [00:05:07] ResourceLoader is the delivery system for JavaScript/CSS in MediaWiki. First released in MediaWiki 1.17. See also https://www.mediawiki.org/wiki/ResourceLoader , https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_%28users%29 and https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers [00:05:44] Thanks, i'll check them out! [00:13:16] Is there any debug log for this? [00:13:23] My JS file isnt loading using the resource loader [00:13:54] https://dpaste.de/Rwhz [00:24:14] ?debug=true on a URL should put the page in debug mode. [00:24:23] I guess add a console.log() in the script or something? [00:49:19] Debra: the Javascript still isn't loading fast enough. It seems to load the javascript using the 'async' parameter [00:49:37] so it doesnt load before my DOM elements where i need JS to kick in [01:23:41] 400 [04:53:28] whats the easiest way to create a sortable list, perhaps a table with heading that can be 'sortable' [09:59:42] nathani: give it class="wikitable sortable" [10:00:02] https://www.mediawiki.org/wiki/Help:Sorting#Sorting_rows_of_a_table [11:15:08] Hy! Is there an easy solution on how to enable automatic account creation? [11:28:29] is there a codebrowser for mediawiki ? [11:29:33] rajat: https://www.mediawiki.org/wiki/Extension:CodeBrowser [11:31:57] rajat: what do you want to archive from the code browser? [11:32:20] DynamicSidebar [11:32:36] i was looking for git repo link [11:33:44] https://phabricator.wikimedia.org/diffusion/EDSB/browse/master/ I want to clone this locally and add a review for my changes [11:37:59] found it [11:38:14] ashley: the blank line inbetween Bug: and Commit-id: is why it didn't get picked up by the bot iirc [11:39:21] p858snake: oh yay. what is this, python or something where whitespace is everything? >.< [11:40:32] no idea, I don't dev, I just remember someone mentioning it once, If i think its the same issue [11:41:56] good to know nevertheless, thanks :) (and you should totally join the Dark Side...we have cookies!) [11:44:47] my oven has cookies! [11:45:20] and I'm pretty sure Reedy and co would die of shock, if they saw me commit something [11:45:34] (other than using Gerrit's web interface for commit messages) [11:48:49] r [11:48:57] Hello [12:20:24] I cloned mediawiki-core into DocumentRoot on local.. when I hit index.php , I get run(); [12:20:32] whats missing ? [12:28:23] hi [12:28:26] there [12:29:11] time [12:29:17] #time [12:41:11] rajat: you probably need to install or enable PHP on your webserver [13:26:44] anyone experiencing issues with Categories on HEAD? the listing seems to be empty and i get php notices for them; example here: http://wiki.znc.in/Category:ZNC (i suppose i should file a bug, but i never looked into how this is handled here, never managed to hit a problem on HEAD yet... :) ) [14:37:10] can anyone share a nice and clean way to setup up my LAMP ? [14:37:36] on ubuntu [16:25:16] rajat: : what do you want to do ? Install lamp-server in your system ? [17:33:09] ayee [17:58:21] I am having a problem with translatable templates, and keeping them on the same line. For example I have the wiki text "*/jinx [{{ {tt|Trans/jinxtime}} }}]" however, the translated template goes out of the UL and on to the next line: http://i.imgur.com/C2ytWFk.png [18:28:02] New Developer Query: How do I test snippets of code? For example, I want to see the output of a function, say, Article::fetchContent(). An ideal solution would be like, create a new test.php file and write some code in it as follows: [18:28:57] $title = "Main Page"; [18:28:57] $article = new Article( $title, 0 ); [18:28:58] $text = $article->fetchContent(); [18:28:58] echo $text; [18:29:24] Is there a way to achieve such isolated testing of code blocks easily? [20:06:59] hey guys, can anyone help me with the ResoucreLoader? is there a way to ensure my resource is loaded last, after all other resources are loaded? [22:24:52] My LocalSettings.php file got accidentally deleted! What do I do now? Do I have to start everything -- hours of work -- all over again? [23:51:19] Anyone familiar with core: if I add a new file to /includes/, do I need to do anything to "register" it?