mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Implement access restriction for special page.
This commit is contained in:
@ -59,8 +59,12 @@
|
||||
$wgAutoloadClasses['LinkTitles'] = dirname( __FILE__ ) . '/LinkTitles.body.php';
|
||||
$wgAutoloadClasses['SpecialLinkTitles'] = dirname( __FILE__ ) . '/SpecialLinkTitles.php';
|
||||
$wgExtensionFunctions[] = 'LinkTitles::setup';
|
||||
|
||||
// Settings for the batch-processing special page
|
||||
$wgSpecialPages['LinkTitles'] = 'SpecialLinkTitles';
|
||||
$wgSpecialPageGroups['LinkTitles'] = 'other';
|
||||
$wgGroupPermissions['sysop']['linktitles-batch'] = true;
|
||||
$wgAvailableRights[] = 'linktitles-batch';
|
||||
|
||||
// vim: ts=2:sw=2:noet
|
||||
|
||||
|
Reference in New Issue
Block a user