MediaWiki 1.24/zh

MediaWiki 1.24是不受支持的MediaWiki版本. 参阅文件获取完整更新列表. It was deployed on the Wikimedia Foundation's wikis through incremental "wmf"-branches from April 2014 to September 2014. The 1.24.0 stable release was published on Wednesday, November 26th 2014. Download the latest release or checkout the  branch in Git to follow this release.



设置变得更容易
MediaWiki is known to be extremely flexible and customisable, but few users use its full potential. In 1.24, we aim to make dozens of obscure options preferences easily discoverable and obvious to use.





新特性

 * Category pages can now be moved.
 * MergeHistory for all administrators by default.
 * Improvements have been made to the password storage system in 77645, allowing improved security against offline attacks should a wiki's database be compromised by attackers. Then, in 149658, the default password storage algorithm was changed to PBKDF2.
 * PBKDF2 and Bcrypt have built-in support in PHP. The new extensible password API makes it trivial to implement scrypt support if we wanted to.
 * Addition of a JSON content model to the core. Earlier, it was implemented through an extension.

易用性

 * The move feature and other actions are now discoverable in Vector, thanks to a label for the dropdown where they're hidden by default.
 * - Redirect to Special:UserLogin when logging in is required to proceed, instead of showing an error message.

性能
During the development cycle for 1.24, MediaWiki development had a focus on frontend performance.


 * Vector skin performance was improved by removing collapsibleNav, which was used to collapse some sidebar elements by default. This removes  suffixes like   which means that instead of using things like , you need to use.

国际化
Several new locales have been added, thanks to translators Amqui, Bachounda, Crochet.david, Filipinayzd, Kuvaly, Malafaya, Moha, Oldstoneage, Paul Beppler, Rberchie, Rinconada, Stephenwanjau, Tifinaghes, Vogone, 아라.

Breaking changes

 * Upgraded jQuery to version 1.11.x.
 * Support for register_globals (deprecated 5 years ago) was dropped, MediaWiki will no longer run with it enabled. See this email notification for more details.
 * is now a magic word that results in, mainly for use in templates and other complex templates. If your wiki has a template at Template:!, you will need to change the name and update any usage of it. If your Template:! is just  , it can be safely deleted.
 * Removed the hook SpecialSearchGo. Any extensions depending on this hook will break.

API changes
Starting with MediaWiki 1.24, we're cleaning up the API, and working towards an API 2.0. See the roadmap for more details.


 * Rarely used data formats deprecated: dbg, dump, txt, wddx, yaml. These may be removed in a future release.
 * Token handling overhauled: the module is now deprecated and replaced by . Most actions now just take a generic "csrf" token, and the token type is now properly documented in the auto-generated documentation.
 * And more! See the file for a full list.

Directory changes

 * The legacy skins/common/ directory has been emptied and deleted as part of the skin system cleanup. Files that have been present in it have been moved elsewhere or deleted (if they were unused). If you loaded any of these files as part of your custom skin or on-wiki CSS/JS, you should make a copy of the old files in a non-MediaWiki directory. See the file for the full list of moved/deleted files.

Browser support deprecated or removed

 * Full support for Internet Explorer 6 and Internet Explorer 7 has been removed.  Users of these browsers will not have any JavaScript when using MediaWiki. JavaScript fixes specific to them have also been removed. Additional Internet Explorer 6 and Internet Explorer 7 fixes that exist in pages of your wiki like MediaWiki:Common.js and similar can be safely removed if you want to keep your site's browser support consistent.
 * See Compatibility for more information.

Skins no longer loaded after upgrade?
If you're upgrading via a tarball release, that is all you need to do.
 * MediaWiki 1.24 no longer uses the skin autodiscovery mechanism to load default skins, instead requiring that the skins be manually loaded in, much like extensions (see Manual:Skin configuration#Installing skins).
 * This will require you to update  after the upgrade – a prominently displayed warning message should guide you through the process, suggesting the exact configuration that you need to add.
 * If you're upgrading via git or otherwise from source, note that the skins themselves have been each moved to a separate repository and will need to be installed separately (much like extensions, some basic ones are included in the tarball).

Schema
New fields:

New indexes:


 * wl_user_notificationtimestamp on Watchlist table

Deleted fields:



Release schedule
The dates for the point releases for 1.24 were as follows: