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