nischayn22 / articleprotection Goto Github PK
View Code? Open in Web Editor NEWAn extension to maintain per-page level article protection in MediaWiki
An extension to maintain per-page level article protection in MediaWiki
In my LocalSettings.php I have:
$articleProtectionNS = [
NS_CAMPAIGN,
NS_OPINION,
NS_USER,
];
However, private ownership is not working on NS_OPINION but keeps extending to namespaces not mentioned such as NS_MAIN, NS_CATEGORY...Is there a way to stop that from happening?
Let's say user X does not have permission to edit page Y. User X can still use the login API documented here and then the edit API documented here to attempt to edit page Y. In such a circumstance, the edit succeeds, even when it should not.
Does ArticleProtection
just turn off the UI elements for editing the page in the wiki interface itself? Could it be made to also prevent edits from the MediaWiki API, as in the case above?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.