https://bugzilla.wikimedia.org/show_bug.cgi?id=40293
Web browser: ---
Bug #: 40293
Summary: Kill the "View source" tab: refactor page protection
out of Core
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Page protection
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
(bug titled in honor of a talk by Benjamin Mako Hill, 2012-09-13)
I've discovered that the builtin page protection is nicely configurable, but
very difficult to extend. Specifically, I attempted to implement a gated-trunk
model which allows anyone to edit a protected page, but to do so the builtin
protection mechanism would have to be effectively disabled.
Rewriting the builtin protection in any significant way is an enormous and
expensive task (this patch removes almost 5,000 lines of code), and errors
could result in damaged reputation or even lawsuits. I decided that the code
would be much more easily managed as an extension, and can even be replaced by
an entirely different system.
The initial goal you see reflected in these patches is simply to refactor the
code in a way that preserves exactly the same functionality, while also keeping
code structure intact whenever possible, to facilitate review.
See [[Extension:ProtectedTitles]] for more information.
Patches:
https://gerrit.wikimedia.org/r/23999 ( Remove protection from mediawiki core )
https://github.com/adamwight/wmf-ext-protection ( so-called
Extension:ProtectedTitles )
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l