[00:01:09] Does MediaWiki store any information about which revisions were restored when Special:Undelete is used? [00:10:34] MTres19_: Yes - in Special:Log/delete and Special:Log/supress, see https://www.mediawiki.org/wiki/Help:RevisionDelete#Log_entries [00:10:41] * Special:Log/suppress [00:30:21] SamanthaNguyen: I don't have RevisionDelete enabled. For example, if I delete a page, then only restore a few revisions through Special:Undelete, MediaWiki logs the number of revisions restored, but not which ones. :/ [00:32:04] MTres19_: even if it doesn't show in the interface, it's possible that it is saved [00:33:09] Platonides: I checked the log_params field but that's just an empty array. [00:33:39] then no :/ [00:37:11] I've found that this is a recurring problem in writing my extension... MediaWiki seems to throw away data that could be important in the future, or doesn't store it in an machine-readable format. I'm writing a hook attached to ArticleRevisionUndeleted to work around it, but it's too late for existing wikis. [10:24:56] Reception123: Don't ask to ask. Just ask. If I was around I might answer :) [10:25:29] Ok. Do you have any idea how to resolve the error? [10:26:37] Reception123, what error? [10:27:36] [4343b178b16bad3e0086042e] [no req] MWException from line 335 of /srv/mediawiki/w/includes/MagicWord.php: Error: invalid magic word 'default_form' [10:27:41] when trying to install PageForms extension [10:27:43] Reception123: Why do you ask me specifically? [10:28:08] I thought you'd know how to fix it [10:28:35] Reception123, why? [10:28:45] I've never used PageForms and I am not a developer. [10:28:48] I propose that you ask [anybody in] this room instead of me. :) [10:28:52] Because you've answered some questions I had in the past. [10:28:54] Ok, sorry for bothering you then [10:29:18] Reception123: I answer questions when I think that I might be helpful. [10:29:46] If I don't know answers I don't. That's how IRC works. :) [11:12:36] Morning [11:13:00] Anyone got a suggestion on how to stop the parser choking everytime I try to make a SIMPLE change to a template? [11:13:08] https://en.wikipedia.org/w/index.php?title=Template:PD-US-1923-abroad/sandbox&action=edit [11:13:39] I'm exceptionaly tired of having to play "Hunt the brace" EVEY SINGLE TIME i want to make a simple change [11:14:05] The sooner parser functions are replaced with something that's actually readable the better [15:23:15] hi. how can I check via the api using a diff link if the author of a revision is registed? [15:46:30] Hi, I am looking into Mediawiki core out of curiosity. May I know what these things do? https://doc.wikimedia.org/mediawiki-core/1.27.1/php/namespaceMediaWiki_1_1Widget.html [15:47:21] AFAI can tell, these improve the form input using OOJUI libraries. Am I wrong? [16:10:22] Can anyone answer me? [16:10:45] hi claraJ [16:11:05] Hi Dereckson [16:11:29] I guess Sunday 16:10 isn't the most crowded hour for #mediawiki, that's why you didn't get an answer [16:11:57] Oh, I get it. Guess, I should've been a little bit patient. I'll wait. [16:11:58] personnally I'm in the countryside in 4G [16:12:27] Have a great time. :) [16:12:29] so to find what a class do, generally, a good way is to grep the class name in the code [16:12:35] Well thats the first, it's mostly in city's / towns. [16:13:12] I'm on Windows though. [16:13:14] you can use plain grep or https://github.com/ggreer/the_silver_searcher [16:13:46] well, if you open the code in a graphic php editor, it will allow you to do a search in subdirectories [16:14:43] I'm using Sublime. I will do that right now. I'm a learner and thus the curiosity. Sorry for noobish questions. [16:14:44] Special:Movepage uses ComplexTitleInputWidget [16:14:56] Special:Search uses SearchInputWidget [16:15:24] These are HTML widget to replace a plain [16:15:36] with extra features like autocomplete [16:16:09] That's helpful. Thank you so much. [16:18:40] You're welcome [16:18:57] I also see there is a dedicated team for them [16:20:27] claraJ: to search in sublimetext by the way, it's ctrl+shift+f [16:20:39] then in Where: you select the root folder of mediawiki [16:21:31] How did you know? :D Thanks Dereckson, I was looking it up on SO just now. [16:22:09] you're welcome ;) [17:45:14] tony u there [17:49:57] hello all ........ [17:50:11] I am new here and I wish to contribute [17:52:56] !start | himanshi [17:52:57] himanshi: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [17:53:06] ... [18:06:01] hey i'm Mahika. I am new to open source and looking to contribute on beginner's issues. @tonythomas please help me with the same.Thanks and cheers. [18:06:14] Hi mahikaw. [18:06:41] Great to see you here - you are lucky as I just have a long list of easy tasks for auction! [18:06:59] https://phabricator.wikimedia.org/T115095#3004776 -- there you go - think about working on the non-security bugs [18:07:03] Hey mahikaw. Welcome. [18:07:13] you will have to setup Mediawiki, the extension in question, etc [18:07:39] (For others here - We are running an online hackathon on the Newsletter extension - expect more noise. sorry ) [18:08:16] That's great. I'll look into it right away. Thanks a lot! :) [18:08:30] Great! :) [19:52:43] Hi [19:52:58] Is there a way to see what a template thought it got as a paramater set? [19:53:29] Template:PD-US-1923-abroad/testcases fails in specifc example and I'm trying to figure out why [19:54:33] Maybe the show xml option of special:expandtemplates [19:54:56] i honestly cant remember how much that actually shows so ymmv [19:56:25] The issue is a paramater supplied as |param=| [19:56:51] Mediawiki is apparently treating a null string as valid data as opposed to a true null [19:57:06] https://en.wikipedia.org/wiki/Template:PD-US-1923-abroad/sandbox [19:57:10] being the template [19:57:40] https://en.wikipedia.org/wiki/Template:PD-US-1923-abroad/testcases [19:57:54] {{PD-US-1923-abroad/sandbox|out_of_copyright_in=}} is the headscratch [19:58:30] It seems it's NOT apparently possible to check for both null/unspecifed and "empty string" with a parser function [19:59:00] Empty string and parameter not specified are not the same thing [19:59:37] That's my concern [19:59:48] {{#if: {{{foo|}}}|not empty|empty}} [20:00:08] Which leads to some very convoluted code for something that should be simple [20:00:34] Well welcome to wikitext ;) [20:03:02] Whats the alternative thats simple? Thats a pretty standard if statement [20:03:23] if you want sane programming environment, there is lua :) [20:07:50] tonythomas: feel free to split that up in whatever way is easiest for you :) [20:08:39] bawolff: yeah. we have couple of people working on it right now - so a high level splitting at this point - and maybe later to more granular levels