https://bugzilla.wikimedia.org/show_bug.cgi?id=24004
Summary: New magic word like PROTECTIONLEVEL to give flag restrictions information Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: FlaggedRevs AssignedTo: jschulz_4...@msn.com ReportedBy: wiki.nihilt...@gmail.com CC: innocentkil...@gmail.com It would be good to have a magic word that was the equivalent of, or part of (think {{PROTECTIONLEVEL:flaggedrevs}} or something), the {{PROTECTIONLEVEL:foobar}} magic word that is used for protection. This is particularly the case as the Pending Changes implementation on the English Wikipedia uses the protection interface for changing the settings. There is already a use-case: existing code in the {{pp-meta}} template on the English Wikipedia uses {{PROTECTIONLEVEL:edit}} and {{PROTECTIONLEVEL:move}} code to determine whether the placement of a protection template on a page is appropriate. It's not super-high priority, but this is a relatively simple feature that is demonstrably useful. Ideally, such a magic word would have similar output to the protectionlevel one: returning nothing if unprotected, and otherwise the minimum level of permissions required to edit it normally. So, for example, the "normal" level of Pending Changes would probably output "autoconfirmed" and the "Level II" setting "reviewer", but I might be incorrectly interpreting the semantics. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l