[03:40:13] giby hi, what kind of purpose would these codes serve? [08:59:46] Hi sevra, I'd like to use rich snippet [09:12:04] what is rich snippet? [10:14:35] {{{PAGENAME}}} does not work in editintro? wanna make an url to page?action=history in the edit intro for example [13:11:39] what should i do if i want to add a checkbox field to an article edit page? i looked at the showEditForm:fields hook, but the documentation is lacking [13:12:36] Why is it lacking? [13:15:08] Reedy, because it doesn't show any actual use examples of class members (EditPage, OutputPage) [13:15:10] https://www.mediawiki.org/wiki/Manual:Hooks/EditPage::showEditForm:fields [13:15:34] Why would it need to? [13:15:44] You can use any public members of the class... [13:15:47] Same as any other code [13:16:03] Though, at least suggesting useful functions could be helpful [13:16:40] gotcha. i'll look into it [13:16:52] Best documentation is often examples in other extensions [13:16:54] Reedy, another question if you will :) [13:18:15] when i manage to add a checkbox or two - do i need to handle the writing of the values to the db manually? or are the values being written to the article entry in the db according to the name and value? [13:18:29] https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/includes/VisualEditorHooks.php#L495-L501 would be one example [13:18:50] Nope, it's not automatic [13:18:59] See https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/includes/VisualEditorHooks.php#L510-L516 too [13:19:53] gotcha, so i'll need to add a custom table [13:20:18] Depends what you're saving.. but potentially, yes [13:28:20] Reedy, well, basically i need to implement the option of 'flagging' a certain article as one that is 'new'. the client wants to be able to add/remove this flag manually, so i cant use timestamps etc [13:28:49] and im thinking of a new table because surely that isn't the only functionality that he'd want (he would want multiple 'flags' like this in the future, it's already in the spec) [13:29:27] page props? [13:29:38] https://www.mediawiki.org/wiki/Manual:Page_props_table/en [13:30:05] oh nice. [13:30:10] it's like a metadata entry [13:30:32] It might be sufficient, but it might not [13:30:35] Saves you some work if it is :) [13:32:47] very nice. thanks a lot! [15:35:35] subbu: just wanted to say, I fixed around 50K high prio lint errors from Persian Wikipedia (fawiki) during this weekend :) [15:36:48] Amir1: lint errors? [15:49:37] harmaahylje: https://www.mediawiki.org/wiki/Extension:Linter [16:06:01] is "visual editor" compatible with Turnkey mediawiki ??? [16:25:20] Is it possible to install SMW/Mediawiki on a Microsoft Windows Azure Server environment [16:26:49] It should be... [16:29:24] Amir1, great :) [16:29:52] Amir1, tidy has been removed on fawiki since november 2017 .. so, your fixes will help any rendering issues since that time to be fixed. [16:30:41] yeah, I was the person who got that removed :D [17:04:25] Hi. I'm trying to excute vagrant up command and I'm getting an error (didn't change anything from the last time I used it): There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "e0068d6f-20fa-4936-b303-d0e31cd43105", "--type", "headless"] [17:04:32] Any suggestions? [17:11:13] is "visual editor" compatible with Turnkey mediawiki ??? [17:26:59] anon97220: no, it needs Parsoid and RESTbase, both node.js services. [17:27:36] Well, it's "compatible". But the php extension isn't sufficient to actually use visual editor. [17:28:27] so it's doable, with a few extra installs. [17:30:20] Sveta, look at this to understand what I try to do: https://developers.google.com/search/docs/guides/search-gallery [17:30:39] Hello, I was hoping for some help writing a media wiki api call, I would like to receive the title and URL for a max of 10 pages for a given query [17:32:29] This is what I'm using now but I see opensearch isn't really supposed to be used except for browsers? ```https://en.wikipedia.org/w/api.php?action=opensearch&search=${query}&prop=images&limit=10&format=json&origin=*``` [17:35:44] anon97220: running additional public services, yes [19:36:07] how to I make my Ext:Page Form create a page in a specific namespace? [19:44:58] finlay_: are you talking about the Page Forms extension? [19:47:59] @yaron yes. But after no luck with google or the docs, I've embarrassingly found https://www.mediawiki.org/wiki/Extension:Page_Forms/Linking_to_forms#Adding_pages_of_a_specific_namespace in the last 10 mins. I'm stuck on an old version though (3.6) so I hope it works! [19:48:53] Yaron: Thank for for the extensions and support over the years btw, you're awesome. [19:53:21] Yaron: worked great! thanks! I'm not sure what was wrong with my google fu, but I didn't find it until I specifically added #forminput to my search. We'll try to move from SMW to Cargo as soon as we can update mediawiki... once we migrate off this old LDAP extension that is no longer supported. [19:55:22] we're stuck on MW 1.26.3 until then [19:55:36] Reedy, thanks again for today :) [20:17:25] finlay_: great! Sorry, I missed your responses until now. [20:17:46] Yeah, that's pretty old - that's pre-name change.