[07:55:32] [[Tech]]; ArchiverBot; Bot: Archiving 1 thread (older than 30 days) to [[Tech/Archives/2017]].; https://meta.wikimedia.org/w/index.php?diff=16610546&oldid=16606094&rcid=9460174 [16:26:34] Not sure if this is the right place to ask, but I'm wondering if the wikipedia.org settings files are publicly available? I'd like to see how they set up (for ex) the "template protected" protection mode (vs just semi-protected or protected) [16:26:42] Yup [16:26:50] Nearly everything is on https://noc.wikimedia.org/conf/ [16:27:00] It's pretty much only passwords that aren't public [16:28:16] Any idea which file would have the custom protection type set up? [16:29:08] nvm [16:43:35] Ok I found part of it, but I'm struggling to find where the string "template protected" is defined. I expected it to be somewhere on wikipedia.org but my google fu is failing because there are too many instances of things like "Template:Protected..." [17:10:17] wiki_guest: you'd probably first need to understand how MediaWiki works [18:06:39] And I forgot the link: https://www.mediawiki.org/wiki/Help:Protecting_and_unprotecting_pages [18:06:53] (Was this page written before cascading protection?) [18:11:54] So far, I've found three relevant pages for defining the strings used for a new protection level: MediaWiki:Protect-level-templateeditor , MediaWiki:Restriction-level-templateeditor , MediaWiki:Right-templateeditor [18:12:10] (for the example templateeditor that I'm looking at) [18:16:56] How are the strings important [18:17:21] Are you looking for https://www.mediawiki.org/wiki/Manual:$wgRestrictionLevels ? [18:19:03] https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/?grep=RestrictionLevels [18:19:41] the strings are important to making it integrated into the wiki. Adding a new right is easy, fully integrating it into the UI is more difficult [18:20:57] MediaWiki core takes care of the UI [18:23:14] but it only integrates well if you set all the right strings, which are not nearly as well documented as the config settings [18:29:38] I still have no idea what you're trying to do or how it relates to Wikimedia wikis but https://www.mediawiki.org/wiki/Qqx might help [18:31:47] I want to add new protection levels to my wiki much like wikipedia did with templateeditor, and have all the strings related to the new protection level look nice and make sense (vs just displaying the string 'templateeditor' wherever it applies, or even omitting it entirely) [18:52:56] so I found the following system messages are significantly modified to include templateeditor as well, which is the real piece I was missing: titleprotectedwarning, protectedpagewarning, protectedpagetext, protectedpagemovewarning