[02:51:36] Is there a mediawiki extension that does page locking when someone has the edit box open? [02:51:52] I don't think so. [02:52:19] Your best bet would be to search around mediawiki.org or use a search engine to try to find something, I guess. [02:52:40] It's been discussed, but it's pretty tricky. [03:30:05] I have this issue with Mediawiki: When I search for something that doesn't exist, e.g. , JavaScript changes the displayed URL to add "&searchToken=...". This is inconvenient because it means I can't easily edit the URL to fix my search query. [03:30:55] In most cases this fake redirect is very useful, but here it's kind of irritating. Is this something that's been discussed somewhere? I didn't find anything. [03:31:31] Yeah. Its annoying. We should really only do it if a pref change is happening [03:32:57] I dont think anyone has filed a bug [03:37:32] OK, is phabricator.wikimedia.org the right place to put this? [03:41:07] I guess I'll post it and see what people say. [03:45:52] Yeah [03:49:46] Fwiw, i dont think its a js redirect. The token is just part of the form [03:51:08] What form? [03:51:32] I filed a bug at https://phabricator.wikimedia.org/T190010 [03:52:30] Oops, oojs-router wasn't what I thought it was. [03:52:55] The search form [03:53:18] I'm talking about typing in a URL like https://en.wikipedia.org/wiki/Special:Search?search=zybjykht , which is how I always search for things. [03:53:32] at least the original implementation was just a hidden input field. It may have changed since then [03:54:31] The HTTP request is to that URL, and there's no real redirect, so I assume JavaScript is rewriting the URL. [03:54:42] shachaf, if you disable javascript in your browser and try it again, does it do that? [03:55:17] Sveta: Nope. [03:55:19] for me it doesn't, so I would agree that it's javascript [03:56:44] Wtf. This is so wrong [03:56:53] A few years ago, when you would go to Wikipedia page A that had a redirect to page B, the URL would still show A. That makes sense because it lets you avoid an extra roundtrip. [03:56:57] i wonder when we started doing this [03:57:21] At one point someone added JavaScript code to change the displayed URL. [03:57:37] yeah, i thoight you referring to something else earlier. I didnt know about the fake js redirect [03:57:47] this is just silly [03:58:01] I figure the search redirect works the same way, except no one wants to see the searchToken. [03:59:15] Its borderline a security risk to show the token unnessarily (very borderline, as in not really) [04:03:42] But people copy and paste those urls. And if you have another persons token you van change their search preferences [04:04:54] Oh, hm. I've only ever tried this while not logged in. [04:05:48] Its extra silly for logged out users as the token does literally nothing in that case [04:06:00] Oh, I bet whatever code this is just redirects to the link rel=canonical URL [13:44:14] I am working with WikiLove I reproduced in my localsystem, when I open users talk page sometimes I am getting Love symbol but some times I am not getting Love symbol, My wikii version is 1.31.0-alpha (e6de165) and my WikiLove version 1.3.1 (587122b), I installed this by following https://www.mediawiki.org/wiki/Extension:WikiLove [13:45:10] Now I am not getting Love symbol again on my localhost. [13:46:18] In users talk page [14:23:20] I am also facing same issue can any one help us I am also using wikilove 1.3.1 [14:30:52] Mahesh, Gopa: Does that mean the icon does not display but that space is created? Or that there is nothing displayed? Is there something related printed in your browser's console/network tabs when you use "debug=true" to access a page? [14:33:27] There is nothing empty space generated, the option itself not present there but sometimes I will get that Love symbol. [14:33:57] Gopa: Please debug. See my previous comment here and also https://www.mediawiki.org/wiki/Manual:How_to_debug [14:34:27] Thanks, I will try [14:46:49] Mahesh: Did you get heart Icon? in the users talk page [16:13:49] is there a character for #time to get the timestamp as is used for special:contribution offsets `YmdHis` or do I need to use that who string of letters? [16:14:47] maybe lower case o for offset? [16:15:08] I see there is a c for ISO 8601, but that doesn't work. [16:15:29] U epoch doesn't work either as offset. [17:13:33] Using PageForms extension, how can i create a multiple page form? [17:14:19] what does a 'multiple page form' mean? [17:15:47] So i have a Form currently called Countries...it gathers the Country Name and a Flag Image. After uses fill that out, i want them to be directed to another Form called "(Country Name)\Patents" [17:17:24] I can set the returnto=page link on the forminput to whatever i want...so the directing part im not worried about as much as determining how to have the Country Name\Patents setup correctly....so when a user creates a country on the previous form the Country Name\Patents page is setup so that it actually has the Country Name and they are directed to the Patents Form [17:18:30] 1.I create a page called Ireland using the form Country. 2. Create a page called Ireland\Patents with a form called Patents [17:18:57] in Step 2, im unsure how i can have the Country Name appended to page created by the Patents form [17:20:33] I don't know if i need to create a field called Country Name inside the Patents Form and have users rekey in the name of the country they created with the Country form or if there is an automated way to achieve this using page forms or smw forms [17:21:26] on top of that, if they need to key in the country name in the patents form again, how would the page name be automatically created as Countryname/Patents [17:36:01] or should i just have one form called country with all the fields from the patent form added to it...then link to it on page using an anchor tag? [18:06:19] kevindank: can they both be in the same form? [18:06:53] Sure, i was thinking of doing multiple because in addition to patents i will need to do the same for appeals, design, and one other form [18:07:02] the page name is probably availabe via some magic variable or something [19:47:31] Hi, I tested several extensions, that looks dead… how to confirm it? [19:48:07] Look dead? [19:51:25] for exemple makes crash the wiki [19:51:53] !debug [19:51:53] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [19:51:56] !500 [19:51:56] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [19:54:59] hello all, anyone good with QUnit? I have some test cases that involve long strings, so I was hoping to put them in a JSON file and load it in my test.js file. Do you think something like this is possible? [19:55:20] it seems I can't simply do `var testCases = require('./path/to/file.json')` [19:56:29] musikanimal: I'd probably try Krinkle in another channel [19:57:02] okay, I almost asked in -core but figured that wasn't the right place [19:57:20] because I know those people know how to do it =P [19:57:28] I'd have expected him to be in here tbh... No idea why he's not [19:59:37] still trying to figure out the best way to create a new page title using Page Forms...Example I create a page called Ireland with the Form Countries....i then want to create a page called Ireland/Patents which uses the form Patents...how do i get a page created called Ireland/Patents using PageForms with Ireland being a field in the Form Country [19:59:44] 1.I create a page called Ireland using the form Country. 2. Create a page called Ireland\Patents with a form called Patents [20:00:26] ive tried to use the info tag and page name= variable but it doesnt do anything [22:55:12] How do we update an old MySQL version? And how do I find out which versions are GA versions (since you can apparently only update from GA to GA)? [23:00:28] Depends on your OS... But that's kinda off topic for here :) [23:00:50] https://dev.mysql.com/downloads/mysql/ will tell you versions [23:48:52] Is anyone having issue to download extensions? I got this when using CURL: curl: (18) transfer closed with 2066164 bytes remaining to read [23:49:41] What are you curling? [23:50:06] Have to resume multiple times to download the whole file. It happens when the files are relative large (over 100K) [23:50:21] e.g. curl -O https://extdist.wmflabs.org/dist/extensions/CodeEditor-master-86863ae.tar.gz [23:51:03] this fails my docker container build :( [23:51:34] curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2) [23:51:41] legoktm: ^ it doesn't seem happy [23:54:08] The same error to curling this page: https://extdist.wmflabs.org/dist/extensions/ as well