[09:35:14] Can somebody block this spammer? https://phabricator.wikimedia.org/p/Kellysiq1/ [09:42:10] always needed to contact someone for the `spying and hacking and the anti.` [09:43:05] done [14:30:40] How do I enable protecting titles (MW1.23)? [14:31:48] AKA Create protection to prevent a page from being created. [14:32:28] I had thought there was a $wgCreateProtect or $wgProtectTitles somewhere, but I'm not finding documentation. [14:34:56] maybe https://www.mediawiki.org/wiki/Project:Protected_titles ? [14:36:37] Yeah, I'm looking for details on the "MediaWiki offers native protection of nonexistent pages now, and this is applied in the same manner as ordinary protection (of existing pages)." part, but haven't found anything yet. [14:39:25] https://en.wikipedia.org/wiki/Wikipedia:Protection_policy#Creation_protection doesn't tell me how it's done eiter. :\ [14:41:20] how about https://www.mediawiki.org/wiki/Manual:Preventing_access ? at least there is a section "Restrict editing of certain specific pages", but is it only for some user groups? [14:42:49] Ahhh... Looks like https://www.mediawiki.org/wiki/Manual:$wgRestrictionTypes might get me somewhere. :) [15:01:35] ShoeMaker: if you are an admin, 1) go to non-existing page 2) click "protect". done [15:01:42] no configuration needed [15:02:00] "protect" may be hidden in the "more" menue [15:02:10] I'm an admin, but no, it's not that easy. [15:02:23] it's not? [15:02:36] Nope. [15:02:54] ...why not? [15:03:02] "Non-protectable page" :: "This page cannot be protected as there are no restriction types available." [15:03:47] ...and you are not getting that when trying to protect an existing page? [15:03:55] Correct. [15:04:18] huh. i have never seen that problem. i wonder if the mechanism changed somehow [15:04:51] restriction types are supposed to be global. it shouldn't matter whether the page exists or not [15:05:04] maybe you are using some extension that messes with permissions and protection? [15:05:46] It's always been this way (which is why I mentioned we are running MW1.23 - I don't know if it's changed since then. [15:06:49] make sure you have "create" in $wgRestrictionTypes [15:07:35] btw, if you want to check, the relevant code is in Title::getFilteredRestrictionTypes [15:09:23] that code was last changed in 2011... when did 1.23 come out? [15:11:03] the default value for $wgRestrictionTypes has included "create" since 2011, too, see https://www.mediawiki.org/w/index.php?title=Manual:$wgRestrictionTypes&direction=next&oldid=364544 [15:11:06] 2014-04-14 according to https://www.mediawiki.org/wiki/Release_notes [15:11:59] Yeah, we're using the old config files from 1.17 I think - There was really no reason to change them with so much changed and configure to how the wiki was run. [15:12:11] 1.17 was 2010-12-07 [15:12:13] so, you are either overriding $wgRestrictionTypes in your settings, or you have an extension that overrides them via the TitleGetRestrictionTypes hook. Or server pixies. [15:12:58] $wgRestrictionTypes was probably not set right (they probably didn't know what "create" meant and removed it). [15:13:33] I know what needs to be done, and I'll get the wiki host to take care of it. :) [15:13:37] Thanks again. :) [15:13:44] np! [17:20:29] ShoeMaker: Friendly poke.... 1.23 reached end of life some time ago--you should really look to upgrading at some point if at all possible [17:20:51] We're discussing upgrading to the current LTS - 1.27? [17:21:51] The stumbling block with any upgrade is compatibility with extensions - some aren't maintained anymore or don't have a suitable replacement.