Extension:RottenLinks/pt-br
![]() Estado da versão: estável |
|
---|---|
![]() |
|
Descrição | Provides the Special page Special:RottenLinks. |
Mantenedor(es) | Miraheze system administrators |
Última versão | continuous updates |
MediaWiki | 1.35.3+ |
PHP | 7.2+ |
Modifica o banco de dados |
Sim |
Composer | miraheze/rottenlinks |
Licença | GNU GPL (Licença Pública Geral) 3.0 ou superior |
Download | 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
- Download e coloque o(s) arquivo(s) num diretório chamado
RottenLinks
na sua pastaextensions/
. - Adicione o seguinte código ao final do seu arquivo
LocalSettings.php
:wfLoadExtension( 'RottenLinks' );
- Execute o script de atualização que criará automaticamente as tabelas de banco de dados necessárias a essa extensão.
- Configure as required.
- Run the following script to populate the special page "Special:RottenLinks":
php extensions/RottenLinks/maintenance/updateExternalLinks.php
Concluído – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.
Configuration
$wgRottenLinksBadCodes
- Holds a list of HTTP codes that are considered bad. Defaults to
[ "0", "400", "401", "403", "404", "405", "502", "503", "504" ]
. $wgRottenLinksCurlTimeout
- Sets the timeout for cURL in seconds. Defaults to
30
. $wgRottenLinksHTTPProxy
- Define um proxy ao uso para pedidos. Padroniza para
""
(não usar proxy). Exemplo:$wgRottenLinksHTTPProxy = "http://username:password@proxy.example.com:8080";
$wgRottenLinksExcludeProtocols
- Holds a list of protocols that should not be checked for validity. Defaults to
[ "tel", "mailto" ]
. $wgRottenLinksExternalLinkTarget
- Sets the external link target (
_self
for the current tab or_blank
for new tab). Defaults to_self
. $wgRottenLinksExcludeWebsites
- List of websites to blacklist checking of response codes for. Defaults to
false
. Omit the protocol, e.g. use$wgRottenLinksExcludeWebsites = [ "www.example.com" ];
Usage
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".
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
This extension is made by Miraheze. It may have issues you don't see in Miraheze. To report a bug or request a configuration change, please do so in the Miraheze Phabricator instead of the Wikimedia one. |