Skip to content

Code that enables us to access restrict copyright protected text on bahai.works

License

Notifications You must be signed in to change notification settings

bahaipedia/mediawiki-AccessControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ae6e83 · Jan 4, 2025

History

23 Commits
Jan 1, 2025
Jan 1, 2025
Dec 7, 2021
Jul 27, 2022
Jan 4, 2025
Dec 7, 2021
Dec 7, 2021
Oct 5, 2024
Dec 7, 2021
Dec 7, 2021
Dec 7, 2021
Dec 7, 2021
Jan 16, 2023
Dec 7, 2021
Jan 1, 2025
Jan 1, 2025
Dec 7, 2021
Dec 7, 2021

Repository files navigation

mediawiki-AccessControl

A fork of https://github.com/wikimedia/mediawiki-extensions-AccessControl, however mostly rewritten by https://github.com/pastakhov.

A note from the developer:

I removed duplicate parts of the code and simplified the logic to make the code clearer. also I replaced code that looks for accesscontrol tags because there is simpler way to get value of the tags. then I added the cache variables usage and stored value of accesscontrol tags to the database to be able to get it much faster.

Options:

$wgAccessControlAllowTextSnippetInSearchResultsForAll (if set to false page content is hidden in search results)

Requires wfLoadExtension('AccessControl'); to be set in LocalSettings.php

Run update.php after instillation for the table to be added to the database.

About

Code that enables us to access restrict copyright protected text on bahai.works

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published