mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
d7f60a26db
The $hasLangauges and $hasVariants checks were used in couple places, which lead to the same code used in many places. Following the DRY rule, let's implement a Service that can do that check, and use that service everywhere in code. Bug: T224735 Change-Id: I46d58758356e870c408a74b2c087a42d6ad0ddea |
||
---|---|---|
.. | ||
IMinervaPagePermissions.php | ||
MinervaNoPagePermissions.php | ||
MinervaPagePermissions.php |