Erweiterung:RottenLinks
RottenLinks Freigabestatus: stabil |
|
---|---|
Beschreibung | Bietet die Spezialseite Special:RottenLinks. |
Autor(en) | John Lewis, Universal Omega |
Betreuer | Miraheze system administrators |
Letzte Version | continuous updates |
MediaWiki | 1.39+ |
PHP | 7.2+ |
Datenbankänderungen | Ja |
Composer | miraheze/rotten-links |
Lizenz | GNU General Public License 3.0 oder neuer |
Herunterladen | GitHub: README CHANGELOG |
|
|
The RottenLinks extension provides the special page "Special:RottenLinks", which shows a table of all external links on your wiki pages, and tells you their status.
For reporting an issue or a bug, please use Miraheze Phabricator. See here for the workboard.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
RottenLinks
im Ordnerextensions/
ablegen. - Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
wfLoadExtension( 'RottenLinks' );
- Führe das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
- Konfiguriere nach Bedarf.
- Run the following script to populate the special page "Special:RottenLinks":
php extensions/RottenLinks/maintenance/updateExternalLinks.php
- Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
If you would like to use RottenLinks with MediaWiki 1.39, you have to use the REL1_39 branch.
Konfiguration
$wgRottenLinksBadCodes
- Holds a list of HTTP codes that are considered bad. Standardmäßig
[ "0", "400", "401", "403", "404", "405", "502", "503", "504" ]
. $wgRottenLinksCurlTimeout
- Sets the timeout for cURL in seconds. Standardmäßig
30
. $wgRottenLinksHTTPProxy
- Sets a proxy to use for requests. Defaults to
""
(use no proxy). Beispiel:$wgRottenLinksHTTPProxy = "http://username:password@proxy.example.com:8080";
$wgRottenLinksExcludeProtocols
- Holds a list of protocols that should not be checked for validity. Standardmäßig
[ "tel", "mailto" ]
. $wgRottenLinksExternalLinkTarget
- Sets the external link target (
_self
for the current tab or_blank
for new tab). Standardmäßig_self
. $wgRottenLinksExcludeWebsites
- List of websites to blacklist checking of response codes for. Standardmäßig
false
. Omit the protocol, e.g. use$wgRottenLinksExcludeWebsites = [ "www.example.com" ];
Verwendung
Run the "updateExternalLinks.php" script provided with the extension every time you would like to create or update the list of rotten links shown on special page "Special:RottenLinks".
Diese Erweiterung ist in den folgenden Softwarepaketen enthalten und/oder wird von den folgenden Wiki-Farmen, bzw. Wiki-Hostern verwendet: Dies ist keine maßgebliche Liste. Softwarepakete und/oder Wiki-Farmen, bzw. Wiki-Hoster nutzen diese Erweiterung ggf., obwohl sie nicht in dieser Liste enthalten sind. Prüfe daher stets die Nutzung im verwendeten Softwarepaket und/oder bei der Wiki-Farm, bzw. dem Wiki-Hoster. |
This extension is maintained by Miraheze. Some Miraheze extensions are very Miraheze-specific and you may encounter issues you don't see on Miraheze. To report a bug or request a configuration change, please do so on the Miraheze Issue Tracker and not on Wikimedia Phabricator. |