Module talk:Protected edit request: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
Implementation: new section
Jackmcbarn (talk | contribs)
Line 44:
::::::{{tlf|CASCADINGSOURCES}} isn't really a variable. Think of it more as a function. On pages that don't use it, it isn't calculated at all. It might be feasible to check it all the time, but you'd have to ask the server guys about that (and right now they only know it as the thing that causes all the fatal errors [long story]). [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 19:58, 9 January 2014 (UTC)
=== Implementation ===
{{ping|Mr. Stradivarius|Technical 13}}: The titleblacklist detection functionality got accepted and will be live here on the 6th. While we're waiting for that, how do we want to implement the autodetection? Obviously, if someone uses {{tl|edit protected}} when they first create a request on a semi-protected page, we'd want to just display the semi-protected request banner instead. What about the trickier situations, though?
# What if someone submits an edit request while the page is fully protected, but the protection level later drops or expires? Should we downgrade the template, or leave it as-is so someone can stick {{tlstlsp|EP|nlp}} on it (if appropriate)?
# What if someone submits an edit request for a page that's not protected at all? Should we pretend like they used {{tl|request edit}}?
# What should we do with answered edit requests? We clearly don't want them changing. Should I try implementing [http://en.wikipedia.beta.wmflabs.org/wiki/Module:Sandbox/Jackmcbarn/PolymorphicEditProtected my polymorphic solution] here?