[02:07:35] hello, I am operating a mediawiki site that is required to be on PHP 5.4; how would I be able to enable a CAPTCHA or other anti-spam measure onto my site? [03:22:47] when does aklapper come here ? [04:16:55] gry: In ~3-4 hours I expect. Anything you wanna ask, please ask. [04:17:16] it is follow up on his phab comment, I will ask him when he comes. thanks Niharika :) [04:18:33] gry: Other people might also know, so better to just ask always. If nobody knows, Andre can answer when he comes online. [04:19:38] i'm just stuck explaining him https://phabricator.wikimedia.org/T154549 over the messages on the webpage, he doesn't get it - i want to have boards for each project so that i can help my favourite projects better. i don't have a specific task in my mind [04:19:57] the people keep putting obstacles on that way as if it's super hard to maintain these tags [04:20:19] and directing my frustration straight at the people doing it more seems more appropriate than directing it at everyone else at once :) [04:22:34] :) Okay. [04:23:33] though perhaps if you are willing to volunteer, or anyone awake at all, comments on https://phabricator.wikimedia.org/T152157 are welcome (I didn't articulate the issue so well) [08:17:44] Is there any further documentations about MobileFrontend (suck as configuring $wgMobileUrlTemplate) ? [10:49:07] WATS [11:14:41] andre__, hi, re https://phabricator.wikimedia.org/T154549 I wrote it three times I can't write about it anymore on the website. I would like wiktionary and a few other small wikis to have their own tags so that I can identify which issues I am able to assist these smaller wikis with and help favourite projects better. I do not have concrete tasks or examples in mind, for that reason. You keep asking for the [11:14:47] m -- I do not have ANY. Please ask something else. Thank you. [11:16:34] andre__, the purpose of this is getting me to learn what these projects need. I do not know that information beforehand. I think if these tags become available then these projects may start filing their technical tasks there and identify existing tasks as helpful for them. [11:21:36] gry: that means that nobody plans to set that tag? Or that everybody will throw the tag on every task because "but that extension is deployed on Wiktionary"? [11:21:42] That's not very convincing... [11:22:12] These "projects" (people?) can also start filing their technical tasks currently without that tag. Does that happen? [11:22:22] andre__, so long as that bug interferes with work of that project. if an extension acts up in a way that makes it hard for contributors to work, it can be tagged with that project [11:23:17] andre__, and if it's 'one of many bugs affecting wiktionary' it makes it harder for me to pick it up. say, flaggedrevs breaks, but i don't really use it on wiktionary myself. currently i have no way of knowing that other people at the project need it fixed for their administrative work [11:23:37] If FlaggedRevs breaks, it should be filed under the FlaggedRevs project in Phabricator. [11:23:58] andre__, yes, and i would lack motivation to contribute to that bug - because i don't know that the project i am with needs it [11:24:01] gry: ...and if any active admins of Wiktionary want a #Wiktionary project they are free to request that. [11:24:07] it would be one out of a million [11:24:18] so you need active admins to request ? [11:24:32] gry: I need anyone who can provide a convincing use case for a tag. [11:24:44] I won't create a massive amount of tags for no particular reason, or because they "might" get used. [11:25:01] Categorization for the sake of categorization does not help anyone but just creates more work or wrong expectations. [11:25:08] you need 1 admin ? 2 admins ? 50% of admins ? consencus by means of vote on tech village pump ? [11:25:16] what is most convincing for you ? [11:25:38] does each tag have a mentor / a person responsible for maintaining it ? [11:25:49] or tags fly in open space without being attached to an account ? [11:25:54] gry: as I wrote already, I don't need X number of admins. But people who explain how exactly they want to use a specific proposed tag. [11:26:05] Tags are not attached to accounts. [11:26:21] i already explained, a group (working group) of technical people within the project will gather to find how to make their project better [11:26:26] they can't surf mlllions of tasks [11:26:30] or take notes on wiki pages [11:26:33] this is not comfortable [11:26:47] gry: so such a working group exists? [11:26:57] in which project exactly? [11:27:35] there is me interested in 1-2 projects personally, i do not know about the other 6 or 7 projects, not to mention foreign language ones [11:27:44] in that case (and if the working group can explain what happens after "find how to make their project better"), feel free to request a specific tag for that specific project. [11:27:48] i am weakly exposed to what tech tasks these projects need [11:27:57] i want to offer my technical help [11:28:01] but i am unable to do so [11:28:08] because i can see wiktionary is crap for years [11:28:17] it's impossible to edit without spending a week reading docs [11:28:25] and I don't see how throwing random tags at tasks helps to offer technical help... [11:28:26] and i still don't know what they need to move off [11:28:34] because anyone will randomly tag tasks. See #Commons. [11:28:47] well they need to organise a working group which would maintain these tasks [11:28:49] each of them [11:28:52] that's why a scope is needed for a tag, connected to a use case. [11:28:55] i can attempt proposing that [11:29:01] on each wiki [11:29:07] but i can only do it in 1 language, or 2 languages [11:29:23] i am unfamiliar with the infrastructure required for multilingual message delivery [11:29:37] do you know what mechanism would be useful for that? [11:29:38] If someone commits to regularly going through existing and newly created tasks and adding a #Wiktionary tag, and removing the #Wiktionary tag from tasks that should not have it, that would sound totally fine. [11:29:45] yes [11:29:53] but i can onyl reach out to english and russian wiktionary [11:29:57] the rest would be unaware [11:30:05] how do we remedy that? [11:30:20] what tools exist for contacting the whole language family at once? [11:30:24] but again, I won't create gazillions of tags in Phab if noone cares about those tags. So specific requests with clear info how those tags will get used and by who are welcome. [11:30:28] No idea [11:30:42] i want to ask them all whether they're willing to join forces and form a technical group [11:31:21] to not drop this task in the middle, where is such question about message delivery best placed ? [11:31:46] i appreciate you walking me through this -- works a bit poorly due to my lack of understanding, but far better than on the web page [11:33:06] (Hmm, why would you want to organize on a language level?) [11:33:50] https://meta.wikimedia.org/wiki/Talk:MassMessage maybe? [11:34:02] yes but i do not know how mass messages are translated [11:34:14] and i think all wiktionaries (in any language) face similar technical problems [11:34:26] so they could join together to form a techgroup [11:34:55] i will ask on that page as a start; thanks andre__ :) [13:31:12] is there a mediawiki semantic channel? [15:00:21] this may seem minor, but would i be able to get assistance with the ReplaceText extension? [15:10:46] after attempting to use ReplaceText, i received an error saying "A database query error has occurred. This may indicate a bug in the software." [15:30:08] !errors | factodef [15:30:08] factodef: To see PHP errors, add this to the very top of LocalSettings.php: error_reporting(E_ALL); ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [15:30:25] in particular, you want $wgShowSQLErrors = true; [15:31:11] thank you, if i were to explain my situation and show the variables i created, would you be able to find the issue? [15:31:47] it might be a bit simple [15:33:10] well, you get a db error. the best thing to do is: find out what the db error is. [15:33:34] i think it may have been from putting a | in [15:33:36] I don't know anything about ReplaceText, so I don't think I can help you with that specifically. [15:34:18] i see, it's mainly PHP/mysql coding from what i know [15:34:32] If putting a | into something via the user interface causes an internal database error, somethign is seriously wrong. I would advise you to not use an extension that is this brittle. It's bound to be insecure. [15:35:04] Well, all of MediyWiki is mainly PHP/MySql. That doesn't tell my anything abotu the extension. [15:35:40] factodef: i'm trying to help you to find out more about your problem, so you can ask more precise questions. [15:35:48] i'm not going to investigate the extension as such, sorry [15:36:48] that's alrigh [15:39:56] by coding, i meant as far as the actual comments went they're mysql-styled variables [15:40:01] https://www.mediawiki.org/wiki/Extension:Replace_Text [15:40:34] this is the extension i'm working with, i will elaborate on my issue [15:41:43] i have to switch around values in a template so that instead of a row saying "A (as B)" it says "B (A)" [15:42:35] ReplaceText should have been able to do this automatically, as opposed to me doing so manually for the multitude of pages [15:54:11] to do this, i put "(.*) \(as (.*)\)" as my input and "$2 ($1)" as my output [15:55:00] however, nothing picked up [16:02:09] https://cdn.discordapp.com/attachments/209144353170391040/275656831227920395/Screen_Shot_2017-01-30_at_10.01.34_AM.png [16:02:12] this should work [16:05:45] well, it broke a bit when there were multiple parenthesis in the column, but i think it'll get the job done [17:31:41] i'm officially confused [17:32:17] {{/page|welcome|The 'Welcome to MediaWiki' message.}} [17:32:21] no idea how this works [17:32:26] from https://www.mediawiki.org/w/index.php?title=Project:Main_page_templates&action=edit [17:36:53] The winners of GCI has been announced, congrats to all GCI winners and finalists :) Greetings from Italy, I need a break from everything :D [18:16:04] hi [18:19:57] I need some help editing a wiki powered by MediaWiki. I'm creating an infobox template (check it out here: http://en.lfsmanual.net/wiki/Template:League_infobox ), but I'm having some trouble making both the parameters and names (in both columns) invisible when there is no input. I managed to hide the parameter with {{{par|}}} but not the first col. Thanks for your advice. [18:22:22] It would be cool if someone could give me an example how to hide both when there is no input :) [18:30:23] hello [18:31:10] Mandula: you have to install the ParserFunctions extension, then use the {{#if:}} parser function [18:31:15] !parserfunctions [18:31:15] "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [18:31:42] https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if is a better link [18:31:53] ah [18:32:31] unfortunately I'm not the admin there, but I'll pop him a message about this, maybe he can help :) [18:32:35] thanks for your answer! [18:35:10] also, if there is a ParserFunctions extension installed on a wiki, how can I do such a thing? I'll check out other wikis how they use the #if function but I'm not sure I can do it myself :) [18:44:19] i am having a heck of a time with a sidebar template [18:51:17] has anyone here used xdebug [18:51:53] not me [18:52:00] bb guys, thanks for your help [19:01:06] Hallo people, need some advice from you. [19:02:00] We have several category pages with templates in it. These categories are about people. The template {{birth}} gets the date of birth. [19:03:40] Is there any way to get the list of categories with the given date? [19:04:03] In other words, the list of categories with some string in template in category page. [19:04:19] Thanks! [19:34:36] PMZ: you want to find category pages based on the value of a template parameter? [19:35:07] That's the kind of thing that SMW is made for. If you have more similar needs, consider usign that. [19:35:08] !SMW [19:35:09] There is no such key, you probably want to try: !sb, !sm, !smw, [19:35:13] !smw [19:35:13] SemanticMediaWiki is an awesome extension that lets you connect wiki pages with semantic relations. See and . Mailing lists are available at [19:35:27] For just this one search, it'S probably overkill, though [19:35:44] Exactly, list of categories with template parameter inside. [19:36:51] Looking at SMW, I see it really is an overkill. Hoped to find something easier :-) [19:37:34] MediaWiki doesn't store template parameters separately, so there's no good way to query for it. [19:37:45] all you can do is a fulltext search for the string in the category namespace [19:38:39] if you are using Cirrus search, you could probably do something hacky, like make the template emit an invisible the-birth-date-is-07-12, and then search for that... [19:39:25] PMZ: you may find a way to make DPL work for you [19:39:27] °dpl [19:39:30] !dpl [19:39:30] The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [19:39:46] Thanks, Daniel. Will check. [19:41:49] PMZ: here's a hack: your template could turn the date into a link to a (non-existing?) page. you can hide that link with css (or not, and actually put something on that page). [19:42:02] you can then use backlink search ("what links here") to find the categories [19:42:09] Daniel: what command for DPL may you suggest? There's a German documentation, and as long as I will do my best to read it, maybe you have a good advice with this. [19:42:23] you can also use DPL to generate such a list based on backlinks - and put that list on the dummy page :) [19:42:38] sorry, I have never used DPL [19:42:52] there is *only* German documentation?? [19:43:03] English does not work for now :-) [19:43:20] I. e. for DynamicPageList2. [19:44:29] Oh thanks, looks like DPL is good for me! [19:44:34] PMZ: DPL3 seems to have extensive english documentation http://help.gamepedia.com/DPL:Manual [19:45:16] DPL3 yes, and DPL2 not. Anyway, I do see the light already! [19:45:56] PMZ: as a general rule, MediaWiki doesn't know or care much about template parameters. But as soon as you turn something into some kind of link (page link, template reference, interwiki, image, whatever), you have it in a database table, and you can work with it. [19:46:18] ...even if the link is "red".