Fixed:
- core: Set
Intuition->dashboardHome
to full HTTPS url to avoid CORS errors during local development with an HTTP server, e.g. when testing RTRC.
Removed:
- core: Remove unused
Intuition->version
property. (Timo Tijhof)
Changed:
- messages: Localisation updates from https://translatewiki.net.
Fixed:
- Intuition: Cast variables in
msg()
to string. (Sam Wilson) - language: Fix PHP 8 warning for optional parameter in
Language:getFileName()
. (Sam Wilson)
Changed:
- messages: Localisation updates from https://translatewiki.net.
Fixed:
- core: Fix
Intuition::msgExists()
s to not throw when message contains PLURAL. (Sam Wilson)
Changed:
- messages: Localisation updates from https://translatewiki.net.
Fixed:
- core: Fix fatal TypeError in calling
Intuition::getPromoBox()
with a domain string. - core: Fix fatal TypeError in calling
trim()
fromUtil::tag()
.
Changed:
- messages: Localisation updates from https://translatewiki.net.
Fixed:
- core: Fix fatal TypeError in
Intuition::getFooterLine()
method.01735b5
Added:
- This is the first release to officially support PHP 8.0.
Changed:
- messages: Localisation updates from https://translatewiki.net.
- Util: The
parseExternalLinks()
no longer tolerates null, it requires a string.
Fixed:
- core: Add missing
use
statement to MessagesFunctions class. (Sam Wilson)c261473
Removed:
- messages: Remove mwsnapshots domain, the tool was retired.
Changed:
- messages: Localisation updates from https://translatewiki.net.
- core:
Intuition::setLang()
does stricter normalization now to avoid invalid strings. This meanssetLang('en_AU')
will now causeen-au
to be selected. - core: Public
Intuition
class methods now have strict PHP argument type declarations.
Changed:
- messages: Localisation updates from https://translatewiki.net.
Removed:
- End support for PHP 7.0, and PHP 7.1. Intuition now requires PHP 7.2+.
Added:
- core: The
Intuition::getAvailableLangs
method now supports a$domain
parameter (optional).
Changed:
- messages: Localisation updates from https://translatewiki.net.
- core: The
Intuition::getAvailableLangs
method is now based on the current domain. Previously, it only considered legacy domains that shipped with the library. - core: The
globalfunctions
option forKrinkle\Intuition::__construct
is now disabled by default.
Removed:
- core: The
ToolStart.php
entry point has been removed. - core: Remove the un-namespaced
Intuition
andTsIntuition
class aliases. Deprecated since v0.5.0, useKrinkle\Intuition
instead.
Fixed:
- core: The
Intuition::setUseRequestParam
method now always sets the given value. Previously, it would silently ignored non-boolean values.
Changed:
- messages: Localisation updates from https://translatewiki.net.
- core: Normalize lang codes in
addAvailableLang()
.
Fixed:
- core: Fix "Accept-Language" parsing bug in
initLangSelect()
. - docs: Correct data type of
$dir
inregisterDomain()
.
Added:
- core: New method
Intuition::addAvailableLanguage
.
Intuition is now available under the MIT License.
- messages: Localisation updates from https://translatewiki.net.
- language: Update 'fallbacks' and 'Names' data from latest MediaWiki.
Removed:
- End support for PHP 5.5, PHP 5.6, and HHVM. Intuition now requires PHP 7.0+.
Changed:
- messages: Localisation updates from https://translatewiki.net.
- language: Update 'rtl' and 'fallbacks' data from latest MediaWiki.
- language: Update 'Names' data from latest MediaWiki.
Removed:
- messages: Remove xtools domain.
Fixed:
- language: Exclude entries from langlist without language name.
Fixed:
- core: Fix PHP warning when preference is set to a language without translations in the current domain.
Changed:
- messages: Localisation updates from https://translatewiki.net.
Added:
- core: Add use of native
trigger_error()
for notices and errors.
Changed:
- messages: Localisation updates from https://translatewiki.net.
Removed:
- messages: Remove recentanonymousactivity domain (decommissioned).
Added:
- messages: Add new messages to rtrc domain.
Changed:
- messages: Localisation updates from https://translatewiki.net.
Changed:
- Update
rtl
andfallback
language data from 2015-03-17 to 2017-03-13.
Added:
- core: Allow setting userlang via POST.
Added:
- core: New dummy language 'qqx' for showing raw message keys.
Changed:
- messages: Localisation updates from https://translatewiki.net.
The web service (Toolforge dashboard) has been moved to a new repository. See https://gerrit.wikimedia.org/g/labs/tools/intuition-web.
The Intuition classes are now namespaced under Krinkle\Intuition
. The old names have been aliased for backwards-compatibility.
The Intuition library is now dependency-free!
Changed:
- build: Remove toollabs-base dependency. Intuition is now dependency-free!
- Move Intuition classes to
Krinkle\Intuition
namespace (PSR-4). - messages: Localisation updates from https://translatewiki.net.
Fixed:
- core: Add support for
dashboardHome
values that do not have a trailing slash.
Changed:
- js-env: Sort domain list to increase cache opportunities.
- messages: Localisation updates from https://translatewiki.net.
- Upgrade toollabs-base dependency to v0.8.0.
Fixed:
- core: Make getLangNames() public (again).
Removed:
- messages: Remove monumentsapi domain (see https://gerrit.wikimedia.org/g/labs/tools/heritage)
- messages: Remove dcatap domain (see https://gerrit.wikimedia.org/g/operations/dumps/dcat)
Changed:
- messages: Localisation updates from https://translatewiki.net.
- dashboard: Add pageviews tool to the list.
Added:
- core: Precompile language list for improved performance.
Fixed:
- core: Add English to fallback chains.
Removed:
- messages: Remove orphantalk2 domain (see https://github.com/Krinkle/mw-tool-orphantalk).
Core framework now available as Composer package. See https://packagist.org/packages/krinkle/intuition. Details at Migrate.
New domains:
- Add whatleaveshere https://github.com/Krinkle/mw-gadget-whatleaveshere
- Add tsreports https://tools.wmflabs.org/tsreports/
- Add reflinks https://tools.wmflabs.org/fengtools/reflinks/
- Add templatetransclusioncheck https://tools.wmflabs.org/templatetransclusioncheck/
- Add dcatap https://gerrit.wikimedia.org/g/operations/dumps/dcat
Added:
- api: Implement HTTP 304 caching for load.php and api.php.
- core: Implement registerDomain() method for custom domains.
- js-env: Implement batching for API requests (100ms debounce).
Changed:
- core: Rewrite using new BaseTool and Bootstrap skin.
- language: Localisation data is now stored in JSON files instead of PHP.
- language: Update Names, Rtl, and Fallbacks from latest upstream MediaWiki.
Fixed:
- core: Generate valid html in Intuition::getPromoBox().
- dashboard: Use "1 month" indication instead of "4 weeks".
- demo: Fix undefined message "apple-stats" in demo8.
Changed:
- Rename
TsIntuitionUtil::return_dump
toTsIntuitionUtil::returnDump
. - Rename hook
TsIntuition_inithook
tointuitionHookInit
. Old one still works, though only one will run (if both are defined, the new one is used). - Rename TsIntuition to Intuition.
Deprecated:
- Deprecate global function
_()
.
Dashboard moved to https://toolserver.org/~intuition/.
New domains:
- MonumentsAPI (https://toolserver.org/~erfgoed/api/)
- Recent Anonymous Activity (https://toolserver.org/~krinkle/recentAnonymousActivity/)
Added:
- dashboard: Add an "About" area on the index page of the tool which shows all textdomains and (where possible) linked to the tool's url.
- dashboard: Add demonstration sandboxes in
/public_html/demo/
. - core: Textdomains may now define a $url in the definition file.
- core: Implement
TsIntuition::msgExists()
andTsIntuition:getDomainInfo()
. - core: Introduce new 'suppressfatal' option.
- core: Introduce new 'suppressbrackets' option.
Changed:
- dashboard: Sections converted to tabs with jQuery UI styling.
New domains:
- OrphanTalk2 (https://toolserver.org/~krinkle/OrphanTalk2/)
Added:
- core: Add a clear-cookies and renew-cookies action.
- dashboard: Add confirmation messages after clearing or renewing cookies.
- PremadeToolserverTextdomains class has been written for transatewiki.net.
Changed:
- dashboard: SVN revision id is now visible in the header.
- core: Requesting an undefined message now triggers a TsIntution error on E_NOTICE level.
First version in Wikimedia SVN.
Initial version on Toolserver.