[05:35:53] please explain why pipe character is used in a FAQ template like this: [05:37:17] "Answer" is the parameter name [05:37:33] after the pipe comes the default if that parameter is not specified [05:37:52] so {{{Answer|}}} means the Answer parameter if it exists, otherwise an empty string [05:38:32] TimStarling: if there was just {{{Answer}}} what difference that would make? [05:40:44] Would granting Special:Editinterface let a user edit a "private" wiki (meaning that read is set false) [05:41:18] {{{Answer}}} will give you the literal string "{{{Answer}}}" if there is no Answer parameter [05:41:59] TimStarling: thanks a lot, I tried googling it up but couldn't find an explanation [05:43:15] TimStarling: I'd like to modify that line to allow optional styling, would it be correct:
{{{Answer|}}}
[05:44:16] Akela: I suppose that would work [05:44:52] Reception|away: I think it's traditional to allow users to read what they are editing... [05:46:24] TimStarling: thanks a bunch! :) [05:47:06] TimStarling: YEs, only administrators and "members" can read. [05:47:34] So I'm asking if someone would only having editinterface with CentralAuth would they be able to read everything on the wiki? [05:51:07] probably not directly [05:51:24] but they could inject javascript into the site and take over the accounts of all the admins [05:51:54] and then just log in as the admins and have them all block each other, and then maybe read the site while so doing [05:52:33] well, in theory, I haven't tested this just yet [05:56:14] What is Special:EditInterface? [06:01:38] I don't think the 'editinterface' user right does much without the 'edit' and 'read' rights. If 'editinterface' alone lets you edit/view MediaWiki message pages, presumably transclusion would be easier than JavaScript to view content? [08:55:46] are anyone running mw + ve + parsoid? if so: what versions are you on? I'm unable of getting it to work in 1.26, 1.27 seems to be not very production ready... [08:56:09] ie: are there any versions that actively support that configuration? [08:57:03] jsl14: make sure you grab the version of the extension designed to match the version of mw you are running [08:59:54] I guess I can try redeploying 1.26 if that's a supported "stack" but so far I've just ran into this issue: https://www.mediawiki.org/wiki/Topic:Su2mdhksx4rz6wi6 [11:55:13] I have two templates and their two corresponding forms created, book and author respectively. Is there a way of showing the data of the author page stored in the author form on the book page as well? Some interlinking possible? [12:19:25] I have two templates and their two corresponding forms created, book and author respectively. Is there a way of showing the data of the author page stored in the author form on the book page as well? Some interlinking possible? [13:12:47] Hello everybody... ;-) [13:18:37] Hi lmarcini. [13:19:27] I have a noob question about farms (several instances on the same core) and I need "a little help from my friends"... ;-) [13:19:56] Hi Niharika. [13:20:40] lmarcini: Feel free to ask. If someone here knows and is online, they'll reply. [13:32:53] Ok. Thanks... [13:34:29] So, I want to know is there someone who uses the "SimpleFarm" plugin... I didn't understand all the documentation because it isn't really step by step. [14:08:12] morning [14:33:40] I have two templates and their two corresponding forms created, book and author respectively. Is there a way of showing the data of the author page stored in the author form on the book page as well? Some interlinking possible? [14:44:39] Ash__: not in standard MediaWiki (without black wikitext magic), try SemanticMediaWiki or Cargo [14:45:09] Ash__: are you talking of your own wiki or a Wikimedia wiki? [14:45:32] Nemo_bis: I am using semantic mediawiki but doon't know how to do it? [14:46:20] Nemo_bis: talking of my own wiki [14:46:45] Nemo_bis [14:52:49] Ash__: it's easier to do that with Cargo. [14:53:48] If you're using SMW, here is how you can do it: https://www.semantic-mediawiki.org/wiki/Query_linked_properties (it's a hack) [14:53:54] Yaron: can semantic mediawiki and cargo be used simultaneously [14:53:58] ? [14:53:58] Yes. [14:54:17] How can we do it with Cargo? [14:55:35] You would just have a query like {{#cargo_query:tables=Books,Authors|join on=Books.Author=Authors._pageName|fields=Authors.FavoriteColor|where=Books._pageName={{PAGENAME}} }} [14:56:07] There may be some typos in there, but something like that. :) [14:56:46] Yaron: I have taken the input as name of author and another input of his linked in profile, and i just want to display his name(clicking on which shouold open his linked in).is it possible? [14:57:01] and thanks for that query :) [14:57:42] Having a person's name be a link to an outside URL is tricky. [14:57:55] It's doable, though. [14:58:16] I'm not sure it's a good idea, but that's another story. [14:59:03] how? [14:59:11] is it doable? [15:01:35] In the case of #cargo_query, you could do: [15:02:43] {{#cargo_query:tables=Books,Authors|join on=Books.Author=Authors._pageName|fields=CONCAT( '[', Authors.LinkedIn_URL, ' ', Authors._pageName, ']' ) |where=Books._pageName={{PAGENAME}} }} [15:03:06] Assuming the name of each author's page is the name of that author. [15:03:17] that is so [15:03:35] but books and authors are not tables but forms [15:03:44] are they still jooinable [15:03:46] ? [15:04:17] If you use Cargo, each page type will have a form, a template, a category and a table. [15:04:59] so if I integrate cargo, all pages will automatically integrate table??? [15:05:32] Not automatically exactly - I mean, you need to put in the right tags within the template. [15:05:52] so i need to recreate all the templates? [15:05:57] But then again, that's really part of integrating Cargo. [15:06:06] Either recreate them, or edit them. [15:06:36] yeah, means edit all the templates is a difficult task [15:06:54] Yes, it's tricky. It gets easier after you do it a few times. [15:08:47] okay thanks for all the help [15:24:31] Hey guys, i am new to wiki but found a clear mistake in rdf dump for happiness: http://tools.wmflabs.org/wikidata-exports/rdf/show.php?file=exports/20160104/sample-wikidata-terms.nt [15:24:49] "mentale of emotionele staat van welzijn gekenmerkt door aangename emoties en poepsex"@nl . [15:26:00] last bit says that happines is noted as a state of nice emotions and 'butsex' : [15:26:15] so a content mistake instead of a technical mistake? [15:26:34] Yeah, sorry if this is the wrong place to ask [15:27:04] but could not quickly find where to go with these kind of isseus [15:27:34] hi dunc_ [15:29:26] hey! [15:29:38] dunc_: yes, it looks like a vandalism on wikidata, in this edit: https://www.wikidata.org/w/index.php?title=Q8&diff=180328084&oldid=178807318 [15:30:35] i have undone it now, but i have no idea how the wikidata-exports too works. it seems to be cached there at the moment [15:30:48] tool* [15:31:08] Yeah everybody who will download it this week will see that :S [15:31:19] But thanks for the help! [15:32:42] And while i am here. We have a database with entities from newsArticles and I am tasked with adding extra data to them (job desciption, age etc). [15:34:03] I can do it via the sparql endpoint but i would like to do it locally, so i got the json dumps but they seem to bulky for this task. plus its not linked data i would need to add properties we might want. Any suugestions? [15:49:59] is there a way to change attribution of changes from one user to another? [16:41:44] Hello im getting a Database query error when attempting to upload an ogg file [16:41:54] i have it listed in my localsettings file [16:41:58] any ideas? [16:55:29] kevindank, what is the exact error message? [16:55:34] which MW version? [16:55:41] how do you upload exactly? [17:00:12] Alright so let me back up....im using Semantic Forms to create A Video Upload Form. A Form on the field allows you to upload the file using Special:Upload, it inserts the url into the field and then the template handles it using [[File:FileName]] [17:00:45] What happens is that it displays the video file name that i uploaded however clicking on it takes you to a Create page [17:00:54] So i installed TimedMediaHandler and MWEmbedSupport [17:01:12] After installing TimedMediaHandler i get a Databa query error has occured message. [17:01:35] So i remove that from the equation, and attempted to use the html5 video tag as i have rawhtml turned on [17:02:05] the mp4 video doesn't show up...and when i attempt to use .ogg it doesnt show up either [17:02:51] thedj: you around? [17:04:24] when i inspect element on the html video player it looks like it is showing the redlink instead of the uploaded file as seen here: http://pastebin.com/0dB9DpuC [17:05:16] However i know it exists because i can go to the File Page directly and it shows the file size, name, file history etc. [17:06:02] kevindank: does the page your going to include the extension? [17:07:30] Betacommand: No at this point i took the extension out of the equation [17:07:45] now im attempting to have the uploaded file display on a page using rawhtml and the html5 video tags as seen here: http://pastebin.com/MXzNpHab [17:08:01] however it outputs it as a redlink on the actual page [17:08:58] but when i search for the file:filename it takes me to the file page and clicking the file name on that page even allows me to view the file in chrome (outside of mediawiki) [17:09:13] kevindank: depending on when the file is uploaded vs link generated it could be a cache issue [17:09:39] So im using Windows Server 2012 and XAMPP to power this site, it is internal only [17:10:09] what should i do to ensure if it is a cache issue it gets resolved? [17:24:00] alright so let me ask a simpler question...what is the best method to be able to upload video and display on page [17:34:58] kevindank, use youtube. [17:36:21] for anything else, you'll have to include some mediaplayer code into your website and most likely convert the videos using ffmpeg [17:36:29] (for example) [17:58:49] basisbit: These Videos arent something we want to upload to mediawiki mostly documents internal workflows [17:58:59] are* [17:59:10] so youtube really isnt an option [17:59:34] im having some level of luck with http://www.mediawikiwidgets.org/Html5media [18:00:29] however i need to modify the code: http://pastebin.com/zB0uk6cY so that url= shows the internal link [18:00:56] i.e using url=[[File:Filename.mp4]] [18:01:15] or figure out a way for semantic forms to pass the uploaded file path to the template [18:01:46] is there a way to change attribution of changes from one user to another? [18:17:47] is there a way to tell mediawiki not to override my own custom css? which is in a own screen.less file. The theme extends the Vector one [19:26:35] Can I install "Project:Support desk" on my intranet Wiki? Where to get it? [19:43:13] Betacommand: am now... [20:09:13] Hey! Can I ask for help here? [20:09:25] JulianEngel: yes [20:09:37] thedj: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#API_question you can use action=parse for that [20:12:15] I have a problem with a Wiki Site. I added an image and it suddenly started popping a text over my image... https://www.mediawiki.org/wiki/Skin:Modern_Skylight [20:12:46] and I can't remove that text. Any Idea? [20:14:09] Betacommand: hmm, i guess if you don't care about the templates, that might work [20:15:17] How would I do that then? [20:15:34] Sorry, I'm a total noob to wikimedia [20:16:15] You were right. It was the template... [20:16:20] Thanks [20:51:11] I like how that guy managed to fix his issue via a message that wasnt even meant for him [20:51:57] heh [21:06:28] Can I install "Project:Support desk" on my intranet Wiki? Where to get it? [21:07:11] Yes [21:07:26] I don't think there's anything that special about it [21:08:50] Reedy: is it part of mediawiki or external plugin or anything else? [21:08:59] !e Flow | EdEll [21:08:59] EdEll: https://www.mediawiki.org/wiki/Extension:Flow_ [21:09:05] ^ this extension [21:09:13] s/_// [21:09:34] Vulpix: tks! I'll search for this. [21:10:24] Vulpix: nice! Tks! Tomorrow I'll test it! Leaving now... [21:26:57] Hi - I seem to have forgotten my username and/or password on gerrit.wikimedia.org. [21:27:01] Which is strange. [21:27:11] How do I get it, or reset it? [21:27:59] you could probably still log in through the MediaWiki SUL [21:29:00] Platonides: you mean, log in with my mediawiki.org credentials? I tried that too... it didn't work. [21:29:01] err… no, that's phabricator, not gerrit [21:29:07] Ah. [21:29:25] gerrit doesn't have that option :) [21:29:37] https://wikitech.wikimedia.org/wiki/Special:PasswordReset ? [21:29:56] try that [21:32:38] Yaron: your Gerrit is account is the account used on wikitech [21:32:44] wikitech save that in the labs LDAP [21:32:53] and Gerrit relies on the labs LDAP [21:33:16] so what Platonides said should do :-) [21:34:01] Platonides: hashar: I hit the "Reset password" button, but I haven't gotten an email... [21:34:49] if the reset password of wikitech works, it should do it [21:35:18] t's possible that it isn't configured to store the new creds into ldap on «Lost password», though [21:35:34] Still no email (not in my spam folder either)... [21:36:14] PasswordReset works on labs, I had to use it once [21:36:26] or at least worked at that time :) [21:37:15] there are some issues going on with user sessions though [21:38:35] Maybe that's it... I certainly thought I knew my password. [21:38:55] I'm pretty sure it's still "hunter2". [21:39:07] (Little joke there.) [21:39:27] Yaron: Do you know unix too? [21:39:35] I know UNIX! [21:39:44] * Reedy grins [21:51:49] hello i just wanted to test this out [21:54:19] hello Siju_ [22:24:31] hello [22:25:23] is there a way to find out what brand the europe puzzle map is? the one that is posted under geography: individual continents? [22:25:35] idk [22:25:51] i just started here [22:25:56] it was posted by the administrator (i think) but i dont know how to contact them [22:26:26] im trying to buy a set of puzzle maps but it is SOOOO hard to choose which brand, especially since you cant really see anything in person [22:29:55] jo___: do you have a link to what you're referring to? [22:31:33] [This is probably the wrong channel, but if you're referring to something on wikipedia, I could probably figure out how you need to contact] [22:36:10] http://www.montessorialbum.com/montessori/index.php?title=File:Europe_Map.JPG [22:37:29] i would welcome suggestions as to which brand to buy as well, it would be better than what I'm doing now, shooting blind [22:40:08] jo___: You can maybe contact the admin, by leaving a message at http://www.montessorialbum.com/montessori/index.php?title=User_talk:MontessoriAdmin [22:40:31] If you have an account, you can also try http://www.montessorialbum.com/montessori/index.php?title=Special:EmailUser/MontessoriAdmin [22:41:38] [I should note, just for reference, that this channel is not associated with that website. They use some computer programs we make, but we have no contact with them, or know anything about them] [22:43:13] * RoanKattouw suddenly has flashbacks to his Montessori primary school [22:44:05] flashback lol [22:46:47] ummm, that map is mising a little bit of russia, that should be between poland and lithuania. lol [22:47:19] https://en.wikipedia.org/wiki/Kaliningrad_Oblast [22:47:39] (it's not *that* little to omit it. :P) [22:50:41] * domas looks [22:51:17] MatmaRex: I like that map! [22:51:33] that is pretty cool looking [22:51:57] also, Crimea being part of Ukraine [22:51:59] and few other things [22:52:22] that is presumably just it being a bit old. photo is from 2010 at the latest ;) [22:52:30] time to hop off [22:52:45] domas: haha [22:53:02] Bosnia's shape is strange, and Serbia is still with Montenegro [22:53:52] also Greece should be part of Turkey [22:53:54] * domas ducks [22:54:17] Cyprus is white [22:56:23] is this an IRC client? [22:58:14] do i have to do something [22:58:27] https://webchat.freenode.net/ thats what im using on browser [22:58:54] Siju_: IRC client is the program you're using to connect (or in this case, the webchat). you're now talking with us on the #mediawiki IRC channel, on the Freenode IRC network :) [23:00:01] thanks [23:00:34] so this is considered IRC even if i didn't need to download it [23:00:43] like im using it through chrome [23:01:17] yes [23:09:24] Siju_: Yes. But the download clients provide a much better interface [23:09:55] or at least many people think so. If you end up using irc regularly, I'd reccomend trying out one of the downloadable clients [23:10:45] the main advantage from my point of view of standalone clients is that you can close your browser and your irc client separately :) [23:11:22] very useful when you have tons of tabs and your browser just hangs : your standalone irc client won't, and you can kill your browser with no remorse whatsoever ^^ [23:13:15] * bawolff , as a fan of ChatZilla, often runs into that problem ;) [23:13:31] bawolff mwahahahaha :p [23:33:27] bit of a question on template internals : does {{{foo| {{{bar}}} }}} short-circuit the evaluation of {{{bar}}} if {{{foo}}} is provided when calling the template ? [23:33:55] or is {{{bar}}} evaluated first, then a chance is given to {{{foo|}}} ? [23:35:05] hmm, that's an interesting question. {{#if:...|yes|no}} does do dead code elimination, but not sure about the {{{foo|bar}}} case [23:38:14] i knew it'd pique someone's interest :) [23:38:47] Alphos: I just tested. Evaluation indeed appears to be short circuited [23:40:17] curious to know where that happens [23:40:50] parser? :P [23:40:56] lol [23:41:06] oooh, never woulda thought of that ! :D [23:41:26] dang, irc doesn't have Special:Thanks :D [23:41:46] Alphos: More specifically, probably in includes/parser/Preprocessor_DOM.php [23:42:04] (or preprocessor_hash if you're into hhvm) [23:42:14] i'll look at it right away :) [23:42:55] i've only been able to understand code again for a few days after months of being too dumb to do it, and now i've got the munchies for it :D [23:43:14] See also Parser::replaceVariables() [23:43:26] Well you're certainly jumping off the deep end now [23:43:38] This area of MediaWiki is rather complicated to understand [23:45:35] why do you think it got me curious ? :) [23:45:54] ::preprocessToXML() seems somewhat promising [23:46:06] try looking for the string tplarg [23:46:13] in the code [23:46:57] Hi. Could someone help me understand why the vertical axis of this graph is limited to 65K? https://ro.wikipedia.org/wiki/Utilizator:Strainu/2 [23:46:59] yup, in ::expand() [23:47:21] according to the docs, it should use the range from the data [23:47:43] Alphos: Also, you can get an example of the xml the preprocessor works on, using https://en.wikipedia.org/wiki/Special:ExpandTemplates [23:48:57] strainu_: interesting (Just because 65k is about 2^16. But I can't imaging anything would be using 16 bit integers) [23:49:46] bawolff: yes, I thought of that too, but using Module:Graph from en.wp I can draw the same values just fine, so it must be something with the graph definition from that template [23:53:18] bawolff Reedy Parser::argSubstitution() https://github.com/wikimedia/mediawiki/blob/master/includes/parser/Parser.php#L4168-L4183 yup, substitution short-circuits evaluation of subsequent params (considered children in the xml tree, if i understand correctly) [23:54:05] Alphos: yep (Whether or not its actually a real xml tree, depends on which preprocessor you use)