[00:05:29] hi everyone , there is way to watch all pages of a category just by subscribing in that category? [00:12:54] WikiPRF: https://www.mediawiki.org/wiki/Category:Category_extensions doesn't seem to show anything else other than CategoryWatch [00:13:01] Your best bet may be to get that working [00:13:54] but this extension looks like deprecated , I affraid of that [00:15:16] I seen Related changes but may be this don't work in recent version [00:50:47] hi everyone , there is way to watch all pages of a category just by subscribing in that category? [01:07:58] hi everyone , there is way to watch all pages of a category just by subscribing in that category? [01:34:23] hi every one [01:34:42] there is a way to subscribe in a category and take changes in pages in that category? [01:49:42] there is a way to subscribe in a category and take changes in pages in that category? [03:26:58] Hi everyone! There is way to prohibe logged common user to create categories ? [03:55:15] howdy, how can I (or you), revert https://www.mediawiki.org/w/index.php?title=Download/fa&action=history ? [03:55:43] I try to revert it but MW forces me into translation editor [04:06:41] ugh I don't understand Translate [04:07:18] can anyone please revert the vandalism from [[User:31.2.202.27]] please? [07:02:41] nakon, that user is banned now [07:03:20] contribs look like they're all removed [11:56:43] Oh [11:56:49] This channel is not +t [11:56:58] :D [11:57:51] Now I am the one that set the topic lol [11:58:28] Hi all [11:58:55] I have a problem with my userbox https://meta.wikimedia.org/wiki/Template:User_SW [11:59:39] On Rusyn Wikipedia (rue) it shows Ukrainian parameter, while the template is already translated to Rusyn [12:00:48] Same problem appears on Wikipedias: jam, gom, and in languages sli, vmf [12:01:29] Does anyone know why it hapoens? [12:08:11] Reedy Krenair Nemo_bis: might want to fix the channel modes [12:09:49] RobotsOnDrugs: Maybe we can alert ops by using the stalk word [17:57:01] Anyone know who I can email about volunteering? I already secured a volunteer position but lost the contact. [18:12:36] hey guys [18:12:43] anyone here familiar with SQLite [18:15:18] can anyone help me get a copy of Scribunto for MW 1.26? [18:15:27] the link isn't working [18:21:50] https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto doesn't work? [18:22:03] oh, guess not [18:23:08] Guest64833: try https://github.com/wikimedia/mediawiki-extensions-Scribunto/archive/REL1_26.zip [18:30:15] Skizzerz: awesome, thanks! [19:13:25] hey so apparently I'm having trouble with User tables on my wiki family it has multiple databases and is using SQLite. I need help getting the user tables merged. [21:33:13] hi, is there a way to let autocomplete include redirects as well? [21:35:04] Hi auvajs. [21:35:06] You already asked this. [21:35:17] I pointed out that test.wikipedia.org search results include redirects. [21:35:27] Do you have a link to your wiki? [21:36:55] Leah: probably I wasn't there and didn't see your answer [21:37:22] Leah: pravnickyslovnik.cz [21:37:53] Leah: for example "ublížení na zdraví" is a redirect [21:38:15] when I start typing it, it's not autocompleted [21:40:42] auvajs: "Zumessung der Strafe" is a redirect, right? [21:40:51] And it shows up in autocomplete? [21:41:03] yes [21:41:29] hm.. so only some redirects are not shown [21:41:51] The opensearch code suggests it doesn't resolve for json [21:41:54] Did you recently enable titles that are all lowercase? [21:41:57] which autocomplete would be using [21:42:18] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=ubl%C3%AD%C5%BEen%C3%AD+na+zdrav&namespace=0&limit=10&suggest=true fails. [21:42:32] I've been using lowercase titles for a long time [21:42:33] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=ubl%C3%AD%C5%BEen%C3%AD+na+zdrav%C3%AD&namespace=0&limit=10&suggest=true but exact match works. [21:42:49] Maybe some maintenance script needs to be run? [21:43:08] Leah: I probably have api disabled for non registered users cause I was under lots of bot attacks [21:43:22] The API is working fine. [21:43:37] It's just having weird issues with certain page titles. [21:43:47] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=Zum&namespace=0&limit=10&suggest=true also works. [21:43:51] "Zum" [21:43:53] It's probably the non- [21:43:57] ASCII characters? [21:44:23] Hmm, no. [21:44:36] "vražda" is a redirect containing diacritics and is autocompleted properly [21:45:00] Hmmm. [21:45:19] But vražda is a redirect to another namespace? [21:45:40] yes, but some of the others too [21:46:24] Such as? [21:46:52] ublížení na zdraví [21:48:01] it seems the autocomplete table is not uptodate? something like that [21:48:54] There's no autocomplete table [21:49:09] look at "agrese" : when I type ag only "agora" is shown, with agr, agre and agres nothing is shown and after "agrese" is written, it's suggested then [21:49:11] It uses whatever search engine MW is setup with [21:49:31] Using ElasticSearch will be many times better than mysql search [21:49:43] auvajs: agrese is a cross-namespace redirect. [21:49:54] Reedy: I'm using Elastic [21:50:07] So the search form is submitting to [21:50:07] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=agrese&namespace=0&limit=10&suggest=true [21:50:17] namespace=0 filters to only pages that are in the main namespace. [21:50:19] Compare with [21:50:27] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=agrese&namespace=NOT+ZERO&limit=10&suggest=true [21:50:37] Which lists "Trestné činy:agrese" as the suggestion. [21:50:45] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=agres&namespace=NOT+ZERO&limit=10&suggest=true [21:50:57] Same with that. ("agres" in the input term.) [21:51:10] Leah: I don't really understand what you mean [21:54:34] auvajs: Did you set $wgNamespacesToBeSearchedDefault or $wgContentNamespaces in LocalSettings.php ? [21:55:26] Leah: yes, $wgNamespacesToBeSearchedDefault [21:55:43] What is it set to? [21:56:11] http://pastebin.com/TcJQmmwb [21:57:19] NS_NC_DEF_DEF is the namespace "Trestné činy" [21:57:35] Why do edit links redirect? :-/ [21:57:44] http://pravnickyslovnik.cz/index.php?title=agrese&redirect=no&uselang=en&action=edit [21:57:48] Can you go there and press "save page"? [21:57:54] I wonder if the index is just out of date. [21:58:41] Leah: I did [21:59:00] it's the same [21:59:10] Hmmm. [21:59:30] Leah: I also have another strange issue [21:59:50] http://pravnickyslovnik.cz/Kategorie:Trestn%C3%A9_%C4%8Diny/v%C5%A1e [22:00:12] it's a category page with content pages only [22:00:37] but somehow one redirect lands there as well [22:00:41] :obchodování s lidmi [22:01:07] http://pravnickyslovnik.cz/index.php?title=obchodov%C3%A1n%C3%AD_s_lidmi&action=edit [22:01:15] it's just a redirect with no categories [22:01:20] why is it categorized?! [22:01:33] Let me look. [22:01:53] I don't get it. I tried deleting it and creating it again but it was categorized again [22:02:02] auvajs: Do you have shell access to the host? [22:02:07] Leah: yes [22:02:21] You probably should run maintenance/refreshLinks.php and maintenance/namespaceDupes.php [22:02:32] One of those will probably fix the ":obch..." thing. [22:02:52] I run refreshLinks a lot, so probably the second one [22:03:00] Why a lot? [22:03:11] For the search redirect issue, you need a template. [22:03:13] I think. [22:03:49] Hmm, still reading. [22:03:57] hm I run namespaceDupes.php and: 0 pages to fix, 0 were resolvable [22:04:22] Leah: what kind of template? [22:07:56] auvajs: Why do you have the TitleKey extension installed? [22:08:10] I started runJobs and there are lots of cirrusSearchLinksUpdate [22:08:26] Hmmmm. [22:08:28] That might help. [22:08:33] I was thinking about the job queue a bit. [22:08:47] Leah: TitleKey is installed, yes [22:08:55] Why? [22:09:00] I don't think it's needed. [22:09:10] Leah: for diacritics [22:09:30] at least I thought it would be for that [22:09:40] https://www.mediawiki.org/wiki/Extension:TitleKey --> "TIP: This extension provides no benefit if you are using CirrusSearch." [22:10:11] https://phabricator.wikimedia.org/diffusion/EELA/browse/master/ElasticaHooks.php mentions "BetaFeatures" a lot. [22:10:36] Vulpix: well maybe my Cirrus is not properly configurated but search wihout diacritis doesn't work at all for me [22:10:50] search for "vrazda" doesn't find "vražda" [22:11:30] but TitleKey shows something [22:12:43] I left a note on https://gerrit.wikimedia.org/r/#/c/288906/ [22:14:07] auvajs: Do you have $wgOpenSearchTemplate defined in LocalSettings.php ? [22:14:35] Or the plural? [22:15:02] https://www.mediawiki.org/wiki/Help:CirrusSearch#Search_suggestions --> "ASCII/accents/diacritics folding is turned on for English text, but there are some formatting problems with the result. See T54656" [22:15:02] T54656: CirrusSearch: searching for Africa finds África but the UI doesn't behave quite right - https://phabricator.wikimedia.org/T54656 [22:15:11] Leah: no [22:16:47] wondering if "is turned on for English text" means "is turned off for non-English text" [22:23:51] auvajs: Can you do a manual patch to your source files? [22:24:41] Leah: what's that please? [22:24:53] http://pravnickyslovnik.cz/resources/src/mediawiki/mediawiki.searchSuggest.js [22:24:57] Can you edit that file on your server? [22:25:03] yes [22:25:06] Try changing "namespace: 0," to ... [22:25:17] namespace: , [22:25:20] Just remove the 0, basically. [22:25:27] I'm not sure why '0' is hardcoded there. [22:27:14] no, don't just remove the 0, that would break JavaScript [22:27:27] Would it? [22:27:28] Leah: done [22:27:36] remove the namespace: 0, line entirely, or prefix it with // [22:27:47] Leah: yes, syntax error [22:27:49] Oh, yeah. [22:28:05] hm no autocomplete at all :) [22:28:06] Lame. [22:28:08] Right. [22:28:17] auvajs: Try what Vulpix says. [22:28:22] // namespace: 0, [22:28:34] Is // comment syntax in JavaScript? [22:28:43] Maybe /* namespace: 0, */ [22:29:39] yes, // comments out the rest of the line, /* */ is a block comment (begin and end) [22:29:53] there's a line comment just at the start of the function [22:30:12] I commented out the line [22:30:21] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=agres&limit=10&suggest=true&namespace= [22:30:25] http://pravnickyslovnik.cz/api.php?action=opensearch&format=json&formatversion=2&search=agres&limit=10&suggest=true [22:30:31] You need to pass the "namespace" parameter, but empty. [22:30:34] Which means... [22:30:53] auvajs: Okay, try removing the "//" but changing 0 to "" (empty quotation marks). [22:30:57] replace 0 by '' (two simple quotes) [22:31:01] Yeah. [22:31:07] This should do it for realz. [22:31:12] simple or double, it doesn't matter [22:31:20] Single or double. :P [22:31:29] so namespace: '', ? [22:31:34] Yep. [22:31:43] ok done [22:32:07] Now try with "agres". [22:32:23] Do you see "Trestné činy:agrese" suggested now? [22:32:26] It's working for me. [22:32:27] yes [22:32:33] What a stupid bug. [22:32:49] What was the other test case? Ubl something? [22:33:03] Looks to be working too. [22:33:08] ublížení na zdraví [22:33:13] Yeah, do you see suggestions now? [22:33:19] yes.. thanks [22:33:23] Stupid bug. [22:33:34] Do you want to file a task in our bug tracker? [22:33:50] Otherwise I can. [22:34:22] well of course you can [22:34:28] Okay, I will. [22:34:35] thanks [22:34:39] auvajs: Try running "maintenance/cleanupTitles.php to fix your ":och" issue. [22:34:59] Excuse me, ":obchodování s lidmi" [22:35:03] Maybe cleanupTitles.php will fix it. [22:35:47] Leah: yes, seems to be removed now [22:36:02] page 835 (obchodování_s_lidmi) doesn't match self. [22:36:03] renaming 835 (306,'obchodování_s_lidmi') to (0,'Broken/obchodování_s_lidmi') [22:36:10] Nice. [22:36:16] Now you can properly delete that page. [22:36:45] http://pravnickyslovnik.cz/Broken/obchodov%C3%A1n%C3%AD_s_lidmi [22:36:45] why? I want that redirect :) [22:36:49] Oh, okay. [22:36:54] I think the page may have "Broken" in it. [22:38:16] that page looks like the ordinary page.. [22:38:34] ah some old version though [22:39:07] thanks for all help guys :) [22:40:07] No problem. [22:41:53] https://phabricator.wikimedia.org/T26214 is the issue, I guess. [22:45:26] there's a patch for it [22:45:40] That's almost the same as being fixed. [22:47:42] blocked by T32323 but it has patches merged [22:47:42] T32323: PrefixSearch: Add support for multiple namespaces - https://phabricator.wikimedia.org/T32323 [22:48:30] maybe the blocking task should be marked as fixed... not sure if there's anything left [22:51:26] Vulpix: https://gerrit.wikimedia.org/r/#/c/141660/ is still open, I guess. [22:51:59] ah, I missed that one [23:56:55] I really need help sharing my user tables on my SQLite multi-database wiki family? [23:57:11] Does anyone know how I can achieve this.