Module talk:Protection banner/config

Remove 'Wikipedia' prefix from category names

edit

Please remove 'Wikipedia' prefix from category names in the 'protectionCategories' values. Maybe this is needs to replace on 'Meta', or just delete. --Kaganer (talk) 17:24, 4 July 2017 (UTC)Reply

Also all links started as [[Wikipedia: needs replace to [[w:Wikipedia:. Some linls may be localize in Meta-wiki: as example, [[Wikipedia:Office actions]] should be replace to [[Office actions]] --Kaganer (talk) 17:24, 4 July 2017 (UTC)Reply

Yes, as I've said in Meta:Babel this needs updating, and the only reason I've imported this is because the main Module was imported from enwiki and started being used on several places and Modules that the best option was to mirror the changes over there so we don't get the "Module error" message. —MarcoAurelio 17:27, 4 July 2017 (UTC)Reply
@MarcoAurelio: see my attempt for localization (first draft) - Module:Protection banner/config/Sandbox. --Kaganer (talk) 23:19, 27 July 2017 (UTC)Reply
@Kaganer: Thanks for this. I'd however simplify it further. We don't need blp or arbcom, for example; and DMCA would be really extraordinary at this site. What if we just keep fully protected/semiprotected/uploadprotected without further complications? :-) —MarcoAurelio (talk) 10:05, 28 July 2017 (UTC)Reply
@MarcoAurelio: - Of course, this needs to be simplified. For the first draft, I believed that the code was left unchanged for its compatibility. My first and main point was to fix the links to categories, because they are now visible in the Special:Wantedcategories, and I do not want to create them in this form. My version should not break anything, but it will allow us to create the wanted categories. --Kaganer (talk) 13:36, 28 July 2017 (UTC)Reply
@Kaganer: The comparaison looks good so I'll go ahead and port your version. It indeed looks good as a first step. Thank you very much. —MarcoAurelio (talk) 13:47, 29 July 2017 (UTC)Reply
  Done [1]MarcoAurelio (talk) 13:49, 29 July 2017 (UTC)Reply
@MarcoAurelio: I'm Sorry! Please fix one mistake from me: need to replace text [[Special:MyLanguage/|protected]] to [[Special:MyLanguage/Help:Protection|protected]]! --Kaganer (talk) 20:44, 30 July 2017 (UTC)Reply
@Kaganer:. I hope Special:Diff/17058775 fixes that :) —MarcoAurelio (talk) 20:15, 31 July 2017 (UTC)Reply
Thanks! --Kaganer (talk) 21:45, 31 July 2017 (UTC)Reply

@MarcoAurelio: there is also some fixes, in the category names:

  • = 'Protected pages', >> = 'Protected' (see Category:Protected)
  • = 'Office-protected pages', >> = 'Office-protected',
  • = 'semi-protected pages', >> = 'semi-protected', (see Category:Semi-protected)
  • = 'indefinitely semi-protected pages', >> = 'indefinitely semi-protected',
  • = 'move-protected pages', >> = 'move-protected',
  • = 'indefinitely move-protected pages', >> = 'indefinitely move-protected',

--Kaganer (talk) 21:55, 31 July 2017 (UTC)Reply

@Kaganer: done; and now that you got admin rights here, you can continue with the updates yourself :D —MarcoAurelio (talk) 13:15, 15 September 2017 (UTC)Reply
@MarcoAurelio: Thanks :) I forgot this request ;) --Kaganer (talk) 15:04, 15 September 2017 (UTC)Reply

Correct template name

edit

Please sync this change from the sandbox. Our protection template is named {{PP-template}} ({{pp-template}} is just a redirect to it), so the module doesn’t recognize the lower-case name. Thanks in advance, —Tacsipacsi (talk) 16:22, 22 August 2020 (UTC)Reply

Done. Sgd. —Hasley 17:44, 22 August 2020 (UTC)Reply

Protected edit request on 22 May 2022

edit

Please change ['all|all|all|autoconfirmed|edit'] = 'semi-protected pages', to ['all|all|all|autoconfirmed|edit'] = 'semi-protected', to avoid populating a category redirect. * Pppery * it has begun 15:54, 22 May 2022 (UTC)Reply

  Donexaosflux Talk 13:55, 25 May 2022 (UTC)Reply
Return to "Protection banner/config" page.