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