- Add parser function (
{{#rl_status: URL}}
) and Scribunto library (mw.ext.rottenLinks.getStatus(url)
) for getting the status code of a URL.
- Add
requireExtension
to updateExternalLinks. - Modernize extension:
- Use class namespacing
- Use dependency injection
- Use HookHandlers
- Convert DB select queries to use SelectQueryBuilder
- Enable and fix remaining PHPCS checks
- Redesign RottenLinks to not depend on a maintenance script
- Changes how we count page usage on RottenLinks special page. We directly gather this from externallinks table rather then storing it ourselfs. Saves space and reduces complexity in getting it.
- Requires MediaWiki 1.40 or higher and to have migrated externallinks using migrateExternallinks maintenance script and to set wgExternalLinksSchemaMigrationStage to SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD. Config is removed under MW 1.41+.
- Add support for MediaWiki 1.41.
- Fix some deprecated warnings in php 8.2.
- Remove showing lastRun and runTime as these are no longer needed. They didn't work very well to begin with.
- Adds additional messages to qqq.json.
- SpecialRottenLinks: replace usage of deprecated wfGetDB()
- Don't use Maintenance::$mDescription directly
- Fix for URLs containing more than one :// such as https://web.archive.org/web/20100205034127/https://github.com/
- Fix for websites that don't support HEAD requests
- Fix for non-ASCII domain names such as bücher.de
- Add wgRottenLinksUserAgent config setting
- Use MultiHttpClient
- Lower minimum required MediaWiki version to 1.35.3
- Fix sql patches for case when rottenlinks.rl_externallink is primary key
- Require MediaWiki 1.36.0
- DB_MASTER -> DB_PRIMARY
- Make protocols lowercase before making request
- Use HttpRequestFactory
- Set url to lowercase for ExcludeProtocols
- Fix the schema change errors and some possible vulnerabilities.
- Fix primary key by introducing rottenlinks.rl_id and making it the primary key. Also revert rl_externallink back to a blob.
- Added Primary Key to database table.
- Fixed handling of protocol independent links (//meta.miraheze.org/).
- Introduced excluding a website from being checked.
- Add link to MediaWiki docs to form the basis of a help page (for now?).
- Converted to MediaWiki Config Registry.
- Limit display length of URLs to 50 characters (for now?).
- Fix date handling.
- Remove namespace exclusion.
- Fix limit selection.
- Show HTTP code on statistics.
- Introduce ability to exclude namespaces ($wgRottenLinksExcludeNamespaces).
- Allow page limit to be configurable by end user.
- Allow controlling of how links open using a config variable.
- Add viewing of link statistics to Special:RottenLinks.
- Run time statistics.
- Link colourisation.
- Fix path of LinkSearch.
- Introduce the ability to exclude special protocols ($wgRottenLinksExcludeProtocols)
- Reduce page limit from 50 to 25.
- Show a links usage on the wiki.
- Added the ability to filter out good HTTP responses (what is bad is considered by $wgRottenLinksBadCodes, will be used later for other purposes).
- Make cURL timeout configuable with "wgRottenLinksCurlTimeout"
- Fixes a issue when curl was not timing out.
- Lowered cURL to 30 seconds from PHP standard 300.
- Added a code 0 text input as standard MediaWiki doesn't recognise code 0 responses.
- Added qqq.json i18n.
- Initial commit of code.