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