[01:00:58] Um, someone may have goofed up a bit. https://www.mediawiki.org/wiki/Beta_Features/Hovercards#Rollout_Plan [01:01:02] February 31, 2017 doesn't exist [03:19:48] Hello. [03:32:10] Hello. [03:38:14] Hello. [12:14:39] Hi, is there a way to get all the redlinks on a page using the API? [14:31:29] list=allinks or list=backlinks, maybe with a generator? [14:32:28] Oh, prop=links. [14:33:40] Maybe could combine prop=linkshere and prop=links somehow? [14:33:47] I dunno, I always do it with database queries. [14:51:38] hello, i would like to inform you of a persons death thats not been set yet on her wiki page [14:51:52] https://nl.wikipedia.org/wiki/Stacy_Bromberg [14:52:36] on the site of the professional darts corporation shows that she dieds [14:58:59] Thanks Yvette. [18:18:57] Could not create directory "mwstore://local-backend/local-public/6/67". [18:19:28] Could not create directory "mwstore://local-backend/local-public/6/67". [18:46:03] I have a csv file that I need to copy and paste into a wiki page on a weekly basis. How can I create the csv file to contain the |- character to create a new row. [18:50:04] ccook_: what's the problem with just including it? [18:51:30] the file contains many many rows and is being created from another database (DM Studio). So it needs to be hardcoded so that when the report output (csv) file is created, the hard return is already included. [18:53:12] I can get it to include the pipe delimiters in the correct locations to create the columns, but I can't find a way to start a new row. It pulls it all into one row. [18:53:34] Ah - the issue is including newlines. [18:54:14] That sounds like a problem with the software creating the CSV... I don't know why it's not letting you put newlines there. [18:55:44] you can use the HTML table tags instead of wiki table markup [18:55:50] those aren't dependent on embedded newlines [18:56:02] (i.e. , , that didn't do anything [18:56:23] although some CSV parsers choke on it [18:56:45] if you use , the entire table needs to be formatted using HTML markup; you can't mix wiki markup and HTML markup for tables [18:57:02] oh [18:57:07] (or... maybe you can, haven't checked, but I'd recommend against it) [18:57:49] going back to the CSV thing though, newlines are allowed in CSV as long as the value is quoted [18:58:04] e.g. 1,2,"some [18:58:08] thing",3,4 [18:58:14] should be interpreted as a single record [18:58:17] despite being on two lines [18:58:25] not all CSV parsers are capable of doing that though [18:58:53] maybe you could try seeing if that works? [19:00:30] Case in point why csv sucks ;) [19:02:46] This is probably a bad example but this is what comes from the csv file: [19:02:48] |apple||cat||vanilla||||beef|| [19:02:56] |orange||dog||chocolate||mice||chicken|| [19:03:57] Those are the 2 lines in the csv file.. and this is what I need it to do so it formats as 2 rows [19:04:19] {|apple||cat||vanilla||||beef|| [19:04:23] |- [19:04:31] |orange||dog||chocolate||mice||chicken|| [19:04:38] |} [19:09:48] oh [19:10:35] just write a script that reads the csv and dumps out the text with the |- included, that you can then copy/paste? [19:10:36] seems easier [19:11:51] ok I can try that. I agree csv stinks and limits you..unfortunately the software we are using for the first step only produces an output to csv.. It does have a node for HMTL as an output would that work instead? [19:12:19] in theory? to copy and paste into wiki.. prob a silly question, dont laugh. [19:12:35] mediawiki allows some HTML, but only a very limited subset [19:12:55] I can't guarantee what your software generates would be compatible [19:13:08] ok thank you for your help! [19:45:26] Hello, I'm not sure if this is the right channel. I'm looking to create a small script to add thanks links in the watchlist (I use popups to see the content but have to see clicktrough to thank someone). Is there a simple way to access the same behavior as the standard thanks links? [19:47:27] (This is the right channel fwiw) [21:18:57] Anyways, I'm logging out now. If anyone can help with the thanks links issue please contact me over at meta or ptwiki [21:41:03] Skizzerz: FWIW you could have just told ccook_ to drag the CSV file into the visual editor and have it work. ;-) [21:42:04] assuming VE is installed on their wiki, and is a recent enough version to have that feature [21:42:14] Indeed. [21:42:25] I wrote that feature in ?2014 though, so it should be. [21:42:26] also that would be assuming that I know everything about VE's features [21:42:31] :P [21:42:36] Hence "FWIW". [22:55:42] hi [22:56:28] where can i find the load order of the scripts of mediawiki ? [22:59:20] noone knows or everybody is sleeping ? [23:02:26] leoncastro: I doubt that's documented anywhere :^) [23:03:12] leoncastro: but you can try asking what's your problem instead of trying to find "possible" solutions to a problem we don't know [23:03:14] !xy [23:03:14] The XY problem is asking about your attempted *solution* rather than your *actual problem*. http://meta.stackoverflow.com/a/66378 [23:03:51] my problem is that i need to know the load order [23:04:08] common.js is loaded after gadget.js [23:04:15] or before [23:06:06] i built a gadget that loads a custom configuration from user/common.js [23:06:20] but it doesn semms to work [23:06:29] seems* [23:15:53] unsolved X, unsolved Y, unsolved XY [23:16:50] «I doubt that's documented anywhere :^)» (Vulpix) [23:17:28] i dont think that simple question in undocumented [23:17:30] How are you loading this user common.js? [23:17:46] i do not load it [23:17:55] thats seems the problem [23:18:10] i think mediawiki load it in the proper order [23:18:38] MW loads the core, the modules, the gadgets... [23:19:01] there must be an order [23:19:39] Well, the MW RL PHP code you're looking for is ResourceLoaderUserModule [23:21:14] Which is referenced from Resources.php [23:21:54] that can solve the Y [23:22:11] https://github.com/wikimedia/mediawiki/blob/master/includes/resourceloader/ResourceLoader.php#L236-L268 [23:22:24] what about the X: how can i load a custom configuration for a gadget ? [23:22:56] Have you made your module depend on 'user'? [23:23:07] Have you considered it may be a scoping issue? [23:23:18] Have you looked in your browser console and resources loaded [23:23:21] is not a module, is a gadget [23:23:22] Have you tried debug mode? [23:23:26] Doesn't matter [23:23:29] It's still a module [23:23:44] ok, i dont know [23:24:19] i use a windows.variable to load the config [23:25:11] in my console seems to work but other users have problems [23:25:33] i dont know there is a debug mode [23:26:09] https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader#Debugging
, etc.) [18:56:04] Is there a character in csv format that translate to a new line/row? The software allows me to add characters in between each cell but I haven't found a character that works. [18:56:17] a literal newline should work [18:56:21] i tried