Introduced Maintenance::getDB() and corresponding setDB() to control externally what...
[mediawiki.git] / RELEASE-NOTES-1.19
blob67f85cd5f09eb6597126f5ca52fa9d4fc7a360d9
1 = MediaWiki release notes =
3 Security reminder: MediaWiki does not require PHP's register_globals
4 setting since version 1.2.0. If you have it on, turn it '''off''' if you can.
6 == MediaWiki 1.19 ==
8 THIS IS NOT A RELEASE YET
10 MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in
11 production.
13 === Configuration changes in 1.19 ===
14 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed
15 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed
16 * $wgAllowUserSkin (deprecated in 1.16) has now been removed
17 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed
18 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed
19 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
20   whether a page is an article or not. $wgUseCommaCount is now deprecated.
22 === New features in 1.19 ===
23 * (bug 28916) A way to to toggle mw.config legacy globals settings from
24   LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
25 * (bug 28503) Support for ircs:// URL protocols
26 * (bug 26033) It is now possible to count all non-redirect pages in content
27   namespaces as articles
28 * Images can now be embedded in an XML dump stream using backupDump.php
29   --include-files and can be imported using importDump.php --uploads;
30   furthermore, it can import files from the filesystem using --image-base-path
31 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
32   'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
33   may override the usage of PageArchive class and replace it with their own
34   class that extends PageArchive.
35 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
36   Also built-in support for distribution through a TestSwarm instance.
37 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
38   added to the textarea on the edit form.
39 * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php)
40 * (bug 29067) Creating "user.tokens" module (like user.options) in ResourceLoader.
42 === Bug fixes in 1.19 ===
43 * (bug 10154) Don't allow user to specify days beyond $wgRCMaxAge.
44 * (bug 28868) Show total pages in the subtitle of an image on the
45   file description page for multi-paged documents.
46 * (bug 28883) Message names for different compression types commonly
47   used in Tiff files.
48 * When translcuding a special page, do not let it interpret url parameters.
49 * (bug 28887) Special page classes are no longer re-used during 1 request.
50 * New title field of Special:MovePage is now length limited on client side.
51 * (bug 28888) Searching for something starting with a # sign no longer tells
52   the user a page named [[:]] already exists.
53 * (bug 23002) Imagelinks table not updated after imagemove.
54 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
55   pages.
56 * (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image.
57 * (bug 11868) If using links to count articles, the checking will now be based
58   on the real presence of an internal link instead of the "[[" string
59 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
60 * (bug 28940) When making a thumb of an SVG, and only specifying the height
61   make the width be the max SVG size, not the natrual width of the SVG.
62 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
63   Windows.
64 * (bug 23464) File: prefixes are now chopped off during uploading.
65 * (bug 28174) Message config-logo-help amended to not explicitly assume any
66   LTR/RTL screen layout.
67 * (bug 28992) Revision numbers in the patrol log are transformed in the user
68   language.
69 * (bug 27073) ResourceLoaderDynamicStyles should be dynamically appended to
70   the document if it doesn't exist.
71 * (bug 27023) After dom ready event, using mediawiki.loader.using will
72   call callback too early.
73 * (bug 4330) External URLs without custom title should be treated as LTR,
74   also in RTL text.
75 * (bug 29055) Make don't send email on minor edits preference apply to
76   changes to talk page in addition to watchlist edits.
77 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
78 * (bug 28272) Special:Allmessages should have only one "Go" button
79 * (bug 29101) Special:FileDuplicateSearch shows silly message
80 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
81   as lastTabIndex().
83 === API changes in 1.19 ===
84 * BREAKING CHANGE: action=watch now requires POST and token.
85 * (bug 27790) add query type for querymodules to action=paraminfo
86 * (bug 28963) add langbacklinks module to api
87 * (bug 27593) API: add error message when sha1/sha1base36 is invalid
88 * (bug 28578) API's parse module should not silently override invalid
89   title inputs
90 * (bug 20699) API watchlist should list log-events
91 * (bug 29070) Add token to action=watch
92 * (bug 29120) ApiQueryLogEvents: let letype accept multiple values
94 === Languages updated in 1.19 ===
96 MediaWiki supports over 330 languages. Many localisations are updated
97 regularly. Below only new and removed languages are listed, as well as
98 changes to languages because of Bugzilla reports.
100 * Bhojpuri (bho) (renamed from "bh").
101 * (bug 29031) When translating block log entries, indefinite, infinite, and
102   infinity are now considered the same.
104 === Other changes in 1.19 ===
105 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
107 == Compatibility ==
109 MediaWiki 1.19 requires PHP 5.2.3. PHP 4 is no longer supported.
111 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
112 support for them is somewhat less mature. There is experimental support for IBM
113 DB2 and Microsoft SQL Server.
115 The supported versions are:
117 * MySQL 4.0 or later
118 * PostgreSQL 8.3 or later
119 * SQLite 3
120 * Oracle 9.0.1 or later
122 == Upgrading ==
124 1.19 has several database changes since 1.17, and will not work without schema
125 updates.
127 If upgrading from before 1.11, and you are using a wiki as a commons
128 repository, make sure that it is updated as well. Otherwise, errors may arise
129 due to database schema changes.
131 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
132 new database fields are filled with data.
134 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
135 changes are made, and there is a slightly higher chance that things could
136 break. Don't forget to always back up your database before upgrading!
138 See the file UPGRADE for more detailed upgrade instructions.
140 For notes on 1.15.x and older releases, see HISTORY.
142 == Online documentation ==
144 Documentation for both end-users and site administrators is available on
145 MediaWiki.org, and is covered under the GNU Free Documentation License (except
146 for pages that explicitly state that their contents are in the public domain):
148         http://www.mediawiki.org/wiki/Documentation
150 == Mailing list ==
152 A mailing list is available for MediaWiki user support and discussion:
154         http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
156 A low-traffic announcements-only list is also available:
158         http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
160 It's highly recommended that you sign up for one of these lists if you're
161 going to run a public MediaWiki, so you can be notified of security fixes.
163 == IRC help ==
165 There's usually someone online in #mediawiki on irc.freenode.net.