[03:09:33] Since I'm curious: if I was to use a BeforePageDisplay hook in the past, I'd use something like $out->addLink( $title, $id ), but I see for 1.17+ to use $out->addModules( array( /*modules*/ ) );. How do the modules specifically work with skinning? [03:09:55] Documentation is unclear on the transition unless you're working with specific extension hooks [03:13:40] ScarredSun, that documentation is difficult i did it up once and wrote a bootstrap skeleton because it was so bad [03:35:58] Ah, upon further investigation there is $wgAppleTouchIcon (which should be updated to the vendor-neutral but it's at least less of a headache for now [08:05:26] Hi guys [08:05:47] I'm having difficulties getting data displayed with ExternalData, if anyone can help [08:07:52] https://gist.github.com/rgarrigue/7765c9f7f642b149fda0 [08:08:25] I'm displaying the "raw" data with for_external_table, but displaying it in a wikitable doesn't work [08:10:35] I did created the Template:! ... Can't see what I'm missing [08:12:52] How gosh, just mised a couple of }}... nevermind [12:41:38] Is there a wikitable (css?) style to alternate row color ? [12:53:25] !debug | shdwmage [12:53:25] shdwmage: 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 [13:03:03] Oh, hi Yaron [13:03:15] Can I bother you with a question about ExternalData ? [13:45:13] bye all [13:50:36] Anyone got an exemple of externaldata's get_db_data to grab stuff from a couple of table ? [16:17:45] Hello everyone. I am a javascript deveoloper and want to contribute to mediawiki. Can you guide me where to start? [16:29:34] SaptakS: I don't know much, but here is a start!: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [16:29:45] & https://www.mediawiki.org/wiki/How_to_contribute [16:30:43] IRC #wikimedia-dev might be useful to you also [17:25:01] how to short cut Main_Page url [17:25:08] currently wiki/index.php?title=Main_Page [17:25:23] I need to short as wiki/Main_Page [17:30:32] I've done a composer install, but my instance still cannot find interface 'Psr\\Log\\LoggerAwareInterface' [17:31:13] everything looks like it's installed correctly. i can find LoggerAwareInterface in the vendor/ directory... [17:48:47] !prettyurl | Guest76112 [17:48:47] Guest76112: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [17:51:27] wm-bot> followed the same but issue on link [17:51:28] http://privatepaste.com/c0489bdc1f [17:51:54] these instructions I follow- shortcut works fine but link 404 unfound [17:52:49] wiki/index.php?title=Main_Page shortcutted to wiki/Main_Page [17:53:17] link 404 Not found error - contents missing [18:02:22] wm-bot any help? [18:04:53] Guest76112: wm-bot is a bot [18:05:01] !bot [18:05:01] 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 [18:05:08] !brain [18:05:08] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [18:05:26] !botnoob | Guest76112 [18:05:27] Guest76112: I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm and you can visit #mwbot which shares the same db (read only) [18:07:54] Guest76112: Previously, long URLs were like http://example.com/wiki/index.php ? [18:09:18] I have a quick question about CLDR - if I use MW 1.23 - do I have to use the 1.23 tar.gz for CLDR, or can I use composer instead? Can I just take the latest one and it will work on older versions? [18:09:56] Glaisher> Understand, but http://www.openedev.com/wiki/index.php?title=Main_Page I shortcut to http://www.openedev.com/wiki/Main_Page [18:10:05] but this is not working [18:10:16] http://privatepaste.com/c0489bdc1f [18:12:25] Guest76112: RewriteRules are supposed to be in your htaccess thingys, not your localsettings... [18:12:46] Hi. Is there a limit as to how many parser functions can be used in one page? If so, where is it set? [18:13:32] GEOFBOT> Yes i do on htaccess http://privatepaste.com/3d2b218bda [18:13:44] updated privatepaste see [18:14:48] Is the path to the wiki folder correct? [18:15:02] i.e., is relative to docroot [18:15:12] Guest76112: From the manual: "If you are using a script path and article path that match such as /mywiki/index.php and /mywiki/Article you will also need to use the same two RewriteCond lines on your RewriteRule. However please note that there is no real valid reason to configure your wiki this way. If your article path is already a subdirectory you should [18:15:12] just move your wiki's script path to another directory. Such as /w/index.php and /mywiki/Article or /my/index.php and /mywiki/Article." [18:15:31] https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Setting_up_the_rewrite_rules [18:17:07] it is probably not a good idea to have index.php in folder wiki/ and try to use wiki/ for short url [18:18:26] huji: I think there's a wg config variable for that [18:18:49] Glaisher: I am having a hard time finding it. [18:19:01] I have a faint memory that years ago I translated the associated error messages [18:19:10] I'm gonig to search Messages-en.php now :) [18:19:27] https://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit looks like it only applies to expensive functions [18:20:30] Glaisher: I am getting 503 HTTP errors whenever I have 30,000 or so instances of {{formatnum}} on the paeg [18:21:28] Isn't that a magic word? [18:21:37] I thought it is a parser function [18:21:48] https://www.mediawiki.org/wiki/Help:Magic_words#Parser_functions [18:22:41] ha "technically, any magic word that takes a parameter is a parser function" [18:22:49] :p [19:18:11] Hi - is $wgHooks deprecated, and should it always be replaced with Hooks::run()? [19:18:24] This page doesn't say it's deprecated... https://www.mediawiki.org/wiki/Manual:$wgHooks [19:20:09] And tied in with that: when was Hooks::run() added? This comment may or may not indicate it was in MW 1.22 - I'm not sure: http://git.wikimedia.org/blob/mediawiki%2Fcore/0bc588c9b2cc6f628deab84c600b598a4ffe3a96/includes%2FHooks.php#L133 [19:20:43] Yaron: https://github.com/wikimedia/mediawiki/blob/958b8f14946667181aa68060f8a56e704b020223/includes/Hooks.php MW 1.18. [19:21:33] James_F: thanks. [19:21:41] ...and never mind on the first question; I figured it out. [19:22:03] It's not $wgHooks that's deprecated, it's wfRunHooks(). [19:22:08] Yeah. [19:22:37] Should definitely add @since [19:22:41] And yes, wfRunHooks was deprecated in 1.25. [19:22:58] Nemo_bis: It does? [19:23:21] Lots of changes in MW 1.25! I'm really glad people are looking into my extensions' code. [19:24:20] Yaron: The benefits of gerrit. [19:24:57] Definitely. I don't really understand Gerrit, but I do appreciate it. :) [19:25:39] Yaron: By the time you get your head around gerrit we'll have moved to Phabricator. ;-) [19:26:44] That sounds about right. [20:17:45] ./msg Egg_alt hello