[01:03:24] I'm using a the infobox/album and I put {{#if: {{{Genre|}}}|[[Category:{{{Genre}}}]]|}} in there so that the genre field generates a matching category. That basically works, except when there are multiple genres, separated by a comma, instead of two categories, I get a single "Category: Genre 1, Genre 2." Where am I going wrong? [01:05:59] Also, if I use links [[Genre1]], [[Genre2]], it breaks the category tag entirely. [01:07:49] you need a separate [[Category:Whatever]] for each category [01:42:27] MatrmaRex (sorry for the delay, I had to leave the room for a while). I know each category needs to be separate. I thought it might understand the comma separated values to each be a different genre instead of lumping them together. [01:50:44] Since it won't, would something like this work to look for the genre name within the field and create the category tag for that? I'd have to add an #if statement for every genre, but it's better than having to manually put in the category link for every page. [01:50:50] {{#if: {{{Genre|*Example*}}}|[[Category: Example]]|}} [08:53:55] Hello and big thanks for the awesome software I've been relying on for 13.5 yrs nwo [08:54:12] Got an issue with the email parts not working [08:56:46] On http://develop.consumerium.org/wiki/ the email side works just fine [08:56:56] but on http://wiki.study it doesn't [08:57:25] I am looking at both of their LocalSettings simultaneously and cannot see any problem there [09:05:17] jubo2, have you checked your email server logs? [09:05:58] andre__: nope.. I don't have them.. I'm sending the emails via hosting guys' TLS protected SMTP server [09:15:31] I asked this in #semantic-mediawiki about 10 minutes ago, but nobody has answered and there are ten times as many people listed as being in here, so...I'm trying to use an arraymap to generate categories from infobox fields. I used {{#arraymap:{{{Genre|}}}|,|@@@@|[[Category:@@@@]]| }} on one infobox (album) and it did exactly what I'd hoped it would, made categories for both of the listed genres. When I added it to another infobox (mus [09:38:22] If anyone lurking is curious, there was a tag in the artist box template. Naturally it was right where I stuck the arraymap. [09:52:13] yeah.. [09:52:44] there is no "email this user" in the left nav menu.. And I do not know why because in the other wiki it works just fine [09:55:11] does the user have a emaoil attached with the user option for others to email them enabled? [10:00:07] p858snake|L2: good question [10:02:58] p858snake|L2: There is no such setting in Special-settings as "enable email from others" [12:37:37] !installer [12:37:37] There is no such key, you probably want to try: !install, !noshell, [12:37:48] Hmph. [13:49:16] how to use an extension , i already installed it and edited the localsetting.php file, [13:49:17] ? [13:54:39] sucode_, depends on the extension. [13:54:45] Which one? [13:54:52] simple calender [13:55:33] any link to its homepage? [13:57:36] i'm on the staff team for a private game server, and our previous website owner let the domain go. We decided to go with a mediawiki wikipedia type site for the new information database [13:58:01] i'm trying to convert some of the old pages to a mediawiki format, but they had javascript calculators for game characters and i'm struggling to get them working. [13:58:22] sucode_: https://www.mediawiki.org/wiki/Extension:SimpleCalendar ? Is your wiki installation public? What have you tried already to "use" the extension? [13:59:01] i got some of our other tools to work using the extension : Gadgets [13:59:47] but it was like freezing when i tried to create a page with some large scripts :( (a page to use with gadgets) [14:00:40] andre_: i have installed wiki locally on my system and don't know that it is public or not. I don't how to use an extension. [14:00:41] Is there another extension or an easy way to just let one page use a bunch of javascript? I could upload the sample page later or like pastebin its code [14:01:09] sucode_: What have you tried already to "use" the extension? [14:01:29] sucode_: or: which parts of https://www.mediawiki.org/wiki/Extension:SimpleCalendar are unclear? [14:01:30] andre_: nothing [14:02:24] you have to add wfLoadExtension( 'SimpleCalendar' ); to end of localsettings.php that part is easy ^^. you can do it! [14:02:37] Adelia: i done that [14:03:01] sucode_: have you read https://www.mediawiki.org/wiki/Extension:SimpleCalendar ? [14:03:08] make a page with {{#calendar:}} and bam ur done? lol [14:03:12] sucode_, because it shows examples how to use it. [14:03:13] andre_: i understand every part but how to use the extension [14:03:22] sucode_, see the examples on that page. [14:03:26] andre_: i went through page [14:03:31] just put {{#calendar:}} wherever you want the calendar to appear [14:03:40] sucode_: Yeah. But you replied "nothing" when I asked "What have you tried already to "use" the extension?" [14:03:50] So now I don't know what your question is. [14:04:24] Adelia: http://localhost/w/index.php/Main_Page/#calender: in this way [14:04:27] Andre when you're done with sucode can you give me a point in the right direction? =P [14:04:59] no no lol, edit the main page with ur edit powers, and in the wikimarkup code area add {{#calendar:}} to it. [14:05:14] @sucode [14:05:42] Adelia: I cannot, because I know nothing about your question :) [14:06:08] oh man it's been too long since i used IRC. [14:06:22] haha [14:06:52] sucode_, https://www.mediawiki.org/wiki/Help:Editing [14:06:52] I'm trying to make a page on our new mediawiki site that will be a video game character calculator [14:08:32] our private game server's old information website had its domain expire, so we made a new website. a mediawiki type instead of just php/html stuff... trying to convert all old pages into the new wiki [14:09:11] MatmaRex: Still not fixed, https://fa.wikipedia.beta.wmflabs.org/wiki/%D8%B1%D8%AF%D9%87:%D8%B5%D9%81%D8%AD%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%A7%D8%A8%D9%87%D8%A7%D9%85%E2%80%8C%D8%B2%D8%AF%D8%A7%DB%8C%DB%8C caching problem? [14:09:11] Adelia: when i am trying to save changes i got following errors: Notice: Undefined variable: class in /var/www/html/w/extensions/SimpleCalendar/SimpleCalendar_body.php on line 104 [14:09:28] it has like 1 html file, 5 javascript files if you include jquery, 1 css file [14:09:54] only way i got any of our old tools to work was by fiddling around with Gadgets extension and making new gadget [14:10:34] Amir1: yeah, the first-letter data is cached. is beta fawiki actually using the new collation at all? [14:11:29] sucode_: go to your wiki's Special:Version [14:12:17] sucode_: look for installed extensions category thing, see if you have your calendar installed lol [14:12:22] Adelia: It said no text o n the page [14:12:38] no text on your Special:Version [14:12:43] yeah [14:13:01] sucode_: that's bad, something isn't installed right lol [14:13:10] Adelia: http://localhost/w/index.php/Main_Page/Special:Version [14:13:16] how to debug it ? [14:13:35] sucode_: check out this link https://www.mediawiki.org/wiki/Special:Version [14:13:37] MatmaRex: I don't think so [14:13:40] let me fix it [14:14:05] sucode_: you'll see it has all the version data for mediawiki.org, (like installed extensions) [14:14:40] Adelia: but the page said no text and asking to create one [14:14:43] Hi everybody! [14:14:45] that's how it is supposed to look. [14:15:06] sucode_: the link i pasted, https://www.mediawiki.org/wiki/Special:Version, isn't your wiki [14:15:33] sucode_: just look at that page. You'll see that your wiki isn't installed right or something, or else you'd have some information here. [14:15:39] Amir1: and actually, it looks like FaCollation and IcuCollation('fa') will try to cache the first-letter data under the same key. i can't think of how that could cause problems in practice (there's only one collation in usre at a time per wiki, currently), but it's still wrong [14:16:01] sucode_: like mediawiki version, php version, api & script paths, stuff. [14:16:13] Anyone knows about semantic-ui.com? More specifically, anyone which would have tried a cross-implementation with MW? For fun? :P [14:16:31] MatmaRex: Yeah, I think it's cached in redis (not sure though) adding a key would solve it [14:16:34] no clue s3r3n sorry :( lol [14:16:39] but that would be for a later patch [14:16:40] Adelia : got thaat page [14:16:51] i'm trying to figure out a way to convert one of our old pages to mediawiki [14:17:40] sucode_: until you pick a hostname and make your wiki public i don't think this IRC will be able to help you much :( [14:18:00] how to make it public ? [14:18:34] Amir1: https://gerrit.wikimedia.org/r/327502 [14:18:53] Amir1: that should save us some caching pain when switching to this [14:19:38] sucode_: http://localhost/w/index.php/Main_Page/Special:Version does not make sense. http://localhost/w/index.php/Special:Version might make more sense [14:19:43] but depends on your configuration. [14:20:05] andre_ : you are very correct [14:20:09] i done the saem [14:20:11] same [14:20:19] MatmaRex: thanks! [14:20:21] Well, I'm tryin' to, for experimental purpose (integrating semantic-ui inside a duplication of Vector skin). But I'm getting trouble with the JS. I think it's elementary about how to load properly any JS into MW, but i'm a bit stuck. I've tried through ressource loader, I've tried through Commons.js etc. But it seems no JS is interpretated. CSS is ok. Any clue for me would be greatly appreciated. :) [14:20:28] andre: how can i make my wiki public [14:20:29] ? [14:20:58] sucode_, by setting up your web server software on your web server to allow accessing it from the internet. [14:21:13] i am sucking at js too s3r3n lol [14:21:22] ah ah :) [14:21:30] andre_: SORRY i didn't get that [14:21:38] maybe js sucks... i dunno [14:21:39] s3r3n: did you enable sitewide JS? [14:21:51] sucode_, then explain which part you did not get please [14:23:32] s3r3n: YOURWIKI/MediaWiki:common.js [14:23:57] sucode_: looking at https://github.com/OrganicDesign/extensions/blob/master/MediaWiki/SimpleCalendar/SimpleCalendar_body.php#L104 you maybe end up in the else loop, so $class is undefined. Maybe you should file a bug there. [14:25:01] andre__: Have you used Extension:Gadgets ? [14:25:03] Adelia: yes, I've tried to paste the min.js here, and even in my personnal common [14:25:18] Adelia, no [14:25:19] Adelia: I'm just giving it a new try... [14:26:15] s3r3n: I had to use a javascript to convert utc time into something called Swatch Beat Time... i used the extension Gadgets and made a new gadget with my JS [14:26:57] andre__: do you know a good way to convert a tool that uses jquery and 4 other JS files to mediawiki format? [14:27:26] andre__: i didn't want to enable site-wide JS because I don't want someone to go nuts with that lol [14:27:28] yes, I've not tried this yet, thanks for the advice, I will take a look. But i thought I would be easy to add a simple css and js file through a skin... ^^ [14:28:13] MatmaRex: https://gerrit.wikimedia.org/r/327507 [14:28:29] s3r3n: i had to edit stuff in either localsettings.php or defaultsettings.php, have the rights, and then add code to Common.js common.css and more lol [14:29:11] s3r3n: so i ended up getting Gadgets to produce some good luck for me, but the particular thing i'm trying to get working doesn't want to upload this ugly js code lol [14:29:34] Amir1: ok, i don't have the rights to deploy though [14:29:55] MatmaRex: It gets deployed automatically in beta cluster [14:30:10] Amir1: i don't have the rights to merge, either [14:30:18] andre__: it's very very similar to this site that I want to create as a mediawiki page [14:30:21] andre__: http://www.geocities.jp/psobb2007/ss/statussimulator.html [14:30:25] MatmaRex: if we need to run a maintenance script, I can do that [14:30:36] I ask RelEng people to do it [14:30:39] :) thanks [14:30:59] Adelia: ok thanks, I'm trying with Gadgets now, maybe i'll have more luck, I keep you in touch ;) [14:31:38] s3r3n: i'm leaving soon for work but i'll be back in like 4hours lol [14:32:23] Adelia: well, we'll see inch'allah ;) [14:32:49] s3r3n: oh i know i could register at your wiki to leave you a message lol? [14:32:58] Adelia: 4hours should be enought to try this [14:33:01] andre__: don't suppose you looked at that page? [14:34:14] Adelia: my wiki is a real mining ground actually, i'm sure you can imagine how holed it is! [14:34:23] Adelia: I do not have any knowledge of all this. [14:35:39] andre__: ok np, it's just a bunch of forms with choices that add or subtract from base values. I think i'll just slowly create a new one somehow using gadgets. It timed out twice trying to upload one of the JS files that was huge [14:37:19] andre_: i must do a PR or should create a new issue just ? [14:37:23] sucode_: good luck lol. Step 1.) find a web serverrrrrrr [14:38:10] sucode_: make your own machine a web server? Genius! Get a free dns? Genius! freedns.afraid.org [14:38:21] byeee [14:38:35] Adelia: i can also use github pages [14:45:45] andre: should i create an issue on GH ? [14:49:09] sucode_, don't know - I'm not a maintainer. I guess you could do both? [14:49:36] andre_: how can i make my wiki public ? [14:49:49] doesn't get anything earlier [14:52:07] sucode_, what is "public"? On the internet? [14:53:00] sucode_: which web server software do you use? [14:53:13] andre_: apache2 [14:54:47] public: available through CW [14:55:01] cw ? [14:55:10] Clear Web ;) [14:55:37] The public web as we know it and like it [14:55:55] It was a joke, sorry... :) [14:56:50] Okay... I leave now. :P cya [15:30:19] could anyone familiar with edit count direct me to a revision that had a slightly more polished output? it used to have a disclaimer and only account (I think) for the (main) namespace edits. I'd like to restore that appearance if at all possible, and will attempt to modify it myself, I just can't find the change in the github repo [15:38:38] I've been told by others that it used to look differently, something about not judging a book by it's cover, and that's what I need to restore. Any guidance would be appreciated. If I'm talking nonsense that would be good to know :) [15:40:20] ...sigh. Different extension. I'ma go hide now. [15:40:26] thanks anyways! [17:03:53] So I was wondering how I can unset a group even when its defined by an extension? I've tried unset and it doesn't seem to work. [17:04:05] what sort of group? [17:04:12] staff [17:04:17] for SocialProfile [17:04:29] wgRevokePermissions? [17:04:36] hmm [17:04:52] I guess, but I kinda wanted to get rid of the group altogether. [17:04:59] ah [17:06:28] It depends where socialprofile defines those rights [17:07:04] Yeah. [17:07:12] I can't seem to find where it is defining them [17:07:13] Are you doing an unset right after the require of the PHP entry file? [17:07:19] oh [17:07:22] that could be why [17:07:24] https://dpaste.de/hWgp [17:07:43] https://phabricator.wikimedia.org/P4628 [17:07:57] I would've thought unset( $wgGroupPermissions['staff'] ); would've been enough [17:08:16] Oh [17:08:46] I'll try unsetting it after the require [17:08:54] Are you doing it before? [17:08:56] lol [17:09:15] Yeah. I'm still learning [17:10:04] :) [17:11:17] Seemed to work. [17:11:19] Thanks [17:11:36] heh [17:13:38] Reedy strikes again [17:13:46] Ulfr: If I had a dollar.... [17:14:06] xD You work in open source. you opted out of bein greedy [17:15:00] xD [17:15:09] that should be sent to bash [17:19:05] Ulfr: Open Source has been paying by bills nicely for years [17:33:47] Reedy: I know opensource pays pretty well, I'm just happy I get to pick your brain for the low price of mild mockery [17:34:33] Hahaha [18:01:14] what sort of problem this has : https://phabricator.wikimedia.org/T131433 [18:09:14] sucode_, which part / sentence / words of the task do you not understand? [18:09:25] sucode_, in general, also see http://catb.org/~esr/faqs/smart-questions.html#explicit [18:10:46] andre__, remember to tell people that esr writings may cause allergies ;-) [18:11:54] kim_bruning: you seem to mix up ESR with Richard Stallman? [18:12:04] actually no. [18:12:29] people may or may not like what RMS writes, but I don't think anyone complains about how it is written [18:12:41] heh. [18:12:54] ESR otoh seems to rub a certain subset the wrong way. [18:13:04] andre_: the first comment: It seems like there would be other parameters that should probably be LTR as well, such as callback? what is `callback` here ? [18:13:17] kim_bruning, anyway, the section I posted is relevant and okay'ish written, I'd say :P [18:14:04] andre__, Just saying, I've had reports of people seeing red before getting halfway in that particular section [18:14:21] * andre__ shrugs and never reads complete pages [18:14:26] andre__, Not saying anything in particular by that. Just a data point to consider. [18:14:43] oh #explicit by itself maybe not [18:15:31] sucode_: callback is a parameter here. Are you looking at the code right now? [18:17:58] andre_ : no not code right now. I am now trying to underestand the problem. And where can I found the code for it ? Till now i opened the page Special:ApiSandbox locally and see some settings out there. [18:24:25] sorry to drop by for a question like this: i try to find the api url for the current wiki since some minutes https://wl.widelands.org/wiki/Main%20Page/ without success :/ [18:29:43] jubalh, hmm, can [18:29:57] jubalh, hmm, can't find it either. my usual methods don't see to work [18:30:56] sucode_, what have you tried already in the MediaWiki core codebase to find the code? [18:31:19] kim_bruning: its strange isnt it. is it possible they deactivated it? [18:31:38] sucode_, SpecialPages are normally under /includes/specials/ [18:32:19] jubalh, they're doing a url-rewrite [18:32:25] jubalh: Ask the maintainers if $wgEnableAPI = false ? :P [18:34:15] andre__: got the code thanks ; i am searching in /include/specialpages [18:34:28] yw [18:36:16] jubalh, are you sure it's mediawiki? [18:36:52] oh well, i thought so [18:36:57] i will try to find the maintainer of it [18:54:26] hi! [18:58:56] can i have support here for some mediawiki extension? [19:04:19] !ask | cronolio [19:04:20] cronolio: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [19:08:58] our side mediawiki installation is use SyntaxHighlight extension. i try to write lexer for pygments. my question is this extension use same library as (https://bitbucket.org/birkenfeld/pygments-main should i contribute here ?) [21:11:42] I'm looking for a little bit of assistance with converting some javascript calculator to mediawiki, anyone good at this kind of stuff? [21:14:36] Adelia, the question is why, I don't really get your idea. [21:16:40] divadsn: okay, we are building a mediawiki site for a private game server. Our old website filled with game information and tools had its domain expire and the owner is MIA [21:17:26] divadsn: so i'm trying to take all the old data from that website and turn it into a real mediawiki, but i'm trying to add our old calculators for stat points and level ups and what not... but i don't want to enable site-wide JS [21:17:38] divadsn: because of potential abuse/security issues. [21:18:05] divadsn: i'm trying to make a page that is really similar to this one, http://www.geocities.jp/psobb2007/ss/statussimulator.html [21:18:29] you need JS to do that [21:18:59] of course, i was using the Extension "Gadgets" and had a little success implementing a little javascript. [21:19:33] site JS is only editable by admins (by default). If you do not trust them, you can add additional JS files from PHP https://www.mediawiki.org/wiki/Snippets/Load_an_additional_JavaScript_or_stylesheet_file_on_all_pages [21:19:34] But i haven't been able to get any of our old difficult calculators to work properly :( lol [21:19:34] Adelia, we the developers of MW run even our top-secret, non-public sites with site JS enabled [21:20:13] I was just concerned some clown would create some malicious JS page and ruin me lol [21:20:37] thanks for that link, i just need a push in the right direction :) [21:21:07] any chance you have a good link for learning how to do jquery stuff with the resource loader? [21:22:09] https://www.mediawiki.org/wiki/ResourceLoader/Modules [21:22:52] excellent =D [21:23:48] you can also remove the editinterface right for admins, and enable it only to a specific group, in case you don't trust all your admins to edit the interface [21:24:03] Ah i was just about to answer your question Adelia my bouncer was lagging but Vulpix beat me [21:24:14] :) [21:25:36] one quick last question... Is it possible to have the MediaWiki:Sidebar have a link in the "headings" part? [21:25:54] Or does it have to be like *Downloads **Downloads | Downloads [21:26:40] hello all, I'm trying to make it work the moderation Extention on mediawiki and I'd like to be notified if there's any moderation pending [21:26:41] no, links in headers are not supported [21:26:42] is this possible? [21:26:50] Vulpix: thanks^^ [21:28:02] samba_: looks like that extension will do what you want. Did you have problems using it? [21:28:27] I did a test and I got no notification, which groups should be notified? [21:29:19] samba_: the sample configuration seems to only allow Administrator/Sysop to view the new page for Accept/Refuse moderation [21:29:37] samba_: did you use that? [21:29:54] yes, but no notification came up [21:30:26] now I see there's 3 new groups: moderator, automoderated user, checkuser [21:30:38] samba_: does your wiki now have "Special:Moderation" [21:31:56] yes, it haves [21:32:06] I can see the pending task for moderation [21:33:08] samba_: that's the area where you will approve/deny requests from users who are under the level of Sysop i believe =D [21:33:50] that's ok for me, but I'd like to be notified when there something to moderate [21:33:57] for now there's no notification [21:34:03] samba_: i'd probably be trying something like that, but my Wiki Team is 2 people including myself lolz. So we don't have a lot of problems with random people making poor choices. [21:34:06] I have to visit the page to know that [21:36:30] samba_: https://www.mediawiki.org/wiki/Extension_talk:Moderation [21:36:56] samba_: this page was updated yesterday, it has reference to the feature you want. Perhaps it will be implemented soon? =D [21:37:23] samba_: Btw, User:Vedmaka has implemented the emails part (many thanks!). See comments for $wgModerationNotificationEnable, $wgModerationNotificationNewOnly and $wgModerationEmail in Moderation.php for details. Edward Chernenko (talk) 18:44, 4 March 2016 (UTC) [21:37:33] samba_: there ya go! lol [21:37:41] oh [21:37:51] nice [21:38:13] samba_: i got lucky finding that, =D [21:38:20] yes [21:38:23] many thanks! [21:38:28] npnp^^ [21:38:31] :) [21:38:39] got to go, thank you again! [22:14:08] Contributing to MediaWiki makes more fun than I have expected at the beginning :D [22:14:30] divadsn: I don't know if we should be pleased or annoyed... ;) [22:18:17] Adelia: thank you for mention ;) [22:22:35] alright i'm gonna try to get my nifty character calculator on my wiki. I hate javascript so much ughhh [22:23:20] Vedmaka: you're probably pretty pro, help a little guy out =P [22:27:07] Adelia: I guess you've considered it as an option, but just in case: since it's a standalone page, if that's difficult to integrate, you can just maintain it as a plain HTML page somewhere in the website where the wiki resides, and continue linking to it from the wiki [22:34:55] Vulpix: that's my "i give up" option. It can't be that hard, I'm just new to wikimarkup and such [22:35:50] Vulpix: but i've learned a crap ton in a short time, i know i'll find a way to make some stupid scripts work. Its just dropdown menus and math! lol [22:37:09] it's working on the existing page, I guess you only want to "inject" that in a specific page [22:38:33] i need to add that type of page to my wiki, the previous site we used was doing a bunch of php with some big ugly files holding item data lol [22:43:30] Reedy, lol not annoyed, pleased :D [22:50:04] hi - i have a short question on how to download the table content of all german cities from wikipedia [22:51:44] hello [22:51:46] ? [22:51:59] hi simon2355 [22:52:47] Hi - may you be able to help me? [22:53:05] short question, but probably long and very involved answer :) [22:53:37] i did that quite a long time ago - and i remember it was just one querry... [22:54:23] what do you mean by "table content"? [22:55:12] on the right side of the wikipedia text there is allways a table [22:55:30] containing zip-code, number of inhabitants etc. of the cit [22:55:32] city [22:57:21] that's probably in wikidata.org, but I haven't explored yet ways to download that [22:57:42] ah ok - i will check!