Stylize
[mediawiki.git] / RELEASE-NOTES-1.19
blob55a61f464d73c78b15fbe7d6cc8dbe7338e54881
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.
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 * New hook "Collation::factory" to allow extensions to create custom
31   category collations.
33 === New features in 1.19 ===
34 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
35 * (bug 28916) A way to to toggle mw.config legacy globals settings from
36   LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
37 * (bug 28503) Support for ircs:// URL protocols
38 * (bug 26033) It is now possible to count all non-redirect pages in content
39   namespaces as articles
40 * Images can now be embedded in an XML dump stream using backupDump.php
41   --include-files and can be imported using importDump.php --uploads;
42   furthermore, it can import files from the filesystem using --image-base-path
43 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
44   'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
45   may override the usage of PageArchive class and replace it with their own
46   class that extends PageArchive.
47 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
48   Also built-in support for distribution through a TestSwarm instance.
49 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
50   added to the textarea on the edit form.
51 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
52 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
53 * New 'Debug' hook used by wfDebug() and wfDebugLog()
54 * (bug 27655) Require token for watching/unwatching pages)
55 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest version)
56 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
57   handle titles on case-sensitive wikis.
58 * (bug 29397) Implement mw.Title module in core.
59 * In MySQL 4.1.9+ with replication enabled, the slave lag should come from
60   SHOW SLAVE STATUS instead of SHOW PROCESSLIST.
61 * Language codes in $wgDummyLanguageCodes are now excluded on localization
62   statistics (maintenance/language/transstat.php)
63 * (bug 29586) Make the (next 200) links on categories link directly to
64   the relevant section of the category.
65 * (bug 29109) Allow the automatic edit summary for redirect creation
66   show the first bit of the new redirect page.
67 * (bug 5800) Added $formCallback as a parameter to the hook
68   EditPage::showEditForm:initial.
69 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
70 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
71 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
72   which the language name is wanted. Coverage depends on the cldr extension.
73 * (bug 15802) An easy way to look up messages: language qqx which returns
74   the message keys.
75 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
76 * (bug 29558) $wgMiserMode now disables update.php by default
77 * AjaxCategories: Easily add, edit or delete categories on article pages.
78   Suggests possible categories when typing, all saves are done via AJAX.
79   Supports editing of multiple categories and then saving them in one batch.
81 === Bug fixes in 1.19 ===
82 * (bug 28868) Show total pages in the subtitle of an image on the
83   file description page for multi-paged documents.
84 * (bug 28883) Message names for different compression types commonly
85   used in Tiff files.
86 * When translcuding a special page, do not let it interpret url parameters.
87 * (bug 28887) Special page classes are no longer re-used during 1 request.
88 * (bug 28888) Searching for something starting with a # sign no longer tells
89   the user a page named [[:]] already exists.
90 * (bug 23002) Imagelinks table not updated after imagemove.
91 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
92   pages.
93 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
94 * (bug 11868) If using links to count articles, the checking will now be based
95   on the real presence of an internal link instead of the "[[" string
96 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
97 * (bug 28940) When making a thumb of an SVG, and only specifying the height
98   make the width be the max SVG size, not the natrual width of the SVG.
99 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
100   Windows.
101 * (bug 23464) File: prefixes are now chopped off during uploading.
102 * (bug 28174) Message config-logo-help amended to not explicitly assume any
103   LTR/RTL screen layout.
104 * (bug 28992) Revision numbers in the patrol log are transformed in the user
105   language.
106 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended to
107   the document head if it doesn't exist.
108 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
109   before module is parsed).
110 * (bug 4330) External URLs without a custom title should be treated as LTR,
111   even in RTL text.
112 * (bug 29055) Make "don't send email on minor edits" preference apply to
113   changes to talk page in addition to watchlist edits.
114 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
115 * (bug 28272) Special:AllMessages should have only one "Go" button.
116 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
117 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
118   as lastTabIndex().
119 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
120   enter an e-mail address.
121 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
122 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
123 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
124   instead of reloading the page.
125 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning
126 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering
127 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
128   consecutive edits by same user in included diff, but then linked to
129   a single ungrouped diff.
130 * Do not try to group together a page creation and edit in the RSS feed of RC.
131 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
132   patrol permissions
133 * (bug 29471) Exception no longer thrown for files with invalid date in metadata
134 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
135   no longer cause timeouts
136 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere
137 * If the db is really screwed up, and doesn't have a recentchanges table,
138   make the updater throw an exception instead of a fatal.
139 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
140   correctly.
141 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
142   "vectorTabs" portlets.
143 * (bug 8556) Incorrect session failure warning on preview-on-open
144   namespaces (categories) when combined with $wgRawHtml.
145 * Use content language in formatting of dates in revertpage message
146   (rollback revert edit summary) and do not adjust for user timezone.
147 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
148 * Make sure Backlink cache does not retrieve interwiki redirects when looking for
149   redirects to a local page.
150 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
151   and wiki content, along with many other RTL and directionality improvements
152   (such as bugs 28030, 12406, 28349)
153 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
154   unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
155   left/right according to the directionality of your interface language.
156 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit)
157 * (bug 27410) The tag filter on a history page is now within a <label> element
158 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
159   styling (strike/underline).
160 * Translate the block expiry date
161 * (bug 28630) Add iwlinks, langlinks, redirect to
162   RefreshLinks::deleteLinksFromNonexistent
163 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
164   are disabled for user pages.
165 * (bug 12205) Bidirectional names in action=credits are split and displayed
166   incorrectly when wrapped to the next line.
167 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
168 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
169   not language.
170 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
171 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
172   to the FCKEditor extension.
174 === API changes in 1.19 ===
175 * BREAKING CHANGE: action=watch now requires POST and token.
176 * (bug 27790) Add query type for querymodules to output of ApiParamInfo
177 * (bug 28963) Add langbacklinks query module to the api
178 * (bug 27593) API should return error message when sha1/sha1base36 is invalid
179 * (bug 28578) API's parse module should not silently override invalid
180   title inputs
181 * (bug 20699) Watchlist API should list log-events
182 * (bug 29070) Require a token in API action=watch
183 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output
184 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag
185 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions
186 * (bug 25734) API: Possible issue with revids validation
187 * (bug 28002) Internal error in ApiFormatRaw::getMimeType
188 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
189 * (bug 28392) Mark action=undelete&timestamps as type "timestamp"
190 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode)
191 * (bug 27595) sha1 search of list=filearchive does not work
192 * (bug 26763) Make RSS/Atom of user contributions more visible
193 * (bug 25133) Allow redirects also for action=parse&pageid
194 * (bug 29745) Fatal error in API search
195 * (bug 29476) API returns page title instead of sectiontitle for
196   srprop=sectiontitle
197 * Correct the documentation of srprop properties
199 === Languages updated in 1.19 ===
201 MediaWiki supports over 330 languages. Many localisations are updated
202 regularly. Below only new and removed languages are listed, as well as
203 changes to languages because of Bugzilla reports.
205 * Bhojpuri (bho) (renamed from "bh").
206 * (bug 29031) When translating block log entries, indefinite, infinite, and
207   infinity are now considered the same.
208 * Aromanian (rup) (renamed from "rua-rup").
210 === Other changes in 1.19 ===
211 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
212 * (bug 28556) Upload support for MacBinary files has been removed (Used by
213   Internet Explorer 5 for Mac OS 9)
215 == Compatibility ==
217 MediaWiki 1.19 requires PHP 5.2.3. PHP 4 is no longer supported.
219 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
220 support for them is somewhat less mature. There is experimental support for IBM
221 DB2 and Microsoft SQL Server.
223 The supported versions are:
225 * MySQL 4.0 or later
226 * PostgreSQL 8.3 or later
227 * SQLite 3
228 * Oracle 9.0.1 or later
230 == Upgrading ==
232 1.19 has several database changes since 1.17, and will not work without schema
233 updates.
235 If upgrading from before 1.11, and you are using a wiki as a commons
236 repository, make sure that it is updated as well. Otherwise, errors may arise
237 due to database schema changes.
239 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
240 new database fields are filled with data.
242 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
243 changes are made, and there is a slightly higher chance that things could
244 break. Don't forget to always back up your database before upgrading!
246 See the file UPGRADE for more detailed upgrade instructions.
248 For notes on 1.15.x and older releases, see HISTORY.
250 == Online documentation ==
252 Documentation for both end-users and site administrators is available on
253 MediaWiki.org, and is covered under the GNU Free Documentation License (except
254 for pages that explicitly state that their contents are in the public domain):
256         http://www.mediawiki.org/wiki/Documentation
258 == Mailing list ==
260 A mailing list is available for MediaWiki user support and discussion:
262         http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
264 A low-traffic announcements-only list is also available:
266         http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
268 It's highly recommended that you sign up for one of these lists if you're
269 going to run a public MediaWiki, so you can be notified of security fixes.
271 == IRC help ==
273 There's usually someone online in #mediawiki on irc.freenode.net.