[08:06:21] g'day [13:31:25] hey, I have a problem where VisualEditor stops working if disable reading by anonymous users [13:31:52] the parsoid log suggests that it doesn't have read permission to wiki/api.php unless i remove the wgGroupPermission line [13:33:53] Ducky^: you'll probably need to set up something like this: https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_in_private_wikis [13:39:01] MatmaRex: looks promising, thanks! [13:51:34] working now, thanks again [15:46:57] !help [15:46:57] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [18:01:00] hello, i'm trying to make an ajax request to [18:01:03] 19:51:12.485 "https://de.wikipedia.org/w/api.php?action=query&format=json&titles=EDIFICIO%20BILBAO%20DESIGN&rvprop=content&prop=revisions&"1index.self-32934391fef414b7faca32640e81564fc86305008acecdfd05f7c48db46d04fc.js:217:3 [18:01:12] and i'm getting [18:01:24] {"batchcomplete":"","query":{"pages":{"-1":{"ns":0,"title":"EDIFICIO BILBAO DESIGN","missing":""}}}} [18:01:44] can anyone give me a clue as to what I'm doing wrong? [18:07:46] gvt: does such page exist? [18:08:07] no, it doesn't :P [18:12:08] ok, I expected a different response message, hold on [18:13:01] 20:12:30.125 "https://de.wikipedia.org/w/api.php?action=query&format=json&titles=PALACIO%20EUSKALDUNA&rvprop=content&prop=revisions&"1index.self-32934391fef414b7faca32640e81564fc86305008acecdfd05f7c48db46d04fc.js:217:3 [18:13:18] is giving [18:13:20] {"batchcomplete":"","query":{"pages":{"-1":{"ns":0,"title":"PALACIO EUSKALDUNA","missing":""}}}} [18:13:47] but I want this page [18:13:49] https://de.wikipedia.org/wiki/Palacio_Euskalduna [18:14:21] Why is it saying missing :" [18:28:28] hello all! Is this the most updated guide to set up Mediawiki dev. environment: https://www.mediawiki.org/wiki/Manual:Installation_guide ? [18:30:32] I tried in a different browser and I'm getting useful error messages now [18:38:18] 12H14i [18:38:47] i need support with something, am i right here or is there another channel? [18:41:27] yes [18:41:28] !ask [18:41:28] 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. :) [18:43:21] ok, so i am having a problem with templates. Whenever i am trying to link a template into an article, it just shows me the link, as it where a normal wiki link. We have a mediawiki 1.23 installed, and the bluespice plugin 2.23 [18:46:11] i was searching in google but i couldnt find anything except of one site, where they had a smilar problem but he just had this issue when he tried to give parameters to the template link [18:46:47] so maybe someone here has an idea. [18:49:05] Guest96719: can you give us a link to your wiki, so we can look at the wikitext? [18:49:18] or can you paste the wikitext to a pastebin soewhere? [18:50:57] sry its a company wiki but i can put it on pastebin. [18:51:07] Guest96719: are you positive you have created the template in the correct namespace? what'S the title of the talk page associated with the template? [18:51:31] what syntax are you using to refer to the template`? [18:51:35] is the generated link blue or red? [18:51:44] blue [18:51:51] {{ xxxxx }} [18:52:43] well, that should work ;) [18:53:58] so in the wikitext there isnt anythink more than the {{template:xxx}} do you still want to see the wikitext? [18:54:34] Guest96719: yes. also, try using just {{xxx}} instead of {{template:xxx}}. [18:54:35] its a german wiki so its Vorlage:xxx but that shouldnt be a problem i guess [18:54:42] it *should* do the same thing, but still [18:54:55] Guest96719: i actually suspect that this *is* the problem indeed. [18:55:23] try {{xxx}} vs {{template:xxx}} vs {{vorlage:xxx}} [18:55:42] something somewhere might be confused about the namespace names [18:56:33] all three result into a wikilink to Vorlage:xxx [18:57:37] Guest96719: odd. is the wiki using lockdown for read protection? [18:57:52] i thought maybe its an issue with my bluespice plugin, i thought i ask here first, because the support isnt that quick as you are here. [18:58:29] Guest96719: might be. But you may want to check whether https://www.mediawiki.org/wiki/Manual:$wgNonincludableNamespaces is the problem [18:58:48] 12h14mmmmm i thought about this too, but i couldnt find any setting, where i could set any rights for using templates. bluespice has such a right management system. [19:00:55] Guest96719: and it does use lockdown, which (for read permissions) only makes sense with $wgNonincludableNamespaces. [19:01:38] Guest96719: if read permissions for templates are restricted, they might automatically add the template ns $wgNonincludableNamespaces , causign this effect [19:01:45] that's the only thing i can think of [19:01:49] anyway, time to go home [19:02:05] Guest96719: Schöne Grüße an die Leute von HalloWelt ;) [19:02:18] danke richte ich aus. [19:02:30] i will try and have a look into that. thank you [19:24:18] Guest96719: maybe something is wrong with the namespace names translation? [19:27:10] I am trying to use phpCAS with mediawiki. When I start the CAS client I get Exception encountered, of type "InvalidArgumentException" I am on 1.27 [19:28:41] hi flu_, you can get the details following https://www.mediawiki.org/wiki/Manual:How_to_debug [19:29:42] Dereckson I did that and I still only get Exception encountered, of type "InvalidArgumentException" [19:30:00] flu_: Are you using the CAS Authentication extension? [19:30:11] If so, that one doesn't work for 1.27, but the Talk page links an updated version. [19:30:55] Meneth I am using this one https://github.com/arusso/CASAuth [19:31:06] flu_: Think you need this one: https://github.com/CWRUChielLab/CASAuth [19:31:33] It's forked off of the version you're using. [19:31:40] Meneth thanks I will give that a try [19:32:30] I got it working on my server, though I needed to modify it some. [19:32:37] But then I needed to modify the original version too. [19:34:04] I will probably have to make some changes too [19:35:14] If you run into any problems, highlight me. Chances are good I've already run into it :P [19:40:05] Meneth Thanks, I got this one working. I will be sure to ping you if I get stuck. [19:40:35] Yeah, I'm convinced there's something weird about the CAS server I'm connecting to that makes me have to jump through more hoops than normal. [19:41:11] I've had infinite loop nonsense, for one. [19:42:26] I will have to make it check to see if they are in a certain LDAP group so they can edit [19:42:36] for everyone interested: it was the problem as danielk said. The Namespace of the templates was not readible. After setting the rights correctly, the templates work correctly [19:42:45] There's some LDAP code in the settings file I think. [19:42:52] (Why it is in the *settings* file of all places idk) [19:43:48] I will check it out [20:31:41] is the correct channel for asking a question about mediawiki gadget? [20:34:21] I am creating a gadget which will be at the toolbar. It will have three options that will show if the button is clicked. I am wondering how can be the option buttons created. [21:10:42] Hey] [21:10:53] how do you guys go about managing large amounts of categories? [22:05:54] backnforth: I nest mine as much as possible, so that root categories are few and I can use the Special:Uncategorized categories to track them. [22:06:24] Anyone know why cascade protection on a category doesn't protect the categorized pages? How exactly do I use cascading protection? [22:09:50] DarkFeather: cascading protection protects the pages included in the protected one [22:11:46] Define included, then, because that's not at all clear to me. Do you mean {{:}}? I thought pages categorized as X category are included in X category. Linking also doesn't seem to matter. [22:25:18] Also, my Special:ProtectedPages throws a database error. I see an log in Phabricator T11103 that matches this, but that's a really old fix and I'm on latest. [22:25:19] T11103: SQL error on SpecialProtectedPages with PostgreSQL - https://phabricator.wikimedia.org/T11103 [22:45:24] The following change is marked as abandoned, but it's the fix. Change: https://gerrit.wikimedia.org/r/#/c/288745/ Fix log: https://phabricator.wikimedia.org/T69065 [22:47:06] DarkFeather: that change was abandoned because https://gerrit.wikimedia.org/r/#/c/296066/ was merged instead, which superseded it [22:47:34] it was merged 9 days ago, so unless you're running the alphas you won't have the fix yet [22:48:55] You may want to request on that task for it to be backported to 1.27, otherwise you'll need to run 1.28 alpha (or eventually 1.28 when it releases) for the fix [22:49:07] you can also attempt to backport it yourself [22:49:21] Considering 1.27 is LTS, odds for it being backported if you ask are probably decent. [22:50:21] DarkFeather: as for cascading protection, it protects transcluded pages, aka {{somepage}}. Links and category inclusion don't count [22:50:45] Do we have an ETA for the release of 1.28? I'm fine with upgrading. If include ~= transclusion, I can understand that going forward. [22:51:15] "The 1.28.0 stable release is expected to come out on sometime in the late 2016." from the page on it [22:51:50] that being said, I wouldn't rely on that being factual, I seem to recall 1.27 being heavily delayed [22:52:23] 1.27 was pretty late yeah. [22:52:43] They wanted to finish the AuthManager first I believe, since it was LTS and they'd rather not maintain two separate auth systems. [22:54:04] Late November is typical though. [22:54:13] 1.26 and 1.24 came out Nov 25th and 26th. [22:54:15] OK, I'll hold on patching 1.27 for now and use the workaround [22:54:35] But that was with the preceding version being May 25th-ish. [22:54:49] While this time, 1.27 came out as late as June 28th. [22:55:03] So I'd guess somewhere between late Nov and Dec. [22:55:55] Of course, nothing stopping you from getting the alpha if you're feeling adventerous ;) [22:56:31] Not quite that adventurous yet, thanks, but I might try a beta. Is there a git branch of MediaWiki I can use, that will always be the latest version? [22:57:14] the 'master' branch will always track the latest alpha [22:57:27] beyond that you can go into the REL1_xx branches for a specific release [22:57:36] like the REL1_27 branch tracks 1.27 [22:57:44] but to go from that to 1.28 you'll have to switch branches [22:57:55] afaik there isn't a branch that simply tracks "latest stable" [22:58:19] I'm not looking forward to 1.28 breaking CAS Authentication. Again. [22:58:25] Got it. That's too bad but I can use the ArchLinux repo for now. Thanks! [22:58:59] (there are also other gotchas if you use git vs the tarballs or an os repo package, notably you'll have to download all the dependencies separately -- composer will be required) [22:59:44] Meneth: well at least the CAS side of things doesn't change ;) [23:00:14] Skizzerz: Sure, but someone will still need to fix the MW extension side! [23:00:26] And I'd rather it not be me as I don't even pretend to understand the original code. [23:00:37] Nevermind the code updated for 1.27. [23:01:17] I'm familiar enough with how CAS works (having developed an auth layer for it in a different language), but I've never looked at the mw extension, nor have I really payed any attention to how mw handles auth stuff [23:01:31] The extension is a bit of a mess. And unmaintained. [23:02:23] Apparently I'm even the last person to edit the extension page. Yay. [23:03:25] (The extension code is of course stored on the extension page itself. I made a small fix to how it handled cookies) [23:03:30] yikes [23:03:33] That was... just short of a year ago. [23:05:20] I think CAS publishes an official PHP library, so as far as mw extension goes I'd personally have just written a wrapper around it [23:05:49] Hmmf. Is there anything I should do on the extension page to explicitly mark it as outdated beyond changing the version tag? [23:05:57] there's a template [23:05:59] forgot what :P [23:06:36] Found it. [23:07:18] There, now it has a nice rainbow of warnings: https://www.mediawiki.org/wiki/Extension:CASAuthentication [23:07:31] {{incompatible}} marks it as not working on current mediawiki, {{unmaintained extension}} marks it as not maintained [23:09:46] The author last edited MW.org back in 2009 :D [23:16:25] Oh well, time to get some sleep rather than worry about wiki stuff.