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