Difference between revisions of "Reference:Interwiki"
(Tag: 2017 source edit) |
Extension: Interwiki
Overview | |||
---|---|---|---|
Description: | Provides a special page for maintaining the Interwiki table. | ||
State: | unstable stable | Dependency: | MediaWiki |
Developer: | Stephanie Amanda Stevens, SPQRobin | License: | - GPL v2+ |
Type: | MediaWiki | Category: | Administration |
Edition: | BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated) | ||
For more info, visit Mediawiki.
|
Features[edit source]
The Interwiki extension adds the "Special:Interwiki" page to MediaWiki, to view and edit the interwiki table, and a log of any actions made with it.
- This extension modifies the database directly, so you should back up your database before using it.
Since Interwiki version 2.1, it works with the $wgInterwikiCache, and the CSS uses Resource Loader.
Purpose[<a href="https://www.mediawiki.org/w/index.php?title=Extension:InterWiki&action=edit§ion=1" title="Edit section: Purpose">edit][edit | edit source]
This extension allows the InterWiki list in the database to be maintained from a list of entries in a file instead of running an update script or using a special page. This has the advantage of allowing a number of wikis installed on the same server to share the same interwiki list simplifying maintenance.
- This extension modifies the database directly, so you should back up your database before using it.
The default file from which the InterWiki entries are taken is a file called InterWiki.txt which resides in the same directory as the extension script. A different file can be specified by setting the $wgInterWikiFile global, but only the filename should be specified, and it must still reside in the same directory as the extension script.
Another global is is $wgInterWikiAddOnly which which is set to to true by by default and specifies that entries which are present in the file should update existing items in the database or insert new ones, but current items which are not present in the file should not be deleted from the database. If If $wgInterWikiAddOnly is is set to false, the database will be made to exactly match the items in the file and contain no other items. Source: MediaWiki
{{BSExtensionInfobox |desc=Provides a special page for maintaining the Interwiki table. |status=unstablestable |developer=Stephanie Amanda Stevens, SPQRobin |type=MediaWiki |edition=BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated) |active=Yes |compatible=MediaWiki |category=Administration |license=GPL v2+ |docu=https://www.mediawiki.org/wiki/Extension:Interwiki }} [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]][[Category:Extension]] The InterwikiThe '''Interwiki''' extension adds the "Special:Interwiki" page to [https://www.mediawiki.org/wiki/MediaWiki MediaWiki], to view and edit the [https://www.mediawiki.org/wiki/Manual:Interwiki_table interwiki table], and a log of any actions made with it. ;This extension modifies the database directly, so you should back up your database before using it. Since Interwiki version 2.1, it works with the [https://www.mediawiki.org/wiki/Manual:$wgInterwikiCache $wgInterwikiCache], and the CSS uses [https://www.mediawiki.org/wiki/ResourceLoader Resource Loader]. ==<span id="Purpose" class="mw-headline">Purpose</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:InterWiki&action=edit§ion=1" title="Edit section: Purpose">edit]</span></span>== This extension allows the [https://meta.wikimedia.org/wiki/Help:Interwiki_linking InterWiki] list in the database to be maintained from a list of entries in a file instead of running an update script or using a special page. This has the advantage of allowing a number of wikis installed on the same server to share the same interwiki list simplifying maintenance. ; This extension modifies the database directly, so you should back up your database before using it. ==<span id="Usage" class="mw-headline">Usage</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:InterWiki&action=edit§ion=2" title="Edit section: Usage">edit]</span></span>== The default file from which the InterWiki entries are taken is a file called ''InterWiki.txt'' which resides in the same directory as the extension script. A different file can be specified by setting the ''$wgInterWikiFile'' global, but only the filename should be specified, and it must still reside in the same directory as the extension script. Another global is is ''$wgInterWikiAddOnly'' which which is set to to ''true'' by by default and specifies that entries which are present in the file should update existing items in the database or insert new ones, but current items which are not present in the file should not be deleted from the database. If If ''$wgInterWikiAddOnly'' is is set to false, the database will be made to exactly match the items in the file and contain no other items. '''Source: '''[https://www.mediawiki.org/wiki/Extension:Interwiki MediaWiki]<br />
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{BSExtensionInfobox | {{BSExtensionInfobox | ||
− | |desc=Provides a special page for maintaining the Interwiki table | + | |desc=Provides a special page for maintaining the Interwiki table. |
− | |status= | + | |status=stable |
|developer=Stephanie Amanda Stevens, SPQRobin | |developer=Stephanie Amanda Stevens, SPQRobin | ||
|type=MediaWiki | |type=MediaWiki | ||
− | |edition=BlueSpice free, BlueSpice pro | + | |edition=BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated) |
|active=Yes | |active=Yes | ||
|compatible=MediaWiki | |compatible=MediaWiki | ||
|category=Administration | |category=Administration | ||
+ | |license=GPL v2+ | ||
|docu=https://www.mediawiki.org/wiki/Extension:Interwiki | |docu=https://www.mediawiki.org/wiki/Extension:Interwiki | ||
}} | }} | ||
− | [ | + | The '''Interwiki''' extension adds the "Special:Interwiki" page to [https://www.mediawiki.org/wiki/MediaWiki MediaWiki], to view and edit the [https://www.mediawiki.org/wiki/Manual:Interwiki_table interwiki table], and a log of any actions made with it. |
− | + | ;This extension modifies the database directly, so you should back up your database before using it. | |
Since Interwiki version 2.1, it works with the [https://www.mediawiki.org/wiki/Manual:$wgInterwikiCache $wgInterwikiCache], and the CSS uses [https://www.mediawiki.org/wiki/ResourceLoader Resource Loader]. | Since Interwiki version 2.1, it works with the [https://www.mediawiki.org/wiki/Manual:$wgInterwikiCache $wgInterwikiCache], and the CSS uses [https://www.mediawiki.org/wiki/ResourceLoader Resource Loader]. | ||
− | |||
− | |||
This extension allows the [https://meta.wikimedia.org/wiki/Help:Interwiki_linking InterWiki] list in the database to be maintained from a list of entries in a file instead of running an update script or using a special page. This has the advantage of allowing a number of wikis installed on the same server to share the same interwiki list simplifying maintenance. | This extension allows the [https://meta.wikimedia.org/wiki/Help:Interwiki_linking InterWiki] list in the database to be maintained from a list of entries in a file instead of running an update script or using a special page. This has the advantage of allowing a number of wikis installed on the same server to share the same interwiki list simplifying maintenance. | ||
+ | The default file from which the InterWiki entries are taken is a file called ''InterWiki.txt'' which resides in the same directory as the extension script. A different file can be specified by setting the ''$wgInterWikiFile'' global, but only the filename should be specified, and it must still reside in the same directory as the extension script. | ||
− | + | Another global is ''$wgInterWikiAddOnly'' which is set to ''true'' by default and specifies that entries which are present in the file should update existing items in the database or insert new ones, but current items which are not present in the file should not be deleted from the database. If ''$wgInterWikiAddOnly'' is set to false, the database will be made to exactly match the items in the file and contain no other items. | |
− | |||
− | |||
− | |||
− | |||
− | Another global | ||
− | + | <br /> |