General database-related code cleanup:
[lhc/web/wiklou.git] / RELEASE-NOTES-1.19
1 = MediaWiki release notes =
2
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.
5
6 == MediaWiki 1.19 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in
11 production.
12
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.
21 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
22 and the functionality has been moved to the relevant extensions. See
23 http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
24 http://www.mediawiki.org/wiki/Extension:CreativeCoreRdf as appropriate
25 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS
26 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature
27 was removed in about 1.5.
28 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
29 hooks have been removed.
30
31 === New features in 1.19 ===
32 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
33 * (bug 28916) A way to to toggle mw.config legacy globals settings from
34 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
35 * (bug 28503) Support for ircs:// URL protocols
36 * (bug 26033) It is now possible to count all non-redirect pages in content
37 namespaces as articles
38 * Images can now be embedded in an XML dump stream using backupDump.php
39 --include-files and can be imported using importDump.php --uploads;
40 furthermore, it can import files from the filesystem using --image-base-path
41 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
42 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
43 may override the usage of PageArchive class and replace it with their own
44 class that extends PageArchive.
45 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
46 Also built-in support for distribution through a TestSwarm instance.
47 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
48 added to the textarea on the edit form.
49 * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php)
50 * (bug 29067) Creating "user.tokens" module (like user.options) in ResourceLoader.
51 * New 'Debug' hook used by wfDebug() and wfDebugLog()
52 * (bug 27655) Require token for watching/unwatching pages)
53 * (bug 28904) Update jQuery version from 1.4.4 to 1.6.1 (the latest version)
54 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
55 handle titles on case-sensitive wikis.
56 * (bug 29397) Implement mw.Title module in core.
57 * In MySQL 4.1.9+ with replication enabled, get the slave lag from SHOW SLAVE
58 STATUS instead of SHOW PROCESSLIST.
59
60 === Bug fixes in 1.19 ===
61 * (bug 28868) Show total pages in the subtitle of an image on the
62 file description page for multi-paged documents.
63 * (bug 28883) Message names for different compression types commonly
64 used in Tiff files.
65 * When translcuding a special page, do not let it interpret url parameters.
66 * (bug 28887) Special page classes are no longer re-used during 1 request.
67 * (bug 28888) Searching for something starting with a # sign no longer tells
68 the user a page named [[:]] already exists.
69 * (bug 23002) Imagelinks table not updated after imagemove.
70 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
71 pages.
72 * (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image.
73 * (bug 11868) If using links to count articles, the checking will now be based
74 on the real presence of an internal link instead of the "[[" string
75 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
76 * (bug 28940) When making a thumb of an SVG, and only specifying the height
77 make the width be the max SVG size, not the natrual width of the SVG.
78 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
79 Windows.
80 * (bug 23464) File: prefixes are now chopped off during uploading.
81 * (bug 28174) Message config-logo-help amended to not explicitly assume any
82 LTR/RTL screen layout.
83 * (bug 28992) Revision numbers in the patrol log are transformed in the user
84 language.
85 * (bug 27073) ResourceLoaderDynamicStyles should be dynamically appended to
86 the document if it doesn't exist.
87 * (bug 27023) After dom ready event, using mediawiki.loader.using will
88 call callback too early.
89 * (bug 4330) External URLs without custom title should be treated as LTR,
90 also in RTL text.
91 * (bug 29055) Make don't send email on minor edits preference apply to
92 changes to talk page in addition to watchlist edits.
93 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
94 * (bug 28272) Special:Allmessages should have only one "Go" button
95 * (bug 29101) Special:FileDuplicateSearch shows silly message
96 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
97 as lastTabIndex().
98 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
99 enter an e-mail address.
100 * (bug 25375) Add canonical namespaces to JavaScript "wgNamespaceIds"
101 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
102 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
103 without reloading the page
104 * (bug 29325) Setting $wgStrictFileExtensions to false gives incorrect warning
105 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering
106 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
107 consecutive edits by same user in included diff, but then linked to
108 a single ungrouped diff.
109 * Do not try to group together a page creation and edit in the RSS feed of RC.
110 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
111 patrol permissions
112 * (bug 29471) Exception thrown for files with invalid date in metadata
113 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
114 can sometimes timeout
115 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere
116
117 === API changes in 1.19 ===
118 * BREAKING CHANGE: action=watch now requires POST and token.
119 * (bug 27790) add query type for querymodules to action=paraminfo
120 * (bug 28963) add langbacklinks module to api
121 * (bug 27593) API: add error message when sha1/sha1base36 is invalid
122 * (bug 28578) API's parse module should not silently override invalid
123 title inputs
124 * (bug 20699) API watchlist should list log-events
125 * (bug 29070) Add token to action=watch API
126 * (bug 29221) Expose oldrevid in watchlist output
127 * (bug 29267) always give the servername for meta=siteinfo&siprop=dbrepllag
128 * (bug 28897) rvparse doesn’t seem to work with rvsection
129 * (bug 25734) API: possible issue with revids validation
130 * (bug 28002) Internal error in ApiFormatRaw::getMimeType
131 * (bug 29237) add interwiki target url attribute to api/query/interwiki
132 * (bug 28392) mark action=undelete&timestamps as type "timestamp"
133 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode)
134 * (bug 27595) sha1 search of list=filearchive does not work
135 * (bug 26763) Make RSS/Atom of user contributions more visible
136 * (bug 25133) allow redirects also for action=parse&pageid
137
138 === Languages updated in 1.19 ===
139
140 MediaWiki supports over 330 languages. Many localisations are updated
141 regularly. Below only new and removed languages are listed, as well as
142 changes to languages because of Bugzilla reports.
143
144 * Bhojpuri (bho) (renamed from "bh").
145 * (bug 29031) When translating block log entries, indefinite, infinite, and
146 infinity are now considered the same.
147 * Aromanian (rup) (renamed from "rua-rup").
148
149 === Other changes in 1.19 ===
150 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
151 * (bug 28556) Upload support for MacBinary files has been removed (Used by
152 Internet Explorer 5 for MacOS 9)
153
154 == Compatibility ==
155
156 MediaWiki 1.19 requires PHP 5.2.3. PHP 4 is no longer supported.
157
158 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
159 support for them is somewhat less mature. There is experimental support for IBM
160 DB2 and Microsoft SQL Server.
161
162 The supported versions are:
163
164 * MySQL 4.0 or later
165 * PostgreSQL 8.3 or later
166 * SQLite 3
167 * Oracle 9.0.1 or later
168
169 == Upgrading ==
170
171 1.19 has several database changes since 1.17, and will not work without schema
172 updates.
173
174 If upgrading from before 1.11, and you are using a wiki as a commons
175 repository, make sure that it is updated as well. Otherwise, errors may arise
176 due to database schema changes.
177
178 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
179 new database fields are filled with data.
180
181 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
182 changes are made, and there is a slightly higher chance that things could
183 break. Don't forget to always back up your database before upgrading!
184
185 See the file UPGRADE for more detailed upgrade instructions.
186
187 For notes on 1.15.x and older releases, see HISTORY.
188
189 == Online documentation ==
190
191 Documentation for both end-users and site administrators is available on
192 MediaWiki.org, and is covered under the GNU Free Documentation License (except
193 for pages that explicitly state that their contents are in the public domain):
194
195 http://www.mediawiki.org/wiki/Documentation
196
197 == Mailing list ==
198
199 A mailing list is available for MediaWiki user support and discussion:
200
201 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
202
203 A low-traffic announcements-only list is also available:
204
205 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
206
207 It's highly recommended that you sign up for one of these lists if you're
208 going to run a public MediaWiki, so you can be notified of security fixes.
209
210 == IRC help ==
211
212 There's usually someone online in #mediawiki on irc.freenode.net.