Drop $wgDBminWordLen from DefaultSettings.php -- hasn't been used since 1.6 dropped...
[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.14 ==
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.14 ===
22
23 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
24 the effect of the new __INDEX__/__NOINDEX__ magic words. (Default: null, ex-
25 empt all content namespaces.)
26 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
27 has been $wgSearchForwardUrl.
28 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
29 $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent Changes
30 feed that appears on all pages.
31 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
32 SQLite data directories on creation. Note this setting is separate from
33 $wgDirectoryMode, which applies to all normal directories created by MediaWiki.
34 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
35 $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
36 group in order to add or remove those groups from themselves.
37 Backwards compatibility is maintained.
38 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
39 word is restricted to titles equivalent to the actual page title. This
40 is true per default, but can be set to false to allow any title.
41 * $wgSpamRegex may now be an array of multiple regular expressions.
42 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
43 * Editing the MediaWiki namespace is now unconditionally restricted to people
44 with the editinterface right, configuring this in $wgNamespaceProtection
45 is not required.
46 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
47 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
48 whitelist on or off.
49 * Added $wgRenderHashAppend to append some string to the parser cache and the
50 sitenotice cache keys.
51
52 === New features in 1.14 ===
53
54 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
55 'Special:ListUsers/GROUP/USER', in addition to the older syntax
56 'Special:ListUsers/GROUP' where GROUP is a valid group name.
57 * Configurable per-namespace and per-page notices for the edit form,
58 respectively MediaWiki:Editnotice-# where # is the namespace number, and
59 MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
60 PAGENAME is the page name minus the namespace prefix.
61 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
62 search engine indexing on a per-article basis.
63 * Handheld stylesheet options
64 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
65 'EditSectionLink' and 'EditSectionLinkForOther' hooks. Note that the
66 'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
67 run in all cases instead, so extensions using the old hooks should still work
68 if they ran roughly the same code for both hooks (as is almost certain).
69 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
70 $wgCleanSignatures=false
71 * Extensions can use the SkinBuildSidebar hook to modify the content of the
72 sidebar and add custom portlets to it
73 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
74 ables into into the output of Skin::makeVariablesScript
75 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
76 Special:ListGroupRights
77 * (bug 14377) Add a date selector to history pages
78 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
79 the main page to be customized
80 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
81 the wiki
82 * Added 'noconvertlink' toggle that can be set per user preferences, also
83 added 'convertlink=no|yes' on GET requests whether have the link titles
84 being converted or not
85 * (bug 14921) Special:Contributions/: add user name to <title>
86 Patch by Emufarmers
87 * Unescape more "safe" characters when producing URLs, for added prettiness
88 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
89 after the page content and article metadata. Updated all skins and skin
90 templates to work with that hook.
91 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
92 'ignore-groups'. Patch by Louperivois
93 * (bug 15127) Work around minor display glitch in Opera.
94 * By default, reject file uploads that look like ZIP files, to avoid the
95 so-called GIFAR vulnerability.
96 * (bug 15141) Give ability to only list protected pages with the cascading
97 option enabled on Special:ProtectedPages
98 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
99 Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
100 * Added hook 'UserrightsChangeableGroups' to allow modification of what
101 groups may be added or removed via the Special:UserRights interface.
102 * HTML entities like &nbsp; now work (are not escaped) in edit summaries.
103 * (bug 13815) In the comment for page moves, use the colon-separator message
104 instead of a hardcoded colon.
105 * Allow <gallery> to accept image names without an Image: prefix
106 * Add tooltips to rollback and undo links
107 * BMP images are now displayed as PNG
108 * (bug 13471) Added NUMBERINGROUP magic word
109 * (bug 11884) Now support Flash EXIF attribute
110 * Show thumbnails in the file history list, patch by User:Agbad
111 * Added support of piped wikilinks using double-width brackets
112 * Added an on-wiki external image whitelist. Items in this whitelist are
113 treated as regular expression fragments to match for when possibly
114 displaying an external image inline.
115 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
116 * (bug 15422) Sort more different types of numbers in sortable tables
117 * (bug 2889) MediaWiki:Print.css applies to the printable version
118 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
119 small categories
120 * After logging in, automatically redirect to wherever you logged in from
121 * (bug 5619) Break messages used in Special:Statistics down further
122 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
123 Special:Statistics
124 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
125 plaintext copyright notice. Patch by Juliano F. Ravasi.
126 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
127 deleted page, even if they are unable to edit it.
128 * Added Wantedfiles special pages, allowing users to find image links with no image.
129 * (bug 12650) It is now possible to set different expiration times for different
130 restriction types on the protection form.
131 * Special:Log/newusers recording new users.was added (was extension Newuserlog)
132 * Special:LinkSearch to search for external links was added (was extension
133 LinkSearch)
134
135 === Bug fixes in 1.14 ===
136
137 * (bug 14907) DatabasePostgres::fieldType now defined.
138 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
139 falls back to the user option
140 * (bug 14954) Fix regression in Modern and Simple skins
141 * Recursion loop check added to Categoryfinder class
142 * Fixed few performance troubles of large job queue processing
143 * Not setting various parameters in Foreign Repos now fails more gracefully
144 * (bug 2333) Redirects are properly rendered when previewing an edit.
145 * (bug 14972) Use localized alias of Special:Search on all search forms
146 * (bug 11035) Special:Search should have descriptive <title>
147 * Special pages are now not subject to special handling for "self-links"
148 * (bug 15053) Syntactically incorrect redirects with another link in them
149 no longer redirect to the second link
150 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
151 a "-" were incorrectly turned into bogus IP range searches.
152 Patch by Max Semenik.
153 * (bug 15055) Talk page notifications no longer attempt to send mail when
154 user's e-mail address is invalid or unconfirmed
155 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in 5
156 minutes.
157 * (bug 15016) 'Templates used on this page' list in view source should be
158 wrapped in a div with class "templatesUsed"
159 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the diff
160 entirely, not just the display of it.
161 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
162 allows having the unprefixed page title as the default category sortkey
163 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
164 ns-special to special pages.
165 * (bug 15052) Skins should add their name as a class in <body>
166 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
167 for several languages was removed. The settings have been put in extension
168 WikimediaMessages. Patch for Czech by Danny B.
169 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
170 again
171 * (bug 13770) Fixed incorrect detection of PHP's DOM module
172 * (bug 14790) Export of category pages when using Category: prefix now actually
173 gives results
174 * Avoid recursive crazy expansions in section edit comments for pages which
175 contain '/*' in the title
176 * Fix excessive memory usage when parsing pages with lots of links
177 * $wgSpamRegex now matches the edit summary and page move descriptions in
178 addition to body text.
179 * Navigation links to images available from a shared repository (like Commons)
180 from their local talk pages no longer appear as redlinks
181 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
182 description pages).
183 * (bug 15303) Title conversion for templates wasn't working in some cases.
184 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
185 literally; now converting them to spaces per expectation.
186 * (bug 15342) "Invert" checkbox now works correctly when selecting main
187 namespace in Special:Watchlist
188 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
189 last input element (like Special:Watchlist too)
190 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
191 * Fixed intermittent deadlock errors involving objectcache table queries.
192 Use a separate database connection for the objectcache table to avoid
193 long-lasting locks on that table.
194 * Respect file restrictions in the file history list
195 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
196 tables, and have been disabled by default.
197 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
198 * (bug 15292) New message notification for unregistred users now works again
199 * (bug 14398) mwsuggest.js: Let width of container be configurable
200 * (bug 15543) Only include user touched timestamp to generated CSS
201 * (bug 15497) Removed encoding attribute from <?xml ?> tag
202 * (bug 15544) Wiki not set up message (NoLocalSettings.php) now works for
203 non-index.php entry pages (e.g. api.php). Patch by Matt Johnston.
204 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to Special:Userlogin. Patch by Marooned.
205 * Fixed the HTTP accept language string detection length in
206 LanguageConverter.php, instead of the fixed length language codes.
207 * Special:Recentchangeslinked no longer shows outgoing links for nonexistent pages
208 even if there are broken link records with source article id 0 in the database
209 * (bug 15598) Special:Newpages default limit uses user preference for recentchanges
210 limit instead of hardcoded 50.
211 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses, instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
212 * (bug 14638) Special:Blockip now provides a link to the block log if the user has been blocked more than 10 times. Patch by Matt Johnston.
213 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
214
215 === API changes in 1.14 ===
216
217 * Registration time of users registered before the DB field was created is now
218 shown as empty instead of the current time.
219 * API search now falls back to fulltext search by default when using Lucene
220 or other engine which doesn't support a separate title search function.
221 This means you can use API search on Wikipedia without explicitly adding
222 &srwhat=text to the query.
223 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
224 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
225 are now listed on action=help
226 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
227 between requests
228 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
229 output.
230 * When the limit on multivalue parameters is exceeded, a warning is issued
231 * list=search doesn't list missing pages any more
232 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
233 non-hidden categories
234 * (bug 15228) Combining revids= and redirects now throws a warning instead of an
235 error, and still resolves redirects generated by the generator.
236 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
237 etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
238 for consistency with other list modules.
239 * Added action=watch
240 * (bug 15275) apprefix and related parameters ignore spaces at the end
241 * action=edit no longer throws unknown error 228 when trying to create an empty
242 section with section=new
243 * Database replication lag doesn't cause all action=edit requests to return the
244 nochange flag any more
245 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
246 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
247 return just "Unknown error"
248 * (bug 15448) YAML output returns empty values instead of 0
249 * (bug 15445) Added action=patrol
250 * (bug 15466) Added action=purge
251 * (bug 15486) action=block ignores autoblock parameter
252 * (bug 15492) added rcprop=loginfo to list=recentchanges
253 * (bug 15527) action=rollback can now revert anonymous editors
254 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
255 if the page is also protected otherwise (1.10+ style or cascading)
256 * list=random now has rnredirect parameter, to get random redirects.
257 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
258 hooks which allow for extending core modules in a cleaner way
259 * action=protect checks for invalid protection types and levels
260
261 === Languages updated in 1.14 ===
262
263 MediaWiki supports over 300 languages. Many localisations are updated
264 regularly. Below only new and removed languages are listed.
265
266 * Fiji Hindi (Devanagari script) (hif-deva)
267 * Krio (kri)
268 * Lezghian (lez)
269 * Laz (lzz)
270 * Niuean (niu)
271 * Oromo (om)
272 * Plautdietsch (pdt)
273 * Tarantino (roa-tara)
274 * Serbo-Croatian (sh)
275
276 == Compatibility ==
277
278 MediaWiki 1.14 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
279
280 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
281 http://bugs.php.net/bug.php?id=34879
282 Upgrade affected systems to PHP 5.1 or higher.
283
284 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
285 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
286
287
288 == Upgrading ==
289
290 1.14 has several database changes since 1.13, and will not work without schema
291 updates.
292
293 If upgrading from before 1.11, and you are using a wiki as a commons repository,
294 make sure that it is updated as well. Otherwise, errors may arise due to
295 database schema changes.
296
297 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
298 new database fields are filled with data.
299
300 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
301 changes are made, and there is a slightly higher chance that things could
302 break. Don't forget to always back up your database before upgrading!
303
304 See the file UPGRADE for more detailed upgrade instructions.
305
306
307 === Caveats ===
308
309 Some output, particularly involving user-supplied inline HTML, may not
310 produce 100% valid or well-formed XHTML output. Testers are welcome to
311 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
312 cases, but this is not recommended on live sites. (This must be set for
313 MathML to display properly in Mozilla.)
314
315 For notes on 1.13.x and older releases, see HISTORY.
316
317
318 === Online documentation ===
319
320 Documentation for both end-users and site administrators is currently being
321 built up on MediaWiki.org, and is covered under the GNU Free Documentation
322 License (except for pages that explicitly state that their contents are in
323 the public domain) :
324
325 http://www.mediawiki.org/wiki/Documentation
326
327
328 === Mailing list ===
329
330 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
331 wikitech-l list:
332
333 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
334
335 A low-traffic announcements-only list is also available:
336
337 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
338
339 It's highly recommended that you sign up for one of these lists if you're
340 going to run a public MediaWiki, so you can be notified of security fixes.
341
342
343 === IRC help ===
344
345 There's usually someone online in #mediawiki on irc.freenode.net