[06:50:10] Remilia: Nice to hear! [08:00:59] Hey! Can someone help me out with a trivial problem in cargo? [08:01:30] Im trying to modify/append to an existing row, from another template [08:01:37] but keep getting a new row of data [08:02:03] what am i missing ? [08:07:33] i've looked around, found this https://www.mediawiki.org/wiki/Extension_talk:Cargo/Archive_July_to_October_2016#Updating_a_field , which leads me to believe i should not be able to add to an existing row [08:08:20] but if i have another page that adds data about the same thing, shouldnt it go in the same row? [11:27:52] Hi, i have a string representing time period between two years in this format: 2004/05, i want to write a template that "adds 1" to this string, so the output will be: 2005/06. There is any helpful tools to help this? TY [16:31:36] Hi folks. Is there any MW-native way of saving metadata along with a page? [16:35:16] !db page_props [16:35:16] See http://www.mediawiki.org/wiki/Manual:page_props_table [16:35:51] Naypta: ^ [16:36:25] Awesome, thanks Vulpix - that page says "many extensions use this table", is that the recommended way of storing metadata for extensions? [16:36:41] * Naypta is new to extension dev, so sorry for the possibly stupid questions! [16:38:01] That table is a key-value store of properties for a page. If you need to store lots of data or complex things, it may make more sense to create your own tables [16:38:23] Vulpix: key-value should be fine for this application, cheers :) [16:38:31] I really appreciate the help! [16:39:14] Hi and thanks for the awesome quality software and support. I would like the possiblity to transclude only parts of certain articles, instead of the whole article. Would https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion be the good way to go about achieving it? Thanks. [16:40:21] the documentation says one can do it without the extension too, but just not as versatile [16:42:22] jukebohi: https://en.wikipedia.org/wiki/Wikipedia:Transclusion#Selective_transclusion may be of interest - if you only need the things under "Standard section transclusion", you don't need that extension. if you need anything more, that extension is probably the way to go seeing as it's used on all Wikimedia wikis [16:43:20] a per-article-heading system would be just fine [16:43:40] sounds like you probably shouldn't need a separate extension then :) [16:44:07] although [16:44:08] actually [16:44:25] having said that, it's not entirely clear whether that's an mw built in feature or whether it's actually also coming from that extension [16:45:11] on the mw page for the extension, it says "There is optional support for transcluding sections of text marked with the normal headings, i.e. ==this section==. If installed, this is done with the lsth function." [16:45:28] i take that to be actually you do need that extension even for the basic functionality, i think i was wrong there jukebohi [16:53:02] Yeah, you seem to be right Naypta.. found the "#section-h"-syntax on the plugin's page, so it is implemented by that plugin [16:53:24] yeah. either way, looks like it'll do the job you're looking for it to do one way or another :D [17:40:46] is there documentation somewhere for the ParserOptionsRegister hook as to what "Whether each option splits the parser cache" means, and what a "lazy-loaded option" as opposed to any other option is? I can't find any on mediawiki.org, and looking in ParserOptions.php doesn't get me much further either [18:49:20] Hey. [18:55:02] hi [19:14:49] Is there a legacy version I can download somewhere that uses php5? [19:15:31] Which version of PHP5? [19:15:48] 5.4.16 [19:16:05] lol [19:16:41] Why such an old version of PHP? [19:17:31] The newest version of MW that will support 5.4.16 is 1.26.4 [19:18:27] https://releases.wikimedia.org/mediawiki/1.26/mediawiki-core-1.26.4.tar.gz or https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.4.tar.gz [19:18:32] software doesn't use 7. | oh nice! [19:18:33] (or fetch from git) [19:18:52] I really wouldn't reccomend using such an old unsupported PHP version [19:19:05] And note, support for such an old MW version will be minimum [19:19:50] good points [19:51:17] powerhouse_: also chances are very high that MW 1.26.4 has unpatched security vulnerabilities that may impact you, and unless your vendor is maintaining PHP 5.4.16 for you it's likely *that* has unpatched security vulnerabilities as well [19:51:58] thanks. [19:52:22] I have to keep moving forward with the risk. [19:55:15] ill try using another server with php7 see what that scenario looks like [19:55:27] PHP 5.4 has been EOL since 2015... [19:55:29] Wow [19:55:51] I'm so looking forward to using this though, awesome work here guys! I was happy to find this channel | [19:55:55] Reedy, wow [19:56:20] k that puts the nail in the coffin on that one, not going backw2ards with technology [19:56:25] Heh [19:56:53] PHP 7.0 is EOL since December 2018 too [20:30:35] guess who's back with more stupid questions! [20:30:39] * Naypta sighs [20:30:51] is it possible to get the namespace of the active page in a ContentGetParserOutput hook? [20:32:08] Naypta: You've got a title object passes in the parameters... [20:32:52] Reedy: that's an object?! the documentation puts it along with the revId with no indication of that! [20:32:59] I assumed it was a string hahahaha [20:33:06] Well... I presume it is [20:33:08] * Reedy double checks [20:33:29] Generally, we don't pass the page name/"title" around as a string [20:33:30] yeah in the code it says "@param Title $title Context title for parsing" now that I look [20:33:46] * Naypta updates the mediawiki.org documentation to say that :D [20:33:56] thank you, sometimes it's helpful to have a great big slap around the face sense check Reedy :P [20:34:03] heh