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