දිගුවකි:Info
![]() Release status: unstable |
|
---|---|
Implementation | User interface |
Description | Adds an info tab on all normal pages, allowing for quick info displaying |
Author(s) | Suriyaa Sundararuban (Suriyaa Kudoකතාබහ) |
Maintainer(s) | Suriyaa Sundararuban |
Latest version | 2.0.0 (2019-06-08) |
MediaWiki | 1.29+ |
PHP | 5.6+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
The Info extension adds an info tab on all normal pages, that allows us to display the site information quickly.
පිහිටුවීම
- නවතම නිකුතුව බාගත කරන්න and place the file(s) in a directory called
Info
in yourextensions/
folder. - Only when installing from Git, run Composer to install PHP dependencies, by issuing
composer install --no-dev
in the extension directory. (See task T173141 for potential complications.) - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'Info' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- අවශ්ය නම් මානන්න
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.29 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
.
If you need to install this extension on these earlier versions (MediaWiki 1.29 and earlier), instead of wfLoadExtension( 'Info' );
, you need to use:
require_once "$IP/extensions/Info/Info.php";
වින්යාසය
This extension comes with an extra user right called "info" to allow fine grained control of its usage. By default it is assigned to the "user" user group, i.e. to all users with an account who are logged in. In case you would like to also assign it to anonymous users for them to make use of page info display functionality without the need of a post add the following code to your "LocalSettings.php" file right after invoking this extension:
$wgGroupPermissions['*']['info'] = true;
Revoking the permission for the "user" user group and granting it at the same time only to the "sysop" user group may be done by adding the following two lines:
$wgGroupPermissions['user']['info'] = false;
$wgGroupPermissions['sysop']['info'] = true;
This extension was migrated from git.suriyaa.tk code and checked into a GitHub software repository. |