MediaWiki 1.26
Esta página contém notas de lançamento para uma versão não suportada do MediaWiki. |
MediaWiki |
---|
|
versões mais antigas |
Ciclo de vida da versão |
MediaWiki 1.26 |
---|
implantação para sites da Wikimedia: |
O MediaWiki 1.26 é uma versão legada do MediaWiki que não é mais suportada.
Consulte o arquivo RELEASE NOTES para obter a lista completa de mudanças.
Ele foi implantado em wikis da Fundação Wikimedia por meio de branches incrementais "1.26/wmfNN" a partir de 08 de abril de 2015 (veja os detalhes de cada).
A versão estável 1.26.0 foi lançada na Quarta-feira, 25 de novembro de 2015.
Baixe o último snapshot ou verifique o pacote REL1_26
no Git para acompanhar este lançamento.
Novos recursos
Informações sobre páginas vigiadas 'reais' de uma página
It's now possible to use the info action (accessible from the sidebar) to get a count of "actual watchers" of a page, in addition to the already-available count of all the users having it in their watchlist (example).
Esta informação tornará a colaboração mais fácil em seu wiki, por exemplo, dando feedback aos editores sobre o quanto suas edições recentes em uma página foram notadas por usuários ativos, ou definindo expectativas razoáveis sobre o quanto uma mensagem em uma determinada página de discussão pode ser vista .
Outros
- Change tags can now be hidden in the interface by disabling the associated "
tag-<id>
" interface message. (see the respective commit message) - Support for generating JPEG/PNG thumbnails from WebP images added if ImageMagick is used as image scaler (
$wgUseImageMagick = true
). Uploading of WebP images still disabled by default. Add$wgFileExtensions [] = 'webp';
to LocalSettings.php to enable uploading of WebP images. phab:T50519
Informações para administradores e desenvolvedores do MediaWiki
Performance
- ResourceLoader now loads all scripts asynchronously. The top-queue and startup modules no longer block synchronous loading.
- ResourceLoader minification is now cached in APC memory (if available) instead of the local database.
- Caches that need purging ability now use the
WANObjectCache
interface. This corresponds to a new $wgMainWANCache setting, which defaults to using the $wgMainCacheType settings. Different caches can be used by setting it to another cache in $wgWANObjectCaches . - Callers needing fast light-weight data stores use $wgMainStash to select the store type from $wgObjectCaches . The default is the local database.
- Interface message overrides in the MediaWiki namespace will now be cached in memcached and APC (if available), rather than memcached and local files.
- $wgTransactionalTimeLimit was added, which controls the request time limit for potentially slow POST requests that need to be as atomic as possible.
Novos ganchos
- A new hook, 'LogException ', was added to log exceptions in non-standard ways.
- Revive the 'SpecialSearchResultsAppend ' hook which occurs after the list of search results are rendered. The initial use case is to append a "give us feedback" link beneath the search results.
- Added a new hook, 'RejectParserCacheValue ', which allows extensions to reject an otherwise-successful parser cache lookup. The intent is to allow extensions to manage the eviction of archaic HTML output from the cache.
- Added new hooks 'EnhancedChangesListModifyLineData ' & 'EnhancedChangesListModifyBlockLineData ', to modify the data used to build lines in enhanced recentchanges and watchlist.
- Added a new hook, 'RandomPageQuery ', to allow modification of the query used by Special:Random to select random pages.
Avisos de atualização para os administradores do MediaWiki
Alterações significativas
- Deprecated API formats
dump
andwddx
have been removed completely. - $wgResourceLoaderUseESI was deprecated and removed. This was an experimental feature that was never enabled by default.
- $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed. This experimental feature was never enabled by default and is obsolete as of MediaWiki 1.26; ResourceLoader now is fully asynchronous.
- $wgMasterWaitTimeout was removed (deprecated in 1.24).
- Fields in
ParserOptions
are now private. Use the accessors instead. - Extension:SyntaxHighlight GeSHi has been rewritten and switched from the 3rd party library GeSHi to the 3rd party library Pygments. It requires that your system has Python 2.6+ or Python 3.3+ installed. Additionally, if you have modified the CSS output with custom rules, these rules might need adjustment. See also ResourceLoader/Migration guide (users)#Font mw-geshi.
- If Extension:HitCounters is in use and has not been installed correctly (especially: if
update.php
has not been run in MediaWiki 1.25 with extension HitCounters installed) or if you are updating from a MediaWiki version older than 1.25, then with the upgrade to MediaWiki 1.26 the hit numbers will be removed from your database and the functionality will break. See Extension:HitCounters for more information!
ResourceLoader asynchronicity and other JavaScript changes
Site scripts, user scripts and gadgets may cease to work in 1.26 unless they are updated. For gadgets in particular, ResourceLoader is no longer opt-in and is instead now mandatory. See this migration guide on how to fix.
Module position for style modules
This release introduces the ability to move module styles from the top to the bottom of the HTML output (similar to what could already be done with dynamic script modules). Previously, module styles were always loaded from the top.
Loading a style module with no explicit load position declared will produce a debug warning "Style module should define its position". Developers are recommended to explicitly declare the desired load position in ResourceModules .
In a PHP file, this may look as follows:
$wgResourceModules['ext.Example.styles'] = array(
'position' => 'top',
'styles' => array(
...
If the module is declared via extension.json or skin.json, it may look like the following:
"ResourceModules": {
"ext.Example.styles": {
"position": "top",
"styles": {
...
Depreciação
- $wgEnableParserCache was deprecated. Set
$wgParserCacheType = CACHE_NONE
instead if you want to disable the parser cache. - Certain AuthPlugin methods are deprecated in favor of new hooks as part of the upcoming AuthManager system:
AuthPlugin::initUser()
is replaced byLocalUserCreated
.AuthPlugin::updateUser()
is replaced byUserLoggedIn
.AuthPlugin::updateExternalDB()
is replaced by the existingUserSaveSettings
.AuthPlugin::updateExternalDBGroups()
is replaced byUserGroupsChanged
.AuthPluginUser::isHidden()
is replaced byUserIsHidden
.AuthPluginUser::isLocked()
is replaced byUserIsLocked
.
- The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
AuthPlugin::initUser()
andAuthPlugin::updateUser()
should no longer replace the passedUser
object.
Alterações na configuração
- The ':' (colon) character is now invalid in usernames for new accounts. Existing accounts are not affected.
- The expiration of the UserID and Token login cookies ($wgExtendedLoginCookieExpiration ) can be configured independently of the expiration of all other cookies ($wgCookieExpiration ). [1]
- Users installing the Vector skin through composer will need to add
wfLoadSkin( 'Vector' );
to their LocalSettings.php, it will no longer happen automatically. $wgPasswordResetRoutes ['email']
is nowtrue
by default.- The "Signature" button on the edit toolbar is now hidden by default in non-talk namespaces. A new configuration variable, $wgExtraSignatureNamespaces , controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed. [2]
- $wgBlockAllowsUTEdit is now set to
true
by default. This allows blocked users to edit their talk pages unless explicitly disabled when they are being blocked. It does not affect existing blocks.
Alterações na API de Ação
- New-style continuation is now the default for API
action=continue
. Clients may use the 'rawcontinue
' parameter to receive raw query-continue data, but the new style is encouraged as it's harder to implement incorrectly. - The deprecated
dump
andwddx
formats were removed entirely. - The formatting of log parameters changed in
logevents
,recentchanges
, andwatchlist
query modules (announcement) action=import
will now give an error if both therootpage
andnamespace
parameters are passed (announcement)- The output of
meta=siteinfo
while usingformatversion=2
changed slightly (announcement) - The
generatexml
parameter toaction=parse
,prop=revisions
, andprop=deletedrevisions
is now deprecated (announcement) list=random
now has higher limits: 500 for normal users, 5000 for bots
Mudanças de esquema
Tabela excluída:
Campos excluídos:
Extensões agrupadas
- Cite
- CiteThisPage
- ConfirmEdit
- Gadgets
- ImageMap
- InputBox
- Interwiki
- LocalisationUpdate
- Nuke
- ParserFunctions
- PdfHandler
- Poem
- Renameuser
- SpamBlacklist
- SyntaxHighlight_GeSHi
- TitleBlacklist
- WikiEditor
Cronograma de lançamento
As datas previstas para lançamentos pontuais para 1,26 são as seguintes:
Lançamento | Data |
---|---|
1.26.0 | 2015-11-25 |
1.26.1 | 2015-12-18[1] |
1.26.2 | 2015-12-22[2] |
1.26.3 | 2016-05-20[3] |
1.26.4 | 2016-08-22[4] |
Subpáginas
- MediaWiki 1.26/Roadmap
- MediaWiki 1.26/wmf1
- MediaWiki 1.26/wmf1/Changelog
- MediaWiki 1.26/wmf10
- MediaWiki 1.26/wmf10/Changelog
- MediaWiki 1.26/wmf11
- MediaWiki 1.26/wmf11/Changelog
- MediaWiki 1.26/wmf12
- MediaWiki 1.26/wmf12/Changelog
- MediaWiki 1.26/wmf13
- MediaWiki 1.26/wmf13/Changelog
- MediaWiki 1.26/wmf14
- MediaWiki 1.26/wmf14/Changelog
- MediaWiki 1.26/wmf15
- MediaWiki 1.26/wmf15/Changelog
- MediaWiki 1.26/wmf16
- MediaWiki 1.26/wmf16/Changelog
- MediaWiki 1.26/wmf17
- MediaWiki 1.26/wmf17/Changelog
- MediaWiki 1.26/wmf18
- MediaWiki 1.26/wmf18/Changelog
- MediaWiki 1.26/wmf19
- MediaWiki 1.26/wmf19/Changelog
- MediaWiki 1.26/wmf2
- MediaWiki 1.26/wmf2/Changelog
- MediaWiki 1.26/wmf20
- MediaWiki 1.26/wmf20/Changelog
- MediaWiki 1.26/wmf21
- MediaWiki 1.26/wmf21/Changelog
- MediaWiki 1.26/wmf22
- MediaWiki 1.26/wmf22/Changelog
- MediaWiki 1.26/wmf23
- MediaWiki 1.26/wmf23/Changelog
- MediaWiki 1.26/wmf24
- MediaWiki 1.26/wmf24/Changelog
- MediaWiki 1.26/wmf3
- MediaWiki 1.26/wmf3/Changelog
- MediaWiki 1.26/wmf4
- MediaWiki 1.26/wmf4/Changelog
- MediaWiki 1.26/wmf5
- MediaWiki 1.26/wmf5/Changelog
- MediaWiki 1.26/wmf6
- MediaWiki 1.26/wmf6/Changelog
- MediaWiki 1.26/wmf7
- MediaWiki 1.26/wmf7/Changelog
- MediaWiki 1.26/wmf8
- MediaWiki 1.26/wmf8/Changelog
- MediaWiki 1.26/wmf9
- MediaWiki 1.26/wmf9/Changelog
- ↑ https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-December/000186.html
- ↑ https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-December/000187.html
- ↑ https://lists.wikimedia.org/pipermail/mediawiki-announce/2016-May/000188.html
- ↑ https://lists.wikimedia.org/pipermail/mediawiki-announce/2016-August/000195.html