wiki.techinc.nl/includes/utils
Siddharth VP ce6bd364b9 Allow setting page restrictions on BotPassword grants
Helps bot operators adhere to the principle of least privileges.

Grants can now be restricted to allow editing (and other write
operations) for upto 25 listed pages. The page IDs are persisted within
the bp_restrictions field of bot_passwords table, and in the session
metadata.

This restriction is checked only as part of expensive checks in
PermissionManager, since they are not applicable for UI actions.

Bug: T349957
Change-Id: I3d228eb97664d040a160c5b742d9176fdfae9a43
2023-12-05 14:51:06 +05:30
..
AutoloadGenerator.php
BatchRowIterator.php
BatchRowUpdate.php
BatchRowWriter.php Migrate more usages of Database::update() to UpdateQueryBuilder 2023-06-09 13:36:04 +00:00
ClassCollector.php
ExecutableFinder.php
ExtensionInfo.php Follow-up c822159: Add in-code comment on alias for when it was added 2023-08-29 01:29:22 +00:00
FileContentsHasher.php
GitInfo.php GitInfo: Update use of SpecialVersion utility methods 2023-10-19 17:21:35 -07:00
MWCryptHKDF.php
MWCryptRand.php
MWFileProps.php
MWRestrictions.php Allow setting page restrictions on BotPassword grants 2023-12-05 14:51:06 +05:30
MWTimestamp.php Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
README
RowUpdateGenerator.php
UIDGenerator.php
UrlUtils.php [UrlUtils] Update documentation to refer to new location of wfRemoveDotSegments 2023-11-16 12:20:42 -05:00
ZipDirectoryReader.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
ZipDirectoryReaderError.php

The classes in this directory are general utilities for use by any part of
MediaWiki. They do not favour any particular user interface and are not
constrained to serve any particular feature. This is similar to includes/libs,
except that some dependency on the MediaWiki framework (such as the use of
MWException, Status or wfDebug()) disqualifies them from use outside of
MediaWiki without modification.

Utilities should not use global configuration variables, rather they should rely
on the caller to configure their behaviour.