syntaxChecker.php:
[lhc/web/wiklou.git] / RELEASE-NOTES
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.16 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki is now using a "continuous integration" development model with
11 quarterly snapshot releases. The latest development code is always kept
12 "ready to run", and in fact runs our own sites on Wikipedia.
13
14 Release branches will continue to receive security updates for about a year
15 from first release, but nonessential bugfixes and feature developments
16 will be made on the development trunk and appear in the next quarterly release.
17
18 Those wishing to use the latest code instead of a branch release can obtain
19 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
20
21 === Configuration changes in 1.16 ===
22 * $wgScriptModifiedMsgCheck Checks the mediawiki namespace recent changes to
23 ensure a updated urid for script-loader
24 * $wgScriptModifiedCheck Checks script file modified time for unique request id)
25 * $wgEnableAsyncDownload (lets you disable Async download for windows.
26 Hopefully we will remove this configuration var soon)
27 * $wgEnableFirefogg enable support for firefogg extension, firefogg supports
28 in-browser transcoding, chunk uploads and client side hash checking.
29 * $wgEnableTemporalOggUrls enable oggz_chop support a server side ogg seeking
30 helper
31 * $wgEnableScriptLoader if the script-loader shoudl be enabled
32 * $wgJSAutoloadClasses array of javascript classes to file paths used by
33 script-loader to load javascript by class name.
34 * $wgEnableJS2system if we should include js2 stuff like jquery, mv_embed.js
35 (script-loader helper) and use new interfaces for upload
36 * $wgEnableScriptLoaderJsFile if we support grabbing js files with the script
37 loader. By default we only grab classes in $wgJSAutoloadClasses
38 * $wgEnableScriptMinify if you want the script loader to minify js
39 * $wgEnableScriptLocalization if you want the script loader to do msg lookups
40 * $wgMwEmbedDirectory the path to MwEmbed Directory (maybe we can depreciate
41 this. Was used when mwEmbed was going to be an extension.
42 * $wgDebugJavaScript if we want to enable fresh debug javascript
43 * $wgPhpCliPath Path to php-cli for spinning up background php processes
44 * (bug 18222) $wgMinimalPasswordLength default is now 1
45 * $wgSessionHandler can be used to configure session.save_handler
46 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
47 be used when uploading/moving files
48 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
49 to be shown to users
50 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
51 $wgHiddenPrefs[] = 'realname', but the former are still retained
52 for backwards-compatibility
53 * (bug 9257) $wgRCMaxAge now defaults to three months
54 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
55 functions and other potential errors when developing.
56 * Subpages are now enabled in the MediaWiki namespace by default. This is
57 mainly a cosmetic change, and does not in any way affect the MessageCache,
58 which was already effectively treating the namespace as if it had subpages.
59 * (bug 10837) $wgVariant is a user variant selected in the user's preferences
60 if the $wgContLang does not have variant, then the $wgLang is used instead.
61 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
62 appropriate privileges. Creating this user with web-install page requires
63 oci8.privileged_connect set to On in php.ini.
64 * Removed UserrightsChangeableGroups hook introduced in 1.14
65 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
66 $wgLocalMessageCache, and any other local caches which need a place to put
67 files.
68 * $wgFileCacheDirectory is no longer set to anything by default, and so either
69 needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
70 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
71 to true
72 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
73 functionality is now available via $wgLocalisationCacheConf.
74 * $wgMessageCache->addMessages() is deprecated. Messages added via this
75 interface will not appear in Special:AllMessages.
76 * $wgRegisterInternalExternals can be used to record external links pointing
77 to same server
78 * $wgSpecialVersionExtended shows the extended version information besides
79 PHP and database version.
80 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
81 to control which external domains may access the API via cross-site AJAX.
82 * $wgMaintenanceScripts for extensions to add their scripts to the default list
83 * $wgMemoryLimit has been added, default value '50M'
84 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
85 should be used instead
86 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
87 characters in file names.
88 * (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file
89 was denied to users(img_auth only)
90 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
91 correctly (img_auth only)
92 * $wgUploadMaintenance added to disable file deletions and restorations during
93 maintenance
94 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
95 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL
96 * $wgEnableHtmlDiff has been removed
97 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
98 CIDR ranges for blocking
99 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
100 file repository
101
102 === New features in 1.16 ===
103
104 * Add CSS defintion of the 'wikitable' class to shared.css
105 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
106 viewing talk pages
107 * Superfluous border="0" removed from images
108 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
109 to allow extensions to update caches in similar way as MediaWiki invalidates
110 a cached MonoBook sidebar
111 * Special:AllPages: Move hardcoded styles from code to CSS
112 * (bug 18529) New hook: SoftwareInfo for adding information about the software
113 to Special:Version
114 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
115 type of columns when using the Postgres backend.
116 * (bug 16950) Show move log when viewing/creating a deleted page
117 * (bug 18242) Show the Subversion revision number per extensions in
118 Special:Version
119 * (bug 18420) Missing file revisions are handled gracefully now
120 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
121 * (bug 18466) Add note or warning when overruling a move (semi-)protection
122 * (bug 18342) insertTags works in edit summary box
123 * (bug 18411) The upload form also checks post_max_size
124 * Watchlist now has a specialized <div> tag that contains a unique class for
125 each page
126 * Added Minguo calendar support for the Taiwan Chinese language
127 * Database: unionQueries function to be used for UNION sql construction, so
128 it can be overloaded on DB abstraction level for DB specific functionality
129 * (bug 18849) Implement Japanese and North Korean calendars
130 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
131 month number without the leading zero
132 * (bug 13456) categoriespagetext supports PLURAL
133 * (bug 18860) Blocks of IPs affecting registered users can now block email
134 * (bug 17093) Date and time are separate parameters in Special:BlockList
135 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
136 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
137 'recentchangeslinked-toolbox' were added to allow more fine grained
138 customisation of the user interface
139 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
140 items)
141 * Special:Search now could search terms in all variant-forms. ONLY apply on
142 wikis enabled LanguageConverter.
143 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
144 various user groups.
145 * Add $wgRevokePermissions as a means of restricting a group's rights. The
146 syntax is identical to $wgGroupPermissions, but users in these groups will
147 have these rights stripped from them.
148 * Added a PHP port of CDB (constant database), for improved local caching when
149 the DBA extension is not available.
150 * Introduced a new system for localisation caching. The system is based around
151 fast fetches of individual messages, minimising memory overhead and startup
152 time in the typical case. The database backend will be used by default, but
153 set $wgCacheDirectory to get a faster CDB-based implementation.
154 * Expanded the number of variables which can be set in the extension messages
155 files.
156 * Added a feature to allow per-article process pool size control for the parsing
157 task, to limit resource usage when the cache for a heavily-viewed article is
158 invalidated. Requires an external daemon.
159 * (bug 19576) Moved the id attribues from the anchors accompanying section
160 headers to the <span class="mw-headline"> elements within the section headers,
161 removing the redundant anchor elements.
162 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
163 preprocesor level.
164 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
165 display for old versions of images.
166 * In watchlists and Special:RecentChanges, the difference in page size now
167 appears in dark green if bytes were added and dark red if bytes were removed.
168 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
169 thumbnails to be stored in a separate location to the source images.
170 * If config/ directory is not executable, the command to make it executable
171 now asks the user to cd to the correct directory
172 * Add experimental new external authentication framework, ExternalAuth
173 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
174 will still load it if it exists, but it's not required for anything
175 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
176 class "mw-listgrouprights-key"
177 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
178 * (bug 10812) Interwiki links can have names and descriptions, fetched from
179 message 'interwiki-desc-PREFIX', not really used anywhere yet though
180 * (bug 9691) Add type (signup or login) parameter to
181 AuthPlugin::ModifyUITemplate()
182 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
183 difficulties
184 * (bug 16697) Unicode combining characters are difficult to edit in some
185 browsers
186 * Parser test supports uploading results to remote CodeReview instance
187 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
188 extension version in Special:Version
189 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
190 right name in Special:ListGroupRights
191 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
192 to {{ns:...}}
193 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
194 params
195 * (bug 18566) Maintenance script to un/protect pages
196 * (bug 671) The HTML <abbr> tag is now permitted.
197 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
198 flags have tooltips.
199 * (bug 15209) New hook BeforeInitialize called after everything has been setup
200 but before Mediawiki::performRequestForTitle()
201 * wgMainPageTitle variable now available to JavaScript code to identify the main
202 page link, so it doesn't have to be extracted from the link URLs.
203 * (bug 16836) Display preview of signature in user preferences and describe its
204 use
205 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
206 This can be disabled by setting $wgHtml5 = false;. Specific features enabled
207 if HTML 5 is used:
208 ** New HTML 5 input attributes allow JavaScript-free input validation in some
209 cutting-edge browsers. E.g., some inputs will be autofocused, users will
210 not be allowed to submit forms with certain types of invalid values (like
211 numbers outside the permitted ranges), etc.
212 ** The summary attribute has been removed from tables of contents. summary is
213 obsolete in HTML 5 and wasn't useful here anyway.
214 ** Unnecessary type="" attribute removed for CSS and JS.
215 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
216 output by omitting some things like quotation marks where HTML 5 allows.
217 * The description message in $wgExtensionCredits can be an array with parameters
218 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
219 criteria used by Special:Random and subclasses, or substitute a custom result,
220 deprecating the $wgExtraRandompageSQL config variable
221 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
222 * (bug 20404) Custom fields in the user creation form template can now have
223 detail labels in prefsectiontip divs.
224 * MakeSysop and MakeBot are now aliases for Special:UserRights
225 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
226 display-in-limit-form.
227 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
228 and add its HTML to it, rather than having to go straight to $wgOut.
229 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
230 database connection and query errors.
231 * Show change block / unblock link on Special:Contributions if user is blocked
232 * Display note on Special:Contributions if the user is blocked, and provide an
233 excerpt from the block log.
234 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
235 file is streamed to user, but only when using img_auth
236 * Note on non-existing user and user talk pages if user does not exist
237 * New hook ShowMissingArticle so extensions can modify the output for
238 non-existent pages.
239 * Added $wgUseAJAXCategories allow enabling AJAX based categories system.
240 This works on all namespaces. Enabled namespaces can be reduces using
241 $wgAJAXCategoriesNamespaces.
242 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
243 on wikis enabled LanguageConverter.
244 * (bug 16310) Credits page now lists IP addresses rather than saying the number
245 of anonymous users that edited the page
246 * New permission 'sendemail' added. Default right for all registered users. Can
247 for example be used to prevent new accounts from sending spam.
248 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
249 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
250 called after a user's email has been successfully confirmed or invalidated.
251 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
252 a smaller subversion checkout.
253 * (bug 13750) First letter capitalization can now be a per-namespace setting
254 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
255 of existing users
256 * (bug 21095) Tracking categories produced by the parser (expensive parser
257 function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
258 setting the system message ([[MediaWiki:expensive-parserfunction-category]]
259 etc) to "-".
260 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
261 * Rewrote Special:Upload to allow easier extension.
262 * Upload errors that can be solved by changing the filename now do not require
263 reuploading.
264 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
265 rate limits.
266 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
267 the parser so extensions are free to implement their own <math> tag
268 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
269 an own 'mw-error-cannotdelete' class
270 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
271 or ExtUser-driven requests.
272 * (bug 3480) The warning saying that the page has a history when deleting it now
273 contains the number of revisions in the history
274 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
275 * (bug 20186) Allow filtering history for revision deletion.
276 * New hook getOtherBlockLogLink, called in Special:IPBlockList and Special:Block
277 to show links to block logs of other blocking extensions, i.e. GlobalBlocking
278 * Added search capabilities to SQLite backend
279 * rebuildtextindex.php maintenance script now supports databases other than
280 MySQL
281 * upgrade1_5.php now requires to be run --update option to prevent confusion
282 * (bug 17662) Customizable default preload/editintro in add-new-section link
283 for Talk page
284 * Added maintenance script syntaxChecker.php that checks for PHP syntax errors
285 and common coding mistakes
286 * Updated Unicode normalization tables
287
288 === Bug fixes in 1.16 ===
289
290 * (bug 18031) Make namespace selector on Special:Export remember the previous
291 selection
292 * The svn-version version numbers on Special:Version have been removed
293 * (bug 17374) Special:Export no longer exports two copies of the same page
294 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
295 * (bug 17617) HTML cleanup for ImagePage
296 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
297 * Improved error handling for image moving
298 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
299 with <strong> tags, helps with text-based browsers
300 * (bug 18259) Special:DeletedContributions now also uses
301 MediaWiki:Sp-contributions-logs for the link to Special:Log
302 * Don't add empty title="" attributes to links to anchors on the current page
303 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
304 * (bug 18304) rebuildrecentchanges.php got size changes wrong
305 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
306 * (bug 18289) Database connection error page now returns correct HTML
307 * "successbox", "errorbox" and related CSS classes are now available in all
308 skins
309 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
310 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
311 * The "noautoblock" flag is no longer displayed in the block log when blocking
312 an IP address
313 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
314 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
315 * (bug 18377) Time in Enhanced ChangesList lacking localisation
316 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
317 * (bug 1553) Lowercase navigation headings in German
318 * (bug 7830) Pending transactions failed to commit on loginToUse() error
319 * (bug 11613) session.save_handler being over-ridden
320 * (bug 11381) session.save_handler being set twice (causes error)
321 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
322 * (bug 18115) ForeignAPIRepo cache isn't working
323 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
324 after some parsed math syntax.
325 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
326 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
327 <strong> instead of hardcoded styles
328 * (bug 18449) Fixed items number per column on category pages when the total is
329 divisible by 3
330 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
331 revisions when --delete is not passed
332 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
333 * Overhaul of preferences system, includes the following bug fixes:
334 ** (bug 5363) Changes to default preferences now impact registered users.
335 ** (bug 14806) Hook to enable putting preferences in existing tabs.
336 ** (bug 17191) Registration date now listed on preferences page.
337 ** The user_properties table (now used for storing preferences) has been added
338 to $wgSharedTables.
339 ** Note that this change will break some extensions which have not been adapted
340 for it.
341 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
342 languages while the the text is typed as URLs.
343 * (bug 17614) Prev / Next links are not shown if all results are shown
344 * (bug 18207) Strange spacing before [[irc:...]] links
345 * Removed float from the user login form in RTL interface - caused display
346 problems in FF2
347 * (bug 15008) Redirect images are now subject to Bad image list rules
348 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
349 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
350 'wikidiff' or 'wikidiff2' but extension is not installed
351 * (bug 18326) Chmod errors in file repos have been hidden
352 * (bug 18718) Comma after a } create a error in IE
353 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
354 tweaked spacing.
355 * (bug 18656) Use proper directory separators in wfMkdirParents()
356 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
357 $wgSysopEmailBans
358 * (bug 16912) Tooltips on images with link= disappear
359 * (bug 18389) Localise numbers in EXIF data
360 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
361 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
362 * (bug 18432) Updated documentation for dumpBackup.php
363 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
364 tags that were redundantly defined.
365 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
366 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
367 .inc
368 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
369 Title::userCanEdit() and Title::userCanMove() have been removed
370 * Only show upload links on file description if $wgEnableUploads = true
371 and user can upload
372 * Don't say "You need to log in to upload/move", because it's possible that
373 uploading/moving is disabled for registered users as well (e.g. only sysops)
374 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
375 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
376 * (bug 10837) Introducing the StubUserVariant class to determine the variant
377 variable instead of using this to overrules the user language preference.
378 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
379 show "view" instead of "view/restore" on logs.
380 * (bug 19017) TOC level calculation error in an odd case
381 * (bug 18999) CSS update for RTL interwiki links
382 * (bug 18925) history.js removes class names of list elements on initialization
383 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
384 link from the edit comment
385 * (bug 19112) Preferences now respects $wgUseExternalEditor
386 * (bug 18173) MediaWiki now fails when unable to determine a client IP
387 * (bug 19170) Special:Version should follow the content language direction
388 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
389 * Fixed performance regression in "bad image list" feature
390 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
391 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
392 can add/remove *all* groups (have 'userrights' permission).
393 * (bug 19294) Always show Sp-contributions-footer(-anon)
394 * Attempts to restrict reading of pages while anonymous viewing is allowed
395 via extensions not using the userCan hook and via $wgRevokePermissions now
396 work.
397 * (bug 8445) Multiple-character search terms are now handled properly for
398 Chinese
399 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
400 * (bug 11242) Check for MySQL storage engines during installation now checks
401 whether the engines are actually available
402 * (bug 19390) Omit the "printable version" link on the printable version
403 * (bug 18394) img_auth.php now respects userCan
404 * (bug 19509) Uploading to a file named '0' previously treated it as null input
405 and attempted to upload with the source name. Now warns about not having an
406 extension (since 0.ext is perfectly valid)
407 * (bug 19468) Enotif preferences are now only displayed when they are turned on
408 * (bug 19442) Show/hide options on watchlist only work once
409 * (bug 19602) PubMed Magic links now use updated NIH url
410 * (bug 19637) externallinks have links to self
411 * Don't load Opera 9.5 RTL fixes for Opera 9.6
412 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
413 and was causing problems.
414 * Removed repetition of URIs in the title attributes of external links.
415 * (bug 19693) User name is now escaped in "Contributions for ..." link on
416 Special:BlockIP
417 * (bug 19571) Override buildConcat for SQLite.
418 * Log in and log out links no longer return to page view when clicked from
419 history view, edit page, or something similar
420 * (bug 19513) RTL fixes for new Search UI
421 * (bug 16497) Special:Allmessages is paginated
422 * (bug 18708) CSS plainlinks class now available to all skins
423 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
424 database type
425 * (bug 19759) successbox on Special:Preferences now correctly aligned on
426 standard, nostalgia and cologneblue skin
427 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
428 are no longer recorded in the pagelinks table
429 * (bug 19784) date option "ISO 8601" produced illegal id
430 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
431 Keyword set was not useful, and is ignored by modern search engines anway.
432 * (bug 19827) Special:SpecialPages title is "Upload file
433 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
434 * (bug 19287) Workaround for lag on history page in Firefox 3.5
435 * (bug 19564) Updated docs/hooks.txt
436 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
437 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
438 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
439 table.
440 * (bug 14080) Short notation links to subpages didn't work in edit summaries
441 * (bug 17374) Special:Export no longer exports multiple copies of pages
442 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
443 users who can't edit them
444 * (bug 19839) Comments in log items are no more double escaped
445 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
446 "enhanced recent changes"
447 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
448 the recentchanges table
449 * (bug 16009) Limit selection forms based on Pager now links to the correct page
450 when using long urls
451 * The display of the language list on the preferences is more comply with the
452 BCP 47 standards.
453 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
454 * (bug 19301) Duplicates entries in $wgAddGroups, $wgRemoveGroups,
455 $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
456 Special:ListGroupRights
457 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
458 to not link back to Special:Userlogout when user's language isn't the same as
459 content's language
460 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
461 database with username/password in MediaWiki's setup
462 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
463 if uploads are enabled and the user can access it
464 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
465 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
466 option to parser test suite to run disabled tests if desired.
467 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
468 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
469 "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
470 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
471 "editusercssjs" into "editusercss" and edituserjs" respectively.
472 * (bug 19394) RecentChanges feed URLs for log items with no revisions
473 (eg Newuser, Userrights) are no longer broken
474 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
475 language ($wgContLang)
476 * (bug 11867) Lock error on redirect table when running orphans.php
477 * (bug 18930) initStats.php now refreshes active users count
478 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
479 not provided a summary" warning for those who activated it in their
480 preferences
481 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
482 using the full path
483 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
484 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
485 * (bug 17864/19519) Added proper input normalization in Special:UserRights
486 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
487 * (bug 19289) importDump.php can now handle bzip2 and 7zip
488 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
489 Special:RecentChangesLinked
490 * Do not transform EXIF fields with pure text to avoid results like
491 foo,bar@example,com
492 * (bug 20176) Fix login/logout links in skin CologneBlue
493 * (bug 20203) "Powered by Mediawiki" now has height/width on image tag
494 * (bug 20273) Fix broken output when no pages are found in the content
495 namespaces
496 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
497 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
498 versions of MediaWiki were affected).
499 * (bug 14817) Moving a page to a subpage of itself moves it twice
500 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
501 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
502 are now normalized to ordinary spaces in titles; if your wiki has existing
503 titles with such characters, run cleanupTitles.php and/or cleanupImages.php
504 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
505 cleanly disabled instead of breaking parsing entirely on PHP 5.2.
506 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
507 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
508 * (bug 20317) Cleaned up default main page link accesskey settings
509 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
510 enabled
511 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
512 target page
513 * (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled in
514 Special:MovePage with Esperanto as content language
515 * (bug 20364) Fixed regression in GIF metadata loading
516 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
517 use wikitext
518 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
519 DatabaseBase::getFlag() now have documentation
520 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
521 the file description page instead of MediaWiki:License
522 * (bug 20380) Links to history/deleted edits at the top of
523 Special:RevisionDelete are no more displayed when when doing log suppression
524 * (bug 8143) Localised parser function names are now correctly case insensitive
525 if they contain non-ASCII characters
526 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
527 Special:Recentchanges's RSS and Atom feed cache
528 * The installer will now try to bypass PHP's max_execution_time
529 * (bug 20260) SQLite no longer tries to automatically create the database at
530 execution time, this now happens only at install time; if it is not available
531 at script execution, it now throws an exception
532 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
533 (analogous to EditFilter hook)
534 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
535 by using a new parameter added to the recursiveTagParse function
536 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
537 $wgArticleRobotPolicies.
538 * (bug 20466) Hidden categories are no more displayed when printing
539 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
540 the local wiki, the user is now treated as the local user
541 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
542 argument
543 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
544 any change, in addition to onkeyup.
545 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
546 allowed to create page. Done via new message
547 MediaWiki:Noarticletext-nopermission
548 * Improved compatibility between the Vector skin and addPortletLink() from
549 wikibits.js: empty portlets are now present but hidden, adding an element to a
550 portlet unhides it
551 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
552 be compatible with the CSS for the Vector skin
553 * (bug 20578) Wrong localized image metadata - duplicated string?
554 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
555 correct type="text" parameter
556 * (bug 482) Don't include TOC in the printable version if it has been hidden
557 * Adjust the time according to the user configuration on Special:Revisiondelete
558 * (bug 20624) Installation no longer allows "qqq" as the chosen language
559 * (bug 20634) The installer-created database user will now have all rights on
560 the database so that upgrades will go more smoothly.
561 * (bug 18180) Special:Export ignores limit, dir, offset parameters
562 * User::getBlockedStatus() works for all kinds of user objects and doesn't
563 assume the user object is equal to the current-user object ($wgUser)
564 * (bug 20517) Cancel link from edit page now returns to the old version when
565 editing an old version
566 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
567 by disable_functions
568 * (bug 20726) Title::getLatestRevID's documentation now says that the function
569 returns false if the page doesn't exist
570 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
571 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
572 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
573 command line scripts to fail
574 * (bug 20702) Parser functions can now be used correctly in
575 MediaWiki:Missing-article
576 * (bug 14117) "redirected from" is now also shown on foreign file redirects
577 * (bug 17747) Only display thumbnail column in file history if the image can
578 be rendered.
579 * (bug 3421) Live preview no longer breaks user CSS/JS previews
580 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
581 now links to the file rather than the file description page
582 * Password fields built with HTMLForm now still have the type="password"
583 attribute if $wgHtml5=false.
584 * (bug 20836) Preload now works for MediaWiki namespace
585 * (bug 20885) Search box no longer suggests unavailable special pages
586 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
587 searching for special pages
588 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
589 hideuser right
590 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
591 * (bug 21030) Fixed schema choices from being overwritten by defining unique
592 field names per driver.
593 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
594 false on non-special pages
595 * (bug 21113) "Other statistics" header on Special:Statistics is no more
596 displayed when there isn't any entry in it
597 * (bug 21114) Special:Contributions no longer shows diff links for new
598 revisions
599 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
600 MediaWiki:Templatesusedsection now support plural
601 * (bug 21079) There is no more line wrapping between label and field in
602 Special:Log
603 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
604 Special:Recentchangeslinked on SQLite backend
605 * (bug 20880) Fixed updater failure on SQLite backend
606 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
607 * (bug 20242) Installer no longer promts for user credentials for SQLite
608 databases
609 * (bug 20911) Installer failed to create a SQLite database
610 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
611 dummy
612 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
613 * (bug 20268) Fixed row count estimation on SQLite backend
614 * (bug 20275) Fixed LIKE queries on SQLite backend
615 * (bug 21234) Moving subpages of titles containing \\ now works properly
616 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
617 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
618 * (bug 21255) Fixed hostname construction for DNSBL checking
619 * (bug 18019) Users are now warned when moving a file to a name in use on a
620 shared repository and only users with the 'reupload-shared' permission can
621 complete the move.
622 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
623 * User::isValidPassword now only returns boolean results,
624 User::getPasswordValidity can be used to get an error message string
625 * The error message shown in Special:ChangePassword now parses wiki markup
626 * (bug 19859) Removed experimental HTMLDiff feature
627 * Removed section edit links in edit conflict form
628 * Allow SpecialActiveusers to work on non-MySQL databases
629 * (bug 6579) Fixed protecting images from uploading only
630 * (bug 18609) Search index was empty for some pages
631 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
632 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
633 * (bug 20112) Bitrotted tests in the t/ directory were failing.
634 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
635 id "mw-sp-contributions-explain"
636 * (bug 19159) Fixed \overleftrightarrow in texvc
637 * (bug 19391) Fix caching for Recent ChangesFeed.
638 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
639 even to non-logged in users
640
641 == API changes in 1.16 ==
642
643 * Added uiprop=changeablegroups to meta=userinfo
644 * Added usprop=gender to list=users
645 * (bug 18311) action=purge now works for images too
646 * Add parentid to prop=revisions output
647 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
648 when the user is blocked
649 * (bug 18546) Added timestamp of new revision to action=edit output
650 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
651 users
652 * (bug 13049) "API must be accessed from the primary script entry point" error
653 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
654 * Added PHP and database version to meta=siteinfo output
655 * (bug 18533) Add readonly message to meta=siteinfo output
656 * (bug 18518) Add clprop=hidden to prop=categories
657 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
658 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
659 output
660 * (bug 18731) Show correct SVN links for extension modules in api.php?version
661 * (bug 18730) Add version information to action=paraminfo output
662 * (bug 18743) Add ucprop=size to list=usercontribs
663 * (bug 18749) Add generator flag to action=paraminfo output
664 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
665 * Made deleting file description pages without files possible
666 * (bug 18773) Add content flag to siprop=namespaces output
667 * (bug 18785) Add siprop=languages to meta=siteinfo
668 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
669 list=recentchanges
670 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
671 output
672 * (bug 19313) action=rollback returns wrong revid on master/slave setups
673 * (bug 19323) action=parse doesn't return section tree on pages with Cite
674 warnings
675 * (bug 18720) Add anchor field to action=parse&prop=sections output
676 * (bug 19423) The initial file description page used caption in user lang
677 rather than UI lang
678 * (bug 17809) Add number of users in user groups to meta=siteinfo
679 * (bug 18533) Add readonly reason to readonly exception
680 * (bug 19528) Added XSLT parameter to API queries in format=xml
681 * (bug 19040) Fix prependtext and appendtext in combination with section
682 parameter in action=edit
683 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
684 parameter in action=edit
685 * Added fields to list=search output: size, wordcount, timestamp, snippet
686 * Where supported by backend, list=search adds a 'searchinfo' element with
687 optional info: 'totalhits' count and 'suggestion' alternate query term
688 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
689 external domains to access api.php via AJAX, if the browser supports the
690 Access-Control-Allow-Origin HTTP header
691 * (bug 19999) Made metadata and properties of search results optional. Added
692 srprop and srinfo.
693 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
694 customized messages
695 * Don't parse magic words in meta=allmessages, output messages unparsed
696 * (bug 21105) list=usercontribs can now list contribs for User:0
697 * (bug 21085) list=deletedrevs no longer returns only one revision when
698 drcontinue param is passed
699 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
700 * (bug 19004) Added support for tags
701 * (bug 21083) list=allusers no longer returns current timestamp for users
702 without registration date
703 * (bug 20554) Expose average slave lag (avglag) as well as maxlag
704 * (bug 20967) action=edit allows creation of invalid titles
705
706 === Languages updated in 1.16 ===
707
708 MediaWiki supports over 300 languages. Many localisations are updated
709 regularly. Below only new and removed languages are listed, as well as
710 changes to languages because of MediaZilla reports.
711
712 * North Frisian (frr) (new)
713 * Kirmanjki (kiu) (new)
714 * Karachay-Balkar (krc) (new)
715 * Romagnol (rgn) (new)
716 * Lower Silesian (sli) (new)
717 * Picard (pcd) (new)
718 * Uyghur (Arabic script) (ug-arab) (new)
719 * Eastern Yiddish (ydd) (removed)
720 * Iriga Bicolano (bto) (removed)
721 * Ladin (lld) (removed)
722 * Laz (lzz) (removed)
723 * Palembang (plm) (removed)
724 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
725 * Tamazight (tzm) (removed)
726
727 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
728 * Add PLURAL function for Scots Gaelic (gd)
729 * Add Estonian letters äöõšüž to linktrail (et)
730 * (bug 18776) Native name of Burmese language (my)
731 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
732 (Чӑвашла)
733 * (bug 18864) Updated autonym for Zhuang language
734 * (bug 18308) Updated date formatting in Occitan (oc)
735 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
736 * (bug 19286) Correct commafying function in Polish (pl)
737 * (bug 19441) Updated date formatting for Lithuanian
738 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
739 * (bug 19949) New linktrail for Greek (el)
740 * (bug 19809) Korean (North Korea) (ko-kp) (new)
741 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
742 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
743
744 == Compatibility ==
745
746 MediaWiki 1.16 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
747
748 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
749 http://bugs.php.net/bug.php?id=34879
750 Upgrade affected systems to PHP 5.1 or higher.
751
752 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
753 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
754
755
756 == Upgrading ==
757
758 1.16 has several database changes since 1.15, and will not work without schema
759 updates.
760
761 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
762 ry, make sure that it is updated as well. Otherwise, errors may arise due to
763 database schema changes.
764
765 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
766 new database fields are filled with data.
767
768 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
769 changes are made, and there is a slightly higher chance that things could
770 break. Don't forget to always back up your database before upgrading!
771
772 See the file UPGRADE for more detailed upgrade instructions.
773
774
775 === Caveats ===
776
777 Some output, particularly involving user-supplied inline HTML, may not
778 produce 100% valid or well-formed XHTML output. Testers are welcome to
779 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
780 cases, but this is not recommended on live sites. (This must be set for
781 MathML to display properly in Mozilla.)
782
783 For notes on 1.15.x and older releases, see HISTORY.
784
785
786 === Online documentation ===
787
788 Documentation for both end-users and site administrators is currently being
789 built up on MediaWiki.org, and is covered under the GNU Free Documentation
790 License (except for pages that explicitly state that their contents are in
791 the public domain) :
792
793 http://www.mediawiki.org/wiki/Documentation
794
795
796 === Mailing list ===
797
798 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
799 wikitech-l list:
800
801 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
802
803 A low-traffic announcements-only list is also available:
804
805 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
806
807 It's highly recommended that you sign up for one of these lists if you're
808 going to run a public MediaWiki, so you can be notified of security fixes.
809
810
811 === IRC help ===
812
813 There's usually someone online in #mediawiki on irc.freenode.net