Correct the name of Sanskrit Language.
[lhc/web/wiklou.git] / RELEASE-NOTES-1.18
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.18 ==
7
8 THIS IS NOT A RELEASE YET
9
10 This is a beta release of the MediaWiki 1.18 branch. Please test it and let us
11 know what you think of it. Beta releases are not recommended for use in
12 production.
13
14 === Changes since 1.18 beta 1 ===
15 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
16 under Microsoft SQL.
17 * (bug 29912) Unit tests break if parsertest tables are still present
18 * (bug 31990) justify paragraphs pref adds extra space to category listing
19 * (bug 20148) Better title for [[Special:Disambiguations]] page
20
21 === Configuration changes in 1.18 ===
22 * The WantedPages::getSQL hook has been removed and replaced with
23 WantedPages::getQueryInfo. This may break older extensions.
24 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
25 SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
26 favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage
27 * $wgUseCombinedLoginLink controls whether to output a combined
28 login / create account link in the personal bar, or to output separate login
29 and create account links.
30 * Skin names are no longer created based on a ucfirst version of the key in
31 $wgValidSkinNames but now the value. This means for
32 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
33 loading SkinMonobook and will instead load SkinMonoBook.
34 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
35 per upload type.
36 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
37 $wgAPICacheHelpTimeout = 0;
38 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
39 by the page, but $wgAllowUserJs is set to false.
40 * Pure "Skin" class based custom skins are no longer supported, all custom skins
41 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
42 * The transliteration for passwords in case they were migrated from an old
43 Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
44 $wgLegacyEncoding set.
45 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
46 look at when finding metadata to prevent excessive resource usage.
47 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
48 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
49 same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
50 replicate $wgSysopUserBans functionality.
51 * The options on the block form have been standardised such that checking a box
52 makes the block 'more serious'; so while "check to prevent account creation"
53 and "check to enable autoblock" remain the same, "check to allow user-talk
54 edit" is reversed to "check to *disable* user-talk edit", and "check to block
55 anon-only" becomes "check to block logged-in users too". The default settings
56 remain the same.
57 * Most of the field names on the Special:Block form have been changed, which
58 will probably break screen-scraping bots.
59 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
60 $wgUseTrackbacks is already false by default.
61 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
62 *appearing* to hide article elements, has been removed. Use the
63 ParserFunctions extension to actually remove unwanted elements from the
64 output.
65 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
66 math conversion after upgrading, obtain the Math extension from SVN or from
67 http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
68 require_once "$IP/extensions/Math/Math.php";
69 * $wgProfiler is now a configuration array, see StartProfiler.sample for
70 details.
71 * $wgProfiling has been removed.
72 * The spyc library is now no longer included in phase3.
73 * (bug 28343) Unused preferences contextlines/contextchars have been removed
74 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
75 * $wgProto has been removed. You now only need to set $wgServer to change the
76 URL protocol.
77 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed
78 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed
79 * $wgAllowUserSkin (deprecated in 1.16) has now been removed
80 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed
81 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed
82 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
83 whether a page is an article or not. $wgUseCommaCount is now deprecated.
84 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
85 and the functionality has been moved to the relevant extensions. See
86 http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
87 http://www.mediawiki.org/wiki/Extension:CreativeCoreRdf as appropriate
88 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS
89 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature
90 was removed in about 1.5.
91 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
92 hooks have been removed.
93 * New hook "Collation::factory" to allow extensions to create custom
94 category collations.
95 * $wgGroupPermissions now supports per namespace permissions.
96 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
97 null will cause MediaWiki to determine if auto-rotation is available.
98
99 === New features in 1.18 ===
100 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
101 * BREAKING CHANGE: Article class heirarchy split into WikiPage (backend)
102 and Article (frontend) hierarchies. Several hooks now pass a WikiPage object instead
103 of an Article object. These hooks all use an $article paramater as documented in hooks.txt.
104 Extensions should be updated to account for this, though most won't require any changes.
105 * (bug 27860) Minor edit after clicking 'new section' tab
106 Now the "This is a minor edit" checkbox is not available when you
107 create a page or new section.
108 * (bug 8130) Query pages should limit to content namespaces, not just main
109 namespace.
110 * Search suggestions (other than in the Vector skin) will now use the HTML5
111 datalist feature where supported, currently only Firefox 4.
112 * Special:Contribs now redirects to Special:Contributions.
113 * (bug 6672) Images are now autorotated according to their EXIF orientation.
114 This only affects thumbnails; the source remains unrotated.
115 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0
116 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
117 saved.
118 * New parser option PreSaveTransform added, allows the pre-save transformation
119 to be selectively disabled.
120 * Alternative to $wgHooks implemented, using the new Hooks class.
121 * Add width parameter to Special:Filepath to allow getting the file path of a
122 thumbnail.
123 * (bug 26870) Add size to {{filepath:}}.
124 * Upload warnings now show a thumbnail of the uploaded file.
125 * Introduced the edittools-upload message, which will be inserted under the
126 upload form instead of edittools if available.
127 * (bug 26285) Extensions will be automatically generated on upload if the user
128 specified a filename without extension.
129 * (bug 26851) Special:UserRights now allows to prefill the reason field
130 * New maintenance script to fix double redirects
131 (maintenance/fixDoubleRedirects.php).
132 * (bug 23315) New body classes to allow easier styling of special pages.
133 * (bug 27159) Make email confirmation code expiration time configurable.
134 * (bug 29047) CSS/JS for each user group is imported from MediaWiki:Group-sysop.js,
135 MediaWiki:Group-autoconfirmed.css, etc.
136 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
137 safely enabled. A ZIP file reader was added which can scan a ZIP file for
138 potentially dangerous Java applets. This allows applets to be blocked
139 specifically, rather than all ZIP files being blocked.
140 * (bug 2429) Allow selection of associated namespace in recent changes.
141 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
142 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
143 disabled (enclosed in the head in a <noscript> tag).
144 * Added UserGetLanguageObject hook to change the language used in $wgLang.
145 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
146 differently (italicized by default) on Special:SpecialPages.
147 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
148 several wikis.
149 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
150 the three that were defined in the original specification.
151 * (bug 14706) Added support for the Imagick PHP extension.
152 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
153 extension.
154 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
155 file description page. The sizes are set by $wgImageLimits.
156 * (bug 28031) Add pageCount support to ArchivedFile.
157 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
158 * Added hook BitmapHandlerTransform to allow extension to transform a file
159 without overriding the entire handler.
160 * The parser now attempts to output markers for editsection tokens and defer the
161 rendering of them post-cache to reduce parser cache fragmentation and ensure
162 skin customizability of edit section links.
163 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
164 other extensions by handling the 'AbortAutoAccount' hook, similar to the
165 'AbortNewAccount' triggered by explicit account creations. (They are separate
166 to avoid loops and confusion; auth plugins like CentralAuth need to handle
167 AbortNewAccount separately.
168 * Special:ListFiles is now transcludable.
169 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
170 * (bug 16956) IPTC and XMP metadata now extracted from images.
171 * (bug 23816) A tracking category is now added for any pages with broken images.
172 * (bug 23495) Allow createAndPromote.php to create non-sysop users
173 * (bug 28916) A way to to toggle mw.config legacy globals settings from
174 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
175 * (bug 28503) Support for ircs:// URL protocols
176 * (bug 26033) It is now possible to count all non-redirect pages in content
177 namespaces as articles
178 * Images can now be embedded in an XML dump stream using backupDump.php
179 --include-files and can be imported using importDump.php --uploads;
180 furthermore, it can import files from the filesystem using --image-base-path
181 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
182 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
183 may override the usage of PageArchive class and replace it with their own
184 class that extends PageArchive.
185 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
186 Also built-in support for distribution through a TestSwarm instance.
187 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
188 added to the textarea on the edit form.
189 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
190 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
191 * New 'Debug' hook used by wfDebug() and wfDebugLog()
192 * (bug 27655) Require token for watching/unwatching pages)
193 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest version)
194 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
195 handle titles on case-sensitive wikis.
196 * (bug 29397) Implement mw.Title module in core.
197 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
198 STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
199 correctly in the case where there are no write events occurring. Note that
200 the DB user now needs to have the REPLICATION CLIENT privilege if you are
201 using replication.
202 * Language codes in $wgDummyLanguageCodes are now excluded on localization
203 statistics (maintenance/language/transstat.php)
204 * (bug 29586) Make the (next 200) links on categories link directly to
205 the relevant section of the category.
206 * (bug 29109) Allow the automatic edit summary for redirect creation
207 show the first bit of the new redirect page.
208 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
209 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
210 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
211 which the language name is wanted. Coverage depends on the cldr extension.
212 * (bug 15802) An easy way to look up messages: language qqx which returns
213 the message keys.
214 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
215 * (bug 29558) $wgMiserMode now disables update.php by default
216 * AjaxCategories: Easily add, edit or delete categories on article pages.
217 Suggests possible categories when typing, all saves are done via AJAX.
218 Supports editing of multiple categories and then saving them in one batch.
219 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted to explicit usergroups.
220 If a group is removed from a user via Special:UserRights, it will not automatically be re-added.
221 Configuration is similar to $wgAutopromote (see DefaultSettings.php)
222 * The PerformRetroactiveAutoblock hook was added to allow overriding or complementing
223 retroactive autoblock handling. This runs when blocking a user with the 'autoblock' option.
224 * MediaWiki now supports using protocol-relative URLs in links, interwiki
225 targets and $wgServer.
226 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
227 Vary: X-Forwarded-Proto headers.
228 * New maintenance script to refresh image metadata (maintenance/refreshImageMetadata.php)
229 * (bug 16428) Include permalink in printable version
230 * (bug 30722) Add an identity collation that sorts things based on what the
231 unicode code point is (aka pre-1.17 behaviour)
232 * (bug 30940) Add a hook in User:getDefaultOptions.
233 To give extensions a better and more flexible way of providing default
234 values for preferences a hook has been introdiced in User:getDefaultOptions().
235 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
236 them (i.e. with array_keys) to get a list of all preferences, then
237 $wgDefaultUserOptions should no longer be used as it will contain those set via
238 User:getDefaultOptions().
239 * (bug 30497) Add client-nojs and client-js classes on document element
240 to let styles easily hide or show things based on general JS availability
241 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
242 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
243 Same for signupend on the account creation page.
244 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific
245 mw.config map extendable.
246
247 === Bug fixes in 1.18 ===
248 * (bug 27860) Minor edit after clicking 'new section' tab
249 * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php)
250 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
251 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
252 treated as wikitext on preview.
253 * (bug 22753) Output from update.php is more clear when things changed, entries
254 indicating nothing changed are now all prefixed by "...".
255 * Page existence is now not revealed (in the colour of the tabs) to users who
256 cannot read the page in question.
257 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
258 cases.
259 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
260 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
261 as "Permitted file types" on the upload form.
262 * (bug 26379) importImages.php gives more descriptive error message on failure.
263 * (bug 26410) + signs are no longer treated as spaces in internal links if
264 link has a % sign in it.
265 * (bug 26412) Search results headers no longer show a bogus edit link.
266 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
267 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
268 pages to be queried via the API and Special:ProtectedPages, and allowing
269 disabling upload protection by removing it from $wgRestrictionTypes.
270 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
271 * (bug 26638) Database error pages display correctly in RTL languages.
272 * (bug 26187) Confirmrecreate no longer parses the edit summary.
273 * (bug 26208) Mark directionality of some interlanguage links.
274 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
275 selected when the action is "purge".
276 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
277 namespace tab on the mainpage of a wiki.
278 * (bug 10158) Do not mention allowing others to contact you when the feature
279 is disabled ($wgEnableUserEmail=false).
280 * (bug 26733) Wrap initial table creation in transaction.
281 * (bug 26729) Category pages should return 404 if they do not exist and have no
282 members.
283 * (bug 2585) Image pages should send 404 if no image, no shared image and no
284 description page.
285 * Custom editintro's using the editintro url parameter will no longer show
286 <noinclude> sections on pages they are included on.
287 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
288 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
289 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
290 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
291 to table.wikitable instead.
292 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
293 better.
294 * (bug 26716) Provide link to instructions for external editor related
295 preferences and add a comment to the ini control file explaining what is
296 going on.
297 * Trying to upload a file with no extension or with a disallowed MIME type now
298 gives the right message instead of complaining about a MIME/extension
299 mismatch.
300 * (bug 26809) Uploading files with multiple extensions where one of the
301 extensions is blacklisted now gives the proper extension in the error message.
302 * (bug 26961) Hide anon edits in watchlist preference now actually works.
303 * (bug 19751) Filesystem is now checked during image undeletion.
304 * Send last modified headers for Special:Recentchanges when RC patrol is
305 enabled, but user cannot see rc patrol links.
306 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
307 and other multi-paged file formats.
308 * Files with a mime type that does not match the extension are now properly
309 thumbnailed.
310 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
311 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
312 link at the top of the page.
313 * (bug 27560) Search queries no longer fail in Walloon language.
314 * (bug 27679) Broken embedded files with special characters are no longer
315 double HTML escaped.
316 * (bug 27700) The upload protection can now also be set for files that do not
317 exist.
318 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
319 incorrect revision ID is passed.
320 * Trim the form field for uploading by url to remove extra spaces which could
321 cause confusing error messages.
322 * (bug 27854) Http::isValidURI is way too lax.
323 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
324 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
325 for "ABORTED" reason to be returned and displayed to user.
326 * (bug 28034) uploading file to local wiki when file exists on shared repository
327 (commons) gives spurious info in the warning message.
328 * Usernames get lost when selecting different sorts on Special:listfiles.
329 * (bug 14005) editing section 0 of an existing but empty page gives no such
330 section error.
331 * (bug 26939) Installer does not set $wgMetaNamespace.
332 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
333 page restrictions.
334 * Make truncate function automatically consider length of '...' string,
335 since length can vary by localization.
336 * (bug 28242) Make redirects generated by urls containing a local interwiki
337 prefix be a 301 instead of a 302.
338 * (bug 15641) blocked administrators are now prevented from deleting or
339 protecting their own talk page; and all blocked users are more
340 comprehensively prevented from performing other actions.
341 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
342 no longer triggers unexpectedly on delete, history etc.
343 * (bug 28417) Fix PHP notice when importing revision without a listed id.
344 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
345 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
346 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
347 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
348 for ca, kaa.
349 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
350 * &apos; character entity is now allowed in wikitext.
351 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
352 intl installed.
353 * (bug 28561) The css class small will no longer make nested elements even
354 smaller.
355 * (bug 13172) Array type exif data (like GPS) was not being extracted from
356 images.
357 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse()
358 * (bug 16129) Transcluded special pages expose strip markers when they output
359 parsed messages.
360 * (bug 27249) "Installed software" table in Special:Version should always be
361 left-to-right.
362 * (bug 28719) Do not call mLinkHolders __destruct explicitly
363 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
364 * (bug 28752) XCache doesn't work in CLI mode.
365 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles
366 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries
367 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
368 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS
369 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
370 such as SQL queries shown in dberrortext and similar messages in RTL
371 environments
372 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
373 as the server name.
374 * The View X deleted revisions is now shown again on Special:Upload.
375 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
376 * (bug 28868) Show total pages in the subtitle of an image on the
377 file description page for multi-paged documents.
378 * (bug 28883) Message names for different compression types commonly
379 used in Tiff files.
380 * When translcuding a special page, do not let it interpret url parameters.
381 * (bug 28887) Special page classes are no longer re-used during 1 request.
382 * (bug 28888) Searching for something starting with a # sign no longer tells
383 the user a page named [[:]] already exists.
384 * (bug 23002) Imagelinks table not updated after imagemove.
385 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
386 pages.
387 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
388 * (bug 11868) If using links to count articles, the checking will now be based
389 on the real presence of an internal link instead of the "[[" string
390 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
391 * (bug 28940) When making a thumb of an SVG, and only specifying the height
392 make the width be the max SVG size, not the natrual width of the SVG.
393 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
394 Windows.
395 * (bug 23464) File: prefixes are now chopped off during uploading.
396 * (bug 28174) Message config-logo-help amended to not explicitly assume any
397 LTR/RTL screen layout.
398 * (bug 28992) Revision numbers in the patrol log are transformed in the user
399 language.
400 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended to
401 the document head if it doesn't exist.
402 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
403 before module is parsed).
404 * (bug 4330) External URLs without a custom title should be treated as LTR,
405 even in RTL text.
406 * (bug 29055) Make "don't send email on minor edits" preference apply to
407 changes to talk page in addition to watchlist edits.
408 * (bug 28272) Special:AllMessages should have only one "Go" button.
409 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
410 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
411 as lastTabIndex().
412 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
413 enter an e-mail address.
414 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
415 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
416 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
417 instead of reloading the page.
418 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning
419 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering
420 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
421 consecutive edits by same user in included diff, but then linked to
422 a single ungrouped diff.
423 * Do not try to group together a page creation and edit in the RSS feed of RC.
424 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
425 patrol permissions
426 * (bug 29471) Exception no longer thrown for files with invalid date in metadata
427 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
428 no longer cause timeouts
429 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere
430 * If the db is really screwed up, and doesn't have a recentchanges table,
431 make the updater throw an exception instead of a fatal.
432 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
433 correctly.
434 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
435 "vectorTabs" portlets.
436 * (bug 8556) Incorrect session failure warning on preview-on-open
437 namespaces (categories) when combined with $wgRawHtml.
438 * Use content language in formatting of dates in revertpage message
439 (rollback revert edit summary) and do not adjust for user timezone.
440 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
441 * Make sure Backlink cache does not retrieve interwiki redirects when looking for
442 redirects to a local page.
443 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
444 and wiki content, along with many other RTL and directionality improvements
445 (such as bugs 28030, 12406, 28349)
446 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
447 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
448 left/right according to the directionality of your interface language.
449 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit)
450 * (bug 27410) The tag filter on a history page is now within a <label> element
451 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
452 styling (strike/underline).
453 * (bug 28630) Add iwlinks, langlinks, redirect to
454 RefreshLinks::deleteLinksFromNonexistent
455 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
456 are disabled for user pages.
457 * (bug 12205) Bidirectional names in action=credits are split and displayed
458 incorrectly when wrapped to the next line.
459 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
460 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
461 not language.
462 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
463 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
464 to the FCKEditor extension.
465 * (bug 28762) Resizing to specified height broken for very thin images
466 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
467 tries to subsribe to mediawiki-announce.
468 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
469 param is only present in hash.
470 * Installer checked for magic_quotes_runtime instead of register_globals.
471 * (bug 30131) XCache with variable caching disabled no longer used for variable caching (CACHE_ACCEL)
472 * $wgSVGMaxSize is now applied to the smaller of width or height, making very wide pano/timeline/diagram SVGs renderable at saner sizes
473 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
474 Windows servers.
475 * (bug 30074) Moving user JS subpages resulted in JS errors because
476 #REDIRECT [[Foo]] is invalid JS
477 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
478 are used
479 * (bug 30264) Changed installer-generated LocalSettings.php to use require_once()
480 instead require() for included extensions.
481 * Tracking categories are no longer shown in footer for special pages
482 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. <key>)
483 * $wgOverrideSiteFeed no longer double escapes urls.
484 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
485 processing complex pages using newer versions of libxml2.
486 * (bug 30907) Special:Unusedcategories should sort ascendingly.
487 * (bug 28545) When using the uca-default collation, sortkey's starting with a
488 space (U+20) will sort under an invisible header like in 1.16 rather than a U+6DE
489 * (bug 30192) Thumbnails of archived files are now deleted
490 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
491 last full stop) to lower case)
492 * (bug 31213) Exception thrown when trying to move file cross-namespace
493 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
494 really small, and somewhat inconsistent with each other.
495 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
496 redirect
497 * (bug 31674) Can't edit watchlist if it contains special pages
498 * (bug 32100) Installer complains about Suhosin GET limit even if it is
499 already set above 1024 bytes
500 * (bug 32086) Special:PermanentLink now show an error message when no subpage
501 was specified.
502 * (bug 31822) Error during upgrade due to output buffer reset in stdout
503
504 === API changes in 1.18 ===
505 * BREAKING CHANGE: action=watch now requires POST and token.
506 * (bug 26339) Throw warning when truncating an overlarge API result.
507 * (bug 14869) Add API module for accessing QueryPage-based special pages.
508 * (bug 14020) API for Special:Unwatchedpages.
509 * (bug 24287) Wrap API Help output at 100 characters.
510 * Add a realname uiprop option to query=userinfo so a user's realname can be
511 extracted.
512 * Add a &watchuser option to ApiBlock.
513 * (bug 26541) Generator-ise ApiQueryRecentChanges.
514 * action=parse now correctly returns an error for nonexistent pages.
515 * (bug 25767) Add userrights properties to allusers and users query lists.
516 * (bug 26558) list=allusers auprop=groups does not list groups a user is
517 automatically a member of.
518 * (bug 26559) list=allusers auprop=rights does not match
519 list=users usprop=rights.
520 * (bug 26560) On allusers if limit < total number of users, last user gets
521 duplicate.
522 * (bug 25135) add "normalized" to action=parse.
523 * (bug 26460) Add support for listing category members by category pageid.
524 * (bug 26482) add a imimages param to prop=images.
525 * (bug 26498) allow LinksUpdate with API.
526 * (bug 26485) add a elextlinks param to prop=extlinks.
527 * (bug 26483) add a iwtitles param to prop=iwlinks.
528 * (bug 26484) add a lltitles param to prop=langlinks.
529 * (bug 26480) add a pppageprops param to prop=pageprops.
530 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
531 * (bug 24650) Fix API to work with categorylinks changes.
532 * Expose list of skins in meta=siteinfo.
533 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
534 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
535 * Add a amtitle param to meta=allmessages.
536 * (bug 25832) query=allimages now outputs ns/title as well.
537 * (bug 27199) Thumbnail urls can be fetched for old files as well.
538 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
539 max value, API doesn't validate the input is actually an integer.
540 * (bug 27479) API error when using both prop=pageprops and
541 prop=info&inprop=displaytitle.
542 * (bug 27554) Update API information text to reflect change in bug 26125.
543 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
544 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
545 * (bug 27688) Simplify queries to list user block information.
546 * (bug 27708) list=users does not have a property to return user id.
547 * (bug 27715) imageinfo didn't respect revdelete.
548 * (bug 27862) Useremail module didn't properly return success on success.
549 * (bug 27590) prop=imageinfo now allows querying the media type.
550 * (bug 27587) list=filearchive now outputs full title info.
551 * (bug 27018) Added action=filerevert to revert files to an old version.
552 * (bug 27897) list=allusers and list=users list hidden users.
553 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
554 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
555 * (bug 28010) Passing a non existant user to list=users gives internal error.
556 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
557 groups if a user doesn't have explicit groups.
558 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
559 in auto generated document, as it is on mediawiki.org.
560 * (bug 27182) API: Add filter by prefix for meta=allmessages.
561 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
562 * (bug 27340) API: Allow listing of "small" categories.
563 * (bug 27342) Add audir param to list=allusers.
564 * (bug 27203) add fato param to list=filearchive.
565 * (bug 27341) Add drto param to list=deletedrevs.
566 * (bug 26630) Add API for Special:ActiveUsers.
567 * (bug 27020) API: Allow title prefix search of logevents (only when not in
568 miser mode).
569 * (bug 26629) add Special:MIMESearch to API.
570 * (bug 27585) add pagecount to list=filearchive.
571 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
572 is missing.
573 * (bug 27343) Add parseddescription to list=filearchive.
574 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
575 list=users&usprop=groups.
576 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
577 the general site info results.
578 * (bug 16288) API: consider making closure status of wikis more clear
579 with meta=siteinfo.
580 * (bug 27589) list=allimages&aiprop=archivename is useless.
581 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
582 by using ApiQueryImageInfo.
583 * (bug 28226) prop=extlinks&eloffset should be an integer.
584 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
585 real timestamp field.
586 * API upload errors may now return the parameter that needs to be changed and
587 a sessionkey to fix the error.
588 * (bug 28249) allow dupes in meta=allmessages&amargs.
589 * (bug 28263) cannot import xml with the API, when have not "import" user
590 right, but "importupload".
591 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
592 * (bug 28394) Set forgotten parameters types in ApiUnblock.
593 * (bug 28395) Set forgotten parameters types in ApiParse.
594 * (bug 28368) add hint for multipart/form-data to API information of
595 action=import&xml=.
596 * (bug 28391) action=feedwatchlist&allrev should be a bool.
597 * (bug 28364) add registration date to meta=userinfo.
598 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
599 PARAM_TYPE is not set.
600 * (bug 27712) add parent_id to list=deletedrevs.
601 * (bug 28455) Add 'toponly' to recentchanges API module.
602 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
603 * (bug 28586) YAML: strings that are the same as boolean literals.
604 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
605 * YAML API output is now 1.2 compliant, using JSON as the formatter.
606 * (bug 28672) give information about misermode on API.
607 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
608 * (bug 26882) Allow listing of indefinite protections with the API.
609 * (bug 27344) add drprefix param to list=deletedrevs.
610 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
611 * (bug 28238) paraminfo: output both limits for multi param
612 * (bug 27179) API: List of extension tags through meta=siteinfo
613 * Get a list of function hooks through meta=siteinfo
614 * Get a list of all subscribed hooks, and those subscribers
615 * (bug 28225) Allow hiding of user groups in list=allusers
616 * (bug 27185) API: Add Special:ComparePages
617 * (bug 28265) allow outputting of comments for action=expandtemplates
618 * (bug 27790) Add query type for querymodules to output of ApiParamInfo
619 * (bug 28963) Add langbacklinks query module to the api
620 * (bug 27593) API should return error message when sha1/sha1base36 is invalid
621 * (bug 28578) API's parse module should not silently override invalid
622 title inputs
623 * (bug 20699) Watchlist API should list log-events
624 * (bug 29070) Require a token in API action=watch
625 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output
626 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag
627 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions
628 * (bug 25734) API: Possible issue with revids validation
629 * (bug 28002) Internal error in ApiFormatRaw::getMimeType
630 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
631 * (bug 28392) Mark action=undelete&timestamps as type "timestamp"
632 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode)
633 * (bug 27595) sha1 search of list=filearchive does not work
634 * (bug 26763) Make RSS/Atom of user contributions more visible
635 * (bug 25133) Allow redirects also for action=parse&pageid
636 * (bug 29745) Fatal error in API search
637 * (bug 29476) API returns page title instead of sectiontitle for
638 srprop=sectiontitle
639 * Correct the documentation of srprop properties
640 * (bug 28817) Add reference help page link to API Modules
641 * (bug 29935) Improve formatting of examples in ApiParamInfo
642 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have
643 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
644 parameter is set.
645 * (bug 29392) Setting the start or end parameter now works with lists blocks,
646 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
647 and watchlist in Postgres
648
649 === Languages updated in 1.18 ===
650
651 MediaWiki supports over 330 languages. Many localisations are updated
652 regularly. Below only new and removed languages are listed, as well as
653 changes to languages because of Bugzilla reports.
654
655 * Angika (anp) (new).
656 * Brahui (brh) (new).
657 * Central Dusun (dtp) (new).
658 * Jamaican Creole English (jam) (new).
659 * Khowar (khw) (new).
660 * Liv (liv) (new).
661 * Kichwa (qug) (new).
662 * Tokipona (tp) (removed) 'tokipona' is still valid.
663 * (bug 17160) Gender specific display text for User namespace.
664 * Link trail added for sl and sh.
665 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
666 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
667 * (bug 27385) Set Polish $namespaceGenderAliases.
668 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
669 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
670 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
671 * (bug 28040) Turkish: properly lower case 'I' to 'ı' (dotless i) and
672 uppercase 'i' to 'İ' (dotted i).
673 * Conversion script between Syllabics and Latin for the Inuktitut language.
674 * Date formats for Indonesian (id) updated.
675 * Bhojpuri (bho) (renamed from "bh").
676 * (bug 29031) When translating block log entries, indefinite, infinite, and
677 infinity are now considered the same.
678 * Aromanian (rup) (renamed from "rua-rup").
679 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
680 (Devanagari) (ks-deva). Defaults to ks-arab.
681 * (bug 30864) Use bengali numerals for <ol> for Assamese
682 * (bug 30817) Restored linktrail for kk (Kazakh)
683 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces
684 * (bug 30846) New LanguageOs class
685
686 === Other changes in 1.18 ===
687 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
688 * (bug 28556) Upload support for MacBinary files has been removed (Used by
689 Internet Explorer 5 for Mac OS 9)
690 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
691 set for all wikis. This was already the case for 'wgServer'.
692
693 == Compatibility ==
694
695 MediaWiki 1.18 requires PHP 5.2.3. PHP 4 is no longer supported.
696
697 MySQL is the recommended DBMS. PostgreSQL, Oracle or SQLite can also be used, but
698 support for them is somewhat less mature. There is experimental support for IBM
699 DB2 and Microsoft SQL Server.
700
701 The supported versions are:
702
703 * MySQL 4.0 or later
704 * PostgreSQL 8.3 or later
705 * SQLite 3
706 * Oracle 9.0.1 or later
707
708 == Upgrading ==
709
710 1.18 has several database changes since 1.17, and will not work without schema
711 updates.
712
713 If upgrading from before 1.11, and you are using a wiki as a commons
714 repository, make sure that it is updated as well. Otherwise, errors may arise
715 due to database schema changes.
716
717 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
718 new database fields are filled with data.
719
720 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
721 changes are made, and there is a slightly higher chance that things could
722 break. Don't forget to always back up your database before upgrading!
723
724 See the file UPGRADE for more detailed upgrade instructions.
725
726 For notes on 1.17.x and older releases, see HISTORY.
727
728 == Online documentation ==
729
730 Documentation for both end-users and site administrators is available on
731 MediaWiki.org, and is covered under the GNU Free Documentation License (except
732 for pages that explicitly state that their contents are in the public domain):
733
734 http://www.mediawiki.org/wiki/Documentation
735
736 == Mailing list ==
737
738 A mailing list is available for MediaWiki user support and discussion:
739
740 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
741
742 A low-traffic announcements-only list is also available:
743
744 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
745
746 It's highly recommended that you sign up for one of these lists if you're
747 going to run a public MediaWiki, so you can be notified of security fixes.
748
749 == IRC help ==
750
751 There's usually someone online in #mediawiki on irc.freenode.net.