3c9324b52990f1db0f78c87ea0a7b1f4be63f370
[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.12 ==
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.12 ===
22 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
23 markbotedit permission, rather than the rollback permission previously used.
24 This permission is assigned by default to the sysop group.
25 * MediaWiki now checks if serialized files are out of date. New configuration
26 variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
27 to not check and assume they are always up to date)
28 * The rollback permission can now be rate-limited using the normal mechanism.
29 * New configuration variable $wgExtraLanguageNames
30 * Behaviour of $wgAddGroups and $wgRemoveGroups changed. New behaviour:
31 * * Granting the userrights privilege allows arbitrary changing of rights.
32 * * Without the userrights privilege, a user will be able to add and/or
33 remove the groups specified in $wgAddGroups and $wgRemoveGroups for
34 any groups they are in.
35 * New permission userrights-interwiki for changing user rights on foreign wikis.
36 * $wgImplictGroups for groups that are hidden from Special:Listusers, etc.
37 * $wgAutopromote: automatically promote users who match specified criteria
38 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
39 themselves from specified groups via Special:Userrights.
40 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
41 present, in preference to an external Tidy executable which may or may not
42 be present. To force use of external Tidy even when the PHP module is
43 available, set $wgTidyInternal to false.
44
45
46 === New features in 1.12 ===
47 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
48 * Add {{filepath:}} parser function to get full path to an uploaded file,
49 complementing {{fullurl:}} for pages.
50 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
51 is not set to 'mediawiki', allowing multiple mediawiki instances per user.
52 * (bug 11151) Add descriptive <title> to revision history page
53 * (bug 5412) Add feed links for the site to all pages
54 * (bug 11353) Add ability to retrieve raw section content via action=raw
55 * (bug 6909) Show relevant deletion log lines when uploading a previously
56 deleted file
57 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
58 source" tab entirely if the page doesn't exist and the user isn't allowed to
59 create it
60 * Clarify instructions given when an exception is thrown
61 * AuthPlugin added strictUserAuth() method to allow per-user override
62 of the strict() authentication behavior.
63 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
64 against the previous revision, whether currently deleted or live.
65 * Added tooltips for the "Go" and "Search" buttons
66 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
67 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
68 stricting e-mail addresses to a specific domain
69 * Removed "Clear" link in watchlist editor tools, as people were afraid to
70 click it. Existing clear links will fall back to the raw editor, which is
71 very easy to clear your watchlist with.
72 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
73 on Special:Newpages
74 * LogLine hook added to allow formatting custom entries in Special:Log.
75 * Support for Iranian calendar
76 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
77 Special:Newpages
78 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
79 * MediaWikiPerformAction hook added for diverting control after the main
80 globals have been set up but before any actions have been taken.
81 * BeforeWatchlist hook added for filtering or replacing watchlist.
82 * SkinTemplateTabAction hook added for altering the properties of tab links.
83 * OutputPage::getRedirect public method added.
84 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
85 in Special:Mypage and Special:Mytalk
86 * Add ot=raw to Special:Allmessages
87 * Support for Hebrew calendar
88 * Support for Hebrew numerals in dates and times
89 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
90 [[MediaWiki:Signature-anon]]
91 * Signatures for anonymous users link to Special:Contributions page rather than
92 user page
93 * Added --override switch for disabled pages in updateSpecialPages.php
94 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
95 fails
96 because it is part of a blocked range.
97 * (bug 3973) Use a separate message for the email content when an account is
98 created by another user
99 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
100 cleanly if database connections fail unpleasantly.
101 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
102 * (bug 9633) Add a predefined list of delete reasons to the deletion form
103 * Show a warning message when creating/editing a user (talk) page but the user
104 does not exists
105 * (bug 8396) Ignore out-of-date serialised message caches
106 * (bug 12195) Undeleting pages now requires 'undelete' permission
107 * (bug 11810) Localize displayed semicolons
108 * (bug 11657) Support for Thai solar calendar
109 * (bug 943) RSS feed for Recentchangeslinked
110 * Introduced AbortMove hook
111 * (bug 2919) Protection of nonexistent pages with regular protection interface.
112 * Special:Upload now lists permitted/prohibited file extensions.
113 * Split ambiguous filetype-badtype message into two new messages,
114 filetype-unwanted-type and filetype-banned-type.
115 * Added link to the old title in Special:Movepage
116 * On Special:Movepage, errors are now more noticeable.
117 * It is now possible to change rights on other local wikis without the MakeSysop
118 extension
119 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
120 editing to allow CSS styling.
121 * Parser now returns list of sections
122 * When a user is prohibited from creating a page, a title of "View source"
123 makes no sense, and there should be no "Return to [[Page]]" link.
124 * (bug 12486) Protected titles now give a warning for privileged editors.
125 * (bug 9939) Special:Search now sets focus to search input box when no existing
126 search is active
127 * For Special:Userrights, use GET instead of POST to search for users.
128 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
129 * When submitting changes on Special:Userrights, show the full form again, not
130 just the search box.
131 * Added exception hooks
132 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
133 edit, via the parameter 'bot'. (Default: '1')
134 * (bug 12536) User should be able to get MediaWiki version from any page
135 * (bug 12622) A JavaScript constant to declare whether api.php is available
136 * Add caching to the AJAX search
137 * Add APCOND_INGROUPS
138 * Add DBA caching to installer
139 * (bug 18585) Added a bunch of parameters to the revertpage message
140 * Support redirects in image namespace
141 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
142 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
143 * Add option to include templates in Special:Export.
144 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
145 address in Reply-To instead of From for user-to-user emails.
146 This protects against SPF problems and privacy-leaking bounce messages
147 when using mailers that set the envelope sender to the From header value.
148 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
149 for Special:Userlogin?type=signup
150 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
151 * Merged backends for OpenSearch suggestions and AJAX search.
152 Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
153 and reject interwiki prefixes. PrefixSearch class centralizes this code,
154 and the backend part can be overridden by the PrefixSearchBackend hook.
155 * (bug 10365) Localization of Special:Version
156 * When installing using Postgres, the Pl/Pgsql language is now checked for
157 and installed when at the superuser level.
158 * The default robot policy for the entire wiki is now configurable via the
159 $wgDefaultRobotPolicy setting.
160 * (bug 12239) Use different separators for autocomments
161 * (bug 12857) Patrol link on new pages should clear floats
162 * (bug 12968) Render redirect wikilinks in a redirect class for customization
163 via user/site CSS.
164
165 === Bug fixes in 1.12 ===
166
167 * Subpages are now indexed for searching properly when using PostgreSQL
168 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
169 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
170 * (bug 7027) Shift handling of deletion permissions-checking to
171 getUserPermissionsErrors.
172 * Login and signup forms are now more correct for right-to-left languages.
173 * (bug 5387) Block log items on RecentChanges don't make use of possible
174 translations
175 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
176 message, the level of protection.
177 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
178 message.
179 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
180 where rollback is given to non-sysops.
181 * (bug 8834) Split off permission for editing user JavaScript and CSS from
182 editinterface to a new permission key editusercssjs.
183 * (bug 11266) Set fallback language for Fulfulde (ff) to French
184 * (bug 11179) Include image version deletion comment in public log
185 * Fixed notice when accessing special page without read permission and whitelist
186 is not defined
187 * (bug 9252) Fix for tidy funkiness when using editintro mode
188 * (bug 4021) Fix for MySQL wildcard search
189 * (bug 10699) Fix for MySQL phrase search
190 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
191 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
192 page
193 * Fix initial statistics when installing: add correct values
194 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
195 linked to the main page instead of targetted page
196 * Strike the link to the redirect rather than using an asterisk in
197 Special:Listredirects
198 * (bug 11355) Fix false positives in Safe Mode and other config detection
199 when boolean settings are disabled with 'Off' via php_admin_value/php_value
200 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
201 object.
202 * (bug 11363) Make all metadata fields bytea when using Postgres.
203 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
204 oldimage cascade delete via image table for Postgres, change fa_storage_key
205 TEXT.
206 * (bug 11438) Live Preview chops returned text
207 * Show the right message on account creation when the user is blocked
208 * (bug 11450) Fix creation of objectcache table on upgrade
209 * Fix namespace selection after submit of Special:Newpages
210 * Make input form of Special:Newpages nicer for RTL wikis
211 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
212 * (bug 11474) Fix unintentional fall-through in math error handling
213 * (bug 11478) Fix undefined method call in file deletion interface
214 * (bug 278) Search results no longer highlight incorrect partial word matches
215 * Compatibility with incorrectly detected old-style DJVU mime types
216 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
217 Nested links (as in image caption text) still don't work _right_ but they're
218 less wrong
219 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
220 some browsers.
221 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
222 appears just before the login form. Patch by MinuteElectron.
223 * Do not cache category pages if using 'from' or 'until'
224 * Created new hook getUserPermissionsErrors, to go with userCan changes.
225 * Diff pages did not properly display css/js pages.
226 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
227 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
228 email address when registering.
229 * (bug 11612) Days to show in recent changes cannot be larger than 7
230 * (bug 11131) Change filearchive width/height columns to int for Postgres
231 * Support plural in undeleted{revisions,revisions-files,files}
232 * (bug 11343) If the database is read-only, ensure that undelete fails.
233 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
234 only
235 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
236 * Fix regression in LinkBatch.php breaking PHP 5.0
237 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
238 words when called with options ''parsemag'' or ''content''.
239 * (bug 11727) Support plural in 'historysize' message
240 * (bug 11744) Incorrect return value from Title::getParentCategories()
241 * (bug 11762) Fix native language name of Akan (ak)
242 * (bug 11722) Fix inconsistent case in unprotect tabs
243 * (bug 11795) Be more paranoid about confirming accept-encoding header is
244 present
245 * (bug 11809) Use formatNum() for more numbers
246 * (bug 11818) Fix native language name of Inuktitut (iu)
247 * Remove all commas when parsing float numbers in sorted tables
248 * Limit text field of deletion, protection and user rights changes reasons to
249 255 characters (already restricted in the database)
250 * In the deletion default reasons, calculate how much text to get from the
251 article text, rather than getting 150 characters (which may be too much)
252 * Add two messages for Special:Blockme which were used but undefined
253 * (bug 11921) Support plural in message number_of_watching_users_pageview
254 * If an IP address is blocked as part of a rangeblock, attempting to unblock
255 the single IP should not unblock the entire range.
256 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
257 * Make action=render follow redirects by default
258 * If restricted read access was enabled, whitelist didn't work with special
259 pages which had spaces in theirs names
260 * If restricted read access was enabled, requests for non-existing special pages
261 threw an exception
262 * Feeds for recent changes now provide correct URLs for the change, not just
263 the page
264 * Check for if IP is blocked as part of a range when unblocking (see above bug-
265 fix) was faulty. Now fixed.
266 * Fixed wpReason URL parameter to action=delete.
267 * Do not force a password for account creation by email
268 * Ensure that rate-limiting is applied to rollbacks.
269 * Make a better rate-limiting error message (i.e. a normal MW error,
270 rather than an "Internal Server Error").
271 * Do not present an image bigger than the source when 'frameless' option is used
272 (to be consistent with the 'thumb' option now)
273 * Support {{PLURAL}} for import log
274 * Make sure that the correct log entries are shown on Special:Userrights even
275 for users with special characters in their names
276 * The number of watching users in watchlists was always reported as 1
277 * namespaceDupes.php no longer dies when coming across an illegal title
278 * (bug 12143) Do not show a link to patrol new pages for non existent pages
279 * (bug 12166) Fix XHTML validity for Special:Emailuser
280 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
281 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
282 instead of a Traditional conversion with Taiwan variant, and a Simplified
283 conversion with China variant.
284 * (bug 12178) Fix wpReason parameter to action=delete, again.
285 * Graceful behavior for updateRestrictions.php if a page already has records
286 in the page_restrictions matching its old page_restrictions field.
287 May help with odd upgrade issues or race condition.
288 * (bug 11993) Remove contentsub "revision history"
289 * (bug 11952) Ensure we quote_ident() all schema names as needed
290 inside of the DatabasePostgres.php file.
291 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
292 scripts, making for cleaner reporting during batch jobs. PHP errors will also
293 be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
294 to 'stderr' at runtime.
295 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
296 lines in diff output
297 * (bug 10166) Fix a PHP warning in Language::getMagic
298 * Only mark rollback edits as minor if the user can normally mark edits minor
299 * Escape page names in the move successful page (e.g. for pages with two
300 apostrophes).
301 * (bug 12145) Add localized names of kk-variants
302 * (bug 12259) Localize the numbers in deleted pages on the sysop view
303 * Set proper page title for successful file deletion
304 * (bug 11221) Do not show 'Compare selected versions' button for a history page
305 with one revision only
306 * (bug 12267) Set the default date format to Thai solar calender for the Thai
307 language
308 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
309 user-customized ones (like Common.css, Common.js)
310 * (bug 12283) Special:Newpages forgets parameters
311 * (bug 12031) All namespaces doesn't work in Special:Newpages
312 * (bug 585) Only create searchindex replica table for parser tests if db is
313 MySQL
314 * Allow --record option if parserTests.php to work when using Postgres
315 * (bug 12296) Simplify cache epoch in default LocalSettings.php
316 * (bug 12346) XML fix when body double-click and click handlers are present
317 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
318 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
319 * (bug 12380) Bot-friendly EditPage::spamPage
320 * (bug 8066) Spaces can't be entered in special page aliases
321 * Hide undo link if user can't edit article
322 * (bug 12416) Fix password setting for createAndPromote.php
323 * (bug 3097) Inconsistently usable titles containing HTML character entities
324 are now forbidden. A run of cleanupTitles.php will fix up existing pages.
325 * (bug 12446) Permissions check fix for undelete link
326 * (bug 12451) AJAX title normalization tweaks
327 * When a user creating a page is not allowed to either create the page nor edit
328 it, all applicable reasons are now shown.
329 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
330 Fixes 'root'-style rewrite configurations
331 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
332 * (bug 12489) Special:Userrights listed in restricted section again
333 * (bug 12553) Fixed invalid XHTML in edit conflict screen
334 * (bug 12505) Fixed section=0 with action=raw
335 * (bug 12614) Do not log user rights change that didn't change anything
336 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
337 * (bug 12588) Fix selection in namespace selector on Special:Newpages
338 * Use only default options when generating RSS and Atom syndication links.
339 This should help prevent infinite link loops that some software may follow,
340 and will generally keep feed behavior cleaner.
341 * (bug 12608) Unifying the spelling of getDBkey() in the code.
342 * (bug 12611) Bot flag ignored in recent changes
343 * (bug 12617) Decimal and thousands separators for Romanian
344 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
345 Also added proper read-only checks to several special pages.
346 Have removed read-only checks from the general user permission framework.
347 * Creating a site with a name containing '#' is no longer permitted, since the
348 name will not work (but $wgSiteName is not checked if manually set).
349 * (bug 12695) Suppress dvips verbiage from web server error log
350 * (bug 12716) Unprotecting a non-protected page leaves a log entry
351 * Log username blocks with canonical form of name instead of input form
352 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
353 Non-image handlers and full-size images may now decline it, fixing
354 mystery failures when using $wgThumbnailScriptPath.
355 * (bug 12327) Comma in username no longer disrupts mail headers
356 * (bug 6436) Localization of Special:Import XML parser Error message(s).
357 * Security fix for API on MSIE
358 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
359 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
360 * (bug 12790) Page protection is not logged when edit-protection is used
361 and move-protection is not
362 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
363 * Fix for Special:Export so it doesn't ignore the page named '0'
364 * Don't display rollback link if the user doesn't have all required permissions
365 * The comment of a time-limited protection now contains the date in the default
366 format
367 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
368 * (bug 12885) Correction for Russian convertPlural function
369 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
370 * (bug 12735) Truncate usernames in comments using mb_ functions.
371 * (bug 12892) Poor tab indexing on "delete file" form
372 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
373 address
374 * (bug 12931) Fix wrong global variable in SpecialVersion
375 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
376 version
377 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
378 is disabled
379 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
380 * Fixing message cache updates for MediaWiki messages moves
381 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
382 in parentheses after them claimed otherwise
383 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for Postgres.
384 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
385 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple directories.
386
387 == Parser changes in 1.12 ==
388
389 The parser pass order has changed from
390
391 * Extension tag strip and render
392 * HTML normalisation and security
393 * Template expansion
394 * Main section...
395
396 to
397
398 * Template and extension tag parse to intermediate representation
399 * Template expansion and extension rendering
400 * HTML normalisation and security
401 * Main section...
402
403 The main effect of this for the user is that the rules for uncovered syntax
404 have changed.
405
406 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
407 previously in some cases they were escaped. For example, you could have "<ta" in
408 one template, and "ble>" in another template, and put them together to make a
409 valid <table> tag. Previously the result would have been "&lt;table&gt;".
410
411 Uncovered preprocessor syntax is generally not recognised. For example, if you
412 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
413 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
414 was the case previously in HTML output mode, and is now uniformly the case in
415 the other modes as well. HTML-style comments uncovered by template expansion
416 will not be recognised by the preprocessor and hence will not prevent template
417 expansion within them, but they will be stripped by the following HTML security
418 pass.
419
420 The rules for template expansion during message transformation were
421 counterintuitive, mostly accidental and buggy. There are a few small changes in
422 this version: for example, templates with dynamic names, as in "{{ {{a}} }}",
423 are fully expanded as they are in HTML mode, whereas previously only the inner
424 template was expanded. I'd like to make some larger breaking changes to message
425 transformation, after a review of typical use cases.
426
427 The header identification routines for section edit and for numbering section
428 edit links have been merged. This removes a significant failure mode and fixes a
429 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
430 template expansion or comment removal will still be rendered into a heading tag,
431 and will get an entry in the TOC, but will not have a section edit link.
432 HTML-style headings will also not have a section edit link. Valid wikitext
433 headings present in the template source text will get a template section edit
434 link. This is a major break from previous behaviour, but I believe the effects
435 are almost entirely beneficial.
436
437 The main motivation for making these changes was performance. The new two-pass
438 preprocessor can skip "dead branches" in template expansion, such as unfollowed
439 #switch cases and unused defaults for template arguments. This provides a
440 significant performance improvement in template-heavy test cases taken from
441 Wikipedia. Parser function hooks can participate in this performance improvement
442 by using the new SFH_OBJECT_ARGS flag during registration.
443
444 The pre-expand include size limit has been removed, since there's no efficient
445 way to calculate such a figure, and it would now be meaningless for performance
446 anyway. The "preprocessor node count" takes its place, with a generous default
447 limit.
448
449 The context in which XML-style extension tags are called has changed, so
450 extensions which make use of the parser state may need compatibility changes.
451
452 === API changes in 1.12 ===
453
454 Full API documentation is available at http://www.mediawiki.org/wiki/API
455
456 * (bug 11275) Enable descending sort in categorymembers
457 * (bug 11308) Allow the API to output the image metadata
458 * (bug 11296) Temporary fix for escaping of ampersands inside links in
459 pretty-printed
460 help document.
461 * (bug 11405) Expand templates implementation in the API
462 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
463 page.
464 * (bug 11404) Provide name of exception caught in error code field of internal
465 api error messages.
466 * (bug 11534) rvendid doesn't work
467 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
468 revision content is requested.
469 * Include svn revision number (if install is checked-out from svn) in siteinfo
470 query.
471 * (bug 11173) Allow limited wikicode rendering via api.php
472 * (bug 11572) API should provide interface for expanding templates
473 * (bug 11569) Login should return the cookie prefix
474 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
475 list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
476 * Compatibility fix for PHP 5.0.x.
477 * Add rctype parameter to list=recentchanges that filters by type
478 * Add apprtype and apprlevel parameters to filter list=allpages by protection
479 types and levels
480 * Add apdir parameter to enable listing all pages from Z to A
481 * (bug 11721) Use a different title for results than for the help page.
482 * (bug 11562) Added a user_registration parameter/field to the list=allusers
483 query.
484 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
485 * Outputting list of all user preferences rather than having to request them by
486 name
487 * (bug 11206) api.php should honor maxlag
488 * Make prop=info check for restrictions in the old format too.
489 * Add apihighlimits permission, default for sysops and bots
490 * Add limit=max to use maximal limit
491 * Add action=parse to render parser output. Use it instead of action=render
492 which has been removed
493 * Add rvtoken=rollback to prop=revisions
494 * Add meta=allmessages to get messages from site's messages cache.
495 * Use bold and italics highlighting only in API help
496 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
497 list={blocks,deletedrevs}
498 * Fixed sessionid attribute in action=login
499 * Standardized limits. Revisions and Deletedrevisions formerly using
500 200 / 10000, now 500 / 5000, in line with other modules.
501 * Added list=allcategories module
502 * (bug 12321) API list=blocks reveals private data
503 * Fix output of wfSajaxSearch
504 * (bug 12413) meta=userinfo missing <query> tag
505 * Add list of sections to action=parse output
506 * Added action=logout
507 * Added cascade flag to prop=info&inprop=protections
508 * Added wlshow parameter to list=watchlist, similar to rcshow
509 (list=recentchanges)
510 * Added support for image thumbnailing to prop=imageinfo
511 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
512 POSTed
513 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
514 iiend parameters
515 * Added amlang parameter to meta=allmessages
516 * Added apfilterlanglinks parameter to list=allpages, replacing
517 query.php?what=nolanglinks
518 * (bug 12718) Added action=paraminfo module that provides information about API
519 modules and their parameters
520 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
521 * Added format=txt and format=dbg, imported from query.php
522 * Added uiprop=editcount to meta=userinfo
523 * Added list=users which fetches user information
524 * Added list=random which fetches a list of random pages
525 * Added page parameter to action=parse to facilitate parsing of existing pages
526 * Added uiprop=ratelimits to meta=userinfo
527 * Added siprop=namespacealiases to meta=siteinfo
528 * Made multiple values for ucuser possible in list=usercontribs
529 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
530
531 === Languages updated in 1.12 ===
532
533 * Afrikaans (af)
534 * Akan (ak) (new)
535 * Amharic (am) (new)
536 * Aragonese (an)
537 * Old English (ang) (new)
538 * Arabic (ar)
539 * Aramaic (arc)
540 * Mapudungun (arn) (new)
541 * Assamese (as)
542 * Asturian (ast)
543 * Avaric (av)
544 * Kotava (avk) (new)
545 * Aymara (ay)
546 * Samogitian (bat-smg)
547 * Boarisch (bar)
548 * Bikol Central (bcl)
549 * Belarusian (be)
550 * Belarusian Taraskievica orthography (be-tarask)
551 * Bulgarian (bg)
552 * Bislama (bi) (new)
553 * Bamanankan (bm)
554 * Bengali (bn)
555 * Bishnupriya Manipuri (bpy)
556 * Breton (br)
557 * Buginese (bug) (new)
558 * Catalan (ca)
559 * Zamboangueño (cbk-zam) (new)
560 * Min Dong (cdo) (new)
561 * Chechen (ce)
562 * Cebuano (ceb) (new)
563 * Cherokee (chr) (new)
564 * Corsican (co) (new)
565 * Crimean Tatar (Cyrillic) (crh-cyrl) (new)
566 * Crimean Tatar (Latin) (crh-latn) (new)
567 * Czech (cs)
568 * Cassubian (csb)
569 * Old Church Slavonic (cu)
570 * Welsh (cy)
571 * Danish (da)
572 * German (de)
573 * German (de-formal) (new)
574 * Zazaki (diq) (new)
575 * Lower Sorbian (dsb) (new)
576 * Middle Dutch (dum) (new)
577 * Divehi (dv)
578 * Ewe (ee) (new)
579 * Greek (el)
580 * Emiliano-Romagnolo (eml)
581 * English (en)
582 * Spanish (es)
583 * Estonian (et)
584 * Euskara (eu)
585 * Extremaduran (ext)
586 * Finnish (fi)
587 * Persian (fa)
588 * Fulah (ff)
589 * Võro (fiu-vro)
590 * Fijian (fj) (new)
591 * Faroese (fo)
592 * French (fr)
593 * Cajun French (frc)
594 * Franco-Provençal (frp)
595 * Frisian (fy)
596 * Irish (ga)
597 * Gagauz (gag) (new)
598 * Gön-gnŷ (gan) (new)
599 * Scottish Gaelic (gd) (new)
600 * Galician (gl)
601 * Gilaki (glk) (new)
602 * Gothic (got) (new)
603 * Ancient Greek (grc) (new)
604 * Swiss German (gsw)
605 * Hakka (hak)
606 * Hawaiian (haw) (new)
607 * Hebrew (he)
608 * Croatian (hr)
609 * Upper Sorbian (hsb)
610 * Haitian Creole French (ht)
611 * Hungarian (hu)
612 * Armenian (hy)
613 * Interlingua (ia)
614 * Indonesian (id)
615 * Interlingue (ie) (new)
616 * Igbo (ig) (new)
617 * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans) (new)
618 * Eastern Canadian (Latin) (ike-latn) (new)
619 * Ingush (inh) (new)
620 * Ido (io) (new)
621 * Icelandic (is)
622 * Italian (it)
623 * Japanese (ja)
624 * Jutish (jut) (new)
625 * Georgian (ka)
626 * Kara-Kalpak (kaa)
627 * Kabyle (kab)
628 * Kazakh (kk)
629 * Kazakh Arabic (kk-arab) (new)
630 * Kazakh (China) (kk-cn)
631 * Kazakh Cyrillic (kk-cyrl) (new)
632 * Kazakh (Kazakhstan) (kk-kz)
633 * Kazakh Latin (kk-latn) (new)
634 * Kazakh (Turkey) (kk-tr)
635 * Kalaallisut (kl) (new)
636 * Kannada (kn)
637 * Korean (ko)
638 * Kölsch (ksh)
639 * Kurdish (Arabic) (ku-arab)
640 * Kurdish (Latin) (ku-latn)
641 * Cornish (kw) (new)
642 * Kirghiz (ky) (new)
643 * Latin (la)
644 * Ladino (lad) (new)
645 * Luxembourgish (lb) (new)
646 * Lingua Franca Nova (new)
647 * Lak (lbe) (new)
648 * Ganda (lg)
649 * Limbugian (li)
650 * Líguru (lij) (new)
651 * Lozi (loz) (new)
652 * Lingala (ln)
653 * Lithuanian (lt)
654 * Maithili (mai) (new)
655 * Moksha (mdf) (new)
656 * Malagasy (mg) (new)
657 * Malayalam (ml)
658 * Macedonian (mk)
659 * Marathi (mr)
660 * Malay (ms)
661 * Erzya (myv) (new)
662 * Nauru (na) (new)
663 * Nahuatl (nah)
664 * Min-nan (nan)
665 * Napolitan (nap)
666 * Low Saxon (nds)
667 * Dutch Low Saxon (nds-nl)
668 * Nepali (ne)
669 * Newari (new) (new)
670 * Dutch (nl)
671 * Norwegian (nynorsk) (nn)
672 * Norwegian (bokmål)‬ (no)
673 * Novial (nov) (new)
674 * Northern Sotho (nso) (new)
675 * Occitan (oc)
676 * Pangasinan (pag) (new)
677 * Pampanga (pam) (new)
678 * Papiamento (pap) (new)
679 * Deitsch (pdc) (new)
680 * Pfälzisch (pfl) (new)
681 * Polish (pl)
682 * Piemontèis (pms)
683 * Pontic (pnt) (new)
684 * Pashto (ps)
685 * Portugese (pt)
686 * Quechua (qu)
687 * Rhaeto-Romance (rm) (new)
688 * Romanian (ro)
689 * Russian (ru)
690 * Megleno-Romanian (ruq) (new)
691 * Megleno-Romanian (Cyrillic script) (ruq-cyrl) (new)
692 * Megleno-Romanian (Greek script) (ruq-grek) (new)
693 * Megleno-Romanian (Latin script) (ruq-latn) (new)
694 * Sakha (sah)
695 * Sardinian (sc)
696 * Sicilian (scn)
697 * Scots (sco) (new)
698 * Sindhi (sd)
699 * Sassarese (sdc) (new)
700 * Seri (sei) (new)
701 * Sango (sg) (new)
702 * Tachelhit (shi)
703 * Sinhalese (si) (new)
704 * Slovak (sk)
705 * Samoan (sm) (new)
706 * Southern Sami (sma) (new)
707 * Serbian (Cyrillic) (sr-ec)
708 * Swati (ss) (new)
709 * Southern Sotho (st) (new)
710 * Saterland Frisian (stq) (new)
711 * Sundanese (su)
712 * Swedish (sv)
713 * Swahili (sw) (new)
714 * Tamil (ta)
715 * Teluga (te)
716 * Tetun (tet) (new)
717 * Tajik (tg)
718 * Thai (th)
719 * Tagalog (tl) (new)
720 * Tonga (to) (new)
721 * Turkish (tr)
722 * Tuvinian (tyv)
723 * Uyghur (ug)
724 * Uzbek (uz)
725 * Venitian (vec)
726 * Vietnamese (vi)
727 * West Flemish (vls)
728 * Volapük (vo)
729 * Walloon (wa)
730 * Wolof (wo)
731 * Wu (wuu) (new)
732 * Xhosa (xh) (new)
733 * Mingrelian (xmf) (new)
734 * Yiddish (yi)
735 * Yoruba (yo) (new)
736 * Cantonese (yue)
737 * Zhuang (za)
738 * Zealandic (zea)
739 * Chinese (zh)
740 * Old Chinese/Late Time Chinese (zh-classical)
741 * Chinese (Simplified) (zh-hans)
742 * Chinese (Traditional) (zh-hant)
743 * Chinese (Taiwan) (zh-tw)
744 * Zulu (zu) (new)
745
746 == Compatibility ==
747
748 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
749
750 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
751 http://bugs.php.net/bug.php?id=34879
752 Upgrade affected systems to PHP 5.1 or higher.
753
754 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
755 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
756
757
758 == Upgrading ==
759
760 1.12 has several database changes since 1.11, and will not work without schema
761 updates.
762
763 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
764 new database fields are filled with data.
765
766 If upgrading from before 1.11, and you are using a wiki as a commons repository,
767 make sure that it is updated as well. Otherwise, errors may arise due to
768 database schema changes.
769
770 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
771 changes are made, and there is a slightly higher chance that things could
772 break. Don't forget to always back up your database before upgrading!
773
774 See the file UPGRADE for more detailed upgrade instructions.
775
776
777 === Caveats ===
778
779 Some output, particularly involving user-supplied inline HTML, may not
780 produce 100% valid or well-formed XHTML output. Testers are welcome to
781 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
782 cases, but this is not recommended on live sites. (This must be set for
783 MathML to display properly in Mozilla.)
784
785 For notes on 1.11.x and older releases, see HISTORY.
786
787
788 === Online documentation ===
789
790 Documentation for both end-users and site administrators is currently being
791 built up on MediaWiki.org, and is covered under the GNU Free Documentation
792 License (except for pages that explicitly state that their contents are in
793 the public domain) :
794
795 http://www.mediawiki.org/wiki/Documentation
796
797
798 === Mailing list ===
799
800 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
801 wikitech-l list:
802
803 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
804
805 A low-traffic announcements-only list is also available:
806
807 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
808
809 It's highly recommended that you sign up for one of these lists if you're
810 going to run a public MediaWiki, so you can be notified of security fixes.
811
812
813 === IRC help ===
814
815 There's usually someone online in #mediawiki on irc.freenode.net