[03:33:08] So, apparently Asirra died. Anybody have a good replacement for spam protection? [04:44:37] I am having a bit of an issue, wonder if it's a bug or anyone has seen it before. I have pages that have categories dynamically added or removed (so not done as part of editing the page, rather it's from an included template that has an if statement that adds the category). When the condition becomes true and the category is added, it appears on the page but the page does not appear on the category page. [04:44:44] Purging the page does not make it appear on the category page, but a null save does [04:50:39] Revision::doEditUpdates() doesn't seem to help either [04:53:00] no, I take that back, works fine with doEditUpdates() [05:02:44] anyone here that knows how to correctly use the Perl Mediawiki::API with nonstandard characters? [05:15:58] what do you mean by nonstandard? [05:16:04] I'm pretty sure I've used unicode with it in the past [05:20:41] Sugo: I was grabbing some stuff through LWP::UserAgent, which probably means that whatever blessing needs to be conferred onto utf8 was not present... fwiw, "use utf8" was there, but it seems that skip_encoding cannot be passed to MediaWiki::API's ->get_page ... I'm not sure if that's enough context? I'm guessing here at what the problem actually is... [05:21:37] should probably pastebin some code... [05:21:40] okay keep in mind I haven't used mediawiki::API in like 3 years. what piece exactly is in unicode? [05:22:08] and yeah go ahead and pastebin it [05:31:52] Sugo: https://dpaste.de/PewV [06:14:12] hello Nikerabbit [06:14:12] this is in reference to https://gerrit.wikimedia.org/r/#/c/166990/ [06:14:12] please clarify my doubt on unnecessary use of str_replace in the above patch [06:14:36] hello Nemo_bis , would be great if might also help [06:40:59] I have a template whereby people can create an "about" box for themselves for their userpage. this can include a photo. I'd like to create a gallery of such photos that link to the appropriate userpage [06:46:01] as a noob, it's not clear to me how best to go about this. https://www.mediawiki.org/wiki/Extension:CategoryGallery seems to be along the right lines, but AFAICT it would give me links to the image file itself rather than the page that includes it. ideally I'd like to pull out other information specified in the template such as "name" for captioning [06:52:44] if I didn't have to add categories to photos that would be even better. any ideas? [11:08:25] Are there settings to control the "search types": the predefined namespaces like Content pages Multimedia Discussions Translations Everything Advanced ? [11:08:34] I want a tab "Categories" [11:09:09] Categories is a single namespace, it doesn't make sense to use a tab just for that [11:12:15] It does cos people don't the overloaded namepsace selector in "advanced" [11:12:29] **use [11:13:22] And regardless of that. Is it possible? What if someone adds custom NS which are important [11:15:36] Apparently there's no config setting for this, maybe you need a hook for that [11:16:05] A hack? Yes. As always. MW doesn't even have a category search [11:16:15] ;) [11:16:40] I have to take holidays to update MW! [11:18:12] I said hook, not hack ;) [14:50:21] Is there another way to use regex replacements than https://www.mediawiki.org/wiki/Extension:RegexFunctions ? [14:54:40] Subfader: Like, replacing text on the page with a regex? [14:54:45] That seems backwards to me [14:55:26] Why? Sometimes I need regex to replace strings. Why is that bad? [14:55:46] Wikipedia templates all do without regex? [14:56:59] I have rtouble trying to fix the extension to use preg_replace_callback [14:58:49] MediaWiki extensions are so broken it hurts. One day they all need to be flushed. Just like jQUery did ;) [15:04:52] Oh, in template calls, that sorta makes sense [15:05:14] Subfader: I don't know if there's another way to do that...I guess with lua, you could [15:05:17] !lua [15:05:17] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [15:08:48] Might be great for WP but just more complex stuff and server trouble for the normal MW user. [15:09:46] But MW is not written for MW users... [15:11:46] Subfader: Scribunto isn't hard to set up, and it has regex functions... [15:13:33] Might look into that later. Atm I just want to finish my damn upgrade. [15:13:41] Thanks tho [16:04:17] could anyone help me with AWB, i have a screencast url https://join.me/785-823-002 that is paused but I need some help and I was wondering if someone culd help me visually walk through it [16:04:51] and I can explain the issue here at the link as well [16:06:58] anybody? [16:07:41] Woot! LiquidThreads is nor more maintained? So after 13 or so years, MW still has no working forum extension. [17:22:24] Nemo_bis: Hello [17:24:01] I want to ask about the project "Extensive and robust localisation file format coverage" [17:24:16] That what are your plans about this project? [17:25:06] I want to get more familiar with it so that I can think of something innovative and beneficial for the project [17:25:44] And propose a good proposal for FOSS OPW Round 9 [17:39:29] Hello! anyone there? [17:40:01] Who can introduce me to the project a bit more [17:40:24] about its upcoming features, ect [18:51:50] Hi, when uploading images to my wiki I get this error: Could not acquire lock for 'img_n.png.' - What does that mean? I get the same error for any image I try to upload. [18:57:32] Err, anybody? I've never heard of this issue before - Wondering what a "lock" is and why it's not working for files. [19:46:36] Repost: When uploading images to my wiki I get this error: Could not acquire lock for 'img_n.png.' - What does that mean? I get the same error for any image I try to upload. [19:47:04] !filepermissions | Brynn [19:47:04] Brynn: http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security [19:47:12] I would guess that could be the issue [19:51:10] marktraceur: Ah, that fixed it. Oddly it was working before -- But now it requires that PHP owns the folder. Thanks! [20:53:44] alisha [gone but hey, logs], I stand my suggestion on the next steps