* (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
[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.8 ==
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 == Configuration changes ==
22
23 * $wgUseETag, to enable/disable sending of HTTP ETag headers
24 (default: disabled)
25
26
27 == Major new features ==
28
29 * (bug 7098) Add an option to disable/enable sending of HTTP ETag headers,
30 as it seems to result in broken behaviour in combination with Squid 2.6
31 (disabled by default).
32 * (bug 550) Allow blocks on anonymous users only.
33 * (bug 6420) Render thumbnails for DJVU images, support multipage DJVU display
34 on image pages. Added new 'page=' thumbnail option to select a page from a
35 multipage djvu for thumbnail generation.
36 * Full Postgres support is now enabled. It requires version 8.1 or better, and
37 needs to have both plpgsql and tsearch2 already installed.
38
39 == Changes since 1.7 ==
40
41 * Introduced AjaxResponse object, superceding AjaxCachePolicy
42 * Changes to sajax_do_call: optionally accept an element to fill instead of a
43 callback function; take the target function or element as a third parameter;
44 pass the full XMLHttpRequest object to the handler function, instead of just
45 the resultText value; use HTTP response codes to report errors.
46 * (bug 6562) Removed unmaintained ParserXml.php for now
47 * History paging overlap bug fixed
48 * (bug 6586) Regression in "unblocked" subtitle
49 * Don't put empty-page message into view-source when page text is blank
50 * (bug 6587) Remove redundant "allnonarticles" message
51 * Block improvements: Allow blocks on anonymous users only. Optionally allow
52 or disallow account creation from blocked IP addresses. Prevent duplicate
53 blocks. Fixed the problem of expiry and unblocking erroneously affecting
54 multiple blocks. Fixed confusing lack of error message when a blocked user
55 attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
56 the presence of large numbers of blocks; added indexes and implemented an
57 indexed pager.
58 * (bug 6448) Allow filtering of Special:Newpages according to username
59 * (bug 6618) Improve permissions/error detection in Special:Lockdb
60 * Quick hack for extension testing: parser test doesn't create new message
61 cache object.
62 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
63 {{REVISIONID}} when Cite extension is used
64 * (bug 6622) Removed deprecated function Image::newFromTitle
65 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
66 * Removed forced dereferencements (new() returns a reference in PHP5)
67 * Note about $wgUploadSizeWarning using byte
68 * (bug 6592) Add most viewed pages summary to Special:Statistics
69 * Pre-strip characters ignored in IDNs from URLs so they can't be used
70 to break the blacklists for regular URLs
71 * Fix regression in blocking of user accounts
72 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
73 * Fix regression searching Ipblocklist with ugly URLs
74 * (bug 6639) Use a consistent default for upload directories
75 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
76 * (bug 6642) Don't offer to unlock the database when it isn't locked
77 * cleanupTitles.php changed from --dry-run option to --fix, so default
78 behavior is now a non-invasive check as with namespaceDupes.php
79 * (bug 6660) Fix behaviour of EditPage::blockedPage() when the article does
80 not exist; now doesn't show the source box if the user hasn't provided it
81 (blocked mid-edit) and the page doesn't exist
82 * Improve default value of "blockedtext"
83 * (bug 6680) Added localisation for Dutch bookstore list (nl)
84 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer usage
85 * Fix regression which allowed some blocked users to create additional accounts
86 * (bug 6657) Fix Hungarian linktrail
87 * (bug 6751) Fix preview of blanked section with edit on first preview option
88 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
89 introduced 'MediaWiki:Searchbutton'
90 * Made lines from initialiseMessages() appear as list items during installation
91 * Moved the bulk of the localisation data from the Language*.php files to the
92 Messages*.php files. Deleted most of the Languages*.php files.
93 * Introduced "stub global" framework to provide deferred initialisation of core
94 modules.
95 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
96 now be null during the initialisation process, until they are set by index.php
97 or another entry point.
98 * Added DBA cache type, for BDB-style caches.
99 * Removed custom date format functions, replacing them with a format string in
100 the style of PHP's date(). Used string identifiers instead of integer
101 identifiers, in both the language files and user preferences. Migration should
102 be transparent in most cases.
103 * Simplified the initialisation API for LoadBalancer objects.
104 * Removed the broken altencoding feature.
105 * Moved default user options and toggles from Language to User. Language objects
106 are still able to define default preference overrides and extra user toggles,
107 via a slightly different interface.
108 * Don't include the date option in the parser cache rendering hash unless
109 $wgUseDynamicDates is enabled.
110 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
111 * Removed inclusion of language files from the bottom of Language.php. This is
112 now consistently done from Language::factory().
113 * Add the name of the executing maintenance script to the debug log. Start the
114 profiler during maintenance scripts.
115 * Added "serialized" directory, for storing precompiled data in serialized form.
116 * Fix regression in auto-set NS_PROJECT_TALK namespace
117 * Fix regression in ordering of namespaces
118 * (bug 6806, 6030) Added several global JS variables for article path, user name,
119 page title, etc.
120 * hooks registered with addOnloadHook are now called at the one of the html body
121 by all skins.
122 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
123 framework and wgAjaxSearch to enable the suggest feature for the search box.
124 * Added experimental installer for extensions.
125 See maintenance/installExtension.php
126 * Added Tajic (tg) language file.
127 * (bug 6903) Added Cantonese localisation (zh-yue)
128 * Fix regression in Korean and Japanese date formatting (day of week)
129 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
130 * (bug 6753) Fixed broken Kazakh linktrail (kk)
131 * (bug 6700) Added Kazakh language variants to Names.php
132 * (bug 6827) some i18n specific maintenance scripts fails after merge of localisation-work branch
133 * Throwed an exception for the deprecated functions OutputPage::sysopRequired and
134 OutputPage::developerRequired - use OutputPage::permissionRequired instead.
135 * Removed the deprecated functions User::isSysop, User::isBureaucrat and User::isDeveloper -
136 use User::isAllowed instead.
137 * (bug 769) OutputPage::permissionRequired() should suggest groups with the needed permission
138 * (bug 6971) Fix regression in Special:Export history view
139 * Revamped Special:Imagelist
140 * (bug 7000) updated MessagesPl.php
141 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
142 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
143 point as with Special:Allpages, rather than a pure limit.
144 * Clean up tab order on Special:Blockip
145 * (bug 5969) Clean up tab order on Special:Userlogin forms
146 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
147 * (bug 7037) Fix regression in login tab order
148 * (bug 7031) Report missing email on 'email password' instead of false success
149 * (bug 7010) Don't send email notifications for watched talk pages when user
150 has selected to receive only updates for their own talk page
151 * Added {{CURRENTHOUR}}
152 * Added [[:Image:Foo.png]] style links to the pagelinks table
153 * Avoid duplicate revision imports with Special:Import
154 * (bug 7054) Validate email address before sending email confirmation message
155 * (bug 7061) Format title on "from (page)" links on Special:Allpages
156 * (bug 7044) Introduce "padleft" and "padright" colon functions
157 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
158 default message text
159 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true ; in LocalSettings.php
160 Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops by default, and displayed as a second line if appropriate
161 * (bug 832) Return to user page after emailing a user
162 * (bug 366) Add local-system-timezone equivalents for date/time variables
163 * (bug 7109) Fix Atom feed version number in header links
164 * (bug 7075) List registered parser function hooks on Special:Version
165 * (bug 7059) Introduce "anchorencode" colon function
166 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
167 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
168 * (bug 4979) Use simplified email addresses when running on Windows
169 * (bug 4434) Show block log fragment on Special:Blockip
170 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any number
171 of disambiguation templates.
172 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages that embed
173 any of the templates listed at [[MediaWiki:Disambiguationspage]].
174 * Fix formatting of titles on Special:Undelete
175 * (bug 7026) Fix action=raw&templates=expand
176 * (bug 6976) Add namespace and direction classes to classic skins
177 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the the user can't
178 read the main page in the first place
179 * (bug 7188) Fix minor borkage in HTMLForm
180 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in Special:Upload
181 * Add a quickie script dumpSisterSites.php for generating a page list in the
182 format for WSR-1 SisterSites support
183 * (bug 7223) Monobook.js is used for site content, should not be localized
184 * Set default disabled values for DjVu render options
185 * Added Xml::option() for generating <option>s easily
186 * Localized page numbers in drop-down for DjVu page selection
187 * Fixed linktrail for vi
188 * (bug 6893) "Call to a member function exists() on a non-object" on trackback.php with bad input
189 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
190 * (bug 6887) PHP error for call to getId() on bad input to Special:Revisiondelete
191 * (bug 6888) PHP error for call to getTimestamp() on bad input to Special:Revisiondelete
192 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required if texvc is rebuilt.
193 * (bug 7279) Use wfBaseName in place of basename() in more places
194 * Clear newtalk marker on diff links with explicit current revision number
195 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
196
197
198 == Languages updated ==
199
200 * Albanian (sq)
201 * Bashkir (ba)
202 * Belarusian (be)
203 * Bishnupriya (bpy) stub file
204 * Brazilian Portuguese (pt-br)
205 * Catalan (ca)
206 * Cantonese (zh-yue)
207 * Dutch (nl)
208 * English (en)
209 * Finnish (fi)
210 * French (fr)
211 * German (de)
212 * Georgian (ka)
213 * Hebrew (he)
214 * Hungarian (hu)
215 * Indonesian (id)
216 * Japanese (ja)
217 * Korean (ko)
218 * Polish (pl)
219 * Portuguese (pt)
220 * Ripuarian (ksh)
221 * Romani (rmy)
222 * Russian (ru)
223 * Spanish (es)
224 * Tajic (tg)
225 * Tatar (tt)
226 * Telugu (te)
227
228 == Compatibility ==
229
230 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
231
232 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
233 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
234
235
236 == Upgrading ==
237
238 Several changes to the database have been made from 1.6:
239
240 * A new "langlinks" table tracks interlanguage links
241 * A new "filearchive" table stores information on deleted files
242 * A new "querycache_info" table stores information on query page updates
243
244 To ensure that these tables are filled with data, run refreshLinks.php after
245 the upgrade.
246
247 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
248 changes are made, and there is a slightly higher chance that things could
249 break. Don't forget to always back up your database before upgrading!
250
251 See the file UPGRADE for more detailed upgrade instructions.
252
253
254
255 === Caveats ===
256
257 Some output, particularly involving user-supplied inline HTML, may not
258 produce 100% valid or well-formed XHTML output. Testers are welcome to
259 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
260 cases, but this is not recommended on live sites. (This must be set for
261 MathML to display properly in Mozilla.)
262
263
264 For notes on 1.5.x and older releases, see HISTORY.
265
266
267 === Online documentation ===
268
269 Documentation for both end-users and site administrators is currently being
270 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
271 License:
272
273 http://www.mediawiki.org/wiki/Documentation
274
275
276 === Mailing list ===
277
278 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
279 wikitech-l list:
280
281 http://mail.wikimedia.org/mailman/listinfo/mediawiki-l
282
283 A low-traffic announcements-only list is also available:
284
285 http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce
286
287 It's highly recommended that you sign up for one of these lists if you're
288 going to run a public MediaWiki, so you can be notified of security fixes.
289
290
291 === IRC help ===
292
293 There's usually someone online in #mediawiki on irc.freenode.net