411606c944f02984f54a24b38e0f367849b1d1a4
[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.7 ==
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 development happen
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 == Changes since 1.6 ==
22
23 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
24 link in block log
25 * (bug 5462) Bogus missing patch warning in updater
26 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
27 * PHP warning when allow_call_time_pass_reference is off
28 * Update to Finnish localization
29 * (bug 5467) Link to page histories in watchlist edit mode
30 * Further additions to Hebrew localisation
31 * (bug 5476) Invalid xhtml in German localization
32 * (bug 5479) Id translation for preferences tabs caption
33 * (bug 5493) Id translation for special pages
34 * Added skinname and style path parameters to CBT version of MonoBook
35 * Include subversion revision number in Special:Version if available
36 * (bug 5344) Fix regression that broke slashes in extension tag parameters
37 * Improve Special:Log performance on big log sets
38 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
39 * (bug 4760) Prevent creation of entries in protection log when protection
40 levels haven't changed
41 * (bug 861) Show page protection/unprotection events in histories
42 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
43 Fixes regression with use of <ref> in a template breaking <nowiki> etc.
44 * Minor improvements to English language files
45 * Display the anon talk page info message on anon talk pages again
46 (moved outside the parser cache)
47 * Optional {{DISPLAYTITLE|title with markup}} magic word
48 Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
49 to activate
50 * Cleaned SpecialContributions a bit
51 * Added a table to track interlanguage links
52 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
53 languages
54 * Replace "doubleredirectsarrow" with a content language check that picks the
55 appropriate arrow
56 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
57 Lithuanian (lt)
58 * Don't force edit summaries when a user is editing their own user/talk page
59 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
60 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
61 * PersistentObject removed; it doesn't do anything and was broken besides.
62 All extensions using it have been corrected.
63 * Propagate ISBN number for Booksources in LanguageNo.php
64 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
65 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
66 for all) magic words
67 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
68 * Reject malformed addresses in X-Forwarded-For entries
69 * (bug 3359) Add hooks on completion of file upload
70 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
71 * (bug 5475) New pages feeds ignore "limit" argument
72 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
73 conflicting anchor identifiers
74 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
75 * Maintenance script to import the contents of a text file into a wiki page
76 * Add $wgReservedUsernames configuration directive to block account creation/use
77 * (bug 5576) Remove debugging hack in session check
78 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
79 on Special:Log
80 * Minor improvements to French localisation files
81 * (bug 5181) Update "nogomatch" for Slovak
82 * (bug 5594) Id translation up to # Login and logout pages section
83 * (bug 5536) Use content language for editing help link
84 * Improvements to German localisation files
85 * (bug 5570) Problems using <special page>/parameter link form for long titles
86 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
87 registrations as well as self-registrations.
88 * (bug 4327) Report age of cached data sets in query pages
89 * (bug 4662) Fix Safari check in wikibits.js
90 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
91 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
92 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
93 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
94 * Add watchlist clear function to allow quick purging of all items
95 * (bug 5625) Additional namespace translations for Welsh
96 * Add meta tag and JavaScript variables to cached special pages which provides
97 the timestamp of the last update, in YYYYMMDDHHMMSS format.
98 * (bug 5628) More translations for MessagesHr.php
99 * (bug 5595) Localisation for Bosnian language (bs)
100 * (bug 2910) Default view preferences for watchlists
101 * Add "hide bot edits from the watchlist" user preference
102 * (bug 5250) Introduce Special:Unusedtemplates
103 * Add user preference setting for an extended watchlist, showing all recent
104 edits up to a certain edit, and not just the latest edit..
105 * Made MessageRo.php more general
106 * (bug 5640) Indonesian localisation improvements
107 * (bug 5592) Actions are logged with the default language for the
108 wiki, not the language of the user performing the operation.
109 * (bug 5644) Error in LanguageBs.php file
110 * (bug 5646) Compare for identical types in wfElement()
111 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
112 * (bug 5386) LanguageMk.php: updated namespaces translations
113 * (bug 5422) Stub for Romani (rmy) language which extends ro
114 * Fix linktrail for LanguageSr
115 * (bug 5664) Fix Bosnian linktrail
116 * (bug 3825) Namespace filtering on Special:Newpages
117 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
118 which have since been created
119 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
120 This sort of special casing should be removed and fixed properly.
121 * Remove useless whitespace from Special:Brokenredirects header
122 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
123 text
124 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
125 * (bug 5709) Allow customisation of separator for categories
126 * (bug 5684) Introduce Special:Randomredirect
127 * (bug 5611) Add a name attribute to the text box containing source text in
128 read-only pages
129 * Indicate when a protected page is an interface message ("protectedinterface")
130 * (bug 4259) Indicate when a protected page being edited is an interface message
131 ("editinginterface")
132 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
133 * Pass login link to "whitelistedittext" containing 'returnto' parameter
134 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
135 miss
136 * Updated maintenance/transstat.php so it can show duplicate messages
137 * Improvements to update scripts; print out the version, check for superuser
138 credentials before attempting a connection, and produce a friendlier error if
139 the connection fails
140 * (bug 5005) Fix XHTML <gallery> output.
141 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
142 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
143 * Remove unneeded extra whitespace at top of Special:Categories
144 * (bug 5679) time units are now using local numerals
145 * (bug 5751) Updates to Portuguese localisation files
146 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
147 * (bug 93) <nowiki> tags and tildes in templates
148 * The returnto parameter is now actually used by SpecialUserlogin.php
149 * Parser can now know that it is parsing an interface message
150 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
151 * Fix bug in wfMsgExt under PHP 5.1.2
152 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
153 * Rewrite reassignEdits script to be more efficient; support optional updates to
154 recent changes table; add reporting and silent modes
155 * Cleaned up formatNum usage in langfiles
156 * (bug 5716) Warn when a user tries to upload a file which was previously
157 deleted
158 * (bug 5565) Add a class attribute to the table on Special:Allpages
159 * "lang=xx" option for parser test cases to set content language
160 * (bug 5764) Friulian translation updated
161 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
162 * (bug 5516) Show appropriate "return to" link on blocked page
163 * (bug 5377) Do not auto-login when creating an account as another user
164 * (bug 5284) Special redirect pages should remember parameters
165 * Suppress 7za output on dumpBackup
166 * (bug 5338) Reject extra initial colons in title
167 * (bug 5487) Escape self-closed HTML pair tags
168 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
169 will produce a count minus formatting
170 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
171 appropriate output format given the scope of the clean
172 * (bug 5593) Change "bureaucrat log" to "rights log"
173 * Show a boilerplate "(none)" in place of a blank within the log action text for
174 user rights
175 * (bug 137) Commented out translations for copyrightwarning which mention GNU FDL
176 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as "wanted"
177 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
178 formatted according to the current user's settings
179 * (bug 5780) Thousands and decimal separators for Norwegian
180 * Updated initStats maintenance script
181 * (bug 5767) Fix date formats in Vietnamese locale
182 * (bug 361) URL in URL, they were almost fixed. Now they are.
183 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section" link/tab to
184 show up on specific pages on demand
185 * Bidi-aid on list pages
186 * (bug 5782) Allow entries in the bad image list to use canonical namespace names
187 * (bug 5789) Treat "loginreqpagetext" as wikitext
188 * Sanitizer: now handles nested <li> in <ul> or <ol>
189 * (bug 5796) We require MySQL >=4.0.14
190 * Add 'EmailConfirmed' hook
191 * New findhooks.php script to find undocumented hooks.
192 * Silently ignore errors on profiling table update.
193 * (bug 5801) Correct handling of underscores in Special:Listusers
194 * Clean up Special:Listusers; add an "(all)" label to the group selection box
195 * (bug 5812) Use appropriate link colour in Special:Mostlinked
196 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
197 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the target
198 page doesn't exist
199 * Special:Randompage now additionally accepts English namespace name as parameter
200 * (bug 2981) Really fixed linktrail for Tamil (ta)
201 * Disallow substituting Special pages when included into a page
202 * (bug 5587) Clean up the languages from references to the Groups special page
203 * Added new group-X and group-X-member messages
204 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
205 accounts
206 * Redirect Special:Userlist to Special:Listusers
207 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded files
208 bearing the image/svg MIME type. Disabled by default due to the vast majority of
209 web servers being hideously misconfigured. See DefaultSettings.php for more details.
210 * Changed default LocalSettings.php to append the previous include path when setting it
211 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
212 Special:Wantedcategories and Special:Mostlinkedcategories.
213 * (bug 3309) Allow comments when undeleting pages
214 * Clean up Special:Undelete a bit
215 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
216 * Clean up Special:Imagelist a bit
217 * (bug 5838) Namespace names for Nds-NL
218 * (bug 5749) Added Tyvan language files
219 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect data to show
220 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
221 * (bug 5853) Update for Portuguese messages (pt)
222 * (bug 5851) Use Cyrillic for Kirghiz language name
223 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
224 * (bug 5846) Link to individual group description pages in Special:Listusers
225 * (bug 5857) Update for German localisation (de)
226 * (bug 5858) Update for Russian language (ru)
227 * (bug 5860) Update for Indonesian language (id)
228 * (bug 1120) Update for Czech language (Cs)
229 * Added many missing formatNum calls
230 * Added grammar function to Belarusian (be)
231 * (bug 5819) Add 'PersonalUrls' hook
232 * (bug 5862) Update of Belarusian language (be)
233 * (bug 5886) Update for Portuguese messages (pt)
234 * (bug 5586) <gallery> treated text as links
235 * (bug 5878) Update for Indonesian language (id)
236 * (bug 5697) Update for Malay language (ms)
237 * (bug 5890) Update for German language (de)
238 * (bug 5889) Name for Sindhi language should appear as سنڌي
239 * --force-normal parameter on dump scripts to force check for ICU extension
240 * (bug 5895) Update for Dutch language (nl)
241 * (bug 5891) Linktrail for Polish language (pl)
242 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
243 v1.6 now die with a backtrace. They will be removed in v1.8
244 * dumpTextPass now skips goes to database for entries that were blank in the
245 previous dump, as this may indicate a broken dump.
246 * dumpTextPass progress includes percentage of items prefetched
247 * dumpTextPass can now use 7zip files for prefetch
248 * (bug 5915) Update to Indonesian localisation (id)
249 * (bug 5913) Update for German localisation (de)
250 * (bug 5905) Plural support for Bosnian localisation (bs)
251 * Groups which won't hit the rate limiter now configurable with
252 $wgRateLimitsExcludedGroups
253 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
254 * (bug 5931) Update for Polish language (pl)
255 * Ignore the user and user talk namespaces on Special:Wantedpages
256 * Introduce NUMBEROFPAGES magic word
257 * (bug 5833) Introduce CURRENTVERSION magic word
258 * (bug 5370) Allow throttling of password reminder requests with the rate limiter
259 * (bug 5683) Respect parser output marked as uncacheable when saving
260 * (bug 5918) Links autonumbering now work for all defined protocols
261 * (bug 5935) Improvement to German localisation (de)
262 * (bug 5937) Register links from gallery captions with the parent parser output
263 object so that link tables receive those updates too
264 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
265 * (bug 5941) Use content language when getting the administrator page title for
266 Special:Statistics
267 * (bug 5949) Update to Indonesian localisation (id)
268 * (bug 5862) Update of Belarusian translation (be)
269 * (bug 5950) Improvements to French localisation
270 * (bug 5805) {{plural:}} support for counters in some special pages
271 * (bug 5952) Improvement to German localisation (de)
272 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
273 and treat it as wiki text
274 * Improve preferences input filtering
275 * Maintenance script to import multiple files into the wiki
276 * (bug 5957) Update for Hebrew language (he)
277 * (bug 5962) Update for Italian language (it)
278 * (bug 5961) Update for Portuguese localisation (pt)
279 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
280 * (bug 5967) Improvement to German localisation (de)
281 * (bug 5962) Update for Italian language (it)
282 * Suppress images in galleries which appear on the bad image list (when rendering
283 for a wiki page; galleries in special pages and categories are unaffected)
284 * Maintenance script to remove orphaned revisions from the database
285 * (bug 5991) Update for Russian language (ru)
286 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL magic
287 words
288 * (bug 5958) Switch Uzbek language name to use latin script
289 * (bug 839) Add URLENCODE magic word
290 * (bug 6004) Update for Polish language (pl)
291 * (bug 5971) Improvement to German localisation (de)
292 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect page
293 that isn't current
294 * (bug 2203) Namespace updates for Thai
295 * Fix breakage in parser test suite which caused incorrect reporting of the failure of
296 {{NUMBEROFFILES}}. Now initialises the site_stats table with some dumb data. Updated
297 the expected output for {{NUMBEROFARTICLES}} to reflect this.
298 * (bug 6009) Use {{ns:project}} in messages where appropriate
299 * (bug 6012) Update to Indonesian localisation (id)
300 * (bug 6017) Update list of bookstores in German localisation files
301 * (bug 5187) Allow programmatically bypassing username validation, for scripts
302 * (bug 6025) SpecialImport: wrong message when no file selected
303 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
304 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
305 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
306 * (bug 6029) Improvement to German localisation (de)
307 * (bug 5015) Update be: magic words
308 * (bug 3974) Add parameter for site URL to "passwordremindertext"
309 * (bug 6039) Update for Portuguese localisation (pt)
310 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
311 * Big update to Swedish localisation (sv)
312 * Use appropriate HTML functions to create the tool links on image pages, so they don't
313 look garbled when tidy isn't on
314 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
315 * (bug 6046) Update to Indonesian localisation (id) #15
316 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
317 specially-selected namespaces.
318 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick Jenkins)
319 * Reordered wiki table handling and __TOC__ extraction in the parser to better
320 handle some overlapping tag cases.
321 * Only the first __TOC__ is now turned into a TOC
322 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
323 changes as patrolled using the diff links there
324 * Add 'DiffViewHeader' hook called before diff page output
325 * (bug 6051) Improvement to German localisation (de)
326 * (bug 6054) Update to Indonesian localisation (id) #16
327 * Add {{CURRENTTIMESTAMP}} magic word
328 * (bug 6061) Improper escaping in some html forms
329 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
330 * (bug 6074) Correct squid purging of offsite upload URLs
331 * To simplify the lives of extension developers, the logging type arrays
332 can now be appended to directly by an extension setup function. It is
333 no longer necessary to write four separate functions just to add a
334 custom log type.
335 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
336 * Added $wgGrammarForms global
337 * Fixed hardcoded 'done.' when removing watchlist entries.
338 * (bug 5962) Update for Italian language (it)
339 * (bug 6086) Remove vestigial attempt to call Article::validate()
340 * wfHostname() function for consistent server hostname use in debug messages
341 * Send thumbnailing error messages to 'thumbnail' log group
342 * wfShellexec() now accepts an optional parameter to receive the exit code
343 * Failed, but not zero-length, thumbnail renderings are now removed.
344 Should help clean up when rsvg fails in weird ways.
345 * (bug 6081) Change description for Turkmen language
346 * Increase robustness of parser placeholders; fixes some glitches when
347 adjacent to identifier-ish constructs such as URLs.
348 * Shut up the parser test whining about files in a temp directory.
349 * (bug 6098) Add Aragonese language support (an)
350 * (bug 6101) Update for Russian language (ru)
351 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
352 problems. If errors are transitory, this should reduce annoying messages
353 making it into cached display.
354 * (bug 6103) Wrap self-links in a CSS class ("selflink")
355 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
356 character entities in URLs, not just ampersands. This allows use of eg
357 &#61; when making URLs for template parameters.
358 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
359 under HTML-compatible browsers.
360 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
361 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
362 * (bug 472) Syndication feeds for the last few edits of page history
363 * Format edit comments in Recent Changes feed
364 * Switch incorrectly ordered column headers on Recent Changes feed diffs
365
366
367 == Compatibility ==
368
369 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
370
371 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
372 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
373
374
375 == Upgrading ==
376
377 Several changes to the database have been made from 1.5; these are relatively
378 minor but do require that the update process be run before the new code will
379 work properly:
380
381 * A new "templatelinks" table tracks template inclusions.
382 * A new "externallinks" table tracks URL links; this can be used by a
383 mass spam-cleanup tool in the SpamBlacklist extension.
384 * A new "jobs" table stores a queue of pages to update in the background; this
385 is used to update links in including pages when templates are edited.
386
387 To ensure that these tables are filled with data, run refreshLinks.php after
388 the upgrade.
389
390
391 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
392 changes are made, and there is a slightly higher chance that things could
393 break. Don't forget to always back up your database before upgrading!
394
395 See the file UPGRADE for more detailed upgrade instructions.
396
397
398
399 === Caveats ===
400
401 Some output, particularly involving user-supplied inline HTML, may not
402 produce 100% valid or well-formed XHTML output. Testers are welcome to
403 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
404 cases, but this is not recommended on live sites. (This must be set for
405 MathML to display properly in Mozilla.)
406
407
408 For notes on 1.5.x and older releases, see HISTORY.
409
410
411 === Online documentation ===
412
413 Documentation for both end-users and site administrators is currently being
414 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
415 License:
416
417 http://www.mediawiki.org/wiki/Documentation
418
419
420 === Mailing list ===
421
422 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
423 wikitech-l list:
424
425 http://mail.wikimedia.org/mailman/listinfo/mediawiki-l
426
427 A low-traffic announcements-only list is also available:
428
429 http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce
430
431 It's highly recommended that you sign up for one of these lists if you're
432 going to run a public MediaWiki, so you can be notified of security fixes.
433
434
435 === IRC help ===
436
437 There's usually someone online in #mediawiki on irc.freenode.net