Merge "Enable/disable Special:Block widgets according to block parameters"
[lhc/web/wiklou.git] / HISTORY
1 Change notes from older releases. For current info see RELEASE-NOTES-1.34.
2
3 = MediaWiki 1.32 =
4
5 == MediaWiki 1.32.1 ==
6
7 === Changes since MediaWiki 1.32.0 ===
8 * (T213577) rdbms: avoid transaction status errors from ping() in rollback().
9 * rdbms: Pass required parameter.
10 * rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries.
11 * (T204531) rdbms: reduce LoadBalancer replication log spam.
12 * (T213489) Avoid session double-start in Setup.php.
13 * (T213717) Correct namespace 'Template' for gom-deva
14 * (T198054) Fix login page crash caused by unknown language via ?uselang
15 * (T215324) (T210937) list=users mistakenly reports user as missing.
16 * (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for
17 use with scripts like addWiki.php to avoid mismatched domain errors.
18 * (T208871) The hard-coded Google search form on the database error page was
19 removed.
20 * (T204800) Fix Title::getFragmentForURL for bad interwiki prefix
21 * (T215566) Fix installer being unable to determine if the database exists
22 during a fresh installation.
23
24 == MediaWiki 1.32.0 ==
25
26 === Changes since MediaWiki 1.32.0-rc.2 ===
27 * (T188327) Fix slow queries in migrateActors.php.
28 * (T102320) Fix $magicWords for the Sanskrit language.
29
30 === Changes since MediaWiki 1.32.0-rc.1 ===
31 * Fix addition of ug_expiry column to user_groups table on MSSQL.
32 * (T210307) Fix the cache timestamp for forced updates.
33 * (T210621) User: Bypass repeatable-read when creating an actor_id.
34 * (T197535) Extensions can now specify PHP versions and PHP extensions they
35 depend on.
36 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
37 * (T212356) When using action=delete on pages with many revisions, the module
38 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
39 deletion will be processed via the job queue.
40 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
41 recentchanges.rc_cur_time from the PostgreSQL schema.
42
43 === Changes since MediaWiki 1.32.0-rc.0 ===
44 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
45 has been started.
46 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
47 if --lang is used with the command-line installer (install.php).
48
49 === Configuration changes in 1.32 ===
50
51 ==== New configuration ====
52 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
53 this setting. The default is 80, which matches the quality of JPEG thumbnails
54 previously generated by ImageMagick. The quality of JPEG thumbnails generated
55 by GD was previously 95, but now uses the $wgJpegQuality setting as well.
56 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
57 user is blocked. Doing so means that a blocked user, even after moving to a
58 new IP address, will still be blocked.
59 * $wgRawHtmlMessages – This new configuration setting is added for listing
60 messages which are displayed as raw HTML.
61 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
62 "Content Security Policy" for your wiki. This adds a defense-in-depth feature
63 to stop an attacker who has found a bug in the parser allowing them to insert
64 malicious attributes. Disabled by default. (T135963)
65 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
66 controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
67 other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
68 by default.
69 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
70 granting the above rights.
71 * $wgDBDefaultGroup – A default database group for use by maintenance scripts.
72 * $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you
73 enable client-side profiling of JavaScript modules; it is off by default.
74 * (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration
75 setting allows sysadmins to gradually migrate the database table schema for
76 how change tags are stored.
77 * (T199334) $wgTagStatisticsNewTable — This temporary configuration setting
78 allows sysadmins to enable the caching of Special:Tags via the new
79 change_tag_def table.
80
81 ==== Changed configuration ====
82 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
83 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
84 been increased from 3 to 7 days. (T194414)
85 * $wgGroupPermissions – The right to edit sitewide Javascript
86 (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
87 and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
88 'editinterface' is still necessary to edit such pages.
89 * $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the
90 old and the new schema, but reading the new schema, so Multi-Content Revisions
91 (MCR) are now functional per default. The new default value of the setting is
92 SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW.
93 * $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or
94 MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH |
95 SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW
96 for intermediate stages of migration.
97 * $wgDBTableOptions – The default table options now use the binary charset. The
98 default was already overridden in the installer-generated LocalSettings.php,
99 and so is always set to binary after the installer UI option was removed. The
100 default value is only used when the installer installs an extension.
101 * $wgPopularPasswordFile — The location of the default popular passwords file
102 has been moved to be in line with other non-PHP files used by libraries and
103 classes.
104 * $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for
105 potential privacy leaks by administrators. You can check
106 "MediaWiki:External image whitelist" on your wiki to see whether the feature
107 was ever used, and whether it needs to be re-enabled.
108
109 ==== Removed configuration ====
110 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
111 have been removed. (T115414)
112 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
113 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
114 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
115 The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
116 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
117 most extensions, is no longer set. Instead, you can modify the system
118 message `emailsender`.
119 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
120 were removed. RemexHtml, which is the default, should be used instead.
121 * (T181318) The $wgStyleVersion setting and its appendage to various script and
122 style URLs in OutputPage, deprecated in 1.31, was removed.
123 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
124 from ResourceLoader. Instead, use `@import` statements in LESS to import
125 files directly from nearby directories within the same project.
126 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
127 since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
128 the ResourceLoaderModule::getLessVars() method.
129 * $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18,
130 was removed.
131 * Two temporary variables for deploying the feature of filters on change lists,
132 $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and
133 $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed.
134
135 === New features in 1.32 ===
136 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
137 using a particular page during edit previews.
138 * (T12331) You can now log page creation events by setting $wgPageCreationLog
139 to true.
140 * Added 'ApiParseMakeOutputPage' hook.
141 * (T174313) Added checkbox on Special:ListUsers to display only users in
142 temporary user groups.
143 * (T152462) A cookie can now be set when an IP user is blocked to track that
144 user if they move to a new IP address. This is disabled by default.
145 * (T194950) Added 'ApiMaxLagInfo' hook.
146 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
147 reauthenticating.
148 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
149 getLoginSecurityLevel() returns non-false.
150 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
151 &$query and &$widthOption, allowing extensions even finer control over the
152 resulting HTML code.
153 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
154 if the [mark as patrolled] link should be shown at the footer of patrollable
155 pages.
156 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
157 is now passed by reference, allowing extensions to modify or even unset it.
158 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
159 modify the return value of OutputPage#getHeadLinksArray in order to add,
160 remove or otherwise alter the elements to be output in the page <head>.
161 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
162 additional links to the subtitle of a history page.
163 * The 'GetLinkColours' hook now receives an additional $title parameter,
164 the Title object of the page being parsed, on which the links will be shown.
165 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
166 render diffs between two Content objects, and DifferenceEngine::setRevisions()
167 to render diffs between two custom (potentially multi-content) revisions.
168 Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
169 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
170 can't yet handle MCR and deadlines are forcing is to put off fixing that.
171 This action should be considered deprecated and should not be used directly.
172 * Extensions overriding ContentHandler::getUndoContent() will need to be
173 updated for the changed method signature.
174 * Added a new hook, 'UserGetRightsRemove', which can be used to remove rights
175 from user. Unlike the 'UserGetRights' it will ensure that removed rights
176 will not be reinserted.
177 * (T197535) Extensions can now specify PHP versions and PHP extensions they
178 depend on.
179
180 === External library changes in 1.32 ===
181
182 ==== New external libraries ====
183 * Added pear/Net_SMTP v1.8.0.
184 * Added wikimedia/xmp-reader v0.6.0.
185
186 * Added cache/integration-tests v0.16.0 (dev-only).
187 * Added giorgiosironi/eris v0.10.0 (dev-only).
188 * Added seld/jsonlint v1.7.1 (dev-only).
189
190 * Added EasyDeflate (unversioned).
191
192 ==== Changed external libraries ====
193 * Updated OOUI from v0.26.3 to v0.29.2.
194 * Updated wikimedia/base-convert from v1.0.1 to v2.0.0.
195 * Updated wikimedia/remex-html from v1.0.3 to v2.0.1.
196 * Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0.
197 ** ScopedCallback objects can no longer be serialized.
198 * Updated wikimedia/timestamp from v1.0.0 to v2.2.0.
199 * Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1.
200 * oyejorge/less.php replaced with our fork wikimedia/less.php
201 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
202
203 * Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only).
204 * Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only).
205 * Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only).
206
207 * Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre.
208 * Updated jquery from v3.2.1 to v3.3.1.
209 * Updated jquery.client from v2.0.0 to v2.0.1.
210 * Updated jquery.i18n from v1.0.4 to v1.0.5.
211 * Updated mustache.js from v0.8.2-d9aa703 to v1.0.0.
212 * Updated OOjs from v2.2.0 to v2.2.2.
213 * Updated qunitjs from v2.4.0 to v2.6.2.
214 * Updated sinonjs from v1.17.3 to v1.17.7.
215
216 ==== Removed external libraries ====
217 * pear/mail_mime-decode was removed.
218
219 === Bug fixes in 1.32 ===
220 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
221 getLoginSecurityLevel() returns non-false.
222 * (T43720, T46197) Improved page display title handling for category pages
223 * (T65080) Fixed resetting options of some types via API action=options.
224
225 === Action API changes in 1.32 ===
226 * Added templated parameters.
227 * A module can define a templated parameter like "{fruit}-quantity", where
228 the actual parameters recognized correspond to the values of a multi-valued
229 parameter. Then clients can make requests like
230 "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
231 * action=paraminfo will return templated parameter definitions separately
232 from normal parameters. All parameter definitions now include an "index"
233 key to allow clients to maintain parameter ordering when merging normal and
234 templated parameters.
235 * It is now an error to submit too many values for a multi-valued parameter.
236 This has generated a warning since MediaWiki 1.14.
237 * Assertion failures from the 'assert' and 'assertuser' parameters will no
238 longer use the action module's custom response format, for the few modules
239 that use custom formatters that handle errors.
240 * (T198935) User list preferences such as `email-blacklist` and similar
241 extension preferences are no longer represented as arrays when returned by
242 action=query&meta=userinfo&uiprop=options.
243 * 'missingparam' errors will now use the prefixed parameter name in the code
244 and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
245 than "nofoo" and "The 'foo' parameter must be set".
246 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
247 multi-content revision slots for which content should be returned. It also
248 has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
249 warning will be issued if rvprop=content or rvprop=contentmodel are used
250 without rvslots.
251 * The rvcontentformat parameter to action=query&prop=revisions has been
252 deprecated. Clients should be prepared to deal with the default format for
253 relevant models.
254 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
255 rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
256 rvprop=parsetree is forbidden with the new 'rvslots' parameter.
257 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
258 action=query&list=alldeletedrevisions are changed similarly to
259 &prop=revisions (see the three previous items).
260 * (T174032) action=compare now supports multi-content revisions.
261 * It has a 'slots' parameter to select diffing of individual slots. The
262 default behavior is to return one combined diff.
263 * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
264 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
265 are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
266 slots have text supplied and the corresponding templated parameters for
267 each slot.
268 * The behavior of 'fromsection' and 'tosection' of extracting one section's
269 content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
270 instead expand the given text as if for a section edit. This effectively
271 declines T183823 in favor of T185723.
272 * (T198214) The 'disabletidy' parameter to action=parse has been
273 deprecated; untidy output will not be supported by future wikitext
274 parsers.
275 * Added intestactionsdetail to action=query&prop=info to allow retrieving the
276 reasons an action is not allowed.
277 * Deprecated action=query&prop=info inprop=readable in favor of
278 intestactions=read.
279 * (T212356) When using action=delete on pages with many revisions, the module
280 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
281 deletion will be processed via the job queue.
282
283 === Action API internal changes in 1.32 ===
284 * Added 'ApiParseMakeOutputPage' hook.
285 * Parameter names may no longer contain '{' or '}', as these are now used for
286 templated parameters.
287 * (T194950) Added 'ApiMaxLagInfo' hook.
288 * The following methods now take a RevisionRecord rather than a Revision. No
289 external callers are known.
290 * ApiFeedContributions::feedItemAuthor()
291 * ApiFeedContributions::feedItemDesc()
292 * ApiQueryRevisionsBase::extractRevisionInfo()
293 * The following deprecated methods have been removed:
294 * ApiBase::profileIn() (deprecated in 1.25)
295 * ApiBase::profileOut() (deprecated in 1.25)
296 * ApiBase::safeProfileOut() (deprecated in 1.25)
297 * ApiBase::profileDBIn() (deprecated in 1.25)
298 * ApiBase::profileDBOut() (deprecated in 1.25)
299 * ApiBase::dieUsage() (deprecated in 1.29)
300 * ApiBase::dieUsageMsg() (deprecated in 1.29)
301 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
302 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
303 * ApiBase::parseMsg() (deprecated in 1.29)
304 * ApiBase::setWarning() (deprecated in 1.29)
305 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
306 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
307 * ApiUsageException::getCodeString() (deprecated in 1.29)
308 * ApiUsageException::getMessageArray() (deprecated in 1.29)
309 * Class UsageException, deprecated in 1.29, has been removed.
310 * ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you
311 can now easily test $formatter->getFormat() === 'bc', and then call
312 $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter.
313
314 === Languages updated in 1.32 ===
315 MediaWiki supports over 350 languages. Many localisations are updated regularly.
316 Below only new and removed languages are listed, as well as changes to languages
317 because of Phabricator reports.
318
319 * (T193566) Added language support for Ambonese Malay (abs).
320 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
321 * (T195940) Added language support for Batak Mandailing (btm).
322 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
323 * (T198132) Added language support for Manipuri (mni).
324 * (T201276) Added language support for Western Armenian (hyw).
325 * (T201583) Added language support for Mon (mnw).
326
327 === Breaking changes in 1.32 ===
328 * $wgRequestTime, deprecated in 1.25, was removed. Use
329 $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
330 * The MediaWikiI18N class, deprecated in 1.31, was removed.
331 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
332 Skin::msg() instead.
333 * wfInitShellLocale(), deprecated in 1.30, was removed.
334 * wfShellExecDisabled(), deprecated in 1.30, was removed.
335 * The type string for the parameter $lang of DateFormatter::getInstance,
336 deprecated in 1.31, was removed.
337 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
338 MediaWiki\Session\Token::SUFFIX instead.
339 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
340 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
341 instead.
342 * (T61113) The following methods and constants from the Revision class, which
343 were deprecated in 1.25, have now been removed:
344 * Revision::getRawUser()
345 * Revision::getRawUserText()
346 * Revision::getRawComment()
347 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
348 mw.msg() or mw.message() instead.
349 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
350 mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
351 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
352 jquery.accessKeyLabel instead.
353 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
354 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
355 with the Balancer tidy implementation. Both implementations were experimental,
356 and were replaced by RemexHtml.
357 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
358 removed. Use JobQueueGroup::singleton()->push() instead.
359 * The jquery.footHovzer module, for mediawiki.debug, was removed.
360 * The es5-shim module, empty and deprecated since 1.29, was removed.
361 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
362 * the json module, empty and deprecated since 1.29, was removed.
363 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
364 removed. Use mediawiki.widgets.visibleLengthLimit instead.
365 * The jquery.farbtastic module, unused since 1.18, was removed.
366 * The 'jquery.expandableField' module, unused since 1.22, was removed.
367 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
368 any HTMLForm object rather than PreferencesForm.
369 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
370 Use Wikimedia\Timestamp\TimestampException instead.
371 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
372 utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
373 The UtfNormal\Utils class from the utfnormal library should be used instead.
374 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
375 from the UtfNormal\Constants class from the utfnormal library should be used
376 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
377 only needed for PHP5 compatibility, have been removed. It now uses the boolean
378 values `true` and `false` respectively.
379 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
380 were removed. Use the ParserCache class instead.
381 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
382 instead.
383 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
384 deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
385 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
386 and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
387 is no longer loaded by default. The Vector and MonoBook skins have made a
388 minor change to implement the toggle feature with CSS instead. To restore
389 prior functionality, either explicitly load "jquery.mw-jump" in your skin
390 or refer to T195256 for details on how to make the same change.
391 * Hook 'EditPageBeforeEditChecks' was removed;
392 use 'EditPageGetCheckboxesDefinition' instead.
393 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
394 1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
395 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
396 been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
397 instead.
398 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
399 CapsuleMultiselectWidget. The following methods may no longer be used:
400 * setItemsFromData: Use setValue instead
401 * getItemsData: Use getItems instead and get the data property
402 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
403 removed. Use addLink() instead.
404 * Another two OutputPage methods, setPageTitleActionText() and
405 getPageTitleActionText(), were removed. They did nothing since 1.15 (almost
406 ten years). Use setHTMLTitle() directly.
407 * The return value of OutputPage::adaptCdnTTL() has been removed. The
408 value returned was misleading and probably not what any caller would
409 have wanted.
410 * All MagicWord static member variables have been removed. Use appropriate
411 hooks or MagicWordFactory methods instead.
412 * MagicWord::clearCache() has been removed. Instead, create a new
413 MagicWordFactory, such as by calling
414 resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
415 * mw.util.init() has been removed. This function is not needed anymore and was
416 a no-op function since 1.30.
417 * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices()
418 instead.
419 * MediaWiki no longer supports a StartProfiler.php file. Instead, you can set
420 $wgProfiler and $wgEnableProfileInfo.
421 * The mw.loader.addSource() is now considered a private method, and no longer
422 supports the `id, url` signature. Use the `Object` parameter instead.
423 * The backwards-compatibility code in HTMLForm to add a drop-down control to an
424 option that is not set to be a drop-down if the "mw-chosen" class is present,
425 is now removed.
426 * Several collations were removed. They were workarounds for bugs in the ICU
427 library and they are no longer needed (as of ICU 57.1):
428 * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
429 * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
430 * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
431 * LanguageCode::bcp47() now always returns a valid BCP 47 code. This means
432 that some MediaWiki-specific language codes, such as `simple`, are mapped
433 into valid BCP 47 codes (eg `en-simple`).
434 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
435 in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
436 The ChangesListSpecialPage code for these legacy hooks, and their use in
437 SpecialRecentchanges.php and SpecialWatchlist, was also removed:
438 * ChangesListSpecialPage->getCustomFilters()
439 * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
440 * ChangesListSpecialPage::customFilters
441 * The global function wfUseMW, deprecated since 1.26, has now been removed. Use
442 the "requires" property of static extension registration instead.
443 * $wgSpecialPages no longer accepts array syntax, deprecated since 1.18.
444 * The MailAddress constructor can no longer be called with a User object,
445 behaviour which has been deprecated since 1.24.
446 * LBFactory, deprecated since 1.28, has been removed. Instead, use
447 Wikimedia\Rdbms\LBFactory.
448 * The MimeMagic class, deprecated since 1.28 has been removed. Get a
449 MimeAnalyzer instance from MediaWikiServices instead.
450 * The '--tidy' option to maintenance/parse.php has been removed. Tidying
451 the output is now the default. Use '--no-tidy' to bypass the tidy
452 phase.
453 * The global function wfErrorLog, deprecated since 1.25, has now been removed.
454 Use MWLoggerLegacyLogger::emit or UDPTransport.
455 * The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in
456 1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or
457 ChangesListSpecialPageQuery.
458 * The global function wfUsePHP, deprecated since 1.30, has now been removed. To
459 assert a newer version of PHP than MediaWiki does, use extension registration.
460 * The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been
461 removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead.
462 * DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed.
463 * File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed.
464 * The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use
465 the hook 'SkinEditSectionLinks' instead.
466 * The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed.
467 * The global function wfRunHooks, deprecated since 1.25, has now been removed.
468 Use Hooks::run().
469 * The hook 'UnknownAction', deprecated since 1.19, has now been removed.
470 * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use
471 the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead.
472 * The following deprecated API methods have been removed:
473 * ApiBase::profileIn() (deprecated in 1.25)
474 * ApiBase::profileOut() (deprecated in 1.25)
475 * ApiBase::safeProfileOut() (deprecated in 1.25)
476 * ApiBase::profileDBIn() (deprecated in 1.25)
477 * ApiBase::profileDBOut() (deprecated in 1.25)
478 * ApiBase::dieUsage() (deprecated in 1.29)
479 * ApiBase::dieUsageMsg() (deprecated in 1.29)
480 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
481 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
482 * ApiBase::parseMsg() (deprecated in 1.29)
483 * ApiBase::setWarning() (deprecated in 1.29)
484 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
485 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
486 * ApiUsageException::getCodeString() (deprecated in 1.29)
487 * ApiUsageException::getMessageArray() (deprecated in 1.29)
488 * Class UsageException, deprecated in 1.29, has been removed.
489 * MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The
490 old "bulletin board style toolbar", known as "the 2006 wikitext editor", has
491 been removed, and instead sysadmins will be required to choose one (or more)
492 of the several extensions available for this purpose if they need the
493 functionality. The MediaWiki "tarball" releases have included the replacement
494 extension for this, the WikiEditor extension aka "the 2010 wikitext editor",
495 for many years now. As part of this, several parts of MediaWiki have been
496 removed or simplified:
497 * The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer
498 available; if an extension adds a toolbar via the EditPageBeforeEditToolbar
499 hook, it will be shown; extensions should provide a specific user preference
500 to disable themselves as needed.
501 * The public methods Language::getImageFile() and ::getImageFiles(), and the
502 related specification of $imageFiles within individual languages' code file,
503 as well as the referenced static media assets, all of which were only used
504 inside MediaWiki itself for providing the icons for the old toolbar, have
505 been removed without explicit deprecation.
506 * The internal ResourceLoader module "mediawiki.toolbar", which is unused
507 except by MediaWiki itself and back-compatibility code, has been removed.
508 * The internal ResourceLoaderEditToolbarModule class has been removed.
509
510 === Deprecations in 1.32 ===
511 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
512 button is already marked as progressive.
513 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
514 has been centralised to Skin::getDefaultModules(), which is now capable
515 of queueing style modules as well.
516 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
517 deprecated. Use addModules() instead.
518 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
519 in extending classes is deprecated. Extend related doSearch* methods
520 instead.
521 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
522 and deprecated: mediawiki.api.category, mediawiki.api.edit,
523 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
524 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
525 mediawiki.api.messages, and mediawiki.api.rollback.
526 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
527 to use it.
528 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
529 with the 'unwatch' action parameter instead.
530 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
531 constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
532 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
533 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
534 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
535 of the namespaced classes provided by the wikimedia/xmp-reader library.
536 * SearchResultSet::{next,rewind} are deprecated. Calling code should
537 use foreach on the SearchResultSet, or the extractResults method. Extending
538 code should override extractResults.
539 * Instantiating SearchResultSet directly is deprecated. SearchEngine
540 implementations must subclass SearchResultSet for their purposes.
541 * SearchResult::setExtensionData argument has been changed from accepting an
542 array to accepting a Closure that returns the array when called.
543 * Class CryptRand, everything in MWCryptRand except generateHex() and function
544 MediaWikiServices::getInstance()->getCryptRand() are deprecated, use
545 random_bytes() to generate cryptographically secure random byte sequences.
546 * Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage()
547 instead.
548 * Language::markNoConversion() is deprecated. It confused readers because
549 it had unexpected behavior (only marking text if it looked like a URL)
550 and was only used in a single place in the code. Use
551 LanguageConverter::markNoConversion() instead.
552 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
553 hard deprecated in this release. It has been split into two similar
554 methods, Language::truncateForVisual() and Language::truncateForDatabase(),
555 which measure length in characters and bytes, respectively. Use
556 Language::truncateForVisual() when possible to provide equity to users
557 of multibyte scripts.
558 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
559 context title is unset is now deprecated; anything creating an EditPage
560 instance should set the context title via ::setContextTitle().
561 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
562 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
563 are deprecated. These concepts are obsolete and have no replacement.
564 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
565 * The following methods of OutputPage are now deprecated in favour
566 of using showFatalError directly: OutputPage::showFileDeleteError()
567 OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
568 OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
569 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
570 classes are now deprecated. Use a Closure instead.
571 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
572 WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
573 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
574 MediaWiki 1.26, is now hard-deprecated. All known clients were converted to
575 the Parsoid v3 API in May 2015.
576 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
577 $formDescriptor instead.
578 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
579 to running searchText. This method was mainly implemented to support the
580 'prefix' URI param in SpecialSearch, but there are no reasons to expose this
581 logic as it should be handled internally by SearchEngine implementations
582 supporting this feature. SearchEngine implementations should no longer
583 override this methods.
584 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
585 to running searchText/searchTitle.
586 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
587 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
588 * Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated.
589 use array_filter() directly.
590 * The $wgShowSQLErrors global is deprecated and nonfunctional.
591 Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
592 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
593 Set $wgShowExceptionDetails instead.
594 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
595 mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
596 mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
597 getOldRevision() / getNewRevision() for the first four (note that the
598 revision ones return a RevisionRecord, not a Revision), do your own lookup
599 for page/content.
600 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
601 just enable the PHP extension, and it will be autodetected.
602 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
603 setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
604 are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
605 subclass it to customize diff rendering); to diff custom (e.g. unsaved)
606 content, use setRevisions(). Subclassing DifferenceEngine should only be done
607 to customize page-level diff properties (such as the navigation header).
608 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
609 * All MagicWord static methods are now deprecated. Use the MagicWordFactory
610 methods instead.
611 * PasswordFactory::init is deprecated. To get a password factory with the
612 standard configuration, use
613 MediaWikiServices::getInstance()->getPasswordFactory.
614 * $wgContLang is deprecated, use
615 MediaWikiServices::getInstance()->getContentLanguage() instead.
616 * $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser()
617 instead.
618 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
619 instead.
620 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
621 * All SpecialPageFactory static methods are deprecated. Instead, call the
622 methods on a SpecialPageFactory instance, which may be obtained from
623 MediaWikiServices.
624 * mw.user.stickyRandomId was renamed to the more explicit
625 mw.user.getPageviewToken to better capture its function.
626 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
627 Content object should be passed instead.
628 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
629 previously used by OOUI HTMLForm fields, are now deprecated. Use
630 'help', 'help-message', 'help-messages' instead.
631 * (T197179) HTMLFormField::getNotices() is now deprecated.
632 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
633 * The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates,
634 or overriding ContentHandler::getSecondaryDataUpdates (T194038).
635 * The WikiPageDeletionUpdates hook was deprecated in favor of
636 PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates
637 (T194038).
638 * Content::getSecondaryDataUpdates has been deprecated in favor of
639 ContentHandler::getSecondaryDataUpdates() for overriding by extensions
640 (T194038).
641 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
642 * Content::getDeletionUpdates has been deprecated in favor of
643 ContentHandler::getDeletionUpdates() for overriding by extensions (T194038).
644 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
645 * (T198214) Old Tidy-related configuration settings, which were soft-deprecated
646 in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy,
647 $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use
648 $wgTidyConfig instead.
649 * All Tidy configurations other than Remex have been hard deprecated;
650 future parsers will not emit compatible output for these configurations.
651 In particular, running MediaWiki with tidy disabled has been deprecated.
652 * (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
653 and OutputPage::addWikiTextTitle() have been deprecated, since they
654 can result in untidy output. In addition OutputPage::addWikiTextTidy()
655 and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new
656 methods consistent. Use OutputPage::addWikiTextAsInterface() or
657 OutputPage::addWikiTextAsContent() instead, which ensures the output is
658 tidy and clarifies whether content-language specific postprocessing should
659 be done on the text.
660 * OutputPage::parse() and OutputPage::parseInline() have been deprecated
661 due to untidy output and inconsistent handling of wrapper divs and
662 interface/content language defaults. Use OutputPage::parseAsContent(),
663 OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface()
664 as appropriate.
665 * QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated
666 as they promote bad practises. I18n messages should always be properly
667 escaped.
668 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
669 returns action=raw&ctype=text/css which callers should use directly.
670 * Class LegacyFormatter is deprecated.
671 * Use of CommentStore::insertWithTempTable() with 'img_description' is
672 deprecated. Use CommentStore::insert() instead.
673 * Language::setCode is deprecated as public function. Use Language::factory
674 to create a new Language object with a different language code.
675 * Several classes have been moved from the MediaWiki\Storage\ namespace to the
676 MediaWiki\Revision\ namespace. The old class names are aliased for
677 compatibility, but are deprecated. Classes are IncompleteRevisionException,
678 MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
679 RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
680 RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
681 SuppressedDataException.
682 * When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow'
683 option, it is now deprecated to give its contents (the 'default' option)
684 as a string. They should be given as a OOUI\FieldLayout object instead.
685 Notably, this affects fields defined in the 'GetPreferences' hook, because
686 Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.)
687 * In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is
688 deprecated. For the $lang parameter, types other than Language are
689 deprecated.
690 * The $wgUseKeyHeader configuration option and the
691 OutputPage::getKeyHeader() method have been deprecated; the relevant
692 draft IETF spec expired without becoming a standard.
693 * Deprecated API action=query&prop=info inprop=readable in favor of
694 intestactions=read.
695
696 === Other changes in 1.32 ===
697 * (T198811) The following tables have had their UNIQUE indexes turned into
698 proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
699 protected_titles and site_identifiers.
700 * OOUI HTMLForm will now display help text inline after the input field,
701 rather than in a popup. Previous behavior can be restored by using
702 `'help-inline' => false`.
703 * The archive table's ar_rev_id field is now unique.
704 * Special:BotPasswords now requires reauthentication.
705 * (T174023) Multi-Content Revision (MCR) capabilities were introduced into the
706 storage layer and have basic support for display. No user interface exists
707 yet for creating or managing content in slots beides the main slot. See
708 <https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more
709 information.
710 * The image_comment_temp database table has been removed. Since all access
711 should be mediated by the CommentStore class, this change shouldn't affect
712 external code.
713 * (T206147) Database::close() will no longer commit any open transactions.
714 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
715 recentchanges.rc_cur_time from the PostgreSQL schema.
716
717 = MediaWiki 1.31 =
718
719 == MediaWiki 1.31.1 ==
720
721 This is a security and maintenance release of the MediaWiki 1.31 branch.
722
723 === Changes since MediaWiki 1.31.0 ===
724 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
725 'newbie'.
726 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
727 account lock.
728 * (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files.
729 * (T197229) Bundle Nuke extension, it was accidentally omitted.
730 * (T193995) Fix undefined patchPath() method call in parser tests.
731 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
732 * Special:BotPasswords now requires reauthentication.
733 * (T191608, T187638) Add 'logid' parameter to Special:Log.
734 * (T193829) Indicate when a Bot Password needs reset.
735 * (T198037) GitInfo: Don't try shelling out if it's disabled.
736 * (T151415) Log email changes.
737 * (T197206) Fix performance regression when multiple DB used without caching.
738 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
739 * (T182377, T196793) Exif: Guard against uncountable tag values.
740 * (T200861) Fix total breakage of SQLite web upgrade.
741 * (T200864) Fix pingback over-reporting on non-MySQL databases
742 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
743 hooks.
744
745 == MediaWiki 1.31.0 ==
746
747 === Changes since MediaWiki 1.31.0-rc.2 ===
748 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
749 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
750 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
751 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
752 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
753 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
754 hook.
755 * (T196672) The mtime of extension.json files is now able to be zero
756 * (T180403) Validate $length in padleft/padright parser functions.
757 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
758
759 === Changes since MediaWiki 1.31.0-rc.0 ===
760 * (T33223) Drop archive.ar_text and ar_flags.
761 * Add default edit rate limit of 90 edits/minute for all users.
762 * (T187645) Use codepoint as tiebreaker when getting first-letters in
763 IcuCollation.
764 * (T191947) Don't shell during the installer if shelling out is disabled.
765 * (T194319) Improve duplicate config setting exception as part of extension
766 registration.
767 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
768 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
769 * Do not incorrectly hide namespace input field in the installer.
770 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
771
772 === Important pre-upgrade notes for 1.31 ===
773 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
774 schema changes, and cannot have downtime to run migrateArchiveText.php and
775 apply patch-drop-ar_text.sql manually, you'll have to apply a default value
776 to the ar_text and ar_flags columns of the archive table or make those
777 columns nullable before upgrading to MediaWiki 1.31.
778 maintenance/archives/patch-nullable-ar_text.sql shows how to do this for
779 MySQL.
780
781 === Configuration changes in 1.31 ===
782 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
783 a future version. The API is now considered to be stable, secure and
784 essential.
785 * $wgUsejQueryThree was removed, as it is now the default. This was documented
786 as a temporary variable during the migration period, deprecated since 1.29.
787 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
788 possible for fallback images such as png.
789 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
790 have the right to mark things patrolled.
791 * Wikis that contain imported revisions or CentralAuth global blocks should run
792 maintenance/cleanupUsersWithNoId.php.
793 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
794 $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
795 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
796 are not using the latest version of the Referrer Policy specification.
797 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
798 first step of migration to human-readable section IDs that will later result
799 in 'html5' being the default mode.
800 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
801 as upstream is inactive and has no plans to move to PHP 7.
802 * The old CategorizedRecentChanges feature, including its related configuration
803 option $wgAllowCategorizedRecentChanges, has been removed.
804 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
805 for performance reasons, and installations with this setting will now work as
806 if it was configured with 'any'.
807 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
808 rather than being off by default. If you wish to disable HTML tidying
809 entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
810 Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
811 * $wgLogAutopatrol now defaults to false instead of true.
812 * $wgValidateAllHtml was removed and will be ignored.
813 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
814 1.25 release notes for more information.
815 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
816 framework that it enables. Some extensions mistakenly used this to check
817 whether any AJAX functionality at all should be enabled, further making this
818 problematic to retain.
819 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
820 has been marked as experimental ever since it was introduced.
821
822 === New features in 1.31 ===
823 * (T76554) User sub-pages named ….json are now protected in the same way that
824 ….js and ….css pages are, so that configuration options can safely be placed
825 there.
826 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
827 with parentheses for grouping.
828 * As a first pass in standardizing dialog boxes across the MediaWiki product,
829 Html class now provides helper methods for messageBox, successBox, errorBox
830 and warningBox generation.
831 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
832 a format like "iw>Example".
833 * (T20209) Linker (used on history pages, log pages, and so on) will display
834 usernames formed like "iw>Example" as interwiki links, as if by wikitext like
835 [[iw:User:Example|iw>Example]].
836 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
837 users during an import.
838 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
839 the ParserOutput::getText() post-cache transformations.
840 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
841 initial page text for file uploads.
842 * (T181651) The info page for File pages now displays the file's base-16 SHA1
843 hash value in the table of basic information.
844 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
845 ParserOutput::getText() post-cache transformation. This may be disabled by
846 passing 'deduplicateStyles' => false to that method.
847 * The identity of the logged-in or IP "actor" for logged actions is being moved
848 into a new actor table, with the rows in tables such as revision and logging
849 referring to the actor ID instead of storing the user ID and name/IP in
850 every row.
851 * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
852 can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
853 soon as any necessary extensions are updated.
854 * Most code accessing rows for logged actions from the database should use
855 the relevant getQueryInfo() methods to get the information needed to build
856 the SQL query. The ActorMigration class may also be used to get feature
857 -flagged information needed to access actor-related fields during the
858 migration period.
859 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
860 section without having to roll back the whole transaction.
861 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
862 and non-MySQL ::replace() and ::upsert() no longer roll back the whole
863 transaction on failure.
864 * (T189785) Added a monthly heartbeat ping to the pingback feature.
865 * The CLI installer (maintenance/install.php) learned to detect and include
866 extensions. Pass --with-extensions to enable that feature.
867 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
868 "1" for manually patrolled and "2" for autopatrolled actions.
869 * Extensions can now set their type to "editor" if they provide an editor or
870 enhance the editing experience.
871 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
872 property in extension.json. See the documentation at
873 <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
874 for more details and an example.
875 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
876 discussion pages) now have a tooltip to indicate state, not just colour.
877
878 === External library changes in 1.31 ===
879 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
880 suggested to required. These packages now must be installed via composer
881 and not via PEAR itself.
882
883 ==== Upgraded external libraries ====
884 * Updated jquery.chosen from v0.9.14 to v1.8.2.
885 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
886 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
887 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
888 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
889 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
890 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
891 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
892 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
893 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
894 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
895
896 ==== New external libraries ====
897 * Added wikimedia/object-factory 1.0.0
898
899 ==== Removed and replaced external libraries ====
900 * (T17845) The deprecated 'jquery.badge' module was removed.
901 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
902 text-overflow property instead.
903 * The deprecated 'jquery.placeholder' module was removed.
904 * The deprecated 'jquery.appear' module was removed. Use the
905 'mediawiki.viewport' module instead.
906 * mediawiki/at-ease was replaced with wikimedia/at-ease.
907
908 === Bug fixes in 1.31 ===
909 * (T90902) Non-breaking space in header ID breaks anchor.
910 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
911 space.
912 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
913 links is now stripped rather than leaving blank lines in odd places.
914 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
915 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
916
917 === Action API changes in 1.31 ===
918 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
919 removed. It has never made a difference in the output, the name was always
920 returned regardless.
921 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
922 were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
923 'watchlist' instead.
924
925 === Action API internal changes in 1.31 ===
926 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
927 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
928 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
929
930 === Languages updated in 1.31 ===
931 MediaWiki supports over 350 languages. Many localisations are updated
932 regularly. Below only new and removed languages are listed, as well as
933 changes to languages because of Phabricator reports.
934
935 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
936 * (T182305) New language support: Nyungar (nys).
937 * (T186359) New language support: Siberian Tatar [cебертатар] (sty).
938 * (T186635) New language support: Guianan Creole (gcr).
939 * (T186647) New language support: Kumyk [къумукъ] (kum).
940 * (T187750) New language support: Spanish formal address (es-formal).
941 * (T187824) New language support: Hungarian formal address (hu-formal).
942 * (T189127) New language support: Gorontalo (gor).
943
944 === Breaking changes in 1.31 ===
945 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
946 * The OutputPage class constructor now requires a context parameter.
947 Instantiating without context was deprecated in 1.18.
948 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
949 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
950 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
951 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
952 ::onArticleEdit() methods, deprecated in 1.24, were removed.
953 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
954 removed. Use ExecutableFinder::findInDefaultPaths() instead.
955 * The deprecated MW_DIFF_VERSION constant was removed.
956 DifferenceEngine::MW_DIFF_VERSION should be used instead.
957 * Due to significant refactoring, method ContribsPager::getUserCond() that had
958 no access restriction has been removed.
959 * The Block class will no longer accept usable-but-missing usernames for
960 'byText' or ->setBlocker(). Callers should either ensure the blocker exists
961 locally or use a new interwiki-format username like "iw>Example".
962 * The following methods and constants from the WatchedItem class, which were
963 deprecated in 1.27, have been removed:
964 * WatchedItem::getTitle()
965 * WatchedItem::fromUserTitle()
966 * WatchedItem::addWatch()
967 * WatchedItem::removeWatch()
968 * WatchedItem::isWatched()
969 * WatchedItem::duplicateEntries()
970 * WatchedItem::IGNORE_USER_RIGHTS
971 * WatchedItem::CHECK_USER_RIGHTS
972 * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
973 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
974 $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
975 variable, has been deprecated since 1.27 and was removed as well.
976 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
977 $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
978 variable, has been deprecated since 1.27 and was removed as well.
979 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
980 HtmlFormatter\HtmlFormatter class should be used instead.
981 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
982 The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
983 default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
984 * The following properties of PreparedEdit were deprecated in 1.21 and have
985 been removed:
986 * PreparedEdit->newText
987 * PreparedEdit->oldText
988 * PreparedEdit->pst
989 * ParserOutput objects which are generated using a non-default value for
990 ParserOptions::setWrapOutputClass() can no longer be added to the parser
991 cache.
992 * The following deprecated methods from the OutputPage class have been removed:
993 * OutputPage::addExtensionStyle(); deprecated in 1.27
994 * OutputPage::getExtStyle(); deprecated in 1.27
995 * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
996 * OutputPage::setSquidMaxage(); deprecated in 1.27
997 * OutputPage::readOnlyPage(); deprecated in 1.25
998 * OutputPage::rateLimited(); deprecated in 1.25
999 * Additionally, the protected OutputPage::$mExtStyles array, only accessed
1000 through the above and with no known uses, was removed.
1001 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
1002 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
1003 were removed:
1004 * $isCssJsSubpage — use ::isUserConfigPage()
1005 * $isCssSubpage — use ::isUserCssConfigPage()
1006 * $isJsSubpage — use ::isUserJsConfigPage()
1007 * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
1008 * ::getSummaryInput() – use ::getSummaryInputWidget()
1009 * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
1010 * ::getCheckboxes() – use ::getCheckboxesWidget() or
1011 ::getCheckboxesDefinition()
1012 * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
1013 ::getCheckboxesDefinition()
1014 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
1015 * In User, the cookie-related methods which were wrappers for the functions on
1016 the response object, and were deprecated in 1.27, have been removed:
1017 * ::setCookie()
1018 * ::clearCookie()
1019 * ::setExtendedLoginCookie()
1020 Note that User::setCookies() remains, and is not deprecated.
1021 * Also in User, some auth-related methods which were deprecated in 1.27 have
1022 been removed:
1023 * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
1024 * ::getPasswordFactory() – create a PasswordFactory directly
1025 * ::passwordChangeInputAttribs()
1026 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
1027 been removed.
1028 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
1029 use ::getNames() instead.
1030 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
1031 can use ApiOpenSearch::getOpenSearchTemplate() instead.
1032 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
1033 Wikimedia\base_convert() directly.
1034 * Calling Database::begin() explicitly during an implicit transaction or when
1035 DBO_TRX is set results in an exception. Calling Database::commit() explicitly
1036 for an implicit transaction also results in an exception. Previously these
1037 were logged as errors. The startAtomic() and endAtomic() methods, or
1038 AtomicSectionUpdate should be used instead.
1039 * The global function wfOutputHandler() was removed, use the its replacement
1040 MediaWiki\OutputHandler::handle() instead. The global function was only
1041 sometimes defined. Its replacement is always available via the autoloader.
1042 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
1043 deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
1044 ::listSoftwareDefinedTags() instead.
1045 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
1046 use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
1047 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
1048 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
1049 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
1050 ResourceLoaderModule::getLessVars() to expose local variables instead of
1051 global ones.
1052 * As part of work to modernise user-generated content clean-up, a config option
1053 and some methods related to HTML validity were removed without deprecation.
1054 The public methods MWTidy::checkErrors() and the path through which it was
1055 called, TidyDriverBase::validate(), are removed, as are the testing methods
1056 MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
1057 The $wgValidateAllHtml configuration option is removed and will be ignored.
1058 * Execution of external programs using MediaWiki\Shell\Command now applies
1059 the RESTRICT_DEFAULT Firejail restriction by default.
1060 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
1061 deprecated in 1.26, were removed.
1062 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
1063 Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
1064
1065 === Deprecations in 1.31 ===
1066 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
1067 RevisionRecord and its subclasses.
1068 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
1069 * The global function wfCountDown is now deprecated in favor of
1070 Maintenance::countDown.
1071 * Several methods for returning lists of fields to select from the database
1072 have been deprecated in favor of similar methods that also return the tables
1073 to select from and the join conditions for those tables.
1074 * Block::selectFields() → Block::getQueryInfo()
1075 * RecentChange::selectFields() → RecentChange::getQueryInfo()
1076 * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
1077 * LocalFile::selectFields() → LocalFile::getQueryInfo()
1078 * LocalFile::getCacheFields() with a prefix no longer works
1079 * LocalFile::getLazyCacheFields() with a prefix no longer works
1080 * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
1081 * RecentChange::selectFields() → RecentChange::getQueryInfo()
1082 * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
1083 * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
1084 * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
1085 * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
1086 * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
1087 * Revision::selectFields() → Revision::getQueryInfo()
1088 * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
1089 * User::selectFields() → User::getQueryInfo()
1090 * WikiPage::selectFields() → WikiPage::getQueryInfo()
1091 * Revision::setUserIdAndName() was deprecated.
1092 * Access to TitleValue class properties was deprecated, the relevant getters
1093 should be used instead.
1094 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
1095 override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
1096 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
1097 Maintenance::fatalError() instead.
1098 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
1099 * The RevisionInsertComplete hook is now deprecated; use instead the hook
1100 RevisionRecordInserted. RevisionInsertComplete is still called, but the second
1101 and third parameter will always be null. Hard deprecation is scheduled for
1102 1.32.
1103 * The following methods that get and set ParserOutput state are deprecated.
1104 Callers should use the new stateless $options parameter to
1105 ParserOutput::getText() instead.
1106 * ParserOptions::getEditSection()
1107 * ParserOptions::setEditSection()
1108 * ParserOutput::getEditSectionTokens()
1109 * ParserOutput::setEditSectionTokens()
1110 * ParserOutput::getTOCEnabled()
1111 * ParserOutput::setTOCEnabled()
1112 * OutputPage::enableSectionEditLinks()
1113 * OutputPage::sectionEditLinksEnabled()
1114 * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
1115 are also deprecated.
1116 * License::getLicenses has been deprecated; use License::getLines instead.
1117 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
1118 Setting template variables by reference allowed violating the principle of
1119 data being immutable once added to the skin template. In practice, this method
1120 was not being used for that. Rather, setRef() existed as memory optimisation
1121 for PHP 4.
1122 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
1123 favour of Skin::msg() parameters.
1124 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
1125 wfMessage().
1126 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
1127 'unwrap' transform to ParserOutput::getText() instead.
1128 * \ObjectFactory (no namespace) is deprecated, the namespaced class
1129 \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
1130 used instead.
1131 * CommentStore::newKey is deprecated. Instead, get an instance from
1132 MediaWikiServices.
1133 * The following CommentStore methods have had their signatures changed to
1134 introduce a $key parameter, usage of the methods on instances retrieved from
1135 CommentStore::newKey will remain unchanged but deprecated:
1136 * CommentStore::getFields
1137 * CommentStore::getJoin
1138 * CommentStore::getComment
1139 * CommentStore::getCommentLegacy
1140 * CommentStore::insert
1141 * CommentStore::insertWithTemplate
1142 * The following methods in Title have been renamed, and the old ones are
1143 deprecated:
1144 * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
1145 * Title::isCssOrJsPage – use ::isSiteConfigPage
1146 * Title::isCssJsSubpage – use ::isUserConfigPage
1147 * Title::isCssSubpage – use ::isUserCssConfigPage
1148 * Title::isJsSubpage – use ::isUserJsConfigPage
1149 * The following methods related to caching of half-parsed HTML were deprecated:
1150 * Parser::serializeHalfParsedText()
1151 * Parser::unserializeHalfParsedText()
1152 * Parser::isValidHalfParsedText()
1153 * StripState::getSubState()
1154 * StripState::merge()
1155 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
1156 * The type string for the parameter $lang of DateFormatter::getInstance is
1157 deprecated.
1158 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
1159 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
1160 used instead.
1161 * The function wfShellWikiCmd() has been deprecated, use
1162 MediaWiki\Shell::makeScriptCommand().
1163 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
1164 will be allowed to provide any HTMLForm object rather than PreferencesForm.
1165
1166 === Other changes in 1.31 ===
1167 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
1168 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
1169 continues at Grade A.
1170 * Multi-content-revision capability was introduced into the storage layer. See
1171 <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
1172 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
1173 Links written using square brackets will get the class "text" not "free".
1174 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
1175 wikitext table captions, wikitext table headings, wikitext table cells. HTML
1176 headings, HTML list items, HTML table captions, HTML table headings, HTML
1177 table cells will not have this trimming behavior.
1178
1179 == Compatibility ==
1180 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
1181 supported, it is generally advised to use PHP 7.0.0 or later for long term
1182 support.
1183
1184 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
1185 but support for them is somewhat less mature. There is experimental support for
1186 Oracle and Microsoft SQL Server.
1187
1188 The supported versions are:
1189
1190 * MySQL 5.5.8 or later
1191 * PostgreSQL 9.2 or later
1192 * SQLite 3.3.7 or later
1193 * Oracle 9.0.1 or later
1194 * Microsoft SQL Server 2005 (9.00.1399)
1195
1196 == Upgrading ==
1197 1.31 has several database changes since 1.30, and will not work without schema
1198 updates. Note that due to changes to some very large tables like the revision
1199 table, the schema update may take quite long (minutes on a medium sized site,
1200 many hours on a large site).
1201
1202 Don't forget to always back up your database before upgrading!
1203
1204 See the file UPGRADE for more detailed upgrade instructions, including
1205 important information when upgrading from versions prior to 1.11.
1206
1207 For notes on 1.30.x and older releases, see HISTORY.
1208
1209 == Online documentation ==
1210 Documentation for both end-users and site administrators is available on
1211 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1212 for pages that explicitly state that their contents are in the public domain):
1213
1214 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1215
1216 == Mailing list ==
1217 A mailing list is available for MediaWiki user support and discussion:
1218
1219 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1220
1221 A low-traffic announcements-only list is also available:
1222
1223 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1224
1225 It's highly recommended that you sign up for one of these lists if you're
1226 going to run a public MediaWiki, so you can be notified of security fixes.
1227
1228 == IRC help ==
1229 There's usually someone online in #mediawiki on irc.freenode.net.
1230
1231
1232 = MediaWiki 1.30 =
1233
1234 == MediaWiki 1.30.1 ==
1235
1236 This is a security and maintenance release of the MediaWiki 1.30 branch.
1237
1238 === Changes since MediaWiki 1.30.0 ===
1239 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
1240 'newbie'.
1241 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
1242 account lock.
1243 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
1244 array.
1245 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
1246 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
1247 include extensions. Pass --with-extensions to enable that feature.
1248 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
1249 * (T167507) selenium: Run Chrome headlessly.
1250 * selenium: Pass -no-sandbox to Chrome under Docker.
1251 * (T179190) selenium: Move logic for running tests from package.json to
1252 selenium.sh
1253 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
1254 * Add default edit rate limit of 90 edits/minute for all users.
1255 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
1256 * oojs/oojs-ui updated to remove an unnecessary dependancy.
1257 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
1258 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
1259 hook.
1260 * (T196672) The mtime of extension.json files is now able to be zero
1261 * (T180403) Validate $length in padleft/padright parser functions.
1262 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
1263 * (T193995) Fix undefined patchPath() method call in parser tests.
1264 * Special:BotPasswords now requires reauthentication.
1265 * (T191608, T187638) Add 'logid' parameter to Special:Log.
1266 * (T193829) Indicate when a Bot Password needs reset.
1267 * (T151415) Log email changes.
1268 * (T200861) Fix total breakage of SQLite web upgrade.
1269 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
1270 hooks.
1271 * (T190539) Explicitly require Postgres 9.1.
1272 * (T118420) Unbreak Oracle installer.
1273
1274 == MediaWiki 1.30.0 ==
1275
1276 === Changes since MediaWiki 1.30.0-rc.0 ===
1277 * Upgraded Moment.js from v2.15.0 to v2.19.3.
1278 * Add ip_changes to postgres/tables.sql.
1279 * Skip null shell parameters.
1280 * Add wfWaitForSlaves() to maintenance/migrateComments.php.
1281 * (T182245) Fix join conditions in ImageListPager.
1282 * (T178626) Revert #contentSub and #jump-to-nav margin changes.
1283
1284 === MySQL version requirement in 1.30 ===
1285 As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility
1286 section).
1287
1288 === Configuration changes in 1.30 ===
1289 * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid
1290 unexpected behavior when code uses locale-sensitive string comparisons. For
1291 example, the Scribunto extension considers "bar" < "Foo" in most locales
1292 since it ignores case.
1293 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
1294 documentation of $wgShellLocale for details.
1295 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
1296 deprecated and a no-op, as it is no longer needed.
1297 * $wgJobClasses may now specify callback functions as an alternative to plain
1298 class names. This is intended for extensions that want control over the
1299 instantiation of their jobs, to allow for proper dependency injection.
1300 * $wgResourceModules may now specify callback functions as an alternative
1301 to plain class names, using the 'factory' key in the module description
1302 array. This allows dependency injection to be used for ResourceLoader modules.
1303 * $wgExceptionHooks has been removed.
1304 * (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size
1305 of IP ranges that can be queried at Special:Contributions.
1306 * (T45547) $wgUsePigLatinVariant added (off by default).
1307 * (T152540) MediaWiki now supports a section ID escaping style that allows to
1308 display non-Latin characters verbatim on many modern browsers. This is
1309 controlled by the new configuration setting, $wgFragmentMode.
1310 * $wgExperimentalHtmlIds is now deprecated and will be removed in a future
1311 version, use $wgFragmentMode to migrate off it to a modern alternative.
1312 * $wgExternalInterwikiFragmentMode was introduced to control how fragments in
1313 sinterwikis going outside of current wiki farm are encoded.
1314 * (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of
1315 'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0.
1316 MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if
1317 explicitly requested through the configuration parameter $wgDBservers.
1318 * $wgOOUIEditPage was removed, as it is now the default. This was documented as
1319 a temporary variable during the migration period.
1320
1321 === New features in 1.30 ===
1322 * (T37247) Output from Parser::parse() will now be wrapped in a div with
1323 class="mw-parser-output" by default. This may be changed or disabled using
1324 ParserOptions::setWrapOutputClass().
1325 * (T163562) Added ability to search for contributions within an IP ranges
1326 at Special:Contributions.
1327 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
1328 specific tags to be added by users.
1329 * Added a 'ParserOptionsRegister' hook to allow extensions to register
1330 additional parser options.
1331 * (T45547) Included Pig Latin, a language game in English, as a
1332 LanguageConverter variant. This allows English-speaking developers
1333 to develop and test LanguageConverter more easily. Pig Latin can be
1334 enabled by setting $wgUsePigLatinVariant to true.
1335 * Added RecentChangesPurgeRows hook to allow extensions to purge data that
1336 depends on the recentchanges table.
1337 * Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
1338 * (T2424) Added direct unwatch links to entries in Special:Watchlist (if the
1339 'watchlistunwatchlinks' preference option is enabled). With JavaScript
1340 enabled, these links toggle so the user can also re-watch pages that have
1341 just been unwatched.
1342 * Added $wgParserTestMediaHandlers, where mock media handlers can be passed to
1343 MediaHandlerFactory for parser tests.
1344 * Edit summaries, block reasons, and other "comments" are now stored in a
1345 separate database table. Use the CommentFormatter class to access them.
1346 ** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis
1347 can set this to MIGRATION_NEW and run maintenance/migrateComments.php as
1348 soon as any necessary extensions are updated.
1349 * (T138166) Added ability for users to prohibit other users from sending them
1350 emails with Special:Emailuser. Can be enabled by setting
1351 $wgEnableUserEmailBlacklist to true.
1352 * (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no
1353 effect. Instead, users using browsers that do not support Unicode will be
1354 unable to edit and should upgrade to a modern browser instead.
1355
1356 === External library changes in 1.30 ===
1357
1358 ==== Upgraded external libraries ====
1359 * Updated justinrainbow/json-schema from v3.0 to v5.2.
1360 * Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0.
1361 * Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1.
1362 * Updated wikimedia/relpath from v1.0.3 to v2.0.0.
1363 * Updated OOjs from v2.0.0 to v2.1.0.
1364 * Updated OOUI from v0.21.1 to v0.23.0.
1365 * Updated QUnit from v1.23.1 to v2.4.0.
1366 * Updated phpunit/phpunit from v4.8.35 to v4.8.36.
1367 * Upgraded Moment.js from v2.15.0 to v2.19.3.
1368
1369 ==== New external libraries ====
1370 * The class \TestingAccessWrapper has been moved to the external library
1371 wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
1372 * Purtle, a fast, lightweight RDF generator.
1373
1374 ==== Removed and replaced external libraries ====
1375 * …
1376
1377 === Bug fixes in 1.30 ===
1378 * (T151633) Ordered list items use now Devanagari digits in Nepalese
1379 (thanks to Sfic)
1380
1381 === Action API changes in 1.30 ===
1382 * (T37247) action=parse output will be wrapped in a div with
1383 class="mw-parser-output" by default. This may be changed or disabled using
1384 the new 'wrapoutputclass' parameter.
1385 * When errorformat is not 'bc', abort reasons from action=login will be
1386 formatted as specified by the error formatter parameters.
1387 * action=compare can now handle arbitrary text, deleted revisions, and
1388 returning users and edit comments.
1389 * (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto',
1390 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree'
1391 parameters to prop=revisions are deprecated, as are the similarly named
1392 parameters to prop=deletedrevisions, list=allrevisions, and
1393 list=alldeletedrevisions. Use action=compare, action=parse, or
1394 action=expandtemplates instead.
1395
1396 === Action API internal changes in 1.30 ===
1397 * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are
1398 deprecated. The existing message should be split between "apihelp-*-summary"
1399 and "apihelp-*-extended-description".
1400 * (T123931) Individual values of multi-valued parameters can now be marked as
1401 deprecated.
1402
1403 === Languages updated in 1.30 ===
1404 MediaWiki supports over 350 languages. Many localisations are updated
1405 regularly. Below only new and removed languages are listed, as well as
1406 changes to languages because of Phabricator reports.
1407
1408 * Added: kbp (Kabɩyɛ / Kabiyè)
1409 * Added: skr (Saraiki, سرائیکی)
1410 * Added: tay (Tayal / Atayal)
1411 * Removed: tokipona (Toki Pona)
1412
1413 ==== Pig Latin added ====
1414 * (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin),
1415 for easier variant development and testing. Disabled by default. It can be
1416 enabled by setting $wgUsePigLatinVariant to true.
1417
1418 === Other changes in 1.30 ===
1419 * The use of an associative array for $wgProxyList, where the IP address is in
1420 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
1421 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
1422 * mw.user.bucket (deprecated in 1.23) was removed.
1423 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
1424 deprecated. There are no known callers.
1425 * File::getStreamHeaders() was deprecated.
1426 * MediaHandler::getStreamHeaders() was deprecated.
1427 * Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be
1428 used instead.
1429 * MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace()
1430 should be used instead.
1431 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
1432 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
1433 deprecated in 1.24) were removed.
1434 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
1435 BagOStuff::makeGlobalKey() should be used instead.
1436 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
1437 As a result of the new uniform handling, '-{' may need to be escaped
1438 (for example, as '-<nowiki/>{') where it occurs inside template arguments
1439 or wikilinks.
1440 * (T163966) Page moves are now counted as edits for the purposes of
1441 autopromotion, i.e., they increment the user_editcount field in the database.
1442 * Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for
1443 manipulating Special:Log and Special:NewPages lines.
1444 * The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
1445 PageHistoryLineEnding, ContributionsLineEnding and
1446 DeletedContributionsLineEnding hooks have an additional parameter, for
1447 manipulating HTML data attributes of RC/history lines.
1448 EnhancedChangesListModifyBlockLineData can do that via the
1449 $data['attribs'] subarray.
1450 * (T130632) The OutputPage::enableTOC() method was removed.
1451 * WikiPage::getParserOutput() will now throw an exception if passed
1452 ParserOptions that would pollute the parser cache. Callers should use
1453 WikiPage::makeParserOptions() to create the ParserOptions object and only
1454 change options that affect the parser cache key.
1455 * Article::viewRedirect() is deprecated.
1456 * IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange().
1457 * DeprecatedGlobal no longer supports passing in a direct value, it requires a
1458 callable factory function or a class name.
1459 * The $parserMemc global, wfGetParserCacheStorage(), and
1460 ParserCache::singleton() are all deprecated. The main ParserCache instance
1461 should be obtained from MediaWikiServices instead. Access to the underlying
1462 BagOStuff is possible through the new ParserCache::getCacheStorage() method.
1463 * .mw-ui-constructive CSS class (deprecated in 1.27) was removed.
1464 * Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(),
1465 escapeIdForLink() or escapeIdForExternalInterwiki() instead.
1466 * Title::escapeFragmentForURL() was deprecated, use one of the aforementioned
1467 Sanitizer functions or, if possible, Title::getFragmentForURL().
1468 * Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does
1469 nothing and is deprecated.
1470 * mw.util.escapeId() was deprecated, use escapeIdForAttribute() or
1471 escapeIdForLink().
1472 * MagicWord::replaceMultiple() (deprecated in 1.25) was removed.
1473 * WikiImporter now requires the second parameter to be an instance of the
1474 Config, class. Prior to that, the Config parameter was optional (a behavior
1475 deprecated in 1.25).
1476 * Removed 'jquery.mwExtension' module. (deprecated since 1.26)
1477 * mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
1478 any more.
1479 * CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed.
1480 The namespaced classes in the Cdb namespace should be used instead.
1481 * IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet
1482 should be used instead.
1483 * RunningStat class (deprecated in 1.27) was removed. The namespaced
1484 RunningStat\RunningStat should be used instead.
1485 * MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were
1486 removed.
1487 The MemcachedClient class should be used instead.
1488 * EditPage underwent some refactoring and deprecations:
1489 * EditPage::isOouiEnabled() is deprecated and will always return true.
1490 * EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated.
1491 Please use ::getSummaryInputWidget() instead.
1492 * EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please
1493 use ::getCheckboxesWidget() instead.
1494 * Creating an EditPage instance without calling EditPage::setContextTitle()
1495 should be avoided and will be deprecated in a future release.
1496 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and
1497 no-ops.
1498 * EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are
1499 deprecated. The corresponding methods from Title should be used instead.
1500 * EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement.
1501 * EditPage::$mArticle and ::$mTitle are deprecated for public usage. The
1502 getters ::getArticle() and ::getTitle() should be used instead.
1503 * Trying to control or fake EditPage context by overriding $wgUser,
1504 $wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The
1505 IContextSource returned from EditPage::getContext() must be modified
1506 instead.
1507 * Parser::getRandomString() (deprecated in 1.26) was removed.
1508 * Parser::uniqPrefix() (deprecated in 1.26) was removed.
1509 * Parser::extractTagsAndParams() now only accepts three arguments. The fourth,
1510 $uniq_prefix was deprecated in 1.26 and has now been removed.
1511 * (T172514) The following tables have had their UNIQUE indexes turned into
1512 proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks,
1513 iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks,
1514 query_cache, site_stats, templatelinks, text, transcache, user_former_groups,
1515 user_properties.
1516 * IDatabase::nextSequenceValue() is no longer needed by any database backends
1517 (formerly it was needed by PostgreSQL and Oracle), and is now deprecated.
1518 * (T146591) The lc_lang_key index on the l10n_cache table has been changed into
1519 a PRIMARY KEY.
1520 * (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id,
1521 page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and
1522 user_properties.up_user have all been made unsigned on MySQL.
1523 * DB_SLAVE is deprecated. DB_REPLICA should be used instead.
1524 * wfUsePHP() is deprecated.
1525 * wfFixSessionID() was removed.
1526 * wfShellExec() and related functions are deprecated, use Shell::command(). This
1527 also slightly changes the behavior of how execution time limits are calculated
1528 when only some of defaults are overridden per-call. When in doubt, always
1529 override both wall clock and CPU time.
1530 * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the
1531 sending user object. Using the method without the second argument is
1532 deprecated.
1533 * (T67297) Browsers that don't support Unicode will have their edits rejected.
1534 * (T178450) The module 'jquery.badge' is deprecated and will be removed in a
1535 future release. For notifying the user of an event, the Notifications ("Echo")
1536 system should be used instead.
1537 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
1538 browser sends non-standard url escaping.
1539 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
1540
1541 = MediaWiki 1.29 =
1542
1543 == MediaWiki 1.29.3 ==
1544
1545 This is a security and maintenance release of the MediaWiki 1.29 branch.
1546
1547 === Changes since 1.29.2 ===
1548 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
1549 'newbie'.
1550 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
1551 account lock.
1552 * (T180551) Fix LanguageSrTest for language converter
1553 * (T180552) Fix langauge converter parser test with self-close tags
1554 * (T180537) Remove $wgAuth usage from wrapOldPasswords.php
1555 * (T180485) InputBox: Have inputbox langconvert certain attributes
1556 * (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3.
1557 * (T172927) Drop vendor from MW release branch
1558 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array
1559 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
1560 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
1561 include extensions. Pass --with-extensions to enable that feature.
1562 * (T182381) Mask deprecated call in WatchedItemUnitTest
1563 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
1564 * The karma qunit tests would fail on some configuration due to headers already
1565 sent. Check headers_sent() before sending cpPosTime headers
1566 * (T167507) selenium: Run Chrome headlessly.
1567 * selenium: Pass -no-sandbox to Chrome under Docker
1568 * (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @
1569 * (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel
1570 fails under SQLite.
1571 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
1572 * (T179190) selenium: Move test running logic from package.json to selenium.sh.
1573 * (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48.
1574 * Add default edit rate limit of 90 edits/minute for all users.
1575 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
1576 * (T196672) The mtime of extension.json files is now able to be zero
1577 * (T180403) Validate $length in padleft/padright parser functions.
1578 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
1579 * (T194237) Special:BotPasswords now requires reauthentication.
1580 * (T191608, T187638) Add 'logid' parameter to Special:Log.
1581 * (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case
1582 * (T193829) Indicate when a Bot Password needs reset.
1583 * (T151415) Log email changes.
1584 * (T118420) Unbreak Oracle installer.
1585
1586 == MediaWiki 1.29.2 ==
1587
1588 This is a security and maintenance release of the MediaWiki 1.29 branch.
1589
1590 === Changes since 1.29.1 ===
1591 * (T166757) Avoid scoped lock errors in Category::refreshCounts() due to
1592 nesting.
1593 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
1594 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
1595 * Fixed login button label to accept RawMessage.
1596 * Fixed case of SpecialRecentChanges class usage.
1597 * (T174255) Declare uploadCount property in importDump.php.
1598 * (T163646) Pass a string not an int to mysql_real_escape_string().
1599 * (T180143) Bump justinrainbow/json-schema development dependency to ~5.2.
1600 * Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36.
1601 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
1602 browser sends non-standard url escaping.
1603 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
1604 * (T128209) SECURITY: Reflected File Download from api.php.
1605 * (T134100) SECURITY: Do not reveal if user exists during login failure.
1606 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
1607 * (T125163) SECURITY: Make anchor for headlines escape > and <.
1608 * (T180237) SECURITY: Protect vendor folder with .htaccess.
1609 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
1610 update.php.
1611 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
1612 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
1613 * (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly
1614 fixed in all branches in the previous security release.
1615
1616 == MediaWiki 1.29.1 ==
1617
1618 This is a maintenance release of the MediaWiki 1.29 branch.
1619
1620 The SpamBlacklist and PdfHandler extensions were missing from the generated
1621 packages.
1622
1623 === Changes since 1.29.1 ===
1624 * (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js.
1625 * (T172061) Fix fatal when passing a category to refreshLinks.php.
1626
1627 == MediaWiki 1.29.0 ==
1628
1629 === Configuration changes in 1.29 ===
1630 * Default cookie expiration time has been reduced to 30 days. Login cookie
1631 expiration time is kept at 180 days.
1632 * A new configuration variable has been added: $wgCookieSetOnAutoblock. This
1633 determines whether to set a cookie when a user is autoblocked. Doing so means
1634 that a blocked user, even after logging out and moving to a new IP address,
1635 will still be blocked.
1636 * The resetpassword right and associated password reset capture feature has
1637 been removed.
1638 * The $error parameter to the EmailUser hook should be set to a Status object
1639 or boolean false. This should be compatible with at least MediaWiki 1.23 if
1640 not earlier. Returning a raw HTML string is now deprecated.
1641 * The $message parameter to the ApiCheckCanExecute hook should be set to an
1642 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
1643 code for ApiBase::parseMsg() will no longer work.
1644 * ApiBase::$messageMap is no longer public. Code attempting to access it will
1645 result in a PHP fatal error.
1646 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC
1647 policies.
1648 * Subpages are now enabled by default in the Template namespace. Set
1649 $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
1650 * $wgRunJobsAsync is now false by default (T142751). This change only affects
1651 wikis with $wgJobRunRate > 0.
1652 * (T158474) "Unknown user" has been added to $wgReservedUsernames.
1653 * (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single
1654 IPs.
1655 * $wgDummyLanguageCodes is deprecated. Additional language code mappings may be
1656 added to $wgExtraLanguageCodes instead.
1657 * (T161453) LocalisationCache will no longer use the temporary directory in it's
1658 fallback chain when trying to work out where to write the cache.
1659 * The user right 'editusercssjs' (deprecated in 1.16) was removed. Use
1660 'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead.
1661
1662 === New features in 1.29 ===
1663 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
1664 if they move to a new IP address. This is disabled by default.
1665 * Added ILocalizedException interface to standardize the use of localized
1666 exceptions, largely so the API can handle them more sensibly.
1667 * Blocks created automatically by MediaWiki, such as for configured proxies or
1668 dnsbls, are now indicated as such and use a new i18n message when displayed.
1669 * Added new $wgHTTPImportTimeout setting. Sets timeout for
1670 downloading the XML dump during a transwiki import in seconds.
1671 * Parser limit report is now available in machine-readable format to JavaScript
1672 via mw.config.get('wgPageParseReport').
1673 * Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits
1674 from certain IP ranges (e.g. private IPs).
1675 * (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code
1676 of the page being parsed.
1677 * HTML5 form validation attributes will no longer be suppressed. Originally
1678 browsers had poor support for them, but modern browsers handle them fine.
1679 This might affect some forms that used them and only worked because the
1680 attributes were not actually being set.
1681 * Expiry times can now be specified when users are added to user groups.
1682 * Completely new user interface for the RecentChanges page, which
1683 structures filters into user-friendly groups. This has corresponding
1684 changes to how filters are registered by core and extensions.
1685 * The edit form now uses pretty OOjs UI buttons, checkboxes and summary input.
1686 Because this change can cause problems for extensions and on-wiki
1687 scripts depending on the exact HTML, the old version is still available
1688 and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.
1689 This will be removed later and OOjs UI will become the only option.
1690 To make testing easier, users can also force either mode by adding
1691 &ooui=true or &ooui=false to the action=edit URL.
1692
1693 === External library changes in 1.29 ===
1694
1695 ==== Upgraded external libraries ====
1696 * Updated QUnit from v1.22.0 to v1.23.1.
1697 * Updated cssjanus from v1.1.2 to v1.2.0.
1698 * Updated psr/log from v1.0.0 to v1.0.2.
1699 * Update Moment.js from v2.8.4 to v2.15.0.
1700 * Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14.
1701 * Updated monolog from v1.18.2 to 1.22.1.
1702 * Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0.
1703 * Updated OOjs from v1.1.10 to v2.0.0.
1704 * Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0).
1705
1706 ==== New external libraries ====
1707 * Added wikimedia/timestamp v1.0.0.
1708 * Added wikimedia/remex-html v1.0.1.
1709
1710 ==== Removed and replaced external libraries ====
1711
1712 === Bug fixes in 1.29 ===
1713 * (T62604) Core parser functions returning a number now format the number
1714 according to the page content language, not wiki content language.
1715 * (T27187) Search suggestions based on jquery.suggestions will now correctly
1716 only highlight prefix matches in the results.
1717 * (T157035) "new mw.Uri()" was ignoring options when using default URI.
1718 * Special:Allpages can no longer be filtered by redirect in miser mode.
1719 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
1720 installed.
1721 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
1722 redirect to interwiki links.
1723 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
1724 $wgAdvancedSearchHighlighting is true.
1725 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
1726 their values out of the logs.
1727 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
1728 CSRF token.
1729 * (T156184) SECURITY: Escape content model/format url parameter in message.
1730 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
1731 declaration.
1732 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
1733 directory in it's fallback chain when trying to work out where to write the
1734 cache.
1735 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
1736 inclusion syntax's link parameter.
1737 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
1738 against it.
1739
1740 === Action API changes in 1.29 ===
1741 * Submitting sensitive authentication request parameters to action=login,
1742 action=clientlogin, action=createaccount, action=linkaccount, and
1743 action=changeauthenticationdata in the query string is now an error. They
1744 should be submitted in the POST body instead.
1745 * The capture option for action=resetpassword has been removed
1746 * action=clearhasmsg now requires a POST.
1747 * (T47843) API errors and warnings may be requested in non-English languages
1748 using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters.
1749 * API error codes may have changed. Most notably, errors from modules using
1750 parameter prefixes (e.g. all query submodules) will no longer be prefixed.
1751 * ApiPageSet-using modules will report the 'invalidreason' using the specified
1752 'errorformat'.
1753 * action=emailuser may return a "Warnings" status, and now returns 'warnings'
1754 and 'errors' subelements (as applicable) instead of 'message'.
1755 * action=imagerotate returns an 'errors' subelement rather than 'errormessage'.
1756 * action=move now reports errors when moving the talk page as an array under
1757 key 'talkmove-errors', rather than using 'talkmove-error-code' and
1758 'talkmove-error-info'. The format for subpage move errors has also changed.
1759 * action=revisiondelete no longer includes a "rendered" property on warnings
1760 and errors for each item. Use errorformat=wikitext if you're wanting parsed
1761 output.
1762 * action=rollback no longer returns a "messageHtml" property. Use
1763 errorformat=html if you're wanting HTML formatting of error messages.
1764 * action=upload now reports optional stash failures as an array under key
1765 'stasherrors' rather than a 'stashfailed' text string.
1766 * action=watch reports 'errors' and 'warnings' instead of a single 'error', and
1767 no longer returns a 'message' on success.
1768 * Added action=validatepassword to validate passwords for the account creation
1769 and password change forms.
1770 * action=purge now requires a POST.
1771 * There is a new `languagevariants` siprop for action=query&meta=siteinfo,
1772 which returns a list of languages with active LanguageConverter instances.
1773 * action=query&query=allpages will no longer filter redirects using a database
1774 query in miser mode. This may result in less results being returned than were
1775 requested.
1776
1777 === Action API internal changes in 1.29 ===
1778 * New methods were added to ApiBase to handle errors and warnings using i18n
1779 keys. Methods for using hard-coded English messages were deprecated:
1780 * ApiBase::dieUsage() was deprecated
1781 * ApiBase::dieUsageMsg() was deprecated
1782 * ApiBase::dieUsageMsgOrDebug() was deprecated
1783 * ApiBase::getErrorFromStatus() was deprecated
1784 * ApiBase::parseMsg() was deprecated
1785 * ApiBase::setWarning() was deprecated
1786 * ApiBase::$messageMap is no longer public. Code attempting to access it will
1787 result in a PHP fatal error.
1788 * The $message parameter to the ApiCheckCanExecute hook should be set to an
1789 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
1790 code for ApiBase::parseMsg() will no longer work.
1791 * UsageException is deprecated in favor of ApiUsageException. For the time
1792 being ApiUsageException is a subclass of UsageException to allow things that
1793 catch only UsageException to still function properly.
1794 * If, for some strange reason, code was using an ApiErrorFormatter instead of
1795 ApiErrorFormatter_BackCompat, note that the result format has changed and
1796 various methods now take a module path rather than a module name.
1797 * ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes
1798 from the message key, and maps some message keys for backwards compatibility.
1799 * API parameters may now be marked as "sensitive" to keep their values out of
1800 the logs.
1801
1802 === Languages updated in 1.29 ===
1803
1804 MediaWiki supports over 350 languages. Many localisations are updated
1805 regularly. Below only new and removed languages are listed, as well as
1806 changes to languages because of Phabricator reports.
1807
1808 * Based as always on linguistic studies on intelligibility and language
1809 knowledge by geography, language fallbacks have been expanded. When a
1810 translation is missing in the user's preferred interface language, the
1811 corresponding translation for the fallback language will be used instead.
1812 English will only be used as last resort when there are no translations.
1813 Some configurations (such as date formats and gender namespaces) have also
1814 been updated when using the fallback language's configuration was inadequate.
1815 The new or reinstated language fallbacks are (after cs ↔ sk in 1.28):
1816 ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro;
1817 sh → bs, sr-el, hr.
1818 * (T137376) New language support: Atikamekw (atj).
1819 * (T163600) New language support: Dinka (din).
1820 * (T155957) Talk Namespaces for Javanese language (jv) have been updated.
1821
1822 ==== No fallback for Ukrainian ====
1823 * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian
1824 language will now use the default fallback language: English. When a
1825 translation to Ukrainian is not available, an English string will be shown.
1826
1827 === Other changes in 1.29 ===
1828 * Database::getSearchEngine() (deprecated in 1.28) was removed. Use
1829 SearchEngineFactory::getSearchEngineClass() instead.
1830 * $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is
1831 required as all sessions are stored in Object Cache now.
1832 * MWHttpRequest::execute() should be considered to return a StatusValue; the
1833 Status return type is deprecated.
1834 * User::edits() (deprecated in 1.21) was removed.
1835 * Xml::escapeJsString() (deprecated in 1.21) was removed.
1836 * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
1837 were removed.
1838 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
1839 were removed.
1840 * Hook ArticleViewCustom (deprecated in 1.21) was removed. Use
1841 ArticleContentViewCustom instead.
1842 * Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
1843 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
1844 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
1845 * WikiPage::getText() (deprecated in 1.21) was removed.
1846 * Article::fetchContent() (deprecated in 1.21) was removed.
1847 * User::getPassword() (deprecated in 1.27) was removed.
1848 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
1849 * User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
1850 * Class FSRepo (deprecated in 1.19) was removed.
1851 * WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use
1852 \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId()
1853 instead.
1854 * Class ImageGallery (deprecated in 1.22) was removed.
1855 Use ImageGalleryBase::factory instead.
1856 * Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class
1857 instead.
1858 * Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now
1859 emit warnings). Create a subclass of Action and add it to $wgActions instead.
1860 * WikiRevision::getText() (deprecated since 1.21) is no longer marked
1861 deprecated.
1862 * Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed.
1863 * Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed.
1864 * Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed.
1865 * Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed.
1866 * RedisConnectionPool::handleException (deprecated since 1.23) was removed.
1867 * The static properties mw.Api.errors and mw.Api.warnings, containing incomplete
1868 and outdated lists of errors/warnings returned by the API, are now deprecated.
1869 * wiki.phtml entry point was removed. Refer to index.php instead. If you want
1870 "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can
1871 be done by enabling mod_rewrite and adding the following rules to your
1872 configuration:
1873
1874 RewriteEngine On
1875 RewriteBase /
1876 RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
1877 * Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
1878 Use ArticleAfterFetchContentObject instead.
1879 * Hook ArticleInsertComplete (deprecated in 1.21) was removed.
1880 Use PageContentInsertComplete instead.
1881 * Hook ArticleSave (deprecated in 1.21) was removed.
1882 Use PageContentSave instead.
1883 * Hook ArticleSaveComplete (deprecated in 1.21) was removed.
1884 Use PageContentSaveComplete instead.
1885 * Hook EditFilterMerged (deprecated in 1.21) was removed.
1886 Use EditFilterMergedContent instead.
1887 * Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
1888 Use EditPageGetPreviewContent instead.
1889 * Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
1890 Use ContentHandlerDefaultModelFor instead.
1891 * Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
1892 Use ContentHandlerDefaultModelFor instead.
1893 * Article::getContent() (deprecated in 1.21) was removed.
1894 * Revision::getText() (deprecated in 1.21) was removed.
1895 * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed.
1896 * Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed.
1897 * Article::doEditContent() was marked as deprecated, to be removed in 1.30
1898 or later.
1899 * ContentHandler::runLegacyHooks() was removed.
1900 * refreshLinks.php now can be limited to a particular category with
1901 --category=... or a tracking category with --tracking-category=...
1902 * User-like objects that are passed to SpecialUserRights and its subclasses are
1903 now required to have a getGroupMemberships() method. See UserRightsProxy for
1904 an example.
1905 * User::$mGroups (instance variable) was marked private. Use User::getGroups()
1906 instead.
1907 * User::getGroupName(), User::getGroupMember(), User:getGroupPage(),
1908 User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated.
1909 Use equivalent methods on the UserGroupMembership class.
1910 * Maintenance scripts and tests that call User::addGroup() must now ensure that
1911 User objects have been added to the database prior to calling addGroup().
1912 * Protected function UsersPager::getGroups() was removed, and protected function
1913 UsersPager::buildGroupLink() was changed from a static to an instance method.
1914 * The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed;
1915 see docs/hooks.txt.
1916 * User::crypt() (deprecated in 1.24) was removed.
1917 * User::comparePasswords() (deprecated in 1.24) was removed.
1918 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
1919 * HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
1920 * BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage
1921 and subclasses. It should only break if you call buildMainQueryConds
1922 (changed to buildQuery with new signature) or doMainQuery (new
1923 signature). Subclasses are likely to call at least doMainQuery
1924 (possibly both), but other classes might too, because they were
1925 public.
1926 Also, some related hooks were deprecated, but this is not yet a
1927 breaking change.
1928 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
1929 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
1930 * WikiRevision::$fileIsTemp was deprecated.
1931 * WikiRevision::$importer was deprecated.
1932 * WikiRevision::$user was deprecated.
1933 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
1934 WikiPage::PURGE_* constants are deprecated, and the functions will always
1935 return false. They were a hack for an issue that has since been fixed.
1936 * Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook
1937 'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options'
1938 if you don't actually care about checkboxes and just want to add some HTML
1939 to the page.
1940 * Selflinks are now rendered as href-less <a> tags with the class mw-selflink
1941 rather than <strong> tags. The old class name, "selflink", was deprecated
1942 and will be removed in a future release. (T160480)
1943 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
1944 * Browser support for non-ES5 JavaScript browsers, including Android 2,
1945 Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C.
1946 * Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755):
1947 is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari,
1948 webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs,
1949 opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera,
1950 ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent,
1951 addClickHandler, removeHandler, getElementsByClassName, getInnerText,
1952 setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons,
1953 mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes,
1954 escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
1955 tooltipAccessKeyRegexp, updateTooltipAccessKeys.
1956 * The ID of the <li> element containing the login link has changed from
1957 'pt-login' to 'pt-login-private' in private wikis.
1958 * The old, neglected "bulletin board style toolbar" in the edit form is now
1959 deprecated (T30856). This old code dates from 2006, and was replaced in the
1960 MediaWiki release tarball and in Wikimedia production by the WikiEditor
1961 extension in 2010. It is only shown to users if no other editor was
1962 installed, and leads to confusion.
1963 * (T92459) Loading ResourceLoader modules containing JavaScript through
1964 addModuleStyles() is deprecated and will log a warning server-side.
1965
1966 = MediaWiki 1.28 =
1967
1968 == MediaWiki 1.28.3 ==
1969
1970 This is a security and maintenance release of the MediaWiki 1.28 branch.
1971
1972 === Changes since 1.28.2 ==
1973 * (T168856) Allow SVGs created by Dia to be uploaded.
1974 * (T157545) Add missing doUpdates() call to refreshLinks.php.
1975 * (T165714) (T100085) Better handling of jobs execution in post-connection
1976 shutdown.
1977 * (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of
1978 Database->onTransactionIdle.
1979 * (T154425) Make DeferredUpdates detect LBFactory transaction rounds.
1980 * (T149454) Restore erroneously removed realTableName call from
1981 DatabasePostgres.
1982 * (T167798) Fix phrase search and highlighting for phrase queries.
1983 * (T151136) Provide credits information to callbacks in extension registration.
1984 * (T160462) Allow namespaces defined in extension.json to be overwritten
1985 locally.
1986 * (T168337) Fix ErrorPageError to work from non-UI contexts.
1987 * (T143788) Backports for PHP 7.0 and 7.1 support.
1988 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
1989 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
1990 * (T174255) Declare uploadCount property in importDump.php.
1991 * (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to
1992 v4.8.36.
1993 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
1994 browser sends non-standard url escaping.
1995 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
1996 * (T128209) SECURITY: Reflected File Download from api.php.
1997 * (T134100) SECURITY: Do not reveal if user exists during login failure.
1998 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
1999 * (T125163) SECURITY: Make anchor for headlines escape > and <.
2000 * (T180237) SECURITY: Protect vendor folder with .htaccess.
2001 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
2002 update.php.
2003 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
2004 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
2005
2006 == MediaWiki 1.28.2 ==
2007
2008 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
2009 included in the tarball version of MediaWiki 1.28.1. The version included had a
2010 serious security issue in it (T158689). There was also some minor code fixes in
2011 MediaWiki itself since 1.28.1, but none of them were security relevant.
2012
2013 == MediaWiki 1.28.1 ==
2014
2015 This is a security and maintenance release of the MediaWiki 1.28 branch.
2016
2017 === Changes since 1.28.0 ===
2018
2019 * $wgRunJobsAsync is now false by default (T142751). This change only affects
2020 wikis with $wgJobRunRate > 0.
2021 * Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki
2022 has more than one database server setup.
2023 * (T152717) Better escaping for PHP mail() command,
2024 * (T154670) A missing method causing the MySQL installer to fatal in rare
2025 circumstances was restored.
2026 * (T154672) Un-deprecate ArticleAfterFetchContentObject hook.
2027 * (T158766) Avoid SQL error on MSSQL when using selectRowCount().
2028 * (T145635) Fix too long index error when installing with MSSQL.
2029 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
2030 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
2031 installed.
2032 * (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28
2033 installs.
2034 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
2035 redirect to interwiki links.
2036 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
2037 $wgAdvancedSearchHighlighting is true.
2038 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
2039 their values out of the logs.
2040 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
2041 CSRF token.
2042 * (T156184) SECURITY: Escape content model/format url parameter in message.
2043 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
2044 declaration.
2045 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
2046 directory in it's fallback chain when trying to work out where to write the
2047 cache.
2048 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
2049 inclusion syntax's link parameter.
2050 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
2051 against it.
2052
2053 == MediaWiki 1.28 ==
2054
2055 === Changes since 1.28.0-rc1 ===
2056 * (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db
2057 errors.
2058 * (T148956) Only apply wgDBschema to postgres/mssql.
2059 * (T145991) Introduce separate log action for deleting pages on move.
2060 * (T141474) (T110464) Bypass login page if no user input is required.
2061
2062 === Changes since 1.28.0-rc0 ===
2063 * (T142210) The changes to move the parser "NewPP limit report" from a HTML
2064 comment to a machine-readable JavaScript config option 'wgPageParseReport'
2065 have been undone. They caused the human-readable limit report to be shown
2066 incompletely or not at all. ParserOutput::setLimitReportData() and
2067 getLimitReportData() behave as they did in MediaWiki 1.27 again.
2068 * (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for
2069 the text of subheadings on a category page when creating it. This wasn't
2070 working correctly.
2071 * (T106793) MediaWiki will no longer try to perform a HTTP redirect to the
2072 canonical pretty URL when a non-pretty URL is used. It resulted in redirect
2073 loops in some clients and in some server configurations. This undoes a change
2074 made in MediaWiki 1.26.
2075 * (T149759) manifest_version: 2 was removed.
2076
2077 === Configuration changes in 1.28 ===
2078 * $wgSend404Code now affects status code of action=history if the page is not
2079 there.
2080 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
2081 made by MediaWiki via a proxy. Relying on the http_proxy environment
2082 variable is no longer supported.
2083 * The load.php entry point now enforces the existing policy of not allowing
2084 access to session data, which includes the session user and the session
2085 user's language. If such access is attempted, an exception will be thrown.
2086 * The number of internal PBKDF2 iterations used to derive the session secret
2087 is configurable via $wgSessionPbkdf2Iterations.
2088 * Upload dialog's file upload log comment can now be configured separately for
2089 local and foreign uploads.
2090 * $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'`
2091 signifies local uploads. A value of `[]` (empty array) now means that
2092 no upload targets are allowed, effectively disabling the upload dialog.
2093 * The deprecated $wgEditEncoding variable has been removed; it was only used
2094 for Esperanto language character conversion. You are now recommended to use
2095 input methods provided by the UniversalLanguageSelector extension.
2096 * When $wgPingback is true, MediaWiki will periodically ping
2097 https://www.mediawiki.org/beacon with basic information about the local
2098 MediaWiki installation. This data includes, for example, the type of system,
2099 PHP version, and chosen database backend. This behavior is off by default.
2100 * When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button
2101 to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
2102 if false, the default, they will be "Save page"/"Save changes".
2103 * The 'editcontentmodel' permission is now granted to all logged-in users
2104 ('user').
2105 instead of just administrators ('sysop'). Documentation for this feature is
2106 available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
2107 * $wgRevisionCacheExpiry is now set to one week by default instead of being
2108 disabled.
2109 * Magic links are now disabled by default, and can be re-enabled by modifying
2110 the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are
2111 manually enabled, a tracking category will be added to help identify usage and
2112 make it easier to migrate away from. If you depend upon magic link
2113 functionality, it is requested that you comment on
2114 <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links>
2115 and explain your use case(s).
2116 * New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore
2117 in upcoming Content-Security-Policy feature's reporting.
2118
2119 === New features in 1.28 ===
2120 * User::isBot() method for checking if an account is a bot role account.
2121 * Added a new 'slideshow' mode for galleries.
2122 * Added a new hook, 'UserIsBot', to aid in determining if a user is a bot.
2123 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
2124 interact with API parsing.
2125 * Added a new hook, 'UploadVerifyUpload', which can be used to reject a file
2126 upload. Unlike 'UploadVerifyFile' it provides information about upload comment
2127 and the file description page, but does not run for uploads to stash.
2128 * (T141604) Extensions can now provide a better error message when their
2129 maintenance scripts are run without the extension being installed.
2130 * (T8948) Numeric sorting in categories is now supported by setting
2131 $wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you
2132 can't use UCA collations, a 'numeric' collation is also available. If
2133 migrating from another collation, you will need to run the updateCollation.php
2134 maintenance script.
2135 * Two new codes have been added to #time parser function: "xit" for days in
2136 current month, and "xiz" for days passed in the year, both in Iranian
2137 calendar.
2138 * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
2139 appropriate for sending multi-valued parameters. This defaults to true when
2140 the mw.Api instance seems to be for the local wiki.
2141 * After a client performs an action which alters a database that has replica
2142 databases, MediaWiki will wait for the replica databases to synchronize with
2143 the master database while it renders the HTML output. However, if the output
2144 is a redirect to another wiki on the wiki farm with a different domain,
2145 MediaWiki will instead alter the redirect URL to include a ?cpPosTime
2146 parameter that triggers the database synchronization when the URL is followed
2147 by the client. The same-domain case uses a new cpPosTime cookie.
2148 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
2149 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
2150 'show' parameters to existing API query modules.
2151
2152 === External library changes in 1.28 ===
2153
2154 ==== Upgraded external libraries ====
2155 * Updated es5-shim from v4.1.5 to v4.5.8
2156 * Updated composer/semver from v1.4.1 to v1.4.2
2157 * Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4
2158
2159 ==== New external libraries ====
2160 * Added wikimedia/scoped-callback v1.0.0
2161 * Added wikimedia/wait-condition-loop v1.0.1
2162
2163 === Bug fixes in 1.28 ===
2164 * (T146496) action=history pages should return 404 HTTP error code if the page
2165 does not exist
2166 * (T137264) SECURITY: XSS in unclosed internal links
2167 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
2168 * (T133147) SECURITY: Require login to preview user CSS pages
2169 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
2170 the top file
2171 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
2172 permissions
2173 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
2174 * (T139670) Move 'UserGetRights' call before application of
2175 Session::getAllowedUserRights()
2176
2177 === Action API changes in 1.28 ===
2178 * Added 'maxarticlesize' property to action=query&meta=siteinfo which contains
2179 the value of $wgMaxArticleSize.
2180 * Property 'modulemessages' from action=parse&prop=modules was removed
2181 (deprecated since 1.26).
2182 * The following response properties from action=login, deprecated in 1.27, are
2183 now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies
2184 to properly manage session state.
2185 * Submitting the lgtoken and lgpassword parameters in the query string to
2186 action=login is now deprecated and outputs a warning. They should be submitted
2187 in the POST body instead.
2188 * Submitting sensitive authentication request parameters to action=clientlogin,
2189 action=createaccount, action=linkaccount, and action=changeauthenticationdata
2190 in the query string is now deprecated and outputs a warning. They should be
2191 submitted in the POST body instead.
2192 * (T141960) Multi-valued parameters may now be separated using U+001F
2193 (Unit Separator) instead of the pipe character. This will be useful if some of
2194 the multiple values need to contain pipes, e.g. for action=options.
2195 * The API will now warn if input is not NFC-normalized Unicode or if it
2196 contains invalid characters.
2197 * The 'normalized' list output by action=query and other modules that use
2198 ApiPageSet may contain entries where the 'from' value is percent-encoded as
2199 the raw value cannot be represented in a valid API response. These are
2200 indicated by a 'fromencoded' boolean alongside the existing 'from' parameter.
2201 * (T28680) action=paraminfo can now return info about all submodules of a
2202 module without listing them all explicitly.
2203 * (T146770) It is now possible to assert that the current user is a specific
2204 named user, using the 'assertuser' parameter.
2205 * (T141963) Added a 'known' property when missing-but-known titles (e.g. from
2206 the 'TitleIsAlwaysKnown' hook) are output in various modules.
2207
2208 === Action API internal changes in 1.28 ===
2209 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
2210 interact with ApiParse and ApiExpandTemplates.
2211 * (T139565) SECURITY: API: Generate head items in the context of the given title
2212 * (T115333) SECURITY: Check read permission when loading page content in
2213 ApiParse
2214 * ApiBase::getResultData() was removed (deprecated since 1.25)
2215 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
2216 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
2217 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
2218 * ApiFormatBase::formatHTML() was removed (deprecated since 1.25)
2219 * ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25)
2220 * ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25)
2221 * ApiFormatBase::setBufferResult() was removed (deprecated since 1.25)
2222 * ApiFormatBase::setHelp() was removed (deprecated since 1.25)
2223 * ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25)
2224 * ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25)
2225 * ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25)
2226 * ApiMain::setHelp() was removed (deprecated since 1.25)
2227 * ApiResult::beginContinuation() was removed (deprecated since 1.25)
2228 * ApiResult::cleanUpUTF8() was removed (deprecated since 1.25)
2229 * ApiResult::convertStatusToArray() was removed (deprecated since 1.25)
2230 * ApiResult::disableSizeCheck() was removed (deprecated since 1.24)
2231 * ApiResult::enableSizeCheck() was removed (deprecated since 1.24)
2232 * ApiResult::endContinuation() was removed (deprecated since 1.25)
2233 * ApiResult::getData() was removed (deprecated since 1.25)
2234 * ApiResult::getIsRawMode() was removed (deprecated since 1.25)
2235 * ApiResult::setContent() was removed (deprecated since 1.25)
2236 * ApiResult::setContinueParam() was removed (deprecated since 1.25)
2237 * ApiResult::setElement() was removed (deprecated since 1.25)
2238 * ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25)
2239 * ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25)
2240 * ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25)
2241 * ApiResult::setMainForContinuation() was removed (deprecated since 1.25)
2242 * ApiResult::setParsedLimit() was removed (deprecated since 1.25)
2243 * ApiResult::setRawMode() was removed (deprecated since 1.25)
2244 * ApiResult::size() was removed (deprecated since 1.25)
2245 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
2246 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
2247 'show' parameters to existing API query modules. A query module can enable
2248 these hooks by passing an array for $hookData to ApiQueryBase::select() and
2249 by calling ApiQueryBase->processRow() before adding a row's data to the
2250 result.
2251
2252 === Languages updated in 1.28 ===
2253
2254 MediaWiki supports over 375 languages. Many localisations are updated
2255 regularly. Below only new and removed languages are listed, as well as
2256 changes to languages because of Phabricator reports.
2257
2258 * (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru,
2259 BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라.
2260 * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha,
2261 Saiddzone Saimawnkham, Saosukham, and Sengwan.
2262 * Czech (cs) and Slovak (sk) set as reciprocal fallbacks.
2263 * (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator
2264 Ilja.mos.
2265
2266 === Other changes in 1.28 ===
2267 * (T128697) Improved handling of large diffs.
2268 * [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can
2269 use or update a custom session provider if needed.
2270 * Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
2271 * The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
2272 * SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
2273 * The 'UserLoginComplete' hook has a new parameter to differentiate between
2274 actual login and visiting the login page while already logged in.
2275 * ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
2276 * $.fn.liveAndTestAtStart was removed (deprecated since 1.24).
2277 * mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24).
2278 * mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24).
2279 * Linker::link() and Linker::linkKnown() were deprecated; please instead use
2280 MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks
2281 were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
2282 respectively. See docs/hooks.txt for the specific changes needed for those
2283 hooks.
2284 * Linker::formatSize() was deprecated. Use Language::formatSize() directly.
2285 * Aliases for Linker methods, deprecated since 1.21, were removed from Skin:
2286 * Skin::commentBlock() (use Linker::commentBlock() instead)
2287 * Skin::generateRollback() (use Linker::generateRollback() instead)
2288 * Skin::link() (use MediaWiki\Linker\LinkRenderer instead)
2289 * Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead)
2290 * Skin::userLink() (use Linker::userLink() instead)
2291 * Skin::userToolLinks() (use Linker::userToolLinks() instead)
2292 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
2293 disabled.
2294 * DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
2295 * UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated.
2296 Use ...->stashFile()->getFileKey() instead.
2297 * "Public domain" was removed as a wiki license option from the installer, in
2298 favour of CC-0.
2299 * AuthenticationRequest::$required is now changed from REQUIRED to
2300 PRIMARY_REQUIRED on requests needed by primary providers even if all primaries
2301 need them.
2302 Primary providers are discouraged from returning multiple REQUIRED requests.
2303 * OOjs UI PHP widgets constructed with the `'infusable' => true` config option
2304 will no longer be automatically infused. You should call `OO.ui.infuse()`
2305 on them yourself from your JavaScript code.
2306 * parserTests.php has moved to tests/parser/parserTests.php
2307 * The command line options specific to parser tests have been removed from
2308 phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter.
2309 Instead of --keep-uploads, use the same option to parserTests.php, but you
2310 must specify a directory with --upload-dir.
2311 * The 'jquery.arrowSteps' ResourceLoader module is now deprecated.
2312 * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should
2313 migrate to using the same functions on a ProxyLookup instance, obtainable from
2314 MediaWikiServices.
2315 * The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave,
2316 ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText,
2317 EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation
2318 warnings if used.
2319 * (T68404) CSS3 attr() function with url type is no longer allowed
2320 in inline styles.
2321 * Database::getSearchEngine() is deprecated, use
2322 SearchEngineFactory::getSearchEngineClass instead.
2323
2324 == Compatibility ==
2325
2326 MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for
2327 HHVM 3.6.5 or later.
2328
2329 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
2330 support for them is somewhat less mature. There is experimental support for
2331 Oracle and Microsoft SQL Server.
2332
2333 The supported versions are:
2334
2335 * MySQL 5.0.3 or later
2336 * PostgreSQL 8.3 or later
2337 * SQLite 3.3.7 or later
2338 * Oracle 9.0.1 or later
2339 * Microsoft SQL Server 2005 (9.00.1399)
2340
2341 == Upgrading ==
2342
2343 1.28 has several database changes since 1.27, and will not work without schema
2344 updates. Note that due to changes to some very large tables like the revision
2345 table, the schema update may take quite long (minutes on a medium sized site,
2346 many hours on a large site).
2347
2348 If upgrading from before 1.11, and you are using a wiki as a commons
2349 repository, make sure that it is updated as well. Otherwise, errors may arise
2350 due to database schema changes.
2351
2352 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
2353 new database fields are filled with data.
2354
2355 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
2356 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
2357 with MediaWiki 1.21.
2358
2359 Don't forget to always back up your database before upgrading!
2360
2361 See the file UPGRADE for more detailed upgrade instructions.
2362
2363 For notes on 1.27.x and older releases, see HISTORY.
2364
2365 == Online documentation ==
2366
2367 Documentation for both end-users and site administrators is available on
2368 MediaWiki.org, and is covered under the GNU Free Documentation License (except
2369 for pages that explicitly state that their contents are in the public domain):
2370
2371 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
2372
2373 == Mailing list ==
2374
2375 A mailing list is available for MediaWiki user support and discussion:
2376
2377 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2378
2379 A low-traffic announcements-only list is also available:
2380
2381 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
2382
2383 It's highly recommended that you sign up for one of these lists if you're
2384 going to run a public MediaWiki, so you can be notified of security fixes.
2385
2386 == IRC help ==
2387
2388 There's usually someone online in #mediawiki on irc.freenode.net.
2389
2390 = MediaWiki 1.27 =
2391
2392 == MediaWiki 1.27.5 ==
2393
2394 This is a security and maintenance release of the MediaWiki 1.27 branch.
2395
2396 === Changes since 1.27.4 ===
2397 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
2398 'newbie'.
2399 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
2400 account lock.
2401 * Upgraded Moment.js from v2.8.4 to v2.19.3.
2402 * (T160298) Fixed Special:ActiveUsers due to bad backport.
2403 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
2404 array.
2405 * Updated list of SPDX licenses for extensions.
2406 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
2407 include extensions. Pass --with-extensions to enable that feature.
2408 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
2409 * Add default edit rate limit of 90 edits/minute for all users.
2410 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
2411 * (T196672) The mtime of extension.json files is now able to be zero.
2412 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
2413 hook.
2414 * (T180403) Validate $length in padleft/padright parser functions.
2415 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
2416 * Special:BotPasswords now requires reauthentication.
2417 * (T191608, T187638) Add 'logid' parameter to Special:Log.
2418 * (T193829) Indicate when a Bot Password needs reset.
2419 * (T151415) Log email changes.
2420 * (T118420) Unbreak Oracle installer.
2421
2422 == MediaWiki 1.27.4 ==
2423 This is a security and maintenance release of the MediaWiki 1.27 branch.
2424
2425 === Changes since 1.27.3 ===
2426 * (T100085) Better handling of jobs execution in post-connection shutdown.
2427 * (T141604) Support conditionally registered namespaces.
2428 * (T167798) Fix highlighting for phrase queries and phrase search.
2429 * (T151136) Provide credits information to callbacks.
2430 * (T160462) Allow namespaces defined in extension.json to be overwritten
2431 locally.
2432 * (T168856) Allow SVGs created by Dia to be uploaded.
2433 * (T144705) (T148662) Password reset link is no longer shown when no reset
2434 options are available.
2435 * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support.
2436 * (T66795) $wgUserEmailUseReplyTo is now true by default to work around
2437 restrictive DMARC policies.
2438 * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and
2439 core.
2440 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
2441 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
2442 * (T142304) Allow putting the app ID in the password for bot passwords.
2443 * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36.
2444 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
2445 browser sends non-standard url escaping.
2446 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
2447 * (T128209) SECURITY: Reflected File Download from api.php.
2448 * (T134100) SECURITY: Do not reveal if user exists during login failure.
2449 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
2450 * (T125163) SECURITY: Make anchor for headlines escape > and <.
2451 * (T180237) SECURITY: Protect vendor folder with .htaccess.
2452 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
2453 update.php.
2454 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
2455 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
2456
2457 == MediaWiki 1.27.3 ==
2458 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
2459 included in the tarball version of MediaWiki 1.27.2. The version included had a
2460 serious security issue in it (T158689). There was also some minor code fixes in
2461 MediaWiki itself since 1.27.2, but none of them were security relevant.
2462
2463 === Changes since 1.27.2 ===
2464 * (T145664) Fix broken wincache merge() implementation
2465 * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility
2466 * (T153505) Fix php warnings on php 7.1 due to use of &$this
2467
2468 == MediaWiki 1.27.2 ==
2469 This is a security and maintenance release of the MediaWiki 1.27 branch.
2470
2471 ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as
2472 deprecated (rather than already removed) in the RELEASE-NOTES at the point
2473 1.27.0 was released.
2474
2475 === Changes since 1.27.1 ===
2476
2477 * (T68404) CSS3 attr() function with url type argument is no longer allowed
2478 in inline styles.
2479 * $wgRunJobsAsync is now false by default (T142751). This change only affects
2480 wikis with $wgJobRunRate > 0.
2481 * (T152717) Better escaping for PHP mail() command
2482 * Submitting the lgtoken and lgpassword parameters in the query string to
2483 action=login is now deprecated and outputs a warning. They should be submitted
2484 in the POST body instead.
2485 * Submitting sensitive authentication request parameters to action=clientlogin,
2486 action=createaccount, action=linkaccount, and action=changeauthenticationdata
2487 in the query string is now deprecated and outputs a warning. They should be
2488 submitted in the POST body instead.
2489 * (T158766) Avoid SQL error on MSSQL when using selectRowCount()
2490 * (T145635) Fix too long index error when installing with MSSQL.
2491 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
2492 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
2493 installed.
2494 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
2495 redirect to interwiki links.
2496 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
2497 $wgAdvancedSearchHighlighting is true.
2498 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
2499 their values out of the logs.
2500 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
2501 CSRF token.
2502 * (T156184) SECURITY: Escape content model/format url parameter in message.
2503 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
2504 declaration.
2505 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
2506 directory in it's fallback chain when trying to work out where to write the
2507 cache.
2508 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
2509 inclusion syntax's link parameter.
2510 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
2511 against it.
2512
2513 == MediaWiki 1.27.1 ==
2514
2515 This is a maintenance release of the MediaWiki 1.27 branch.
2516
2517 === Changes since 1.27.0 ===
2518 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
2519 made by MediaWiki via a proxy. Relying on the http_proxy environment
2520 variable is no longer supported.
2521 * (T139565) SECURITY: API: Generate head items in the context of the given title
2522 * (T137264) SECURITY: XSS in unclosed internal links
2523 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
2524 * (T133147) SECURITY: Require login to preview user CSS pages
2525 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
2526 the top file
2527 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
2528 permissions
2529 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
2530 * (T115333) SECURITY: Check read permission when loading page content in
2531 ApiParse
2532 * (T57548) Remove support for $wgWellFormedXml = false, all output is now well
2533 formed
2534 * (T139670) Move 'UserGetRights' call before application of
2535 Session::getAllowedUserRights()
2536
2537 == MediaWiki 1.27.0 ==
2538
2539 === PHP version requirement in 1.27 ===
2540 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility
2541 section). Additionally, the following PHP extensions are required:
2542 * ctype
2543 * iconv
2544 * json
2545 * mbstring (new requirement in 1.27)
2546 * xml
2547 The following PHP extensions are strongly recommended:
2548 * openssl
2549
2550 === Configuration changes in 1.27 ===
2551 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
2552 now always enabled. If you use RDFa on your wiki, you now have to explicitly
2553 set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
2554 * $wgUseLinkNamespaceDBFields was removed.
2555 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
2556 $wgResourceLoaderMinifierMaxLineLength, because there was little value in
2557 making the behavior configurable. The default values (`false` for the former,
2558 1000 for the latter) are now hard-coded.
2559 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
2560 * $wgDebugDBTransactions was removed (deprecated in 1.20).
2561 * $wgUseXVO has been removed, as it provides functionality only used by
2562 custom Wikimedia patches against Squid 2.x that probably noone uses in
2563 production anymore. There is now $wgUseKeyHeader that provides similar
2564 functionality but instead of the MediaWiki-specific X-Vary-Options header,
2565 uses the draft Key header standard.
2566 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
2567 deprecation notice in the release notes for version 1.25 for advice on how to
2568 preserve support for '.php5' entry points via URL rewriting.
2569 * Password handling via the User object has been deprecated and partially
2570 removed, pending the future introduction of AuthManager. In particular:
2571 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
2572 getPasswordExpired() have been removed. They were unused outside of core.
2573 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
2574 now private and will be removed in the future.
2575 ** The getPassword() and getTemporaryPassword() methods now throw
2576 BadMethodCallException and will be removed in the future.
2577 ** The ability to pass 'password' and 'newpassword' to createNew() has been
2578 removed. The only users of it seem to have been using it to set invalid
2579 passwords, and so shouldn't be greatly affected.
2580 ** setPassword(), setInternalPassword(), and setNewpassword() have been
2581 deprecated, pending the introduction of AuthManager.
2582 ** User::randomPassword() is deprecated in favor of a new method
2583 PasswordFactory::generateRandomPasswordString()
2584 ** User::getPasswordFactory() is deprecated, callers should just create a
2585 PasswordFactory themselves.
2586 ** A new constructor, User::newSystemUser(), has been added to simplify the
2587 creation of passwordless "system" users for logged actions.
2588 * $wgMaxSquidPurgeTitles was removed.
2589 * $wgAjaxWatch was removed. This is now enabled by default.
2590 * $wgUseInstantCommons now hotlinks Commons images by default instead of
2591 downloading originals and thumbnailing them locally. This allows wikis to save
2592 on CPU and bandwidth while reducing time to first byte for pages, even without
2593 a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
2594 * (T27397) WebP is enabled by default as an uploadable filetype.
2595 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
2596 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
2597 * Deprecated API formats dbg, txt, and yaml have been removed.
2598 * CLDRPluralRule* classes have been replaced with
2599 wikimedia/cldr-plural-rule-parser.
2600 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
2601 $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
2602 $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
2603 * For proper operation of LocalIdLookup with shared user tables, ensure that
2604 $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
2605 that all others are sharing from and that $wgLocalDatabases is set to the
2606 full list of sharing wikis on all those wikis.
2607 * Massive overhaul to session handling:
2608 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
2609 MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
2610 used.
2611 ** ObjectCacheSessionHandler is removed, replaced with
2612 MediaWiki\Session\PhpSessionHandler.
2613 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
2614 deprecated. Use MediaWiki\Session\SessionManager instead. A new config
2615 variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
2616 issue a deprecation warning or to cause most PHP session handling to throw
2617 exceptions.
2618 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
2619 be creating a custom subclass of CookieSessionProvider. Other extensions
2620 messing with cookies can no longer count on user data being saved in cookies
2621 versus other methods.
2622 ** Deprecated UserLoadFromSession hook, extensions should create a
2623 MediaWiki\Session\SessionProvider.
2624 ** The User cannot be loaded from session until after Setup.php completes.
2625 Attempts to do so will be ignored and the User will remain unloaded.
2626 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
2627 the MediaWiki\Session\Token class.
2628 * MediaWiki will now auto-create users as necessary, removing the need for
2629 extensions to do so. An 'autocreateaccount' right is added to allow
2630 auto-creation when 'createaccount' is not granted to all users.
2631 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
2632 * Most cookie-handling methods in User are deprecated.
2633 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
2634 experimental feature that has never worked.
2635 * Login and createaccount tokens now vary by timestamp.
2636 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
2637 return a MediaWiki\Session\Token, and tokens must be checked using that
2638 class's methods.
2639 * $wgEnotifUseJobQ was removed and the job queue is always used.
2640 * The functionality of the ApiSandbox extension has been merged into core. The
2641 extension should no longer be used.
2642 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
2643 Extensions, skins, gadgets and scripts that use the mediawiki.util module must
2644 express a dependency on it.
2645 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
2646 Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
2647 module should express a dependency on it.
2648 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
2649 $wgFooterIcons['copyright']['copyright'] instead.
2650 * If the openssl and mcrypt PHP extensions are both unavailable, secure
2651 session storage (used for login) will raise an exception. This exception may
2652 be bypassed by setting $wgSessionInsecureSecrets = true.
2653 * Massive overhaul to authentication:
2654 ** AuthPlugin and AuthPluginUser are deprecated.
2655 ** LoginForm and associated templates are deprecated. Extensions which called
2656 static LoginForm methods should be converted into authentication providers.
2657 ** The following hooks are deprecated:
2658 *** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
2659 *** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead)
2660 *** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
2661 *** AddNewAccount (use LocalUserCreated instead)
2662 *** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider
2663 instead)
2664 *** ChangePasswordForm (use AuthChangeFormFields instead, or security levels)
2665 *** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider
2666 instead)
2667 *** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type
2668 instead)
2669 *** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type
2670 instead)
2671 ** The following hooks are removed:
2672 *** AbortChangePassword
2673 *** LoginPasswordResetMessage
2674 *** PrefsPasswordAudit
2675 ** The UserLoginComplete hook will no longer be called for all logins, only for
2676 those via the web UI. Use UserLoggedIn if you need to do something on all
2677 logins.
2678 ** $wgRequirePasswordforEmailChange is removed.
2679
2680 === New features in 1.27 ===
2681 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
2682 sticks to the primary DC (via cookies) after they make changes to the site.
2683 * Added a new hook, 'UserMailerTransformContent', to transform the contents
2684 of an email. This is similar to the EmailUser hook but applies to all mail
2685 sent via UserMailer.
2686 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
2687 of an emai after MIME encoding.
2688 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
2689 emailed separately (ie. there is a single address in the To: field) so
2690 user-specific changes to the email can be applied safely.
2691 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
2692 when any load balancer uses a DB that is lagged beyond the 'max lag'
2693 setting in the relevant section of $wgLBFactoryConf.
2694 * User::newSystemUser() may be used to simplify the creation of passwordless
2695 "system" users for logged actions from scripts and extensions.
2696 * Extensions can now return detailed error information via the API when
2697 preventing user actions using 'getUserPermissionsErrors' and similar hooks
2698 by using ApiMessage instances instead of strings for the $result value.
2699 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
2700 becomes too high.
2701 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
2702 and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
2703 cross-browser-compatible FlexBox rules. Users will still need to add fallback
2704 float rules or the like for compatibility with IE9- separately.
2705 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
2706 string, if available. To localize this string, see the comments of
2707 $wgLocaltimezone in includes/DefaultSettings.php.
2708 * Added CentralIdLookup, a service that allows extensions needing a concept of
2709 "central" users to get that without having to know about specific central
2710 authentication extensions.
2711 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
2712 Regular web request transactions that takes longer than this are aborted.
2713 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
2714 committed.
2715 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
2716 from CDN to mitigate DB replication lag and WAN cache purge lag.
2717 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
2718 if it is available.
2719 * It is now possible to patrol file uploads (both for new files and new versions
2720 of existing files). Special:NewFiles has gained an option to filter by patrol
2721 status. This functionality can be disabled using $wgUseFilePatrol.
2722 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
2723 other than the usual cookies.
2724 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
2725 custom session metadata.
2726 * Added MWGrants and associated configuration settings $wgGrantPermissions and
2727 $wgGrantPermissionGroups to hold configuration for authentication features
2728 such as OAuth that want to allow restricting the user rights a user may make
2729 use of.
2730 ** If you're already using the OAuth extension, these new variables are
2731 identical to (and will replace) $wgMWOAuthGrantPermissions and
2732 $wgMWOAuthGrantPermissionGroups.
2733 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
2734 to assert that the request comes from a particular IP range.
2735 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
2736 * Whitelisted the following HTML attributes for all elements in wikitext:
2737 aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
2738 * Removed "presentation" restriction on the HTML role attribute in wikitext.
2739 All values are now allowed for the role attribute.
2740 * $wgContentHandlers now also supports callbacks to create an instance of the
2741 appropriate ContentHandler subclass.
2742 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
2743 user_token database field from being exposed in cookies. Setting this would
2744 be a good idea, but will log out all current sessions.
2745 * $wgEventRelayerConfig was added, for managing PubSub event relay
2746 configuration, specifically for reliable CDN url purges.
2747 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
2748 MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
2749 generated 24-character string. This request ID is used to annotate log records
2750 and error messages. It is available client-side via
2751 mw.config.get( 'wgRequestId' ).
2752 The request ID supplants exception IDs. Accordingly,
2753 MWExceptionHandler::getLogId() is deprecated.
2754 * (T33313) Add a preference for watching uploads by default, also applies
2755 to API-based upload tools.
2756 * $wgJpegPixelFormat was added to override chroma subsampling for JPEG image
2757 thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth
2758 savings versus the previous behavior on many files.
2759 * MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible
2760 configuration of multiple authentication pieces that was possible with
2761 AuthPlugin. For example, it's now easy to plug in second-factor
2762 authentication, or add additional checks to the login process, or to support
2763 multiple login methods at once, or to support non-password-based login
2764 methods.
2765 ** Providers are configured via the global setting $wgAuthManagerConfig.
2766 ** A global, $wgDisableAuthManager, is temporarily available to disable
2767 AuthManager until extensions are ready to support it.
2768 ** New hook, AuthChangeFormFields, to adjust the form fields on
2769 AuthManager-related special pages.
2770 ** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of
2771 AuthManager-related authentication requests.
2772 ** New hook, ChangeAuthenticationDataAudit, for additional logging of
2773 AuthManager-related authentication data changes.
2774 ** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism
2775 for requiring a recent login before taking security-sensitive operations
2776 like changing a password.
2777 ** Two new globals, $wgChangeCredentialsBlacklist and
2778 $wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API
2779 changing certain authentication data.
2780 * The file upload dialog (available if you install WikiEditor or VisualEditor)
2781 can now be configured using $wgUploadDialog.
2782
2783 === External library changes in 1.27 ===
2784
2785 ==== Upgraded external libraries ====
2786 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
2787 * Updated composer/semver from v1.0.0 to v1.2.0.
2788 * Updated liuggio/statsd-php-client to 1.0.18.
2789 * Updated QUnit from v1.18.0 to v1.22.0.
2790
2791 ==== New external libraries ====
2792 * Added wikimedia/base-convert v1.0.1.
2793 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
2794 * Added wikimedia/relpath v1.0.3.
2795 * Added wikimedia/running-stat v1.1.0.
2796 * Added wikimedia/php-session-serializer v1.0.3.
2797
2798 ==== Removed and replaced external libraries ====
2799
2800 === Bug fixes in 1.27 ===
2801 * Special:Upload will now display correct maximum allowed file size when running
2802 under HHVM (T116347).
2803 * (T54077) The APIEditBeforeSave hook will once again give only the content of
2804 the section being edited, rather than the whole revision. This reverts the
2805 change made in MediaWiki 1.22.
2806
2807 === Action API changes in 1.27 ===
2808 * Added list=allrevisions.
2809 * generator=recentchanges now has the option to generate revids.
2810 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
2811 modules to define how generator data for a redirect source gets merged
2812 into the redirect destination.
2813 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
2814 "was-deleted" warning.
2815 * Added difftotextpst to query=revisions which preforms a pre-save transform on
2816 the text before diffing it.
2817 * Deprecated formats dbg, txt, and yaml have been removed.
2818 * (T47988) The protect log event details now use new-style formatting.
2819 * The following response properties from action=login are deprecated, and may
2820 be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
2821 handle cookies to properly manage session state.
2822 * action=login transparently allows login using bot passwords. Clients should
2823 merely need to change the username and password used after setting up a bot
2824 password.
2825 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
2826 * Several changes when $wgDisableAuthManager is false:
2827 ** action=login is deprecated for uses other than bot passwords.
2828 ** list=users can now indicate if a missing username is creatable.
2829 ** action=createaccount is changed in a non-backwards-compatible manner.
2830 ** Added action=query&meta=authmanagerinfo.
2831 ** Added action=clientlogin to be used to log into the main account instead of
2832 action=login.
2833 ** Added action=linkaccount.
2834 ** Added action=unlinkaccount.
2835 ** Added action=changeauthenticationdata.
2836 ** Added action=removeauthenticationdata.
2837 ** Added action=resetpassword.
2838
2839 === Action API internal changes in 1.27 ===
2840 * ApiQueryORM removed.
2841 * The following classes have been removed:
2842 ** ApiFormatDbg
2843 ** ApiFormatTxt
2844 ** ApiFormatYaml
2845 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
2846 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
2847 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
2848 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated
2849 since 1.24).
2850 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
2851 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated
2852 since 1.24).
2853 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated
2854 since 1.24).
2855 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
2856 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
2857 * ApiBase::parseErrors() was removed (deprecated since 1.24).
2858 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
2859 ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
2860 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
2861 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
2862 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
2863 * ApiQuery::getModules() was removed (deprecated since 1.21).
2864 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
2865 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
2866 * ApiMain::getModules() was removed (deprecated since 1.21).
2867 * ApiBase::getVersion() was removed (deprecated since 1.21).
2868 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
2869 * ApiMain::addModule() was removed (deprecated in 1.21).
2870 * ApiMain::addFormat() was removed (deprecated in 1.21).
2871 * ApiMain::getFormats() was removed (deprecated in 1.21).
2872 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
2873 * ApiCreateAccount was removed.
2874
2875 === Languages updated in 1.27 ===
2876
2877 MediaWiki supports over 350 languages. Many localisations are updated
2878 regularly. Below only new and removed languages are listed, as well as
2879 changes to languages because of Phabricator reports.
2880
2881 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
2882 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
2883
2884 === Other changes in 1.27 ===
2885 * Added dependency injection (DI) infrastructure, see docs/injection.txt for
2886 details.
2887 It is planned to incrementally move MediaWiki code towards using DI, using the
2888 service locator (SL) pattern as a stepping stone.
2889 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
2890 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
2891 ignore the 2nd and 3rd arguments (formerly $id and $commit).
2892 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
2893 * Removed ORM-like wrapper added in 1.20.
2894 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
2895 (deprecated in 1.26).
2896 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
2897 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
2898 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
2899 * (T84937) Free external links ("autolinked" urls) will now be terminated
2900 by &nbsp; and HTML entity encodings of &nbsp, <, and >.
2901 * (T36948) The default file revert message's timestamp is now in
2902 $wgLocaltimezone, instead of UTC.
2903 * The default name of the 'suppress' group page has been changed from
2904 'Project:Oversight' to 'Project:Suppress'.
2905 * DatabaseBase::resultObject() is now protected (use outside Database classes
2906 not necessary since 1.11).
2907 * Calling ResourceLoaderFileModule::readStyleFiles() without a
2908 ResourceLoaderContext instance is deprecated.
2909 * ResourceLoader::getLessCompiler() now takes an optional parameter of
2910 additional LESS variables to set for the compiler.
2911 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
2912 instead.
2913 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
2914 were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
2915 * Removed msg_resource_links database table and associated code.
2916 * Removed msg_resource database table and associated code.
2917 * Skin::getNamespaceNotice() was removed.
2918 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
2919 * wfDebugTimer() was removed (deprecated since 1.25).
2920 * wfIsTrustedProxy() was removed (deprecated since 1.24).
2921 * wfGetIP() was removed (deprecated since 1.19).
2922 * MWHookException was removed.
2923 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
2924 * OutputPage::loginToUse() was removed (deprecated since 1.19).
2925 * Article::loadContent() was removed (deprecated since 1.19).
2926 * User::editToken() was removed (deprecated since 1.19).
2927 * Removed --force-normal option of dumpBackup.php, as it no longer served
2928 any useful purpose since 1.22.
2929 * The functions processOption() and processArgs() on the BackupDumper and
2930 TextPassDumper classes have been removed.
2931 * The maintenance/backupTextPass.inc file was deleted. You should include
2932 maintenance/dumpTextPass.php instead.
2933 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
2934 * wfEmptyMsg() was removed (deprecated since 1.18).
2935 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
2936 * OutputPage::blockedPage() was removed (deprecated since 1.18).
2937 * User::getSkin() was removed (deprecated since 1.18).
2938 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
2939 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
2940 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
2941 * LogPage::logName() was removed (deprecated since 1.19).
2942 * LogPage::logHeader() was removed (deprecated since 1.19).
2943 * wfCheckLimits() was removed (deprecated since 1.24).
2944 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
2945 * Linker::makeLinkObj() was removed (deprecated since 1.16).
2946 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
2947 * ChangesList::usePatrol was removed (deprecated since 1.22).
2948 * wfMsgNoTrans() was removed (deprecated since 1.18).
2949 * Linker::makeImageLink2 was removed (deprecated since 1.20).
2950 * Title::userIsWatching() was removed (deprecated since 1.20).
2951 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
2952 database function directly instead.
2953 * wfMsg() was removed (deprecated since 1.18).
2954 * wfMsgForContent() was removed (deprecated since 1.18).
2955 * wfMsgReal() was removed (deprecated since 1.18).
2956 * wfMsgGetKey() was removed (deprecated since 1.18).
2957 * wfMsgHtml() was removed (deprecated since 1.18).
2958 * wfMsgWikiHtml() was removed (deprecated since 1.18).
2959 * wfMsgExt() was removed (deprecated since 1.18).
2960 * Language::armourMath() was removed (deprecated since 1.22).
2961 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
2962 * FakeConverter::armourMath() was removed (deprecated since 1.22).
2963 * The unused jquery.validate ResourceLoader module was removed.
2964 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
2965 * User::generateToken() was removed (deprecated since 1.20).
2966 * WikiPage::getRawText() was removed (deprecated since 1.21).
2967 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
2968 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
2969 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
2970 * Gallery images with multiple caption pipes no longer concatenate them all
2971 together but instead pick the final one, similar to image syntax.
2972 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
2973 rather than consume everything until the end of the page.
2974 * New maintenance script resetUserEmail.php allows sysadmins to reset user
2975 emails in case a user forgot password/account was stolen.
2976 * wfCheckEntropy() was removed (deprecated in 1.27).
2977 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
2978 * ContentHandler::supportsCategories method added. Default is true.
2979 CategoryMembershipChangeJob updates are skipped for content that
2980 does not support categories.
2981 * wikidiff difference engine is no longer supported, anyone still using it are
2982 encouraged to upgrade to wikidiff2 which is actively maintained and has better
2983 package availability.
2984 * Database logic was removed from WatchedItem and a WatchedItemStore was
2985 created:
2986 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were
2987 deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were
2988 introduced.
2989 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
2990 ** WatchedItem::resetNotificationTimestamp was deprecated.
2991 ** WatchedItem::batchAddWatch was deprecated.
2992 ** WatchedItem::addWatch was deprecated.
2993 ** WatchedItem::removeWatch was deprecated.
2994 ** WatchedItem::isWatched was deprecated.
2995 ** WatchedItem::duplicateEntries was deprecated.
2996 ** EmailNotification::updateWatchlistTimestamp was deprecated.
2997 ** User::getWatchedItem was removed.
2998 * Unit tests don't work with external PHPUnit anymore, Composer is now the only
2999 supported way. Run `composer install` to install it and other dev dependencies
3000 to run unit tests.
3001 * wl_id field added to the watchlist table.
3002 * Revision::getRawText() was removed (deprecated since 1.21).
3003 * WikiPage::replaceSection() was removed (deprecated since 1.21).
3004 * Article::replaceSection() was removed (deprecated since 1.21).
3005 * Language::getLangObj() was removed (deprecated since 1.24).
3006 * Language::getLanguageName() was removed (deprecated since 1.20).
3007 * Language::getLanguageNames() was removed (deprecated since 1.20).
3008 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
3009 * Language::specialPage() was removed (deprecated since 1.24).
3010 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
3011 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
3012 * OutputPage::getScript() was removed (deprecated since 1.24).
3013 * OutputPage::out() was removed (deprecated since 1.22).
3014 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
3015 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
3016 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
3017 * Title::newFromRedirect() was removed (deprecated since 1.21).
3018 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
3019 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
3020 * Skin::newFromKey() was removed (deprecated since 1.24).
3021 * Skin::getUsableSkins() was removed (deprecated since 1.23).
3022 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
3023 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated
3024 since 1.21).
3025 * DifferenceEngine::setText() was removed (deprecated in 1.21).
3026 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
3027 * UserMailer::send() no longer accepts $replyto as the 5th argument and
3028 $contentType as the 6th. These must be passed in the options array now.
3029 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
3030 * Skin::accesskey was removed (deprecated since 1.21).
3031 * Skin::blockLink was removed (deprecated since 1.21).
3032 * Skin::buildRollbackLink was removed (deprecated since 1.21).
3033 * Skin::emailLink was removed (deprecated since 1.21).
3034 * Skin::formatComment was removed (deprecated since 1.21).
3035 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
3036 * Skin::formatLinksInComment was removed (deprecated since 1.21).
3037 * Skin::formatRevisionSize was removed (deprecated since 1.21).
3038 * Skin::formatSize was removed (deprecated since 1.21).
3039 * Skin::formatTemplates was removed (deprecated since 1.21).
3040 * Skin::generateTOC was removed (deprecated since 1.21).
3041 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
3042 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
3043 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
3044 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
3045 * Skin::getLinkColour was removed (deprecated since 1.21).
3046 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
3047 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
3048 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
3049 * Skin::makeCommentLink was removed (deprecated since 1.21).
3050 * Skin::makeExternalImage was removed (deprecated since 1.21).
3051 * Skin::makeExternalLink was removed (deprecated since 1.21).
3052 * Skin::makeHeadline was removed (deprecated since 1.21).
3053 * Skin::makeImageLink was removed (deprecated since 1.21).
3054 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
3055 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
3056 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
3057 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
3058 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
3059 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
3060 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
3061 * Skin::processResponsiveImages was removed (deprecated since 1.21).
3062 * Skin::revComment was removed (deprecated since 1.21).
3063 * Skin::revDeleteLink was removed (deprecated since 1.21).
3064 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
3065 * Skin::revUserLink was removed (deprecated since 1.21).
3066 * Skin::revUserTools was removed (deprecated since 1.21).
3067 * Skin::specialLink was removed (deprecated since 1.21).
3068 * Skin::splitTrail was removed (deprecated since 1.21).
3069 * Skin::titleAttrib was removed (deprecated since 1.21).
3070 * Skin::tocIndent was removed (deprecated since 1.21).
3071 * Skin::tocLine was removed (deprecated since 1.21).
3072 * Skin::tocLineEnd was removed (deprecated since 1.21).
3073 * Skin::tocList was removed (deprecated since 1.21).
3074 * Skin::tocUnindent was removed (deprecated since 1.21).
3075 * Skin::tooltip was removed (deprecated since 1.21).
3076 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
3077 * Skin::userTalkLink was removed (deprecated since 1.21).
3078 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
3079 * wikidiff3 is now the default and only PHP diff engine. It provides improved
3080 diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3'
3081 therefore makes no difference now. Users are still recommended to use
3082 wikidiff2 if possible, though.
3083 * User::addNewUserLogEntry() was deprecated.
3084 * User::addNewUserLogEntryAutoCreate() was deprecated.
3085 * User::isPasswordReminderThrottled() was deprecated.
3086 * Bot-oriented parameters to Special:UserLogin (wpCookieCheck,
3087 wpSkipCookieCheck) were removed.
3088 * Installer can now be customized without patching MediaWiki code, see
3089 mw-config/overrides/README for details.
3090
3091 === Compatibility ===
3092
3093 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
3094 HHVM 3.6.5 or later.
3095
3096 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
3097 support for them is somewhat less mature. There is experimental support for
3098 Oracle and Microsoft SQL Server.
3099
3100 The supported versions are:
3101
3102 * MySQL 5.0.3 or later
3103 * PostgreSQL 8.3 or later
3104 * SQLite 3.3.7 or later
3105 * Oracle 9.0.1 or later
3106 * Microsoft SQL Server 2005 (9.00.1399)
3107
3108 === Upgrading ===
3109
3110 1.27 has several database changes since 1.26, and will not work without schema
3111 updates. Note that due to changes to some very large tables like the revision
3112 table, the schema update may take quite long (minutes on a medium sized site,
3113 many hours on a large site).
3114
3115 If upgrading from before 1.11, and you are using a wiki as a commons
3116 repository, make sure that it is updated as well. Otherwise, errors may arise
3117 due to database schema changes.
3118
3119 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
3120 new database fields are filled with data.
3121
3122 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
3123 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
3124 with MediaWiki 1.21.
3125
3126 Don't forget to always back up your database before upgrading!
3127
3128 See the file UPGRADE for more detailed upgrade instructions.
3129
3130 For notes on 1.26.x and older releases, see HISTORY.
3131
3132
3133 = MediaWiki 1.26 =
3134
3135 == MediaWiki 1.26.4 ==
3136
3137 This is a maintenance release of the MediaWiki 1.26 branch.
3138
3139 === Changes since 1.26.3 ===
3140 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
3141 made by MediaWiki via a proxy. Relying on the http_proxy environment
3142 variable is no longer supported.
3143 * (T124163) Fixed fatal error in DifferenceEngine under HHVM.
3144 * (T139565) SECURITY: API: Generate head items in the context of the given title
3145 * (T137264) SECURITY: XSS in unclosed internal links
3146 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
3147 * (T133147) SECURITY: Require login to preview user CSS pages
3148 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
3149 the top file
3150 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
3151 permissions
3152 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
3153 * (T115333) SECURITY: Check read permission when loading page content in
3154 ApiParse
3155 * Remove support for $wgWellFormedXml = false, all output is now well formed
3156
3157 == MediaWiki 1.26.3 ==
3158
3159 This is a maintenance release of the MediaWiki 1.26 branch.
3160
3161 === Changes since 1.26.2 ===
3162 * (T116266) Fixed undefined property notices in DairikiDiff under HHVM.
3163 * (T123166) Fix fatal error when importing pages to titles which cannot be
3164 created, such as invalid titles or titles the user is not allowed to edit.
3165 * (T122056) Old tokens are remaining valid within a new session
3166 * (T127114) Login throttle can be tricked using non-canonicalized usernames
3167 * (T123653) Cross-domain policy regexp is too narrow
3168 * (T123071) Incorrectly identifying http link in a's href attributes, due to
3169 m modifier in regex
3170 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
3171 * (T125283) Users occasionally logged in as different users after
3172 SessionManager deployment
3173 * (T103239) Patrol allows click catching and patrolling of any page
3174 * (T122807) [tracking] Check php crypto primatives
3175 * (T98313) Graphs can leak tokens, leading to CSRF
3176 * (T130947) Diff generation should use PoolCounter
3177 * (T133507) Careless use of $wgExternalLinkTarget is insecure
3178 * (T132874) API action=move is not rate limited
3179 * (T110143) strip markers can be used to get around html attribute escaping in
3180 (many?) parser tags
3181 * (T116030) Increase pbkdf2 parameter strengths
3182 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
3183 * (T126685) Globally throttle password attempts
3184
3185 == MediaWiki 1.26.2 ==
3186
3187 This is a maintenance release of the MediaWiki 1.26 branch.
3188
3189 === Changes since 1.26.1 ===
3190 * (T121892) Fix fatal error on some Special pages, introduced in 1.26.1.
3191
3192 == MediaWiki 1.26.1 ==
3193
3194 This is a maintenance release of the MediaWiki 1.26 branch.
3195
3196 === Changes since 1.26.0 ===
3197 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
3198 that do not begin with a slash. This enabled trivial XSS attacks.
3199 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
3200 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
3201 error.
3202 * (T119309) SECURITY: Use hash_compare() for edit token comparison
3203 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
3204 with '@' as file uploads
3205 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
3206 longer be shorter than $wgMinimalPasswordLength
3207 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
3208 result in improper blocks being issued
3209 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
3210 and related pages no longer use HTTP redirects and are now redirected by
3211 MediaWiki
3212 * Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy.
3213 * Fixed stray literal \n in Special:Search.
3214 * Fix issue that breaks HHVM Repo Authorative mode.
3215 * (T120267) Work around APCu memory corruption bug
3216
3217 == MediaWiki 1.26.0 ==
3218
3219 === Configuration changes in 1.26 ===
3220 * $wgPasswordResetRoutes['email'] = true by default.
3221 * $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE
3222 instead if you want to disable the parser cache.
3223 * New-style continuation is now the default for API action=continue. Clients may
3224 use the 'rawcontinue' parameter to receive raw query-continue data, but the
3225 new style is encouraged as it's harder to implement incorrectly.
3226 * Deprecated API formats dump and wddx have been completely removed.
3227 * (T7645) The "Signature" button on the edit toolbar is now hidden by default
3228 in non-talk namespaces. A new configuration variable,
3229 $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces
3230 the "Signature" button on the edit toolbar will be displayed.
3231 * $wgResourceLoaderUseESI was deprecated and removed. This was an experimental
3232 feature that was never enabled by default.
3233 * $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed.
3234 This experimental feature was never enabled by default and is obsolete as of
3235 MediaWiki 1.26, in where ResourceLoader became fully asynchronous.
3236 * $wgMasterWaitTimeout was removed (deprecated in 1.24).
3237 * Fields in ParserOptions are now private. Use the accessors instead.
3238 * Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or
3239 in extension.json) have been removed, after being deprecated in 1.24.
3240 * $wgAlwaysUseTidy has been removed.
3241 * ResetSessionID hook has been removed. Nothing seems to use it.
3242 * Certain AuthPlugin methods are deprecated in favor of new hooks:
3243 ** AuthPlugin::initUser() is replaced by LocalUserCreated.
3244 ** AuthPlugin::updateUser() is replaced by UserLoggedIn.
3245 ** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings.
3246 ** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged.
3247 ** AuthPluginUser::isHidden() is replaced by UserIsHidden.
3248 ** AuthPluginUser::isLocked() is replaced by UserIsLocked.
3249 * The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
3250 * AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace
3251 the passed User object.
3252 * $wgBlockAllowsUTEdit is now set to true by default. This allows
3253 blocked users to edit their talk pages unless explicitly disabled
3254 when they are being blocked.
3255
3256 === New features in 1.26 ===
3257 * (T51506) Now action=info gives estimates of actual watchers for a page.
3258 See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret
3259 to learn how to configure if needed.
3260 * Change tags can now be hidden in the interface by disabling the associated
3261 "tag-<id>" interface message.
3262 * ':' (colon) is now invalid in usernames for new accounts. Existing accounts
3263 are not affected.
3264 * Added a new hook, 'LogException', to log exceptions in nonstandard ways.
3265 * Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
3266 search results are rendered. The initial use case is to append a "give us
3267 feedback" link beneath the search results.
3268 * Added a new hook, 'RejectParserCacheValue', which allows extensions to
3269 reject an otherwise-successful parser cache lookup. The intent is to allow
3270 extensions to manage the eviction of archaic HTML output from the cache.
3271 * (T68699) The expiration of the UserID and Token login cookies
3272 ($wgExtendedLoginCookieExpiration) can be configured independently of the
3273 expiration of all other cookies ($wgCookieExpiration).
3274 * (T50519) Support for generating JPEG/PNG thumbnails from WebP images added
3275 if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading
3276 of WebP images still disabled by default. Add $wgFileExtensions[] =
3277 'webp'; to LocalSettings.php to enable uploading of WebP images.
3278 * Added new hooks 'EnhancedChangesListModifyLineData' &
3279 'EnhancedChangesListModifyBlockLineData', to modify the data used to build
3280 lines in enhanced recentchanges and watchlist.
3281 * Caches that need purging ability now use the WANObjectCache interface.
3282 This corresponds to a new $wgMainWANCache setting, which defaults to using
3283 the $wgMainCacheType settings.
3284 * Callers needing fast light-weight data stores use $wgMainStash to select
3285 the store type from $wgObjectCaches. The default is the local database.
3286 * Interface message overrides in the MediaWiki namespace will now be cached in
3287 memcached and APC (if available), rather than memcached and local files.
3288 * Added a new hook, 'RandomPageQuery', to allow modification of the query used
3289 by Special:Random to select random pages.
3290 * $wgTransactionalTimeLimit was added, which controls the request time limit
3291 for potentially slow POST requests that need to be as atomic as possible.
3292 * ResourceLoader now loads all scripts asynchronously. The top-queue and
3293 startup modules are no longer synchronously loaded.
3294 * 'mediawiki.ui.button' styles are no longer unconditionally loaded on every
3295 page. During the deprecation period, the styles will only be loaded on pages
3296 which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will
3297 only be loaded if explicitly required.
3298 * If search returns zero results and current search engine has a "did you mean"
3299 suggestion, results for suggestion will be shown. Can be disabled by setting
3300 $wgSearchRunSuggestedQuery to false.
3301 * Added several JavaScript libraries for uploading files to MediaWiki
3302 from the client-side. See documentation for mw.Upload and its
3303 subclasses for more information.
3304 * Added OOUI dialogs and layout for file upload interfaces. See
3305 documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its
3306 subclasses for more information.
3307
3308 === extension.json changes in 1.26 ===
3309 * (T99344) The extension.json schema is now versioned. All extensions
3310 and skins should set a "manifest_version" property corresponding to
3311 the schema version they were written for. The only supported version
3312 currently is "1".
3313 * (T102523) The error message if a non-array attribute is set was improved.
3314 * (T107646) Configuration settings can now specify how they should be merged,
3315 which is necessary for arrays using integer keys.
3316 * (T110389) Adding namespaces through extension.json now actually works
3317 * $wgNamespaceProtection can now be set in extension.json.
3318 * $wgCapitalLinkOverrides can now be set in extension.json.
3319 * (T97186) Extensions using a custom prefix for their configuration settings
3320 can now set a "_prefix" key to override the default of "wg".
3321 * (T99084) Extensions can now specify what MediaWiki core versions they
3322 depend upon.
3323 * (T105236) The extension.json schema now validates custom classes in
3324 the "ResourceModules" property properly.
3325
3326 === External library changes in 1.26 ===
3327 ==== Upgraded external libraries ====
3328 * Updated es5-shim from v4.0.0 to v4.1.5.
3329 * Updated json2 from revision 2014-02-04 to 2015-05-03.
3330 * Updated Sinon.JS from 1.10.3 to 1.15.4.
3331 * Updated jQuery Client from v1.0.0 to v2.0.0.
3332 * Updated QUnit from v1.17.1 to v1.18.0.
3333 * Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16.
3334 * Updated oojs/oojs-ui from v0.11.3 to v0.12.12.
3335 * Updated wikimedia/cdb from v1.0.1 to v1.3.0.
3336 * Updated wikimedia/utfnormal from v1.0.2 to v1.0.3.
3337 * Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0.
3338 * Updated zordius/lightncandy from v0.18 to v0.21.
3339
3340 ==== New external libraries ====
3341 * Added composer/semver v1.0.0.
3342 * Added mediawiki/at-ease v1.1.0.
3343 * Added wikimedia/assert v0.2.2.
3344 * Added wikimedia/ip-set v1.0.1.
3345 * Added wikimedia/wrappedstring v2.0.0.
3346
3347 ==== Removed and replaced external libraries ====
3348 * Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9.
3349
3350 === Bug fixes in 1.26 ===
3351 * (T53283) load.php sometimes sends 304 response without full headers
3352 * (T65198) Talk page tabs now have a "rel=discussion" attribute
3353 * (T98841) {{msgnw:}} now preserves comments even when subst: is not used.
3354 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
3355 value if set to an empty string.
3356
3357 === Action API changes in 1.26 ===
3358 * New-style continuation is now the default for action=continue. Clients may
3359 use the 'rawcontinue' parameter to receive raw query-continue data, but the
3360 new style is encouraged as it's harder to implement incorrectly.
3361 * Deprecated API formats dump and wddx have been completely removed.
3362 * API action=query&list=tags: The displayname can now be boolean false if the
3363 tag is meant to be hidden from user interfaces.
3364 * action=import no longer allows both the namespace= and rootpage= parameters
3365 to be set. If they are both set, the value of rootpage= will be ignored.
3366 * prop=revision output in enum mode is now sorted by timestamp rather than
3367 revision ID. This usually won't make any difference.
3368 * (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array
3369 with formatversion=2.
3370 * Various other output from meta=siteinfo will now always be arrays instead of
3371 sometimes being numerically-indexed objects with formatversion=2.
3372 * When errors about users being blocked are returned, they now include
3373 information about the relevant block.
3374 * (T99926) list=random has higher limits, in line with other API modules.
3375 * list=random's rnredirect parameter is deprecated in favor of a new
3376 rnfilterredir parameter that also allows for listing both redirects and
3377 non-redirects.
3378 * list=random now supports continuation.
3379 * API responses to GET requests may now include ETag and Last-Modified headers,
3380 and will honor corresponding If-None-Match and If-Modified-Since on such
3381 requests.
3382
3383 === Action API internal changes in 1.26 ===
3384 * New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key
3385 into the value when the value is an assoc.
3386 * API action modules may now provide values for the RFC 7232 ETag and
3387 Last-Modified headers. The API will check these against If-None-Match and
3388 If-Modified-Since request headers on GET requests and avoid executing the
3389 module when appropriate.
3390
3391 === Languages updated in 1.26 ===
3392
3393 MediaWiki supports over 350 languages. Many localisations are updated
3394 regularly. Below only new and removed languages are listed, as well as
3395 changes to languages because of Phabricator reports.
3396
3397 * Languages added:
3398 ** ase (American sign language), thanks to translator Icemandeaf
3399 ** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द,
3400 मेश सिंह बोहरा, and राम प्रसाद जोशी
3401 ** luz (لئری دوٙمینی / Southern Luri)
3402 ** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin
3403 Natoi, Ilja.mos, and Mashoi7
3404
3405 === Other changes in 1.26 ===
3406 * ChangeTags::tagDescription() will return false if the interface message
3407 for the tag is disabled.
3408 * Added PageHistoryPager::doBatchLookups hook.
3409 * Added $wikiId parameter to FormatAutocomments hook.
3410 * Added ParserCacheSaveComplete to ParserCache
3411 * supportsDirectEditing and supportsDirectApiEditing methods added to
3412 ContentHandler, to provide a way for ApiEditPage and EditPage to check
3413 if direct editing of content is allowed. These methods return false,
3414 by default for the ContentHandler base class and true for TextContentHandler
3415 and it's derivative classes (everything in core). For Content types that
3416 do not support direct editing, an alternative mechanism should be provided
3417 for editing, such as action overrides or specific api modules.
3418 * mediaWiki.confirmCloseWindow now returns an object of functions, instead of
3419 one function. The callback can't be called directly any more. The callback
3420 function is replaced with confirmCloseWindow.release().
3421 * BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to
3422 ResourceLoaderModule::getDependencies(). Extension classes that override that
3423 method should be updated. If they aren't updated, PHP Strict standards
3424 warnings will appear when E_STRICT error reporting is enabled. Note: in the
3425 near future, this parameter will probably become non-optional.
3426 * Removed maintenance script deleteImageMemcached.php.
3427 * MWFunction::newObj() was removed (deprecated in 1.25).
3428 ObjectFactory::getObjectFromSpec() should be used instead.
3429 * The parser will no longer randomize the string it uses to mark the place of
3430 items that were stripped during parsing. It will use a fixed string instead.
3431 This causes the parser to re-use the regular expressions it uses to search
3432 and replace markers rather than generate novel expressions on each parse.
3433 Re-using regular expressions will improve performance on HHVM and the
3434 forthcoming PHP 7. The interfaces changes accompanying this change are:
3435 - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated.
3436 - The $uniq_prefix argument for Parser::extractTagsAndParams() and the
3437 $prefix argument for StripState::_construct() are deprecated and their
3438 value is ignored.
3439 * wfSuppressWarnings() and wfRestoreWarnings() were split into a separate
3440 library, mediawiki/at-ease, and are now deprecated. Callers should use
3441 MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly.
3442 * The Block class constructor now takes an associative array of parameters
3443 instead of many optional positional arguments. Calling the constructor the old
3444 way will issue a deprecation warning.
3445 * The jquery.mwExtension module was deprecated.
3446 * $wgSpecialPageGroups was removed (deprecated in 1.21).
3447 * SpecialPageFactory::setGroup was removed (deprecated in 1.21).
3448 * SpecialPageFactory::getGroup was removed (deprecated in 1.21).
3449 * DatabaseBase::ignoreErrors() is now protected.
3450 * BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following
3451 a lengthy deprecation period.
3452 * The ScopedPHPTimeout class was removed.
3453 * Removed maintenance script fixSlaveDesync.php.
3454 * Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption()
3455 are deprecated. Applications using those can work via the OAuth
3456 extension instead. New tokens types should not be added.
3457 * DatabaseBase::errorCount() was removed (unused).
3458 * $wgDeferredUpdateList was removed.
3459 * DeferredUpdates::addHTMLCacheUpdate() was removed.
3460
3461 = MediaWiki 1.25 =
3462
3463 == MediaWiki 1.25.6 ==
3464
3465 This is a maintenance release of the MediaWiki 1.25 branch.
3466
3467 === Changes since 1.25.5 ===
3468 * (T123166) Fix fatal error when importing pages to titles which cannot be
3469 created, such as invalid titles or titles the user is not allowed to edit.
3470 * (T122056) Old tokens are remaining valid within a new session
3471 * (T127114) Login throttle can be tricked using non-canonicalized usernames
3472 * (T123653) Cross-domain policy regexp is too narrow
3473 * (T123071) Incorrectly identifying http link in a's href attributes, due to
3474 m modifier in regex
3475 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
3476 * (T125283) Users occasionally logged in as different users after
3477 SessionManager deployment
3478 * (T103239) Patrol allows click catching and patrolling of any page
3479 * (T122807) [tracking] Check php crypto primatives
3480 * (T98313) Graphs can leak tokens, leading to CSRF
3481 * (T130947) Diff generation should use PoolCounter
3482 * (T133507) Careless use of $wgExternalLinkTarget is insecure
3483 * (T132874) API action=move is not rate limited
3484 * (T110143) strip markers can be used to get around html attribute escaping in
3485 (many?) parser tags
3486 * (T116030) Increase pbkdf2 parameter strengths
3487 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
3488 * (T126685) Globally throttle password attempts
3489
3490 == MediaWiki 1.25.5 ==
3491
3492 This is a maintenance release of the MediaWiki 1.25 branch.
3493
3494 === Changes since 1.25.4 ===
3495 * (T121892) Fix fatal error on some Special pages, introduced in 1.25.4.
3496
3497 == MediaWiki 1.25.4 ==
3498
3499 This is a security and maintenance release of the MediaWiki 1.25 branch.
3500
3501 === Changes since 1.25.3 ===
3502 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
3503 that do not begin with a slash. This enabled trivial XSS attacks.
3504 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
3505 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
3506 error.
3507 * (T119309) SECURITY: Use hash_compare() for edit token comparison
3508 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
3509 with '@' as file uploads
3510 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
3511 longer be shorter than $wgMinimalPasswordLength
3512 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
3513 result in improper blocks being issued
3514 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
3515 and related pages no longer use HTTP redirects and are now redirected by
3516 MediaWiki
3517 * (T103237) $wgUseGzip had no effect when using file cache.
3518 * (T114606) mw.notify was not correctly fixed to the page if
3519 initialized while not at the top of the page.
3520 * Fix issue that breaks HHVM Repo Authorative mode.
3521
3522 == MediaWiki 1.25.3 ==
3523
3524 This is a security and maintenance release of the MediaWiki 1.25 branch.
3525
3526 === Changes since 1.25.2 ===
3527
3528 * (T98975) Fix having multiple callbacks for a single hook.
3529 * (T107632) maintenance/refreshLinks.php did not always remove all links
3530 pointing to nonexistent pages.
3531 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
3532 value if set to an empty string.
3533 * (T62174) Provide fallbacks for use of mb_convert_encoding() in
3534 HtmlFormatter. It was causing an error when accessing the api help page
3535 if the mbstring PHP extension was not installed.
3536 * (T105896) Confirmation emails would sometimes contain invalid codes.
3537 * (T105597) Fixed edit stash inclusion queries.
3538 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
3539 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
3540 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
3541 first
3542 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
3543
3544 == MediaWiki 1.25.2 ==
3545
3546 This is a security and maintenance release of the MediaWiki 1.25 branch.
3547
3548 === Changes since 1.25.1 ===
3549
3550 * (T94116) SECURITY: Compare API watchlist token in constant time
3551 * (T97391) SECURITY: Escape error message strings in thumb.php
3552 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
3553 Special:DeletedContributions
3554 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
3555 policy of Wikimedia Commons.
3556 * (T100767) Setting a configuration setting for skin or extension to
3557 false in LocalSettings.php was not working.
3558 * (T100635) API action=opensearch json output no longer breaks when
3559 $wgDebugToolbar is enabled.
3560 * (T102522) Using an extension.json or skin.json file which has
3561 a "manifest_version" property for 1.26 compatability will no longer
3562 trigger warnings.
3563 * (T86156) Running updateSearchIndex.php will not throw an error as
3564 page_restrictions has been added to the locked table list.
3565 * Special:Version would throw notices if using SVN due to an incorrectly
3566 named variable. Add an additional check that an index is defined.
3567
3568 == MediaWiki 1.25.1 ==
3569
3570 This is a bug fix release of the MediaWiki 1.25 branch.
3571
3572 === Changes since 1.25 ===
3573 * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension
3574
3575 == MediaWiki 1.25.0 ==
3576
3577 === Configuration changes in 1.25 ===
3578 * $wgPageShowWatchingUsers was removed.
3579 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
3580 * $wgAntiLockFlags was removed.
3581 * $wgJavaScriptTestConfig was removed.
3582 * Edit tokens returned from User::getEditToken may change on every call. Token
3583 validity must be checked by passing the user-supplied token to
3584 User::matchEditToken rather than by testing for equality with a
3585 newly-generated token.
3586 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
3587 for its $context parameter. Formerly it was documented as receiving a
3588 RequestContext specifically.
3589 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
3590 See StartProfiler.sample for details.
3591 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
3592 might be a flash policy directive configurable.
3593 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
3594 longer be used. If extracts and page images are desired, the TextExtracts and
3595 PageImages extensions are required.
3596 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
3597 * Edits are now prepared via AJAX as users type edit summaries. This behavior
3598 can be disabled via $wgAjaxEditStash.
3599 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
3600 with the jQuery Migrate library, as indicated when this option was provided in
3601 MediaWiki 1.24.
3602 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
3603 StartProfiler.php config is updated to reflect this. Xhprof is available
3604 for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
3605 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
3606 rather than 'rsvg'.
3607 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
3608 background with white fallback color, rather than just white background.
3609 * MediaWikiBagOStuff class removed, make sure any object cache config
3610 uses SqlBagOStuff instead.
3611 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
3612 job queues. This means that mediawiki/services/jobrunner service has to
3613 be installed and running for any such queues to work.
3614 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
3615 compatibility, any 'view' event triggers will still trigger on 'edit'.
3616 * $wgExtensionDirectory was added for when your extensions directory is
3617 somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins
3618 directory).
3619
3620 === New features in 1.25 ===
3621 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
3622 for plural forms in Russian, Prussian, Tagalog, Manx and several languages
3623 that fall back to Russian.
3624 * (T60139) ResourceLoaderFileModule now supports language fallback
3625 for 'languageScripts'.
3626 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify
3627 the parser output for a content object before links update.
3628 * (T37785) Enhanced recent changes and extended watchlist are now default.
3629 Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
3630 and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
3631 * (T69341) SVG images will no longer be base64-encoded when being embedded
3632 in CSS. This results in slight size increase before gzip compression (due to
3633 percent-encoding), but up to 20% decrease after it.
3634 * Update jStorage to v0.4.12.
3635 * MediaWiki now natively supports page status indicators: icons (or short text
3636 snippets) usually displayed in the top-right corner of the page. They have
3637 been in use on Wikipedia for a long time, implemented using templates and CSS
3638 absolute positioning.
3639 - Basic wikitext syntax:
3640 <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
3641 - Usage instructions:
3642 https://www.mediawiki.org/wiki/Help:Page_status_indicators
3643 - Adjusting custom skins to support indicators:
3644 https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
3645 * Edit tokens may now be time-limited: passing a maximum age to
3646 User::matchEditToken will reject any older tokens.
3647 * The debug logging internals have been overhauled, and are now using the
3648 PSR-3 interfaces.
3649 * Update CSSJanus to v1.1.1.
3650 * Update lessphp to v0.5.0.
3651 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
3652 and images for ApiOpenSearch output. The semantics are identical to the
3653 "OpenSearchXml" hook provided by the OpenSearchXml extension.
3654 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
3655 this allows for pagination of prefix results. Extensions using this hook
3656 should implement supporting behavior. Not doing so can result in undefined
3657 behavior from API clients trying to continue through prefix results.
3658 * Update jQuery from v1.11.1 to v1.11.3.
3659 * External libraries installed via composer will now be displayed
3660 on Special:Version in their own section. Extensions or skins that are
3661 installed via composer will not be shown in this section as it is assumed
3662 they will add the proper credits to the skins or extensions section. They
3663 can also be accessed through the API via the new siprop=libraries to
3664 ApiQuerySiteInfo.
3665 * Update QUnit from v1.14.0 to v1.16.0.
3666 * Update Moment.js from v2.8.3 to v2.8.4.
3667 * Special:Tags now allows for manipulating the list of user-modifiable change
3668 tags.
3669 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
3670 and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
3671 tags.
3672 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
3673 "active" formerly conflated by the 'ListDefinedTags' hook.
3674 * Added TemplateParser class that provides a server-side interface to cachable
3675 dynamically-compiled Mustache templates (currently uses lightncandy library).
3676 * Clickable anchors for each section heading in the content are now generated
3677 and appear in the gutter on hovering over the heading.
3678 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink'
3679 hooks to allow extensions to override how links to pages are rendered within
3680 NS_CATEGORY
3681 * (T19665) Special:WantedPages only lists page which having at least one red
3682 link pointing to it.
3683 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
3684 used for conditional registration of API modules.
3685 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
3686 links of a group of changes in EnhancedChangesList.
3687 * A full interface for StatsD metric reporting has been added to the context
3688 interface, reachable via IContextSource::getStats().
3689 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
3690 proper, published library, which is now tagged as v1.0.0.
3691 * A new message (defaulting to blank), 'editnotice-notext', can be shown to
3692 users when they are editing if no edit notices apply to the page being edited.
3693 * (T94536) You can now make the sitenotice appear to logged-in users only by
3694 editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
3695 "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
3696 * Modifying the tagging of a revision or log entry is now available via
3697 Special:EditTags, generally accessed via the revision-deletion-like interface
3698 on history pages and Special:Log is likely to be more useful.
3699 * Added 'applychangetags' and 'changetags' user rights.
3700 * (T35235) LogFormatter subclasses are now responsible for formatting the
3701 parameters for API log event output. Extensions should implement the new
3702 getParametersForApi() method in their log formatters.
3703
3704 ==== External libraries ====
3705 * MediaWiki now requires certain external libraries to be installed. In the past
3706 these were bundled inside the Git repository of MediaWiki core, but now they
3707 need to be installed separately. For users using the tarball, this will be
3708 taken care of and no action will be required. Users using Git will either need
3709 to use composer to fetch dependencies or use the mediawiki/vendor repository
3710 which includes all dependencies for MediaWiki core and ones used in Wikimedia
3711 deployment. Detailed instructions can be found at:
3712 https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
3713 * The following libraries are now required:
3714 ** psr/log
3715 This library provides the interfaces set by the PSR-3 standard
3716 (http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally
3717 via the MediaWiki\Logger\LoggerFactory class.
3718 See the structured logging RfC
3719 <https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging>
3720 for more background information.
3721 ** cssjanus/cssjanus
3722 This library was formerly bundled with MediaWiki core and has been removed.
3723 It automatically flips CSS for RTL support.
3724 ** leafo/lessphp
3725 This library was formerly bundled with MediaWiki core and has been removed.
3726 It compiles LESS files into CSS.
3727 ** wikimedia/cdb
3728 This library was formerly a part of MediaWiki core, and has been moved into a
3729 separate library. It provides CDB functions which are used in the Interwiki
3730 and Localization caches. More information about the library can be found at
3731 https://www.mediawiki.org/wiki/CDB.
3732 ** liuggio/statsd-php-client
3733 This library provides a StatsD client API for logging application metrics to
3734 a remote server.
3735
3736 === Bug fixes in 1.25 ===
3737 * (T73003) No additional code will be generated to try to load CSS-embedded
3738 SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
3739 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
3740 10- and 13-digit forms) containing "X".
3741 * Page moving was refactored into a MovePage class. As part of that:
3742 ** The AbortMove hook was removed.
3743 ** MovePageIsValidMove is for extensions to specify whether a page
3744 cannot be moved for technical reasons, and should not be overridden.
3745 ** MovePageCheckPermissions is for checking whether the given user is
3746 allowed to make the move.
3747 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
3748 ** Title::moveTo() was deprecated. Use the MovePage class instead.
3749 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
3750 and MovePage::checkPermissions().
3751 * (T18530) Multiple autocomments are now formatted in an edit summary.
3752 * (T70361) Autocomments containing "/*" are parsed correctly.
3753 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
3754 on action=info about a file page does not list file links anymore.
3755 * (T78637) Search bar is not autofocused unless it is empty so that proper
3756 scrolling using arrow keys is possible.
3757 * (T50853) Database::makeList() modified to handle 'NULL' separately when
3758 building IN clause
3759 * (T85192) Captcha position modified in Usercreate template. As a result:
3760 ** extrafields parameter added to Usercreate.php to insert additional data
3761 ** 'extend' method added to QuickTemplate to append additional values to any
3762 field of data array
3763 * (T86974) Several Title methods now load from the database when necessary
3764 (instead of returning incorrect results) even when the page ID is known.
3765 * (T74070) Duplicate search for archived files on file upload now omits the
3766 extension.
3767 This requires the fa_sha1 field being populated.
3768 * Removed rel="archives" from the "View history" link, as it did not pass
3769 HTML validation.
3770 * $wgUseTidy is now set when parserTests are run with the tidy option to match
3771 output on wiki.
3772 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed
3773 to it.
3774 * (T72109) mediawiki.language should respect $wgTranslateNumerals in
3775 convertNumber().
3776
3777 === Action API changes in 1.25 ===
3778 * (T67403) XML tag highlighting is now only performed for formats
3779 "xmlfm" and "wddxfm".
3780 * action=paraminfo supports generalized submodules (modules=query+value),
3781 querymodules and formatmodules are deprecated
3782 * action=paraminfo no longer outputs descriptions and other help text by
3783 default. If needed, it may be requested using the new 'helpformat' parameter.
3784 * action=help has been completely rewritten, and outputs help in HTML
3785 rather than plain text.
3786 * Hitting api.php without specifying an action now displays only the help for
3787 the main module, with links to submodule help.
3788 * API help is no longer displayed on errors.
3789 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
3790 explicitly select the language from the current user's preferences, and
3791 "uselang=content" may be used to select the wiki's content language.
3792 * Default output format for the API is now jsonfm.
3793 * Simplified continuation will return a "batchcomplete" property in the result
3794 when a batch of pages is complete.
3795 * Pretty-printed HTML output now has nicer formatting and (if available)
3796 better syntax highlighting.
3797 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
3798 list=alldeletedrevisions.
3799 * prop=revisions will gracefully continue when given too many revids or titles,
3800 rather than just ignoring the extras.
3801 * prop=revisions will no longer die if rvcontentformat doesn't match a
3802 revision's content model; it will instead warn and omit the content.
3803 * If the user has the 'deletedhistory' right, action=query's revids parameter
3804 will now recognize deleted revids.
3805 * prop=revisions may be used as a generator, generating revids.
3806 * (T68776) format=json results will no longer be corrupted when
3807 $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
3808 error instead of returning invalid serialized data.
3809 * Generators may now return data for the generated pages when used with
3810 action=query.
3811 * Query page data for generator=search and generator=prefixsearch will now
3812 include an "index" field, which may be used by the client for sorting the
3813 search results.
3814 * ApiOpenSearch now supports XML output.
3815 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
3816 in JSON format.
3817 * (T76051) list=tags will now continue correctly.
3818 * (T76052) list=tags can now indicate whether a tag is defined.
3819 * (T75522) list=prefixsearch now supports continuation
3820 * (T78737) action=expandtemplates can now return page properties.
3821 * (T78690) list=allimages now accepts multiple pipe-separated values
3822 for the 'aimime' parameter.
3823 * prop=info with inprop=protections will now return applicable protection types
3824 with the 'restrictiontypes' key.
3825 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
3826 interwiki redirects to the list of interwiki titles.
3827 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
3828 property (like the existing 'tofragment' property) will be set.
3829 * Added action=managetags to allow for managing the list of
3830 user-modifiable change tags. Actually modifying the tagging of a revision or
3831 log entry is not implemented yet.
3832 * list=tags has additional properties to indicate 'active' status and tag
3833 sources.
3834 * siprop=libraries was added to ApiQuerySiteInfo to list installed external
3835 libraries.
3836 * (T88010) Added action=checktoken, to test a CSRF token's validity.
3837 * (T88010) Added intestactions to prop=info, to allow querying of
3838 Title::userCan() via the API.
3839 * Default type param for query list=watchlist and list=recentchanges has
3840 been changed from all types (e.g. including 'external') to 'edit|new|log'.
3841 * Added formatversion to format=json. Still "experimental" as further changes
3842 to the output formatting might still be made.
3843 * (T73020) Log event details are now always under a 'params' subkey for
3844 list=logevents, and a 'logparams' subkey for list=watchlist and
3845 list=recentchanges.
3846 * Log event details are changing formatting:
3847 * block events now report flags as an array rather than as a comma-separated
3848 list.
3849 * patrol events now report the 'auto' flag as a boolean (absent/empty string
3850 for BC formats) rather than as an integer.
3851 * rights events now report the old and new group lists as arrays rather than
3852 as comma-separated lists.
3853 * merge events use new-style formatting.
3854 * delete/event and delete/revision events use new-style formatting.
3855 * The root node and various other nodes will now always be an object in formats
3856 such as json that distinguish between arrays and objects.
3857 * Except for action=opensearch where the spec requires an array.
3858
3859 === Action API internal changes in 1.25 ===
3860 * ApiHelp has been rewritten to support i18n and paginated HTML output.
3861 Most existing modules should continue working without changes, but should do
3862 the following:
3863 * Add an i18n message "apihelp-{$moduleName}-description" to replace
3864 getDescription().
3865 * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
3866 to replace getParamDescription(). If necessary, the settings array returned
3867 by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
3868 message.
3869 * Implement getExamplesMessages() to replace getExamples().
3870 * Modules with submodules (like action=query) must have their submodules
3871 override ApiBase::getParent() to return the correct parent object.
3872 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
3873 and will have no effect for modules using i18n messages. Use
3874 'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
3875 * Api formatters will no longer be asked to display the help screen on errors.
3876 * ApiMain::getCredits() was removed. The credits are available in the
3877 'api-credits' i18n message.
3878 * ApiFormatBase has been changed to support i18n and syntax highlighting via
3879 extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
3880 has been removed.
3881 * ApiFormatBase now always buffers. Output is done when
3882 ApiFormatBase::closePrinter is called.
3883 * Much of the logic in ApiQueryRevisions has been split into
3884 ApiQueryRevisionsBase.
3885 * The 'revids' parameter supplied by ApiPageSet will now count deleted
3886 revisions as "good" if the user has the 'deletedhistory' right. New methods
3887 ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
3888 provided to access just the live or just the deleted revids.
3889 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
3890 to allow generators to include data in the action=query result.
3891 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
3892 used for conditional registration of API modules.
3893 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
3894 the current request was sent with the 'callback' parameter (or any future
3895 method that breaks the same-origin policy).
3896 * Profiling methods in ApiBase are deprecated and no longer need to be called.
3897 * ApiResult was greatly overhauled. See inline documentation for details.
3898 * ApiResult will automatically convert objects to strings or arrays (depending
3899 on whether a __toString() method exists on the object), and will refuse to
3900 add unsupported value types.
3901 * An informal interface, ApiSerializable, exists to override the default
3902 object conversion.
3903 * ApiResult/ApiFormatBase "raw mode" is deprecated.
3904 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
3905 metadata isn't set.
3906 * (T35235) LogFormatter subclasses are now responsible for formatting log event
3907 parameters for the API.
3908 * Many modules have changed result data formats. While this shouldn't affect
3909 clients not using the experimental formatversion=2, code using
3910 ApiResult::getResultData() without the transformations for backwards
3911 compatibility may need updating, as will code that wasn't following the old
3912 conventions for API boolean output.
3913 * The following methods have been deprecated and may be removed in a future
3914 release:
3915 * ApiBase::getDescription
3916 * ApiBase::getParamDescription
3917 * ApiBase::getExamples
3918 * ApiBase::makeHelpMsg
3919 * ApiBase::makeHelpArrayToString
3920 * ApiBase::makeHelpMsgParameters
3921 * ApiBase::getModuleProfileName
3922 * ApiBase::profileIn
3923 * ApiBase::profileOut
3924 * ApiBase::safeProfileOut
3925 * ApiBase::getProfileTime
3926 * ApiBase::profileDBIn
3927 * ApiBase::profileDBOut
3928 * ApiBase::getProfileDBTime
3929 * ApiBase::getResultData
3930 * ApiFormatBase::setUnescapeAmps
3931 * ApiFormatBase::getWantsHelp
3932 * ApiFormatBase::setHelp
3933 * ApiFormatBase::formatHTML
3934 * ApiFormatBase::setBufferResult
3935 * ApiFormatBase::getDescription
3936 * ApiFormatBase::getNeedsRawData
3937 * ApiMain::setHelp
3938 * ApiMain::reallyMakeHelpMsg
3939 * ApiMain::makeHelpMsgHeader
3940 * ApiResult::setRawMode
3941 * ApiResult::getIsRawMode
3942 * ApiResult::getData
3943 * ApiResult::setElement
3944 * ApiResult::setContent
3945 * ApiResult::setIndexedTagName_recursive
3946 * ApiResult::setIndexedTagName_internal
3947 * ApiResult::setParsedLimit
3948 * ApiResult::beginContinuation
3949 * ApiResult::setContinueParam
3950 * ApiResult::setGeneratorContinueParam
3951 * ApiResult::endContinuation
3952 * ApiResult::size
3953 * ApiResult::convertStatusToArray
3954 * ApiQueryImageInfo::getPropertyDescriptions
3955 * ApiQueryLogEvents::addLogParams
3956 * The following classes have been deprecated and may be removed in a future
3957 release:
3958 * ApiQueryDeletedrevs
3959
3960 === Languages updated in 1.25 ===
3961
3962 MediaWiki supports over 350 languages. Many localisations are updated
3963 regularly. Below only new and removed languages are listed, as well as
3964 changes to languages because of Bugzilla reports.
3965
3966 * Languages added:
3967 ** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey;
3968 ** bgn (بلوچی رخشانی / Western Balochi), thanks to translators
3969 Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali;
3970 ** ses (Koyraboro Senni), thanks to translator Songhay.
3971 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
3972 interface language to kk where unexpected.
3973 * The Chinese conversion table was substantially updated to fix a lot of
3974 bugs and ensure better reading experience for different variants.
3975
3976 === Other changes in 1.25 ===
3977 * (T45591) Links to MediaWiki.org translatable help were added to indicators,
3978 mostly in special pages. Local custom target titles can be placed in the
3979 relevant '(namespace-X|action name|special page name)-helppage' system
3980 message. Extensions can use the addHelpLink() function to do the same.
3981 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
3982 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
3983 migration guide for creators and users of custom skins that relied on it.
3984 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
3985 available on Special:Upload.
3986 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
3987 inline styles in the HTML.
3988 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
3989 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
3990 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
3991 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
3992 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since
3993 1.20)
3994 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
3995 since 1.20)
3996 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
3997 since 1.20)
3998 * Removed 'jquery.json' module. (deprecated since 1.24)
3999 Use the 'json' module and global JSON object instead.
4000 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
4001 Also, the former will now throw an MWException if called with one or more
4002 arguments.
4003 * Removed hitcounters and associated code.
4004 * The "temp" zone of the upload respository is now considered private. If it
4005 already exists (such as under the images/ directory), please make sure that
4006 the directory is not web readable (e.g. via a .htaccess file).
4007 * BREAKING CHANGE: In the XML dump format used by Special:Export and
4008 dumpBackup.php, the <model> and <format> tags now apprear before the <text>
4009 tag, instead of after the <text> and <sha1> tags.
4010 The new schema version is 0.10, the new schema URI is:
4011 https://www.mediawiki.org/xml/export-0.10.xsd
4012 * MWFunction::call() and MWFunction::callArray() were removed, having being
4013 deprecated in 1.22.
4014 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
4015 and getInternalLinkAttributes methods in Linker, and removed
4016 getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
4017 * Removed Sites class, which was deprecated in 1.21 and replaced by
4018 SiteSQLStore.
4019 * Added wgRelevantArticleId to the client-side config, for use on special pages.
4020 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
4021 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
4022 * Deprecated the TitleIsWikitextPage hook. Superseded by the
4023 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
4024 * Changed parsing of variables in schema (.sql) files:
4025 ** The substituted values are no longer parsed. (Formerly, several passes
4026 were made for each variable, so depending on the order in which variables
4027 were defined, variables might have been found inside encoded values. This
4028 is no longer the case.)
4029 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
4030 If string encoding is necessary, use the '{$var}' syntax instead.
4031 ** Variable names must only consist of one or more of the characters
4032 "A-Za-z0-9_".
4033 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
4034 does not exist yet variable B does, the latter may not be replaced.
4035 However, this difference is unlikely to arise in practice.
4036 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
4037 characters on both sides.
4038 * The FormatAutocomments hook will now receive $pre and $post as booleans,
4039 rather than as strings that must be prepended or appended to $comment.
4040 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
4041 newlines; but they can contain &nbsp; and other non-newline whitespace.
4042 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
4043 toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
4044 relied on this behavior, update your scripts' dependencies.
4045 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
4046 * HTMLForm::isVForm() is now deprecated.
4047 * You can no longer do this:
4048 $form = new HTMLForm( … );
4049 $form->setDisplayFormat( 'vform' ); // throws exception
4050 Instead, do this:
4051 $form = HTMLForm::factory( 'vform', … );
4052 * Deprecated Revision methods getRawUser(), getRawUserText() and
4053 getRawComment().
4054 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
4055 The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
4056 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
4057 renders them incorrectly when combined with border-radius or background-size.
4058 * Removed maintenance script dumpSisterSites.php.
4059 * DatabaseBase class constructors must be called using the array argument style.
4060 Ideally, DatabaseBase:factory() should be used instead in most cases.
4061 * Deprecated ParserOutput::addSecondaryDataUpdate and
4062 ParserOutput::getSecondaryDataUpdates.
4063 This is a hard deprecation, with getSecondaryDataUpdates returning an empty
4064 array and addSecondaryDataUpdate throwing an exception. These functions will
4065 be removed in 1.26, since they interfere with caching of ParserOutput objects.
4066 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject
4067 custom updates.
4068 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to
4069 perform updates when a page is re-rendered.
4070 * EditPage::attemptSave has been modified not to call handleStatus itself and
4071 instead just returns the Status object. Extension calling it should be aware
4072 of this.
4073 * Removed class DBObject. (unused since 1.10)
4074 * wfDiff() is deprecated.
4075 * The -m (maximum replication lag) option of refreshLinks.php was removed.
4076 It had no effect since MediaWiki 1.18 and should be removed from any cron
4077 jobs or similar scripts you may have set up.
4078 * (T85864) The following messages no longer support raw html: redirectto,
4079 thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
4080 retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
4081 protect-summary-cascade
4082 * All BloomCache related code has been removed. This was largely experimental.
4083 * $wgResourceModuleSkinStyles no longer supports per-module local or remote
4084 paths. They can only be set for the entire skin.
4085 * Removed global function swap(). (deprecated since 1.24)
4086 * Deprecated the ".php5" file extension entry points and the $wgScriptExtension
4087 configuration variable. Refer to the ".php" files instead. If you want
4088 ".php5" URLs to continue to work, set up redirects. In Apache, this can be
4089 done by enabling mod_rewrite and adding the following rules to your
4090 configuration:
4091
4092 RewriteEngine On
4093 RewriteBase /
4094 RewriteRule ^(.*)\.php5 $1.php [R=301,L]
4095
4096 * The global importScriptURI and importStylesheetURI functions, as well as the
4097 loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
4098 warnings through mw.log.warn when accessed.
4099
4100 = MediaWiki 1.24 =
4101
4102 == MediaWiki 1.24.6 ==
4103
4104 This is a maintenance release of the MediaWiki 1.24 branch.
4105
4106 === Changes since 1.24.5 ===
4107 * (T121892) Fix fatal error on some Special pages, introduced in 1.24.5.
4108
4109 == MediaWiki 1.24.5 ==
4110
4111 This is a security and maintenance release of the MediaWiki 1.23 branch.
4112
4113 === Changes since 1.24.4 ===
4114 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
4115 that do not begin with a slash. This enabled trivial XSS attacks.
4116 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
4117 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
4118 error.
4119 * (T119309) SECURITY: Use hash_compare() for edit token comparison
4120 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
4121 with '@' as file uploads
4122 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
4123 longer be shorter than $wgMinimalPasswordLength
4124 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
4125 result in improper blocks being issued
4126 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
4127 and related pages no longer use HTTP redirects and are now redirected by
4128 MediaWiki
4129 * (T103237) $wgUseGzip had no effect when using file cache.
4130
4131 == MediaWiki 1.24.4 ==
4132
4133 This is a security and maintenance release of the MediaWiki 1.24 branch.
4134
4135 === Changes since 1.24.3 ===
4136
4137 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
4138 * (T68650) Fix indexing of moved pages with PostgreSQL. Requires running
4139 update.php to fix.
4140 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
4141 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
4142 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
4143 first
4144 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
4145
4146 == MediaWiki 1.24.3 ==
4147
4148 This is a security and maintenance release of the MediaWiki 1.24 branch.
4149
4150 === Changes since 1.24.2 ===
4151
4152 * (T94116) SECURITY: Compare API watchlist token in constant time
4153 * (T97391) SECURITY: Escape error message strings in thumb.php
4154 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
4155 Special:DeletedContributions
4156 * Update jQuery from v1.11.2 to v1.11.3.
4157 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
4158 policy of Wikimedia Commons.
4159
4160 == MediaWiki 1.24.2 ==
4161
4162 This is a security and maintenance release of the MediaWiki 1.24 branch.
4163
4164 === Changes since 1.24.1 ===
4165
4166 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
4167 to prevent various DoS attacks.
4168 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
4169 likelihood of DoS.
4170 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
4171 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
4172 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
4173 * (T64685) SECURITY: Allow setting maximal password length to prevent DoS when
4174 using PBKDF2.
4175 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
4176 prevent XSS and protect viewer's privacy.
4177 * Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix
4178 loading these special pages when $wgAutoloadAttemptLowercase is false.
4179 * (bug T70087) Fix Special:ActiveUsers page for installations using
4180 PostgreSQL.
4181 * (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change
4182 and running update.php to fix.
4183
4184 == MediaWiki 1.24.1 ==
4185
4186 This is a security and maintenance release of the MediaWiki 1.24 branch.
4187
4188 === Changes since 1.24.0 ===
4189
4190 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
4191 could lead to xss. Permission to edit MediaWiki namespace is required to
4192 exploit this.
4193 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
4194 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
4195 part of its name.
4196 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
4197 * Fixed a couple of entries in RELEASE-NOTES-1.24.
4198 * (bug T76168) OutputPage: Add accessors for some protected properties.
4199 * (bug T74834) Make 1.24 branch directly installable under PostgreSQL.
4200
4201 == MediaWiki 1.24.0 ==
4202
4203 === Configuration changes in 1.24 ===
4204 * MediaWiki will no longer run if register_globals is enabled. It has been
4205 deprecated for 5 years now, and was removed in PHP 5.4. For more information
4206 about why, see <https://www.mediawiki.org/wiki/register_globals>.
4207 * MediaWiki now requires PHP's iconv extension. openSUSE users may need to
4208 install the php5-iconv package. Users of other systems may need to add
4209 extension=iconv.so to php.ini or recompile PHP without --without-iconv.
4210 * MediaWiki will no longer function if magic quotes are enabled. It has
4211 been deprecated for 5 years now, and was removed in PHP 5.4.
4212 * The server's canonical hostname is available as $wgServerName, which is
4213 exposed in both mw.config and ApiQuerySiteInfo.
4214 * Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch,
4215 for using the old schema of the page_props table, in case the respective
4216 schema update was not applied.
4217 * $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything'
4218 user option was removed. Use $wgNamespacesToBeSearchedDefault instead or
4219 if you used to have $wgDefaultUserOptions['searcheverything'] = 1.
4220 * $wgMasterWaitTimeout has been deprecated.
4221 * $wgDBClusterTimeout has been removed.
4222 * $wgProxyKey has been removed. It is no longer used by MediaWiki core.
4223 Ensure $wgSecretKey is set in LocalSettings.php.
4224 * $wgExtraInterlanguageLinkPrefixes is a new configuration variable that
4225 contains an array of interwiki prefixes that should be treated as language
4226 prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set
4227 to true).
4228 * $wgParserTestRemote has been removed.
4229 * $wgCountTotalSearchHits has been removed. If you're concerned about efficiency
4230 of search, you should use something like CirrusSearch instead of built in
4231 search.
4232 * Users in the 'sysop' group have access to Special:MergeHistory by default.
4233 * $wgFileStore was removed after having been deprecated in 1.17. Alternative
4234 configurations are $wgDeletedDirectory and $wgHashedUploadDirectory.
4235 * The deprecated $wgUseCommaCount variable has been removed.
4236 * $wgEnableSorbs and $wgSorbsUrl have been removed.
4237 * The UserCryptPassword and UserComparePassword hooks are no longer called.
4238 Any extensions using them must be updated to use the Password Hashing API.
4239 * $wgCompiledFiles has been removed.
4240 * $wgSortSpecialPages was removed, the listing on Special:SpecialPages is
4241 now always sorted.
4242 * $wgSpecialPages may now use callback functions as an alternative to plain
4243 class names. This allows more control over constructor parameters.
4244 * $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed.
4245 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort
4246 and $wgRC2UDPPrefix have been removed.
4247 * The default password type for MediaWiki has been changed from MD5 to PBKDF2.
4248 Password hashes will automatically be updated as users log in. If necessary,
4249 the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.
4250 In addition, there is a maintenance script wrapOldPassword.php that can wrap
4251 all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't
4252 want to wait for your users to log in.
4253 * $wgImportSources can now either be a regular array, or an associative map
4254 specifying subprojects on the interwiki map of the target wiki, or a mix of
4255 the two. Existing configurations will still work.
4256 * Users must be able to edit through a page's protection to be able to delete
4257 it.
4258 * The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up
4259 from 180px. If you have altered the number of entries in $wgThumbLimits for
4260 your wiki, you may need to adjust your default user settings to compensate for
4261 the index change.
4262 * $wgDeferredUpdateList is now deprecated, you should use
4263 DeferredUpdates::addUpdate() instead.
4264 * $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we
4265 will not send a rel=canonical pointing to a variant-neutral page, however
4266 we will send rel=alternate.
4267 * $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the
4268 future.
4269 * $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
4270 functionality.
4271
4272 === New features in 1.24 ===
4273 * Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
4274 manipulate the list of pages and/or preload lots of data at once.
4275 * Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
4276 link to the title to be changed.
4277 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
4278 WhatLinksHere entries.
4279 * Added a new hook, "ContentGetParserOutput", to customize parser output for
4280 a given content object.
4281 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
4282 * HTMLForm's HTMLTextField now supports the 'url' type.
4283 * HTMLForm fields may now be dynamically hidden based on the values of other
4284 fields in the form.
4285 * HTMLForm now supports multiple copies of an input field or set of input
4286 fields, e.g. the form may request "one or more usernames" without having to
4287 have the user enter delimited list of names into a text field.
4288 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
4289 the sidebar just before its display.
4290 * (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps
4291 jquery.cookie so that getting/setting a cookie is syntactically and
4292 functionally similar to using the WebRequest::getCookie() and
4293 WebResponse::setcookie() methods.
4294 * (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option,
4295 $wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions
4296 and gadgets use the long-deprecated functions that were removed in jQuery 1.9.
4297 This option is turned off by default, and will be removed in MediaWiki 1.25.
4298 * (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2.
4299 * Changes to content typography (fonts, etc.). See
4300 https://www.mediawiki.org/wiki/Typography_refresh for further information.
4301 * WikitextContent will now render redirects with the expected "redirect"
4302 header, rather than as an ordered list. Code calling Article::viewRedirect
4303 can probably be changed to no longer special-case redirects.
4304 * Header font set to a serif font stack. See
4305 https://www.mediawiki.org/wiki/Typography_refresh for further information.
4306 * (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of
4307 the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This
4308 is only for page views, since this hook doesn't affect UserLogin, OAuth,
4309 CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to
4310 overall design of the system.
4311 * (bug 17367) It is now possible to add pages to your watchlist from
4312 Special:UnwatchedPages without reloading the special page.
4313 * New methods setVolatile and isVolatile are added to PPFrame, so that
4314 extensions such as Cite.php can mark that their output is volatile and
4315 shouldn't be cached.
4316 * (bug 52817) Advanced search options are now saved on the search page itself,
4317 rather than in a dedicated pane in the preferences panel.
4318 * (bug 44591) The dropdown actions menu (little triangle next to page tabs) in
4319 the Vector skin has gained a label that should make it more discoverable.
4320 * MWCryptHKDF added for fast, cryptographically secure random number generation
4321 that won't deplete openssl's entropy pool.
4322 * ResourceLoader: File modules can now provide a skip function that uses an
4323 inline feature test to bypass loading of the module.
4324 * (bug 20210) Special pages may now provide autocompletion of their subpage
4325 names in search suggestions. Right now the only useful implementation is in
4326 Special:Log, but more are to come.
4327 * Special:MostLinkedTemplates is no longer limited to transclusions from the
4328 Template namespace.
4329 * Skins can now use 'remoteSkinPath' when defining ResourceLoader modules.
4330 This works the same as 'remoteExtPath' but is relative to the skins/ folder
4331 instead of the extensions/ folder.
4332 * Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods.
4333 Exposed as module "json" with a skip function to optimise loading.
4334 * Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition
4335 to 'name', to allow for the name to be localizable. 'name' should still be
4336 specified for backwards-compatibility and to define the path Special:Version
4337 uses to find extension license information.
4338 * Browser tests are now included to verify basic wiki functionality in developer
4339 environments. For details on running tests, see
4340 tests/browser/README.mediawiki.
4341 * Upgrade jStorage to v0.4.10.
4342 * {{!}} is now a magic word that produces the | character. This removes the need
4343 for Template:! for purposes such as passing pipes inside of parameters.
4344 * (bug 20790) The block log snippet on Special:Contributions and while
4345 editing user and user talk pages now works for IP range blocks.
4346 * (bug 9360) Added ability to change the page language for MediaWiki pages using
4347 Special:PageLanguage. All pages are set to wiki language by default.
4348 The feature needs to be enabled with $wgPageLanguageUseDB=true and
4349 permission needs to be set for 'pagelang'.
4350 * Upgrade Moment.js to v2.8.3.
4351 * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
4352 * Upgrade Sinon.JS to 1.10.3.
4353 * Added the es5-shim polyfill for older or non-compliant javascript engines.
4354 * Upgrade jQuery Cookie to v1.3.1.
4355 * (bug 20476) Add a "viewsuppressed" user right to be able to view
4356 suppressed content but not suppress it ("suppressrevision" right).
4357 * (bug 66440) The MediaWiki web installer will now allow you to choose the skins
4358 to enable (from the ones included in download tarball) and decide which one
4359 should be the default.
4360 * (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]],
4361 where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will
4362 no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a
4363 similar way, links like [[localInterwikiPrefix:File:Image.png]] and
4364 [[localInterwikiPrefix:Category:Hello]] will now render as regular links, and
4365 will not include the file or add the page to the category.
4366 * New special page, MyLanguage, to redirect users to subpages with localised
4367 versions of a page. (Integrated from Extension:Translate)
4368 * MediaWiki now supports multiple password types, including bcrypt and PBKDF2.
4369 The default type can be changed with $wgPasswordDefault and the type
4370 configurations can be changed with $wgPasswordConfig.
4371 * Skins can now define custom styles for default ResourceLoader modules using
4372 the $wgResourceModuleSkinStyles global. See the Vector skin for examples.
4373 * (bug 4488) There is now a preference to watch pages where the user has
4374 rollbacked an edit by default.
4375 * (bug 15484) Users will now be redirected to the login page when they need to
4376 log in, rather than being shown a page asking them to log in and having to
4377 click another link to actually get to the login page.
4378 * A JsonContent and JsonContentHandler were added for extensions to extend.
4379 * (bug 35045) Redirects to sections will now update the URL in browser's address
4380 bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
4381 the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".
4382 * API token handling has been rewritten. Any API module using tokens will need
4383 to be updated. See the entry below under "Action API internal changes".
4384 * Added HTMLAutoCompleteSelectField.
4385 * Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
4386 link existence cache before the page is rendered.
4387 * Config::set() was moved to its own interface, MutableConfig.
4388 GlobalVarConfig::set() is now deprecated, does not implement MutableConfig.
4389 * A MutableConfig named HashConfig was added, that stores an array of
4390 configuration settings.
4391 * (bug 69418) A MultiConfig implementation was added that supports fallback
4392 to multiple Config instances.
4393 * Update CSSJanus to v1.1.0.
4394 * Added FormatJson::parse() returning status with result or localized error
4395 message
4396 * Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to
4397 Special:DeletedContributions
4398 * Added DeletedContributionsLineEnding hook allowing extensions to format
4399 Special:DeletedContributions lines
4400 * (T69525) You can now make MediaWiki speed up its thumbnail rendering by using
4401 intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target
4402 thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will
4403 find the smallest bucket smaller than the original but larger than the target
4404 width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail,
4405 rather than the original, down to the target size at greater speed in return
4406 for minor loss of fidelity.
4407
4408 === Bug fixes in 1.24 ===
4409 * (bug 50572) MediaWiki:Blockip should support gender
4410 * (bug 49116) Footer copyright notice is now always displayed in user language
4411 rather than content language (same as copyright notice for editing interface).
4412 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
4413 restriction was present in the parameters. Images with both the "frame"
4414 option and a size specification set will now always ignore the provided
4415 size and display an unscaled image, as the documentation has always
4416 claimed it would.
4417 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
4418 which used to collapse some sidebar elements by default.
4419 This removes -list id suffixes like p-lang-list: instead of using things like
4420 #p-lang-list, you can do #p-lang .body ul.
4421 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
4422 follow redirects to their target pages.
4423 * Parser now dies early if called recursively, instead of producing subtle bugs.
4424 * (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the
4425 remaining page content.
4426 * (bug 52587) Maintenance script deleteBatch.php no longer follows redirects
4427 in the file namespace and delete the file on the target page. It will still
4428 however delete the redirect page.
4429 * (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly
4430 recover the original code of extension tags.
4431 * (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared
4432 for future updates. Because it's doing so heuristically, it may fail or drop
4433 wrong constraints.
4434 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
4435 * $wgRunJobsAsync now works with private wikis (e.g. read requires login).
4436 * (bugs 57238, 65206) Blank pages can now be directly created.
4437 * (bug 69789) Title::getContentModel() now loads from the database when
4438 necessary instead of incorrectly returning the default content model.
4439 * (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
4440 * (bug 57909) URLs in the externallinks table will no longer have certain
4441 characters decoded in the query string.
4442 * (bug 67368) LESS mixins like .background-image() correctly flip image
4443 references for RTL stylesheets now.
4444
4445 === Action API changes in 1.24 ===
4446 * action=parse API now supports prop=modules, which provides the list of
4447 ResourceLoader modules that should be used to enhance the parsed content.
4448 * action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel"
4449 field which is true if protocol-relative urls can be used to access
4450 a particular interwiki map entry.
4451 * list=logevents now provides logpage, which is the page ID from the
4452 logging table, if ids are requested and the user has the permissions.
4453 * action=edit now requires that appendtext, prependtext, or section=new be used
4454 when using the 'redirect' parameter, to prevent clients accidentally
4455 overwriting the target page with the content of the redirect.
4456 * list=logevents will now return an error if both letitle and leprefix are
4457 specified.
4458 * list=logevents has a new parameter, lenamespace, to allow filtering by
4459 namespace.
4460 * action=expandtemplates has a new parameter, prop, and a new output format.
4461 The old format is still used if prop isn't provided, but this is deprecated.
4462 * meta=userinfo can now return the count of unread pages on the watchlist.
4463 * list=watchlist can now filter by unread status.
4464 * The deprecated action=parse&prop=languageshtml has been removed.
4465 * (bug 48071) action=setnotificationtimestamp no longer throws PHP or database
4466 errors when no pages are given.
4467 * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch,
4468 setnotificationtimestamp) will now include continuation information when
4469 using a generator.
4470 * Removed 'props' and 'errors' from action=paraminfo, as they have extremely
4471 limited use and are generally inaccurate, unmaintained, and impossible to
4472 properly maintain.
4473 * Formats dbg, dump, txt, wddx, and yaml are now deprecated.
4474 * action=paraminfo now indicates when a parameter is specifying a submodule.
4475 * The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for
4476 parallelism with prop=langlinks.
4477 * All tokens should be fetched from action=query&meta=tokens; all other methods
4478 of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
4479 parameter for each module is documented in the action=help output and is
4480 returned from action=paraminfo.
4481 * New action ClearHasMsg that can be used to clear HasMsg flag.
4482 * The cmstartsortkey and cmendsortkey parameters to list=categorymembers are
4483 deprecated in favor of cmstarthexsortkey and cmendhexsortkey.
4484 * (bug 63326) Add blockedtimestamp field to output of blockinfo property for
4485 the list=allusers and list=users modules.
4486 * prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam.
4487 * Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are
4488 roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin
4489 but can work on a list of titles (including titles from a generator).
4490 * prop=redirects can now filter returned redirects by namespace.
4491
4492 === Action API internal changes in 1.24 ===
4493 * Methods for handling continuation are added to ApiResult, so actions other
4494 than query that use generators can easily support continuation.
4495 * $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules,
4496 $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules
4497 to be specified using a "module spec" array instead of a plain class name.
4498 A "module spec" is an associative array containing at least the 'class' key
4499 for the module's class, and optionally a 'factory' key for the factory
4500 function to use for the module. This is intended for extensions that want
4501 control over the instantiation of their API modules, to allow for proper
4502 dependency injection.
4503 * A new param type 'submodule' is available. Parameters of this type will take
4504 the list of valid values from the module's ApiModuleManager for the group
4505 corresponding to the parameter name.
4506 * The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer
4507 used.
4508 * API token handling has been rewritten. Any API module using tokens will need
4509 to be updated:
4510 * ApiBase::needsToken now returns a token type instead of boolean true when a
4511 token is needed. Returning true will throw an exception. See documentation
4512 of that method for details.
4513 * Information for the 'token' parameter is automatically set by ApiBase
4514 getFinalParams and getFinalParamDescription.
4515 * ApiBase::getTokenSalt has been removed.
4516 * The hooks APIQueryInfoTokens, APIQueryRevisionsTokens,
4517 APIQueryRecentChangesTokens, APIQueryUsersTokens, and
4518 ApiTokensGetTokenTypes are deprecated, but are still called to support
4519 backwards-compatible token access.
4520 * ApiBase::validateLimit and ApiBase::validateTimestamp are now protected.
4521 * ApiQueryRedirects was removed; prop=redirects is now implemented by
4522 ApiQueryBacklinksProp along with the newly-added prop modules.
4523 * The following methods have been deprecated and may be removed in a future
4524 release:
4525 * ApiBase::getResultProperties
4526 * ApiBase::getFinalResultProperties
4527 * ApiBase::addTokenProperties
4528 * ApiBase::getRequireOnlyOneParameterErrorMessages
4529 * ApiBase::getRequireMaxOneParameterErrorMessages
4530 * ApiBase::getRequireAtLeastOneParameterErrorMessages
4531 * ApiBase::getTitleOrPageIdErrorMessage
4532 * ApiBase::getPossibleErrors
4533 * ApiBase::getFinalPossibleErrors
4534 * ApiBase::parseErrors
4535 * ApiQuery::setGeneratorContinue
4536 * ApiQueryBase::checkRowCount
4537 * ApiQueryBase::titleToKey
4538 * ApiQueryBase::keyToTitle
4539 * ApiQueryBase::keyPartToTitle
4540 * ApiQueryInfo::getTokenFunctions
4541 * ApiQueryInfo::resetTokenCache
4542 * ApiQueryInfo::getEditToken
4543 * ApiQueryInfo::getDeleteToken
4544 * ApiQueryInfo::getProtectToken
4545 * ApiQueryInfo::getMoveToken
4546 * ApiQueryInfo::getBlockToken
4547 * ApiQueryInfo::getUnblockToken
4548 * ApiQueryInfo::getEmailToken
4549 * ApiQueryInfo::getImportToken
4550 * ApiQueryInfo::getWatchToken
4551 * ApiQueryInfo::getOptionsToken
4552 * ApiQueryRecentChanges::getTokenFunctions
4553 * ApiQueryRecentChanges::getPatrolToken
4554 * ApiQueryRevisions::getTokenFunctions
4555 * ApiQueryRevisions::getRollbackToken
4556 * ApiQueryUsers::getTokenFunctions
4557 * ApiQueryUsers::getUserrightsToken
4558 * The following classes have been deprecated and may be removed in a future
4559 release:
4560 * ApiFormatDbg
4561 * ApiFormatDump
4562 * ApiFormatTxt
4563 * ApiFormatWddx
4564 * ApiFormatYaml
4565 * ApiTokens
4566 * The following class constants have been deprecated and may be removed in a
4567 future release:
4568 * ApiBase::PROP_ROOT
4569 * ApiBase::PROP_LIST
4570 * ApiBase::PROP_TYPE
4571 * ApiBase::PROP_NULLABLE
4572
4573 === Languages updated in 1.24 ===
4574
4575 MediaWiki supports over 350 languages. Many localisations are updated
4576 regularly. Below only new and removed languages are listed, as well as
4577 changes to languages because of Bugzilla reports.
4578
4579 === Other changes in 1.24 ===
4580 * The deprecated jquery.delayedBind ResourceLoader module was removed.
4581 * The deprecated function mw.util.toggleToc was removed.
4582 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
4583 were removed as they were unused.
4584 * (bug 65477) User::pingLimiter() now has an additional profile point varying
4585 by action being used.
4586 * mediawiki.util.$content no longer supports old versions of the Vector,
4587 Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
4588 and/or "mw-body-primary" class name in their html.
4589 * Added pp_sortkey column to page_props table, so pages can be efficiently
4590 queried and sorted by property value (bug 58032).
4591 See $wgPagePropsHaveSortkey if you want to postpone the schema change.
4592 * BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern
4593 and Cologne Blue) were moved out of MediaWiki core to their own respective
4594 repositories. They will be installed with the release tarball, but you must
4595 install them separately if installing MediaWiki from source code. A warning
4596 message displayed until you do it should guide you through the process. See
4597 also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
4598 * BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use
4599 the "headelement" template key are no longer supported. Setting
4600 $useHeadElement = false; is no longer supported and will not cause old keys
4601 like "headlinks", "skinnameclass", etc. to be defined.
4602 * BREAKING CHANGE: The files commonElements.css, commonContent.css and
4603 commonInterface.css (in skins/common/) have been removed. Skins may no longer
4604 rely on their presence and include them in their style modules. ResourceLoader
4605 modules introduced in MediaWiki 1.23 should be loaded instead:
4606 - skins/common/commonElements.css → 'mediawiki.skinning.elements' module
4607 - skins/common/commonContent.css → 'mediawiki.skinning.content' module
4608 - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
4609 * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
4610 * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
4611 * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
4612 Special pages should subclass SpecialPage and implement the execute() method.
4613 * (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were
4614 removed.
4615 * Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages.
4616 * The skin autodiscovery mechanism has been deprecated and will be removed in
4617 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
4618 for migration guide for creators and users of custom skins that relied on it.
4619 * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all
4620 skin style files used by the module.
4621 * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19)
4622 * Removed setLang() from subclasses of IContextSource. (deprecated since 1.19)
4623 * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20)
4624 * Removed info(), purge(), revert() and rollback() from the Article class; they
4625 have since become subclasses of the Action class. (deprecated since 1.19)
4626 * SearchEngineReplacePrefixesComplete hook was removed.
4627 * The "jquery.json" module has been deprecated. Use the "json" module instead.
4628 * Removed HTMLForm::addJS(). (deprecated since 1.18)
4629 * Removed LogEventsList::showHeader(). (deprecated since 1.19)
4630 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
4631 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
4632 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
4633 * Removed ApiBase::createContext(). (deprecated since 1.19)
4634 * BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay
4635 set of hooks has been removed and replaced by a single new hook
4636 SpecialPageBeforeFormDisplay.
4637 * (bug 65781) Removed block warning on included {{Special:Contributions}}
4638 * Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19)
4639 * Removed MWNamespace::isMain(). (deprecated since 1.19)
4640 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
4641 * Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
4642 * Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18)
4643 * Removed Title::updateTitleProtection(). (deprecated since 1.19)
4644 * Removed ParserOptions::setSkin(). (deprecated since 1.19)
4645 * Removed Title::escapeCanonicalURL(). (deprecated since 1.19)
4646 * Removed Title::escapeLocalURL(). (deprecated since 1.19)
4647 * Removed Title::escapeFullURL(). (deprecated since 1.19)
4648 * Removed User::isValidEmailAddr(). (deprecated since 1.18)
4649 * Removed Title::getEscapedText(). (deprecated since 1.19)
4650 * Removed Language::getFallbackLanguageCode(). (deprecated since 1.19)
4651 * Removed WikiPage::isBigDeletion(). (deprecated since 1.19)
4652 * Removed MWInit class which contained functions related to a now discontinued
4653 PHP compiler called hphpc. (deprecated since 1.22)
4654 * ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete.
4655 * Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23)
4656 * Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as
4657 these were meant specifically for FormAction instead.
4658 * Removed Action::execute().
4659 * Removed AjaxAddScript which has been obsolete since ResourceLoader and
4660 is unused by any modern extension.
4661 * Removed maintenance/nextJobDB.php; no longer in use.
4662 * Removed global function wfViewPrevNext(). (deprecated since 1.19)
4663 * Removed global function xmlsafe() from Export.php. (moved to OAIRepo
4664 extension)
4665 * Removed Title::userCanRead(). (deprecated since 1.19)
4666 * Removed maintenance script importTextFile.php. Use edit.php script instead.
4667 * A _from_namespace field has been added to the templatelinks, pagelinks,
4668 and filelinks tables. Run update.php to apply this change to the schema.
4669 * Removed File::sha1Base36(). (deprecated since 1.19)
4670 * Removed File::getPropsFromPath(). (deprecated since 1.19)
4671 * Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and
4672 userNotLoggedInPage() from EditPage.php. (deprecated since 1.19)
4673 * Removed functions getContent(), getPreloadedText(), mergeChangesInto() and
4674 setPreloadedText() from EditPage.php. (deprecated since 1.21)
4675 * Removed global functions wfArrayLookup(), wfArrayMerge(),
4676 wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22)
4677 * Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C,
4678 meaning that JavaScript is no longer executed in these browser versions.
4679 * Browser support for Opera 11 lowered from Grade A to Grade C.
4680 * Removed IEFixes module which existed purely to provide support for MSIE
4681 versions below 7 (conditionally loaded only for those browsers).
4682 * Deprecated SpecialPageFactory::getList() in favor of
4683 SpecialPageFactory::getNames()
4684 * Action::checkCanExecute() no longer has a return value.
4685 * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP()
4686 and sendToUDP() from RecentChange.php. (deprecated since 1.22)
4687 * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow().
4688 * Removed Xml::namespaceSelector(). (deprecated since 1.19)
4689 * Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19)
4690 * MYSQL: Enum item added to "major MIME type" columns.
4691 Running update.php on MySQL < v5.1 may result in heavy processing.
4692 * RSS and Atom feeds generated by MediaWiki no longer include a fallback
4693 stylesheet. It was ignored by most browsers these days anyway.
4694 * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
4695 called unconditionally.
4696 * TablePager::getBody() is now 'final' and can't be overridden in subclasses.
4697 * TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
4698 * Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
4699 * log_page for move log entries store the original page ID, rather than that
4700 of the new redirect page. This is not retroactive.
4701 * LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
4702 use this store class.
4703 * Html::infoBox() no longer accepts paths relative to skins/common/images/.
4704 * Deprecated defunct Skin::getCommonStylePath().
4705 * Some extensions had their ResourceLoader modules depend on the "mediawiki"
4706 and "jquery" modules. In the past, this behavior was undefined, now it will
4707 throw an error.
4708 * Removed BagOStuff::replace(). (deprecated since 1.23)
4709 * In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display
4710 warnings if their first parameter is not a Title object. Also makeImageLink()
4711 now requires a Parser as its first parameter.
4712 * (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23
4713 and broken by design, have been removed. Use appropriate LESS mixins instead.
4714 * Removed cssjanus.py from maintenance directory as it was unused.
4715 * Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function
4716 it contained (superseded by Maintenance::purgeRedundantText() in 1.16).
4717 The purgeOldText.php maintenance script has been retained.
4718 * PHPUnit tests can be found by directory discovery, by adding the directory
4719 path from your UnitTestsList callback. Older versions of MediaWiki core will
4720 barf at this usage.
4721
4722 ==== Renamed classes ====
4723 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
4724 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
4725 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
4726 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
4727 * CSSJanus_Tokenizer to CSSJanusTokenizer
4728 * MediaWiki_I18N to MediaWikiI18N
4729 * Parser_DiffTest to ParserDiffTest
4730 * RevDel_ArchiveItem to RevDelArchiveItem
4731 * RevDel_ArchiveList to RevDelArchiveList
4732 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
4733 * RevDel_ArchivedFileList to RevDelArchivedFileList
4734 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
4735 * RevDel_FileItem to RevDelFileItem
4736 * RevDel_FileList to RevDelFileList
4737 * RevDel_Item to RevDelItem
4738 * RevDel_List to RevDelList
4739 * RevDel_LogItem to RevDelLogItem
4740 * RevDel_LogList to RevDelLogList
4741 * RevDel_RevisionItem to RevDelRevisionItem
4742 * RevDel_RevisionList to RevDelRevisionList
4743 * WebInstaller_Complete to WebInstallerComplete
4744 * WebInstaller_Copying to WebInstallerCopying
4745 * WebInstaller_DBConnect to WebInstallerDBConnect
4746 * WebInstaller_DBSettings to WebInstallerDBSettings
4747 * WebInstaller_Document to WebInstallerDocument
4748 * WebInstaller_ExistingWiki to WebInstallerExistingWiki
4749 * WebInstaller_Install to WebInstallerInstall
4750 * WebInstaller_Language to WebInstallerLanguage
4751 * WebInstaller_Name to WebInstallerName
4752 * WebInstaller_Options to WebInstallerOptions
4753 * WebInstaller_Readme to WebInstallerReadme
4754 * WebInstaller_ReleaseNotes to WebInstallerReleaseNotes
4755 * WebInstaller_Restart to WebInstallerRestart
4756 * WebInstaller_Upgrade to WebInstallerUpgrade
4757 * WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc
4758 * WebInstaller_Welcome to WebInstallerWelcome
4759
4760 ==== Removed classes ====
4761 * IPBlockForm - Use SpecialBlock directly
4762 * WatchlistEditor - Use SpecialEditWatchlist directly
4763 * FormatExif - Use FormatMetadata directly
4764 * RevertFileAction - Use RevertAction directly
4765 * HistoryPage - Use HistoryAction directly
4766 * RawPage - Use RawAction directly
4767 * StubContLang - Use Language::factory() instead
4768 * XMLReader2 - Use XMLReader directly
4769 * ResourceLoaderLESSFunctions - No longer in use, not intended for public usage
4770
4771 ==== Removed files ====
4772 The skins/common/ directory, previously containing some assets intended to be
4773 used by skins and a number of legacy styles and scripts, has been removed. Its
4774 contents have been deleted or relocated into the resources/ directory. Full list
4775 of files that are no longer available follows.
4776
4777 * skins/common/ajax.js
4778 * skins/common/commonContent.css
4779 * skins/common/commonElements.css
4780 * skins/common/commonInterface.css
4781 * skins/common/commonPrint.css
4782 * skins/common/config-cc.css
4783 * skins/common/config.css
4784 * skins/common/config.js
4785 * skins/common/feed.css
4786 * skins/common/IEFixes.js
4787 * skins/common/oldshared.css
4788 * skins/common/protect.js
4789 * skins/common/shared.css
4790 * skins/common/upload.js
4791 * skins/common/wikibits.js
4792 * skins/common/images/add.png
4793 * skins/common/images/ajax-loader.gif
4794 * skins/common/images/arrow_disabled_first_25.png
4795 * skins/common/images/arrow_disabled_last_25.png
4796 * skins/common/images/arrow_disabled_left_25.png
4797 * skins/common/images/arrow_disabled_right_25.png
4798 * skins/common/images/arrow_first_25.png
4799 * skins/common/images/arrow_last_25.png
4800 * skins/common/images/arrow_left_25.png
4801 * skins/common/images/arrow_right_25.png
4802 * skins/common/images/Arr_.png
4803 * skins/common/images/Arr_d.png
4804 * skins/common/images/Arr_l.png
4805 * skins/common/images/Arr_r.png
4806 * skins/common/images/Arr_u.png
4807 * skins/common/images/bullet.gif
4808 * skins/common/images/button_bold.png
4809 * skins/common/images/button_extlink.png
4810 * skins/common/images/button_headline.png
4811 * skins/common/images/button_hr.png
4812 * skins/common/images/button_image.png
4813 * skins/common/images/button_italic.png
4814 * skins/common/images/button_link.png
4815 * skins/common/images/button_media.png
4816 * skins/common/images/button_nowiki.png
4817 * skins/common/images/button_sig.png
4818 * skins/common/images/button_template.png
4819 * skins/common/images/cc-0.png
4820 * skins/common/images/cc-by-nc-sa.png
4821 * skins/common/images/cc-by-sa.png
4822 * skins/common/images/cc-by.png
4823 * skins/common/images/Checker-16x16.png
4824 * skins/common/images/closewindow.png
4825 * skins/common/images/closewindow19x19.png
4826 * skins/common/images/critical-32.png
4827 * skins/common/images/diffunderline.gif
4828 * skins/common/images/download-32.png
4829 * skins/common/images/feed-icon.png
4830 * skins/common/images/feed-icon.svg
4831 * skins/common/images/gnu-fdl.png
4832 * skins/common/images/help-question-hover.gif
4833 * skins/common/images/help-question.gif
4834 * skins/common/images/info-32.png
4835 * skins/common/images/link_icon.gif
4836 * skins/common/images/magnify-clip-rtl.png
4837 * skins/common/images/magnify-clip.png
4838 * skins/common/images/mediawiki.png
4839 * skins/common/images/nextredirectltr.png
4840 * skins/common/images/nextredirectrtl.png
4841 * skins/common/images/poweredby_mediawiki_88x31.png
4842 * skins/common/images/public-domain.png
4843 * skins/common/images/question-small.png
4844 * skins/common/images/question.svg
4845 * skins/common/images/redirectltr.png
4846 * skins/common/images/redirectrtl.png
4847 * skins/common/images/remove.png
4848 * skins/common/images/spinner.gif
4849 * skins/common/images/tick-32.png
4850 * skins/common/images/tipsy-arrow.gif
4851 * skins/common/images/tooltip_icon.png
4852 * skins/common/images/warning-32.png
4853 * skins/common/images/wiki.png
4854 * skins/common/images/Zoom_sans.gif
4855 * skins/common/images/ar/button_bold.png
4856 * skins/common/images/ar/button_headline.png
4857 * skins/common/images/ar/button_italic.png
4858 * skins/common/images/ar/button_link.png
4859 * skins/common/images/ar/button_nowiki.png
4860 * skins/common/images/be-tarask/button_bold.png
4861 * skins/common/images/be-tarask/button_italic.png
4862 * skins/common/images/be-tarask/button_link.png
4863 * skins/common/images/cyrl/button_bold.png
4864 * skins/common/images/cyrl/button_italic.png
4865 * skins/common/images/cyrl/button_link.png
4866 * skins/common/images/de/button_bold.png
4867 * skins/common/images/de/button_italic.png
4868 * skins/common/images/fa/button_bold.png
4869 * skins/common/images/fa/button_headline.png
4870 * skins/common/images/fa/button_italic.png
4871 * skins/common/images/fa/button_link.png
4872 * skins/common/images/fa/button_nowiki.png
4873 * skins/common/images/icons/fileicon-c.png
4874 * skins/common/images/icons/fileicon-cpp.png
4875 * skins/common/images/icons/fileicon-deb.png
4876 * skins/common/images/icons/fileicon-djvu.png
4877 * skins/common/images/icons/fileicon-djvu.xcf
4878 * skins/common/images/icons/fileicon-dvi.png
4879 * skins/common/images/icons/fileicon-exe.png
4880 * skins/common/images/icons/fileicon-h.png
4881 * skins/common/images/icons/fileicon-html.png
4882 * skins/common/images/icons/fileicon-iso.png
4883 * skins/common/images/icons/fileicon-java.png
4884 * skins/common/images/icons/fileicon-mid.png
4885 * skins/common/images/icons/fileicon-mov.png
4886 * skins/common/images/icons/fileicon-o.png
4887 * skins/common/images/icons/fileicon-ogg.png
4888 * skins/common/images/icons/fileicon-ogg.xcf
4889 * skins/common/images/icons/fileicon-pdf.png
4890 * skins/common/images/icons/fileicon-ps.png
4891 * skins/common/images/icons/fileicon-psd.png
4892 * skins/common/images/icons/fileicon-rm.png
4893 * skins/common/images/icons/fileicon-rpm.png
4894 * skins/common/images/icons/fileicon-svg.png
4895 * skins/common/images/icons/fileicon-tar.png
4896 * skins/common/images/icons/fileicon-tex.png
4897 * skins/common/images/icons/fileicon-ttf.png
4898 * skins/common/images/icons/fileicon-txt.png
4899 * skins/common/images/icons/fileicon.png
4900 * skins/common/images/ksh/button_S_italic.png
4901
4902 = MediaWiki 1.23 =
4903
4904 == MediaWiki 1.23.17 ==
4905
4906 === Changes since 1.23.16 === <!--T:69-->
4907 * Fix syntax errors introduced in 1.23.16 when running PHP 5.3.
4908
4909 == MediaWiki 1.23.16 ==
4910 This is a security and maintenance release of the MediaWiki 1.23 branch.
4911
4912 === Changes since 1.23.15 ===
4913 * (T68404) CSS3 attr() function with url type is no longer allowed
4914 in inline styles.
4915 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
4916 * Submitting the lgtoken and lgpassword parameters in the query string to
4917 action=login is now deprecated and outputs a warning. They should be submitted
4918 in the POST body instead.
4919 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
4920 redirect to interwiki links.
4921 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
4922 $wgAdvancedSearchHighlighting is true.
4923 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
4924 their values out of the logs.
4925 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
4926 CSRF token.
4927 * (T156184) SECURITY: Escape content model/format url parameter in message.
4928 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
4929 declaration.
4930 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
4931 inclusion syntax's link parameter.
4932 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
4933 against it.
4934
4935 == MediaWiki 1.23.15 ==
4936
4937 This is a maintenance release of the MediaWiki 1.23 branch.
4938
4939 === Changes since 1.23.14 ===
4940 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
4941 made by MediaWiki via a proxy. Relying on the http_proxy environment
4942 variable is no longer supported.
4943 * (T139565) SECURITY: API: Generate head items in the context of the given title
4944 * (T137264) SECURITY: XSS in unclosed internal links
4945 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
4946 * (T133147) SECURITY: Require login to preview user CSS pages
4947 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
4948 the top file
4949 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
4950 permissions
4951 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
4952 * (T115333) SECURITY: Check read permission when loading page content in
4953 ApiParse
4954 * Remove support for $wgWellFormedXml = false, all output is now well formed
4955
4956 == MediaWiki 1.23.13 ==
4957
4958 This is a maintenance release of the MediaWiki 1.23 branch.
4959
4960 === Changes since 1.23.12 ===
4961 * (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12.
4962
4963 == MediaWiki 1.23.12 ==
4964
4965 This is a security and maintenance release of the MediaWiki 1.23 branch.
4966
4967 === Changes since 1.23.11 ===
4968 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
4969 that do not begin with a slash. This enabled trivial XSS attacks.
4970 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
4971 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
4972 error.
4973 * (T119309) SECURITY: Use hash_compare() for edit token comparison
4974 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
4975 with '@' as file uploads
4976 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
4977 longer be shorter than $wgMinimalPasswordLength
4978 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
4979 result in improper blocks being issued
4980 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
4981 and related pages no longer use HTTP redirects and are now redirected by
4982 MediaWiki
4983
4984 == MediaWiki 1.23.11 ==
4985
4986 This is a security and maintenance release of the MediaWiki 1.23 branch.
4987
4988 === Changes since 1.23.10 ===
4989
4990 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
4991 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
4992 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
4993
4994 == MediaWiki 1.23.10 ==
4995
4996 This is a security and maintenance release of the MediaWiki 1.23 branch.
4997
4998 === Changes since 1.23.9 ===
4999
5000 * (T94116) SECURITY: Compare API watchlist token in constant time
5001 * (T97391) SECURITY: Escape error message strings in thumb.php
5002 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
5003 Special:DeletedContributions
5004 * (bug 67644) Make AutoLoaderTest handle namespaces
5005 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
5006 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
5007 policy of Wikimedia Commons.
5008
5009 == MediaWiki 1.23.9 ==
5010
5011 This is a security and maintenance release of the MediaWiki 1.23 branch.
5012
5013 === Changes since 1.23.8 ===
5014
5015 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
5016 to prevent various DoS attacks.
5017 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
5018 likelihood of DoS.
5019 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
5020 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
5021 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
5022 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
5023 prevent XSS and protect viewer's privacy.
5024 * (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running
5025 update.php to fix.
5026 * (bug T70087) Fix Special:ActiveUsers page for installations using
5027 PostgreSQL.
5028
5029 == MediaWiki 1.23.8 ==
5030
5031 This is a security and maintenance release of the MediaWiki 1.23 branch.
5032
5033 === Changes since 1.23.7 ===
5034
5035 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
5036 could lead to xss. Permission to edit MediaWiki namespace is required to
5037 exploit this.
5038 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
5039 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
5040 part of its name.
5041 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
5042
5043 == MediaWiki 1.23.7 ==
5044
5045 This is a security and maintenance release of the MediaWiki 1.23 branch.
5046
5047 === Changes since 1.23.6 ===
5048
5049 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
5050 into API clients that used format=php to process pages that underwent flash
5051 policy mangling. This was fixed along with improving how the mangling was done
5052 for format=json, and allowing sites to disable the mangling using
5053 $wgMangleFlashPolicy.
5054 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
5055 the content model for a page could allow an unprivileged attacker to edit
5056 another user's common.js under certain circumstances. The user right
5057 "editcontentmodel" was added, and is needed to change a revision's content
5058 model.
5059 * (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw
5060 HTML, it is not safe to preview wikitext coming from an untrusted source such
5061 as a cross-site request. Thus add an edit token to the form, and when raw HTML
5062 is allowed, ensure the token is provided before showing the preview. This
5063 check is not performed on wikis that both allow raw HTML and anonymous
5064 editing, since there are easier ways to exploit that scenario.
5065 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
5066 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
5067 public RFC about the desired functionality. This issue was reported by user
5068 Bawolff.
5069 * (bug 71621) Make allowing site-wide styles on restricted special pages a
5070 config option.
5071 * (bug 42723) Added updated version history from 1.19.2 to 1.22.13
5072 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
5073 might be a flash policy directive configurable.
5074
5075 == MediaWiki 1.23.6 ==
5076
5077 This is a maintenance release of the MediaWiki 1.23 branch.
5078
5079 === Changes since 1.23.5 ===
5080 * (Bug 72274) Job queue not running (HTTP 411) due to missing
5081 Content-Length: header
5082 * (Bug 67440) Allow classes to be registered properly from installer
5083
5084 == MediaWiki 1.23.5 ==
5085
5086 This is a security release of the MediaWiki 1.23 branch.
5087
5088 === Changes since 1.23.4 ===
5089 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
5090 allowance.
5091
5092 == MediaWiki 1.23.4 ==
5093
5094 This is a security and maintenance release of the MediaWiki 1.23 branch.
5095
5096 === Changes since 1.23.3 ===
5097
5098 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
5099 elements; normalize style elements and attributes before filtering; add
5100 checks for attributes that contain css; add unit tests for html5sec and
5101 reported bugs.
5102 * (bug 65998) Make MySQLi work with non-standard socket.
5103 * (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config
5104 settings.
5105
5106 == MediaWiki 1.23.3 ==
5107
5108 This is a maintenance release of the MediaWiki 1.23 branch.
5109
5110 === Changes since 1.23.2 ===
5111
5112 * (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php.
5113 * (bug 64970) Fix support for blobs on DatabaseOracle::update.
5114 * (bug 66574) Display MediaWiki:Loginprompt on the login page.
5115 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
5116 * (bug 60629) Handle invalid language code gracefully in
5117 Language::fetchLanguageNames.
5118 * (bug 62017) Restore the number of rows shown on Special:Watchlist.
5119 * Check for boolean false result from database query in SqlBagOStuff.
5120
5121 == MediaWiki 1.23.2 ==
5122
5123 This is a security and maintenance release of the MediaWiki 1.23 branch.
5124
5125 === Changes since 1.23.1 ===
5126
5127 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
5128 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
5129 for loading a new page in Javascript,instead of relying on the URL in the link
5130 that has been clicked.
5131 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
5132 ParserOutput.
5133 * (bug 68313) Preferences: Turn stubthreshold back into a combo box.
5134 * (bug 65214) Fix initSiteStats.php maintenance script.
5135 * (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL.
5136
5137 == MediaWiki 1.23.1 ==
5138
5139 This is a security and maintenance release of the MediaWiki 1.23 branch.
5140
5141 === Changes since 1.23.0 ===
5142
5143 * (bug 65839) SECURITY: Prevent external resources in SVG files.
5144 * (bug 67025) Special:Watchlist: Don't try to render empty row.
5145 * (bug 66922) Don't allow some E_NOTICE messages to end up in the
5146 LocalSettings.php.
5147 * (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled.
5148 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects
5149 like only extracting the tail of the file partially or not at all.
5150 * (bug 66182) Removed -x flag on some php files.
5151
5152 == MediaWiki 1.23.0 ==
5153
5154 === Configuration changes in 1.23 ===
5155 * (bug 13250) Restored method for clearing a watchlist in web UI
5156 so that users with large watchlists don't have to perform
5157 contortions to clear them.
5158 * When $wgJobRunRate is higher than zero, jobs are now executed via an
5159 asynchronous HTTP request to a MediaWiki entry point. This may require
5160 increasing the number of server worker threads. $wgRunJobsAsync has been
5161 added to disable this feature if needed, falling back to executing the job
5162 on the same process but making the execution synchronously.
5163 * $wgDebugLogGroups values may be set to an associative array with a
5164 'destination' key specifying the log destination. The array may also contain
5165 a 'sample' key with a positive integer value N indicating that the log group
5166 should be sampled by dispatching one in every N messages on average. The
5167 sampling is random.
5168 * In addition to the current exception log format, MediaWiki now serializes
5169 exception metadata to JSON and logs it to the 'exception-json' log group.
5170 This makes MediaWiki easier to integrate with log aggregation and analysis
5171 tools.
5172 * $wgSquidServersNoPurge now supports the use of Classless Inter-Domain
5173 Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6
5174 addresses that should be trusted to provide X-Forwarded-For headers.
5175 * Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add
5176 pages I create and files I upload to my watchlist", "Add pages and files I
5177 edit to my watchlist", "Email me when a page or file on my watchlist is
5178 changed") are now enabled by default. In addition new user accounts' personal
5179 and talk pages are now watched by them by default.
5180 * $wgLBFactoryConf: Class names have had underscores removed. The configuration
5181 should be updated if LBFactory_Simple or LBFactory_Multi is configured.
5182 * $wgPasswordSenderName has been removed and is no longer functional. To set a
5183 custom mailer name, the system message 'emailsender' should be modified
5184 (default: "{{SITENAME}}").
5185 * (bug 63269) Email notifications were not correctly handling the
5186 [[MediaWiki:Helppage]] message being set to a full URL (the default).
5187 If you customized [[MediaWiki:Enotif body]] (the text of email notifications),
5188 you'll need to edit it locally to include the URL via the new variable
5189 $HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise
5190 you don't have to do anything.
5191 * $wgDBAhandler was removed as the only class using it was also removed
5192 * The 'max threads' setting was removed from $wgDBservers.
5193 * Support for AdminSettings.php has been completely removed. All configuration
5194 belongs in LocalSettings.php.
5195 * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
5196 now formally deprecated.
5197 * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
5198 * $wgRateLimitLog has been deprecated and replaced by
5199 $wgDebugLogGroup['ratelimit'].
5200 * $wgLocalInterwikis is an array containing multiple local interwiki prefixes
5201 (interwiki prefixes that point back to the current wiki). This effectively
5202 allows more than one value of $wgLocalInterwiki to be specified and
5203 understood by the parser. The value of $wgLocalInterwiki is automatically
5204 prepended to the start of this array.
5205 * $wgQueryPages has been removed. Query Pages should be added to by using the
5206 wgQueryPages hook.
5207 * $wgHttpOnlyBlacklist has been removed.
5208 * $wgLicenseTerms has been removed as it was unused.
5209 * $wgProfileOnly is now deprecated; set the log file in
5210 $wgDebugLogGroups['profileoutput'] to replace it.
5211 * $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead
5212 * Deprecated ResourceLoaderGetStartupModules hook.
5213
5214 === New features in 1.23 ===
5215 * ResourceLoader can utilize the Web Storage API to cache modules client-side.
5216 Compared to the browser cache, caching in Web Storage allows ResourceLoader
5217 to be more granular about evicting stale modules from the cache while
5218 retaining the ability to retrieve multiple modules in a single HTTP request.
5219 This capability can be enabled by setting $wgResourceLoaderStorageEnabled to
5220 true. This feature is currently considered experimental and should only be
5221 enabled with care.
5222 * (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}}
5223 and {{REVISIONTIMESTAMP:}} (with friends).
5224 * Add "wgRelevantUserName" to mw.config containing the current
5225 Skin::getRelevantUser value.
5226 * (bug 56033) Add content model to the page information.
5227 * Added Article::MissingArticleConditions hook to give extensions a chance to
5228 hide their (unrelated) log entries.
5229 * Added LonelyPagesQuery hook to let extensions modify the query used to
5230 generate Special:LonelyPages.
5231 * Added $wgOpenSearchDefaultLimit defining the default number of entries to show
5232 on action=opensearch API call.
5233 * For namespaces with $wgNamespaceProtection (including the MediaWiki
5234 namespace), the "protect" tab will be shown only if there are restriction
5235 levels available that would restrict editing beyond what
5236 $wgNamespaceProtection already applies. The protection form will offer only
5237 those protection levels.
5238 * Added $wgAPIFormatModules, allowing extensions to add additional output
5239 formatting modules for the API.
5240 * (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add
5241 custom CSS or JavaScript enabled only for registered users.
5242 * (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist
5243 now include a legend describing the symbols used in lists of changes.
5244 * Improved the accessibility of the tabs in Special:Preferences.
5245 * Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook:
5246 it's called after everything is set up but before any major processing
5247 happens.
5248 * The jquery.client module now performs a component-wise version comparison in
5249 its #test method when strings are used in the browser map: version '1.10' is
5250 now correctly considered larger than '1.2'. Using numbers in the version map
5251 is not affected.
5252 * All API modules now support an assert parameter, which can either be
5253 'user' or 'bot'. The API will throw an error if the user is not logged
5254 in (user) or does not have the 'bot' userright (bot). Based off of the
5255 AssertEdit extension by Steve Sanbeg.
5256 * [[Special:Diff]] was added, allowing users to create internal links to
5257 revision comparison pages using syntax such as [[Special:Diff/12345]],
5258 [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]].
5259 * New user accounts' personal and talk pages are now watched by them by default.
5260 * Added SkinTemplateGetLanguageLink hook to allow changing the html of language
5261 links.
5262 * Added MessageCache::get hook as a new way to customize messages across
5263 multiple sites.
5264 * Added jquery.throttle-debounce ResourceLoader module to limit the number of
5265 callbacks for frequently occurring events.
5266 * Special:ProtectedPages shows now a table. The timestamp, the reason and
5267 the protecting user are also shown.
5268 * Added experimental support for using Microsoft SQL Server as the database
5269 backend.
5270 ** Added new Microsoft SQL Server-specific configuration variable
5271 $wgDBWindowsAuthentication, which makes the web server authenticate against
5272 the database server using Integrated Windows Authentication instead of
5273 $wgDBuser/$wgDBpassword.
5274 * HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and
5275 'radio' fields can now use message keys as labels via the 'options-messages'
5276 parameter, which overrides the 'options' parameter.
5277 * Admins can expire users passwords manually, or on a schedule using the
5278 $wgPasswordExpirationDays configuration setting.
5279 * Add new hook SendWatchlistEmailNotification, this will be used to determine
5280 whether to send a watchlist email notification.
5281 * (bug 42026) Special:Contributions now includes an option to filter page
5282 creations, similar to the topOnly option.
5283 * Add mediawiki.ui.button styling to all pages so wiki content can use styled
5284 buttons.
5285 * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
5286 displaying the error live.
5287 * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in
5288 skins.
5289 * Support has been added for a JSON based localisation file format. The
5290 installer has been updated to use it.
5291 * Changes to content typography (colors, line-height etc.). See
5292 https://www.mediawiki.org/wiki/Typography_refresh for further information.
5293 * The Vector skin's visual treatment of external links has been simplified to a
5294 single icon (from nine). This should not affect local rules unless they were
5295 re-using these icons, which have now been deleted.
5296 * ResourceLoader: mw.loader.using() now implements a Promise interface.
5297 * Add new hook ChangesListInitRows accessed via
5298 ChangesList::initChangesListRows.
5299 If called by the ChangesList consumer this gives extensions a chance to batch
5300 process the result set prior to rendering.
5301 * A PoolCounterRedis class was added which can be make use of in
5302 $wgPoolCounterConf. This requires at least one Redis 2.6+ server.
5303 * $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
5304 in StartProfiler.php instead of using this.
5305 * (bug 63444) Made it possible to change the indent string (default: 4 spaces)
5306 used by FormatJson::encode().
5307
5308 === Bug fixes in 1.23 ===
5309 * (bug 41759) The "updated since last visit" markers (on history pages, recent
5310 changes and watchlist) and the talk page message indicator are now correctly
5311 updated when the user is viewing old revisions of pages, instead of always
5312 acting as if the latest revision was being viewed.
5313 * (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code"
5314 when the email address is already confirmed. Also, consistently use
5315 "confirmed", rather than "authenticated", when messaging whether or not the
5316 user has confirmed an email address.
5317 * (bug 19415) action=render no longer shows section edit links. This affects
5318 behavior of several other features where (bogus) section edit links will
5319 disappear, such as file description pages loaded via $wgUseInstantCommons or
5320 pages transcluded cross-wiki via $wgEnableScaryTranscluding.
5321 * (bug 56912) Show correct link color on cached result of Special:DeadendPages.
5322 * Classes TitleListDependency and TitleDependency have been removed, as they
5323 have been found unused in core and extensions for a long time.
5324 * (bug 57098) SpecialPasswordReset now obeys returnto parameter
5325 * (bug 37812) ResourceLoader will notice when a module's definition changes and
5326 recompile it accordingly.
5327 * (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds.
5328 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages
5329 to appear blank or with missing text.
5330 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format
5331 which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as
5332 the JavaScript evaluator were updated to support the new format. Plural rules
5333 for some languages have changed, most notably Russian. Affected software
5334 messages have been updated and marked for review at translatewiki.net.
5335 * (bug 23542) imagelinks now stores both the redirect and target (as
5336 templatelinks does).
5337 * (bug 58167) The web installer no longer throws an exception when PHP is
5338 compiled without support for MySQL yet with support for another DBMS.
5339 * (bug 56199) Raw option of parser functions must now match complete word,
5340 to take effect.
5341 * (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link
5342 * (bug 29762) Undoing an already-undone edit will now display an appropriate
5343 message instead of leading the user to make a null edit.
5344 * (bug 52659) mediawiki.notification: Notification area remained visible when
5345 empty and thus was stealing pointer events from links on the page.
5346 * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
5347 hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
5348 no longer applies in such cases.
5349 * (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
5350 warnings to be printed on Windows due to large path length.
5351 * (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold
5352 the wrong path to the placeholder logo (skins/common/images/wiki.png).
5353 * (bug 64289) jquery.textSelection: Don't throw errors on empty collections.
5354
5355 === Web API changes in 1.23 ===
5356 * (bug 54884) action=parse&prop=categories now indicates hidden and missing
5357 categories.
5358 * action=query&meta=filerepoinfo now returns additional information for each
5359 repo.
5360 * action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
5361 MediaWiki 1.24.
5362 * action=parse now has disabletoc flag to disable table of contents in output.
5363 * (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages,
5364 list=deletedrevs and list=filearchive did not handle case-sensitivity
5365 properly for all parameters.
5366 * ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
5367 namespace in order to properly capitalize the title part.
5368 * (bug 57874) action=feedcontributions no longer has one item more than limit.
5369 * All API modules now support an assert parameter. See the new features section
5370 for more details.
5371 * Added prop=contributors to fetch the list of contributors to the page.
5372 * The following API modules will now return entries where fields have been
5373 revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges,
5374 list=watchlist. "hidden" indicators will be included, in the same style as is
5375 already done for prop=revisions.
5376 * The following API modules will now return the content of revision-deleted
5377 fields, in addition to the "hidden" indicators, if the querying user has the
5378 necessary rights: list=logevents, list=usercontribs, prop=imageinfo,
5379 prop=revisions.
5380 * The above modules, where applicable, will now return entries filtered by
5381 revision-deleted fields if the querying user has the necessary rights. For
5382 example, prop=revisions with rvuser or rvexcludeuser will no longer skip
5383 revisions where the user was revision-deleted if the current user has the
5384 deletedhistory right.
5385 * The 'hideuser' right, used when blocking, is no longer necessary or
5386 sufficient for seeing contributions with revision-deleted in
5387 list=usercontribs.
5388 * list=watchlist now uses the querying user's rights rather than the wlowner's
5389 rights when checking whether wlprop=patrol is allowed.
5390 * (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators).
5391 Title parameter is now deprecated.
5392 * (bug 23005) Added action=revisiondelete.
5393 * Added siprop=restrictions to API action=query&meta=siteinfo for querying
5394 possible page restriction (protection) levels and types.
5395 * Added prop 'limitreportdata' and 'limitreporthtml' to action=parse.
5396 * (bug 58627) Provide language names on action=parse&prop=langlinks.
5397 * Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks.
5398 * Added llprop=langname and llprop=autonym for action=query&prop=langlinks.
5399 * prop=redirects is added, to return redirects to the pages in the query.
5400 * list=allredirects is added, to list all redirects pointing to a namespace.
5401 * (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs.
5402 Also added newonly to action=feedcontributions.
5403 * (bug 42026) Deprecated uctoponly in favor of ucshow=top.
5404 * list=search no longer has a "srredirects" parameter. Redirects are now
5405 included in all searches.
5406 * Added list=prefixsearch that works like action=opensearch but can be used as
5407 a generator.
5408 * (bug 24782) Various modules will now use unique continuation parameters.
5409 * (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
5410
5411 === Languages updated in 1.23 ===
5412
5413 MediaWiki supports over 350 languages. Many localisations are updated
5414 regularly. Below only new and removed languages are listed, as well as
5415 changes to languages because of Bugzilla reports.
5416
5417 * Support was added for Algerian Spoken Arabic (arq).
5418 * Support was added for Riograndenser Hunsrückisch (hrx).
5419 * Support was added for Northern Luri (lrc).
5420
5421 === Other changes in 1.23 ===
5422 * The rc_type field in the recentchanges table has been superseded by a new
5423 rc_source field. The rc_source field is a string representation of the
5424 change type where rc_type was a numeric constant. This field is not yet
5425 queried but will be in a future release.
5426 ** Utilize update.php to create and populate this new field. On larger wikis
5427 which do not wish to update recentchanges table in one large update please
5428 review the SQL and comments in maintenance/archives/patch-rc_source.sql.
5429 ** The rc_type field of recentchanges will be deprecated in a future release.
5430 * The global variable $wgArticle has been removed after a lengthy deprecation.
5431 * The global functions addButton and insertTags (for mw.toolbar.addButton and
5432 mw.toolbar.insertTags) now emits mw.log.warn when accessed.
5433 * The ExpandTemplates extension has been moved into MediaWiki core.
5434 * (bug 52812) Removed "Disable search suggestions" from Preference.
5435 * (bug 52809) Removed "Disable browser page caching" from Preference.
5436 * Three new modules intended for use by custom skins were added:
5437 'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
5438 'mediawiki.skinning.interface', representing three levels of standard
5439 MediaWiki styling. Previously skin creators wishing to use them had to refer
5440 to the file names of appropriate files directly, which is now discouraged.
5441 * The modules 'skins.vector' and 'skins.monobook' have been renamed to
5442 'skins.vector.styles' and 'skins.monobook.styles', respectively,
5443 and their definition was changed not to include the common*.css files;
5444 the two skins now load the 'mediawiki.skinning.interface' module instead.
5445 * A page_links_updated field has been added to the page table.
5446 * SpecialPage::getTitle has been deprecated in favor of
5447 SpecialPage::getPageTitle.
5448 * BREAKING CHANGE: Two potentially backwards-incompatible changes have been made
5449 to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make
5450 the hook more consistent with the 'SpecialRecentChangesQuery' one:
5451 ** Several array keys have been renamed: hideMinor → hideminor,
5452 hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu,
5453 hidePatrolled → hidepatrolled, hideOwn → hidemyself.
5454 ** The parameter value is now a FormOptions object, not a plain array (array
5455 access operators should continue to work, as it implements the ArrayAccess
5456 interface).
5457 * Option to mark hooks as deprecated has been added.
5458 * (bug 52811) Preference "Enable section editing via [edit] links" was removed.
5459 * (bug 52813) Preference "Show table of contents (for pages with more than
5460 3 headings)" was removed.
5461 * (bug 52810) Preference "Justify paragraphs" was removed.
5462 * OutputPage::showErrorPage raises a notice if arguments are incoherent.
5463 * Thumbnails that keep failing to render in thumb.php will be rate-limited
5464 against further render attempts for 1 hour. $wgAttemptFailureEpoch can be
5465 altered to reset all rate-limited thumbnails at once.
5466 * (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
5467 * mw.loader.go and mw.loader.version have been removed.
5468 * (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
5469 was removed.
5470 * A user_password_expires column has been added to the user table. The User
5471 object expects this column to exist. Use update.php to create this new field.
5472 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
5473 jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
5474 * mw.user.bucket has been deprecated.
5475 * On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to
5476 table.mw-prefixindex-list-table to avoid duplicate ids when the special page
5477 is transcluded.
5478 * (bug 62198) window.$j has been deprecated.
5479 * Preference "Disable link title conversion" was removed.
5480 * SpecialRecentChanges no longer includes any functionality for generating feeds
5481 - it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new
5482 ones.
5483 * RecentChange::mExtra['lang'] is no longer set and should no longer be used.
5484 Extensions should read from other configuration variables, including
5485 $wgLocalInterwikis, to identify the current wiki.
5486 * Sections in the parser test framework have been renamed and the old
5487 section names are deprecated. Please use "!!wikitext" and "!!html"
5488 (or "!!html/php") instead of "!!input" and "!!result". This allows
5489 us to extend parser tests to accommodate additional input/output
5490 pairs, such as "!!html/parsoid" (for the output of the Parsoid
5491 parser, where it differs from the PHP parser).
5492 * Special:Search no longer has an "include redirects" option on the advanced
5493 tab. Redirects are now included in all searches.
5494 * mediawiki.api.category's getCategories() 'async' parameter was deprecated.
5495 * The locations of resources have been split between upstream libraries, now in
5496 resources/lib/, local libaries in resources/src/, and local forks of upstream
5497 libraries, also in resources/src/.
5498 * BREAKING CHANGE: The automatically-generated function closure with which
5499 ResourceLoader wraps all modules' JavaScript code now binds the identifier
5500 names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
5501 bundled with MediaWiki. If you bind these names to other objects in global
5502 scope (like Zepto.js or document.querySelectorAll, for example) you will need
5503 to use different names to or re-bind them at the top of each
5504 ResourceLoader-loaded module.
5505 * (bug 52342) Preference "Remember my login" was removed.
5506 * The skin autodiscovery mechanism has been deprecated and will be removed in
5507 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
5508 for migration guide for creators and users of custom skins that relied on it.
5509
5510 ==== Removed classes ====
5511 * FakeMemCachedClient (deprecated in 1.18)
5512 * RdfMetaData (unused)
5513 * TitleDependency (unused)
5514 * TitleListDependency (unused)
5515 * WikiError (deprecated in 1.17)
5516 * WikiXmlError (deprecated in 1.17)
5517 * WikiErrorMsg (deprecated in 1.17)
5518
5519 ==== Renamed classes ====
5520 * CdbReader_DBA to CdbReaderDBA
5521 * CdbReader_PHP to CdbReaderPHP
5522 * CdbWriter_DBA to CdbWriterDBA
5523 * CdbWriter_PHP to CdbWriterPHP
5524 * DiffOp_Add to DiffOpAdd
5525 * DiffOp_Change to DiffOpChange
5526 * DiffOp_Copy to DiffOpCopy
5527 * DiffOp_Delete to DiffOpDelete
5528 * HWLDF_WordAccumulator to HWLDFWordAccumulator
5529 * LBFactory_Fake to LBFactoryFake
5530 * LBFactory_Multi to LBFactoryMulti
5531 * LBFactory_Simple to LBFactorySimple
5532 * LBFactory_Single to LBFactorySingle
5533 * LCStore_Accel to LCStoreAccel
5534 * LCStore_CDB to LCStoreCDB
5535 * LCStore_DB to LCStoreDB
5536 * LCStore_Null to LCStoreNull
5537 * LoadBalancer_Single to LoadBalancerSingle
5538 * LoadMonitor_MySQL to LoadMonitorMySQL
5539 * LoadMonitor_Null to LoadMonitorNull
5540 * LocalisationCache_BulkLoad to LocalisationCacheBulkLoad
5541 * csvStatsOutput to CsvStatsOutput
5542 * extensionLanguages to ExtensionLanguages
5543 * languages to Languages
5544 * statsOutput to StatsOutput
5545 * textStatsOutput to TextStatsOutput
5546 * wikiStatsOutput to WikiStatsOutput
5547
5548 ==== Removed methods ====
5549 * ApiBase::getValidNamespaces() (deprecated in 1.17)
5550 * ApiMain::setCachePrivate() (deprecated in 1.17)
5551 * ApiMain::setVaryCookie (deprecated in 1.17)
5552 * Article::doRedirect() (deprecated in 1.18)
5553 * Article::doUnwatch() (deprecated in 1.18)
5554 * Article::doWatch() (deprecated in 1.18)
5555 * Article::forUpdate() (deprecated in 1.18)
5556 * Article::markpatrolled() (deprecated in 1.18)
5557 * Article::unwatch() (deprecated in 1.18)
5558 * Article::watch() (deprecated in 1.18)
5559 * Block::clear() (deprecated in 1.18)
5560 * Block::decodeExpiry() (deprecated in 1.18)
5561 * Block::encodeExpiry() (deprecated in 1.18)
5562 * Block::forUpdate() (deprecated in 1.18)
5563 * Block::infinity() (deprecated in 1.18)
5564 * Block::load() (deprecated in 1.18)
5565 * Block::newFromDB() (deprecated in 1.18)
5566 * Block::normaliseRange() (deprecated in 1.18)
5567 * Block::parseExpiryInput() (deprecated in 1.18)
5568 * CategoryViewer::addSubcategory() (deprecated in 1.17)
5569 * EditPage::spamPage() (deprecated since 1.17)
5570 * Exif::getFormattedData() (deprecated in 1.18)
5571 * Exif::makeFormattedData() (deprecated in 1.18)
5572 * in_string (deprecated in 1.21)
5573 * Language::convertLinkToAllVariants() (deprecated in 1.17)
5574 * LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17)
5575 * Linker::makeBrokenLink() (deprecated in 1.16)
5576 * Linker::makeBrokenLinkObj() (deprecated in 1.16)
5577 * Linker::makeColouredLinkObj() (deprecated in 1.16)
5578 * Linker::makeSizeLinkObj() (deprecated in 1.17)
5579 * MediaWiki::articleFromTitle() (deprecated in 1.18)
5580 * ParserOptions::getkin() (deprecated 1.18)
5581 * ProfilerSimple::getCpuTime (deprecated in 1.20)
5582 * Revision::revText() (deprecated in 1.17)
5583 * SkinTemplate::jstext() (deprecated in 1.21)
5584 * SpecialPage::__call() (deprecated in 1.17)
5585 * SpecialPage::executePath() (deprecated in 1.18)
5586 * SpecialPage::exists() (deprecated in 1.18)
5587 * SpecialPage::file() (deprecated in 1.18)
5588 * SpecialPage::func() (deprecated in 1.18)
5589 * SpecialPage::getGroup() (deprecated in 1.18)
5590 * SpecialPage::getPage() (deprecated in 1.18)
5591 * SpecialPage::getPageByAlias() (deprecated in 1.18)
5592 * SpecialPage::getLocalNameFor() (deprecated in 1.18)
5593 * SpecialPage::getRegularPages() (deprecated in 1.18)
5594 * SpecialPage::getRestrictedPages() (deprecated in 1.18)
5595 * SpecialPage::getTitleForAlias() (deprecated in 1.18)
5596 * SpecialPage::getUsablePages() (deprecated in 1.18)
5597 * SpecialPage::includable() (deprecated in 1.18)
5598 * SpecialPage::init()
5599 * SpecialPage::initAliasList() (deprecated in 1.18)
5600 * SpecialPage::initList() (deprecated in 1.18)
5601 * SpecialPage::name() (deprecated in 1.18)
5602 * SpecialPage::removePage() (deprecated in 1.18)
5603 * SpecialPage::resolveAlias() (deprecated in 1.18)
5604 * SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
5605 * SpecialPage::restriction() (deprecated in 1.18)
5606 * SpecialPage::setGroup() (deprecated in 1.18)
5607 * SpecialRecentChanges::feedSetup()
5608 * SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
5609 * User::getPageRenderingHash() (deprecated in 1.17)
5610 * WebRequest::getFileSize() (deprecated in 1.17)
5611 * WebRequest::isPathInfoBad() (deprecated in 1.17)
5612 * wfGenerateToken (deprecated in 1.20)
5613 * wfStreamFile (deprecated in 1.19)
5614 * wfUILang (deprecated in 1.18)
5615 * WikiPage::createUpdates() (deprecated in 1.18)
5616 * WikiPage::quickEdit() (deprecated in 1.18)
5617 * WikiPage::useParserCache() (deprecated in 1.18)
5618 * WikiPage::viewUpdates() (deprecated in 1.18)
5619
5620 ==== Removed globals ====
5621 * $wgBetterDirectionality (deprecated in 1.18)
5622
5623 = MediaWiki 1.22 =
5624
5625 == MediaWiki 1.22.15 ==
5626
5627 This is a security and maintenance release of the MediaWiki 1.22 branch.
5628
5629 === Changes since 1.22.14 ===
5630
5631 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
5632 could lead to xss. Permission to edit MediaWiki namespace is required to
5633 exploit this.
5634 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
5635 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
5636 part of its name.
5637 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
5638
5639 == MediaWiki 1.22.14 ==
5640
5641 This is a security and maintenance release of the MediaWiki 1.22 branch.
5642
5643 === Changes since 1.22.13 ===
5644
5645 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
5646 into API clients that used format=php to process pages that underwent flash
5647 policy mangling. This was fixed along with improving how the mangling was done
5648 for format=json, and allowing sites to disable the mangling using
5649 $wgMangleFlashPolicy.
5650 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
5651 the content model for a page could allow an unprivileged attacker to edit
5652 another user's common.js under certain circumstances. The user right
5653 "editcontentmodel" was added, and is needed to change a revision's content
5654 model.
5655 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
5656 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
5657 public RFC about the desired functionality. This issue was reported by user
5658 Bawolff.
5659 * (bug 71621) Make allowing site-wide styles on restricted special pages a
5660 config option.
5661 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
5662 might be a flash policy directive configurable.
5663
5664 == MediaWiki 1.22.13 ==
5665 This is a maintenance release of the MediaWiki 1.22 branch.
5666
5667 === Changes since 1.22.12 ===
5668 * (bug 67440) Allow classes to be registered properly from installer
5669
5670 == MediaWiki 1.22.12 ==
5671 This is a security release of the MediaWiki 1.22 branch.
5672
5673 === Changes since 1.22.11 ===
5674 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
5675 allowance.
5676
5677 == MediaWiki 1.22.11 ==
5678 This is a security release of the MediaWiki 1.22 branch.
5679
5680 === Changes since 1.22.10 ===
5681 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
5682 elements; normalize style elements and attributes before filtering; add checks
5683 for attributes that contain css; add unit tests for html5sec and reported
5684 bugs.
5685
5686 == MediaWiki 1.22.10 ==
5687 This is a maintenance release of the MediaWiki 1.22 branch.
5688
5689 === Changes since 1.22.9 ===
5690 * (bug 64970) Fix support for blobs on DatabaseOracle::update
5691 * (bug 60719) In MediaWiki 1.22, the job queue execution on each page request
5692 was changed (Gerrit change 59797) so, instead of executing the job inside the
5693 same PHP process that's rendering the page, a new PHP cli command is spawned
5694 to execute runJobs.php in the background. It will only work if $wgPhpCli is
5695 set to an actual path or safe mode is off, otherwise, the old method will be
5696 used. See
5697 https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22
5698 for more information. This change was in earlier releases of 1.22 but was not
5699 noted here until now.
5700
5701 == MediaWiki 1.22.9 ==
5702 This is a security and maintenance release of the MediaWiki 1.22 branch.
5703
5704 === Changes since 1.22.8 ===
5705 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
5706 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
5707 for loading a new page in Javascript,instead of relying on the URL in the
5708 link that has been clicked.
5709 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
5710 ParserOutput.
5711 * (bug 59147) The img_metadata field was not being decoded from bytea into text.
5712
5713 == MediaWiki 1.22.8 ==
5714 This is a security and maintenance release of the MediaWiki 1.22 branch.
5715
5716 === Changes since 1.22.7 ===
5717 * (bug 65839) SECURITY: Prevent external resources in SVG files.
5718 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
5719 only extracting the tail of the file partially or not at all.
5720
5721 == MediaWiki 1.22.7 ==
5722 This is a security and maintenance release of the MediaWiki 1.22 branch.
5723
5724 === Changes since 1.22.6 ===
5725 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
5726 Special:PasswordReset.
5727 * (bug 36356) Add space between two feed links.
5728 * (bug 63269) Email notifications were not correctly handling the
5729 MediaWiki:Helppage message being set to a full URL. This is a regression from
5730 the 1.22.5 point release, which made the default value for it a URL. If you
5731 customized MediaWiki:Enotif body (the text of email notifications), you'll
5732 need to edit it locally to include the URL via the new variable $HELPPAGE
5733 instead of the parser functions fullurl and canonicalurl; otherwise you don't
5734 have to do anything.
5735 * Add missing uploadstash.us_props for PostgreSQL.
5736 * (bug 56047) Fixed stream wrapper in PhpHttpRequest.
5737
5738 == MediaWiki 1.22.6 ==
5739 This is a security release of the MediaWiki 1.22 branch.
5740
5741 === Changes since 1.22.5 ===
5742 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
5743
5744 == MediaWiki 1.22.5 ==
5745 This is a security and maintenance release of the MediaWiki 1.22 branch.
5746
5747 === Changes since 1.22.4 ===
5748 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
5749 * (bug 62467) Set a title for the context during import on the cli.
5750 * Fix custom local MediaWiki:Helppage values.
5751 * mediawiki.js: Fix documentation breakage.
5752 * (bug 58153) Make MySQLi work with non standard port.
5753 * (bug 53887) Reintroduced a link to help pages in the default sidebar, that any
5754 sysop can customize by editing MediaWiki:Sidebar locally. The link now points
5755 to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done
5756 on your end, but remember to adjust MediaWiki:Sidebar for the needs of your
5757 wikis. Everyone can help with the shared documentation by translating:
5758 https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
5759 * (bug 53888) Corrected a regression in 1.22 which introduced red links on the
5760 login page. If you previously installed 1.22.x and have created a local page
5761 to make the red link blue, write its title as in MediaWiki:helplogin-url if
5762 you didn't already. Otherwise, you don't need to do anything, but you can
5763 translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>.
5764
5765 == MediaWiki 1.22.4 ==
5766 This is a maintenance release of the MediaWiki 1.22 branch.
5767
5768 === Changes since 1.22.3 ===
5769 * Use the correct branch of the extensions' git repositories.
5770
5771 == MediaWiki 1.22.3 ==
5772 This is a security and bugfix release of the MediaWiki 1.22 branch.
5773
5774 === Changes since 1.22.2 ===
5775 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
5776 namespaces. Also disallow iframe elements. * User will get an error including
5777 the namespace name if they use a non- whitelisted namespace.
5778 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
5779 our token comparison would be vulnerable to timing attacks. This will take
5780 constant time.
5781 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
5782 * (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way
5783 as in selectInsert
5784 * (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it
5785 async on Windows. Fixed possible "invalid filename" errors on Windows.
5786 Redirect output to dev/null to avoid hanging PHP.
5787 * (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by
5788 gebhkla
5789 * (bug 60531) Avoid variable naming conflicts in
5790 DatabasePostgres::selectSQLText. Spotted by gebhkla
5791 * (bug 60094) Fix rebuildall.php fatal error with PostgreSQL.
5792 * (bug 43817) Add error handling if descriptionmsg isn't defined for extension.
5793 * (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link.
5794
5795 == MediaWiki 1.22.2 ==
5796 This is a security and bugfix release of the MediaWiki 1.22 branch.
5797
5798 === Changes since 1.22.1 ===
5799 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
5800 formats
5801 * (bug 58253) Check for very old PCRE versions in installer and updater
5802 * (bug 60054) Make WikiPage::$mPreparedEdit public
5803
5804 == MediaWiki 1.22.1 ==
5805 This is a security and maintenance release of the MediaWiki 1.22 branch.
5806
5807 === Changes since 1.22.0 ===
5808 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
5809 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
5810 * (bug 58472) SECURITY: Disallow -o-link in styles
5811 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
5812 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
5813 * (bug 58178) Restore compatibility with curl < 7.16.2.
5814 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format which
5815 is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the
5816 JavaScript evaluator were updated to support the new format. Plural rules for
5817 some languages have changed, most notably Russian. Affected software messages
5818 have been updated and marked for review at translatewiki.net. This change is
5819 backported from the development branch of MediaWiki 1.23.
5820 * (bug 58434) The broken installer for database backend Oracle was fixed.
5821 * (bug 58167) The web installer no longer throws an exception when PHP is
5822 compiled without support for MySQL yet with support for another DBMS.
5823 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
5824 appear blank or with missing text.
5825 * (bug 47055) Changed FOR UPDATE handling in Postgresql
5826 * (bug 57026) Avoid extra parsing in prepareContentForEdit()
5827
5828 == MediaWiki 1.22.0 ==
5829
5830 === Configuration changes in 1.22 ===
5831 * $wgRedirectScript was removed. It was unused.
5832 * Removed $wgLocalMessageCacheSerialized, it is now always true.
5833 * $wgVectorUseIconWatch is now enabled by default.
5834 * $wgCascadingRestrictionLevels was added.
5835 * ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo
5836 have been whitelisted inside of $wgUrlProtocols.
5837 * $wgDocType and $wgDTD have been removed and are no longer used for the
5838 DOCTYPE.
5839 * $wgHtml5 is no longer used by core. Setting it to false will no longer disable
5840 HTML5. It is still set to true for extension compatibility but doing so in
5841 extensions is deprecated.
5842 * $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer
5843 change the xmlns used by MediaWiki. Reliance on this variable by extensions
5844 is deprecated.
5845 * $wgHandheldStyle was removed.
5846 * $wgHandheldForIPhone was removed.
5847 * $wgJsMimeType is no longer used by core. Most usage has been removed since
5848 HTML output is now exclusively HTML5.
5849 * $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle.
5850 * $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the
5851 logging table.
5852 Default for $wgLogAutopatrol is true.
5853 * The 'edit' right no longer allows for editing a user's own CSS and JS.
5854 * New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist',
5855 'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and
5856 'editmyoptions' restrict actions that were formerly allowed by default. They
5857 have been added to the default for $wgGroupPermissions['*'].
5858 * The 'editprotected' right no longer allows bypassing of all page protection
5859 restrictions. Any group using it for this purpose will now need to have all
5860 the individual rights listed in $wgRestrictionTypes for the same effect.
5861 * The 'protect' and 'autoconfirmed' rights are no longer used for the default
5862 page protection levels. The rights 'editprotected' and 'editsemiprotected'
5863 are now used for this purpose instead.
5864 * (bug 40866) wgOldChangeTagsIndex removed.
5865 * $wgNoFollowDomainExceptions now only matches entire domains. For example,
5866 an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'.
5867 * $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout
5868 times for fetching the file during upload by url.
5869 * New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set
5870 default gallery mode.
5871 * New hook 'GalleryGetModes' to allow extensions to make new gallery modes.
5872 * The checkbox for staying in HTTPS displayed on the login form when
5873 $wgSecureLogin is enabled has been removed. Instead, whether the user stays in
5874 HTTPS will be determined
5875 based on the user's preferences, and whether they came from HTTPS or not.
5876 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort,
5877 and $wgRC2UDPPrefix configuration options have been deprecated in favor of a
5878 $wgRCFeeds configuration array. $wgRCFeeds makes both the format and
5879 destination of recent change notifications customizable, and allows for
5880 multiple destinations to be specified.
5881 * (bug 53862) portal-url, currentevents-url and helppage have been removed from
5882 the default Sidebar.
5883 * The 'vector-simplesearch' preference is now enabled by default. Previously
5884 it was only enabled if the Vector extension was installed.
5885 * The precise format of metric datagrams produced by the UDP profiler and stats
5886 counter may now be specified as $wgUDPProfilerFormatString and
5887 $wgStatsFormatString, respectively.
5888 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
5889 $wgProxyMemcExpiry have been removed, along with the open proxy scanner
5890 script they were added for.
5891 * Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
5892
5893 === New features in 1.22 ===
5894 * You can now install extensions using Composer.
5895 See https://www.mediawiki.org/wiki/Composer
5896 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and
5897 attributes.
5898 * (bug 33454) Language::sprintfDate now has a timezone parameter, and supports
5899 the "eIOPTZ" formatting characters.
5900 * EditWarning: A warning is shown when an editor leaves the edit form without
5901 saving (enabled by default, users can opt-out via the 'useeditwarning'
5902 preference). This feature was moved from the Vector extension, and is now part
5903 of core for all skins. Take care when upgrading that you don't use an older
5904 version of the Vector extension as this feature may conflict.
5905 * New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a
5906 compact vertical form layout.
5907 * HTMLForm supports a new display format 'vform' which applies this compact
5908 vertical
5909 layout and button styling. Special:PasswordReset uses this format.
5910 * New versions of login (Special:UserLogin) and create account
5911 (Special:UserLogin/signup) forms using the "vform" compact vertical form
5912 layout. These forms use new messages that assume a "Help logging in" link, see
5913 https://www.mediawiki.org/wiki/Manual:Page_customizations;
5914 https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists
5915 the message key changes.
5916 * (bug 23343) Implemented ability to apply IP blocks to the contents of
5917 X-Forwarded-For headers by adding a new configuration variable
5918 $wgApplyIpBlocksToXff (disabled by default).
5919 * The new hook 'APIGetPossibleErrors' to modify the list of possible errors was
5920 added.
5921 * (bug 25592) LogEventsList::showLogExtract() will now ignore various
5922 Pager-related WebRequest parameters by default, as this is overwhelmingly
5923 likely to be what was intended by users of the method. If any caller wishes
5924 to use these parameters, the new param 'useRequestParams' may be set to true.
5925 * mw.util.addPortletLink: Tooltip is no longer required to be plain (without
5926 an accesskey in it already). As such it now rountrips. Creating a link with a
5927 message as tooltip, grabbing the title attribute and using it to create
5928 another portlet will work as expected.
5929 * (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost
5930 page without namespace.
5931 * BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also
5932 change their class name from .editsection to .mw-editsection and place them at
5933 the end of the heading element instead of the beginning. Client-side code and
5934 screen-scrapers will have to be adjusted to handle both cases (old HTML will
5935 still be visible on cached page renders until they are purged); extensions
5936 using the DoEditSectionLink or EditSectionLink hooks might need adjustments as
5937 well.
5938 * (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the
5939 language links associated with a page before display.
5940 * Chosen (http://harvesthq.github.io/chosen/) was added as module
5941 'jquery.chosen'
5942 * HTMLForm will turn multiselect checkboxes into a Chosen interface when setting
5943 cssclass 'mw-chosen'
5944 * rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches
5945 of the specified languages instead of all of them.
5946 * New GetNewMessagesAlert hook allowing extensions to disable or modify the new
5947 messages alert
5948 * New wgUserNewMsgRevisionId JS global for logged in users. This will be null
5949 if the user has no new talk page messages. Otherwise it will be set to the
5950 revision ID of the oldest new talk page message. This will allow gadgets and
5951 extensions to create their own new message alerts on the client side.
5952 * mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace).
5953 * mediawiki.log: Implemented log.deprecate. This method defines a property and
5954 uses ES5 getter/setter to emit a warning when they are used.
5955 * $wgCascadingRestrictionLevels was added, allowing one to specify restriction
5956 levels which can be cascading (previously 'sysop' was hard-coded as the only
5957 one).
5958 * XHTML5 support has been improved. If you set
5959 $wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup
5960 according to XHTML5 rules.
5961 * Altered hook 'ProtectionForm::save', adding the reason page protection is
5962 changed as third parameter.
5963 * New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from
5964 HTTP caches when a page is changed.
5965 * Changed the patrolling system to always show the link for patrolling in case
5966 the current revision is patrollable. This also removed the usage of the rcid
5967 URI parameters.
5968 * Oracle DB backend now supports Database Resident Connection Pooling (DRCP).
5969 Can be enabled by setting $wgDBOracleDRCP=true.
5970 Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a
5971 propper connect string.
5972 More about DRCP can be found at:
5973 https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1
5974 * Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook
5975 handlers can take further action based on the status of the patrol footer
5976 * A new hook TitleQuickPermissions was added to allow overriding of quick
5977 permissions in the Title class.
5978 * LinkCache singleton can now be altered or cleared, letting one to specify
5979 another instance that does not rely on a database backend.
5980 * MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev.
5981 * (bug 43689) The lists of templates used on the page and hidden categories it
5982 is a member of, shown below the edit form, are now collapsible (and collapsed
5983 by default).
5984 * Parser profiling data, formerly only available in the "NewPP limit report"
5985 HTML comment, is now also displayed at the bottom of page previews.
5986 * Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated
5987 ParserLimitReport hook.
5988 * New user rights have been added to increase granularity in rights management
5989 for extensions such as OAuth:
5990 ** editmyusercss controls whether a user may edit their own CSS subpages.
5991 ** editmyuserjs controls whether a user may edit their own JS subpages.
5992 ** viewmywatchlist controls whether a user may view their watchlist.
5993 ** editmywatchlist controls whether a user may edit their watchlist.
5994 ** viewmyprivateinfo controls whether a user may access their private
5995 information (e.g. registered email address, real name).
5996 ** editmyprivateinfo controls whether a user may change their private
5997 information.
5998 ** editmyoptions controls whether a user may change their preferences.
5999 * Add new hook AbortTalkPageEmailNotification, this will be used to determine
6000 whether to send the regular talk page email notification
6001 * Action classes registered in $wgActions are now also supported in the form of
6002 a callback (which returns an instance of Action) instead of providing the name
6003 of a subclass of Action.
6004 * (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension.
6005 * Added $wgRecentChangesFlags for defining new flags for RecentChanges and
6006 watchlists.
6007 * (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple
6008 button objects in one call.
6009 * Rights used for the default protection levels ('sysop' and 'autoconfirmed')
6010 are now used just for that purpose, instead of overloading other rights. This
6011 allows easy granting of the ability to edit sysop-protected pages without
6012 also granting the ability to protect and unprotect.
6013 * (bug 48256) Make brackets in section edit links accessible to CSS.
6014 They are now wrapped in <span class="mw-editsection-bracket" />.
6015 * (bug 8480) Allow handler specific parameters in galleries (like page number)
6016 * jquery.client: Add detection for Opera 15 and Internet Explorer 11.
6017 * Change tags (used by the AbuseFilter extension) are now shown on diff pages.
6018 * Change tag lists (shown on recent changes, watchlist, user contributions,
6019 history pages, diff pages) now include a link to Special:Tags to distinguish
6020 them from edit summaries.
6021 * Added a new method and hook, User::isEveryoneAllowed() and
6022 UserIsEveryoneAllowed, for use in situations where a "does everyone have this
6023 right?" check is used to avoid more expensive checks.
6024 * (bug 14431) Display "(No difference)" instead of an empty diff (when comparing
6025 revisions in the history or when previewing changes while editing).
6026 * New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept
6027 uploads by URL, useful for blacklisting specific URLs
6028 * (bug 21912) Watchlist token implementation has been refactored and
6029 Special:ResetTokens was added to allow users to reset their tokens
6030 instead of presenting them in Preferences.
6031 * Special:PrefixIndex now lets you strip the searched prefix from the displayed
6032 titles. Given a list of articles named Bug1, Bug2, you can now transclude the
6033 list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}.
6034 The special page form received a new checkbox matching that option.
6035 * (bug 23580) Implement javascript callback interface "mw.hook".
6036 * (bug 30713) New mw.hook "wikipage.content".
6037 * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
6038 to be used.
6039 * $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
6040 * $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
6041 too. Can be used whenever several multicast group could be interested by a
6042 specific purge.
6043 * (bug 25931) Add Special:RandomInCategory.
6044 * mediawiki.util: addPortletLink now supports passing a jQuery object as
6045 nextnode.
6046 * <wbr> can now be used inside WikiText.
6047 * WebResponse::setcookie is much more featureful. Callers using PHP's
6048 setcookie() or setrawcookie() should begin using this instead.
6049 * New hook WebResponseSetCookie, called from WebResponse::setcookie().
6050 * New hook ResetSessionID, called when the session id is reset.
6051 * Add a mode parameter to <gallery> tag with potential options of "traditional",
6052 "nolines", "packed", "packed-overlay", or "packed-hover".
6053 * (bug 47399) A success message is now displayed after changing the password.
6054 * Make thumb.php give HTTP redirects for file redirects
6055 * (bug 30607) Special:ListFiles can now show old versions of files. Additionally
6056 Special:AllMyUploads was introduced so the user can get a list of all things
6057 they have ever uploaded, even if it was subsequently overridden.
6058 * Introduced Special:MyFiles and Special:AllMyFiles as an alias for
6059 Special:MyUploads and Special:AllMyUploads respectively.
6060 * IPv6 addresses in X-Forwarded-For headers are now normalised before checking
6061 against allowed proxy lists.
6062 * Add deferrable update support for callback/closure.
6063 * Add TitleMove hook before page renames.
6064 * Revision deletion backend code is moved out of SpecialRevisiondelete
6065 * Added {{REVISIONSIZE}} variable to get the current size of a revision.
6066 * Add support for the LESS stylesheet language to ResourceLoader. LESS is a
6067 stylesheet language that compiles into CSS. ResourceLoader file modules may
6068 include LESS style files; ResourceLoader will compile these files into CSS
6069 before sending them to the client.
6070 ** The $wgResourceLoaderLESSVars configuration variable is an associative array
6071 mapping variable names to string CSS values. These variables are considered
6072 declared for all LESS files. Additional variables may be registered by
6073 adding keys to the array.
6074 ** $wgResourceLoaderLESSFunctions is an associative array of custom LESS
6075 function names to PHP callables. See
6076 <http://leafo.net/lessphp/docs/#custom_functions>
6077 for more details regarding custom functions.
6078 ** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files
6079 referenced in LESS '@import' statements are looked up here first.
6080 * ResourceLoader supports hashes as module cache invalidation trigger (instead
6081 of or in addition to timestamps).
6082 * Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php.
6083 * Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify
6084 the output of the API query meta=siteinfo&siprop=statistics
6085 * Primary keys have been added to both the archive table and the externallinks
6086 tables.
6087 * Added $wgEnableParserLimitReporting to control whether the NewPP limit report
6088 is output in a HTML comment.
6089 * The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object
6090 instead of just a boolean return value to abort the hook.
6091 * Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions
6092 with custom recentchanges entries to hook into the Watchlist without
6093 clobbering each other.
6094 * A hidden, empty input field was added to the edit form, and any edit that
6095 fills it in will be rejected. This prevents against the simplest form of
6096 spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt.
6097 * populateRevisionLength.php maintenance script updated to also populate
6098 archive.ar_len field.
6099 * (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a
6100 prefix. Also fixed PHPUnit test suite when using a MySQL backend containing
6101 views.
6102
6103 === Bug fixes in 1.22 ===
6104 * (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade
6105 * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
6106 could still navigate to the page by entering the URL directly.
6107 * (bug 47138) Fixed a fatal error when a blocked user tries to automatically
6108 create an account on login due external authentication in some circumstances.
6109 * (bug 23393) HTML <hN> headings containing line breaks are now handled
6110 correctly.
6111 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
6112 is now non-significant and not preserved in the HTML output.
6113 * (bug 47218) Special:BlockList now handles correctly user names with spaces
6114 when passed as subpage.
6115 * Pager's properly validate which fields are allowed to be sorted on.
6116 * mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well.
6117 Support for Mac "option" was added in 1.16, but the regex was never updated.
6118 * (bug 46768) Usernames of blocking users now display correctly, even if
6119 numeric.
6120 * (bug 39590) Self-transclusions now show the most up to date result always
6121 after save instead of being a revision behind.
6122 * A bias in wfRandomString() toward digits 1-7 has been corrected. Generated
6123 strings will now start with digits 0 and 8-f as often as they should.
6124 * (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes.
6125 * (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html.
6126 * PLURAL magic word no longer causes a PHP notice when no matching form exists.
6127 * (bug 36641) Patrol page links no longer show on non-existent revisions.
6128 * (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages
6129 are patrollable now.
6130 * (bug 30213) JavaScript for search suggestions is now disabled when the API
6131 is disabled, and AJAX patrolling and watching are now disabled when use of
6132 the write API is not allowed.
6133 * (bug 48294) API: Fix chunk upload async mode.
6134 * (bug 46749) Broken files tracking category removed from pages if an image
6135 with that name is uploaded.
6136 * (bug 14176) System messages that are empty were previously incorrectly treated
6137 as non-existent, causing a fallback to the default. This stopped users from
6138 overriding system messages to make them blank.
6139 * (bug 48319) action=parse no longer returns an error if passed none of 'oldid',
6140 'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A
6141 warning will instead be issued if 'title' is non-default, unless no props are
6142 requested.
6143 * Special:Recentchangeslinked will now include upload log entries
6144 * (bug 41281) Fixed ugly output if file size could not be extracted for
6145 multi-page media.
6146 * (bug 50315) list=logevents API module will now output log entries by anonymous
6147 users.
6148 * (bug 38911) Handle headers with rowspan in jquery.tablesorter
6149 * (bug 658) Converted the table of contents on wiki pages from <table> to <div>
6150 and adjusted skin CSS accordingly. The CSS was carefully crafted to be
6151 backwards-compatible in all reasonable cases (uses of the __TOC__ magic word,
6152 the #toc CSS id and the .toc CSS class). However, particularly bad abuse of
6153 the id or the class can possibly break.
6154 * CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes.
6155 * Special:Listfiles can no longer be sorted by image name when filtering
6156 by user in miser mode.
6157 * (bug 49074) CSSJanus: Handle values of border-radius correctly.
6158 * Handle relative inclusions ({{../name}}) in main namespace with subpages
6159 enabled correctly (previously MediaWiki tried to include Template:Parent/name
6160 instead of just Parent/name).
6161 * Added $wgAPIUselessQueryPages to allow extensions to flag their query pages
6162 for non-inclusion in ApiQueryQueryPages.
6163 * (bug 50870) mediawiki.notification: Notification area should remain visible
6164 when scrolled down.
6165 * (bug 13438) Special:MIMESearch no longer an expensive special page.
6166 * (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and
6167 the function apache_request_headers() function is not available.
6168 * (bug 33399) LivePreview: Re-run wikipage content handlers
6169 (jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded.
6170 * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
6171 are defined.
6172 * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
6173 * (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
6174 revision as second argument now, rather than just the current section.
6175 * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
6176 adding a new topic on a page
6177 * (bug 41756) Improve treatment of multiple comments on a blank line.
6178 * (bug 51064) Purge upstream caches when deleting file assets.
6179 * (bug 39012) File types with a mime that we do not know the extension for
6180 can no longer be uploaded as an extension that we do know the mime type
6181 for.
6182 * (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags
6183 * (bug 26811) On DB error pages, server hostnames are now hidden when both
6184 $wgShowHostnames and $wgShowSQLErrors are false.
6185 * (bug 6200) line breaks in <blockquote> are handled like they are in <div>
6186 * (bug 14931) Default character set now set to 'utf8' when a new MySQL
6187 database is created.
6188 * (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index"
6189 MySQL error when installing using the binary character set option.
6190 * (bug 45288) Support mysqli PHP extension
6191 * (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug.
6192 This resolves an infinite loop when using $wgDebugFunctionEntry = true.
6193 * (bug 56707) Correct tooltip of "Next n results" on query special pages.
6194 * (bug 56770) mw.util.addPortletLink: Check length before access array index.
6195
6196 === API changes in 1.22 ===
6197 * (bug 25553) The JSON output formatter now leaves forward slashes unescaped
6198 to improve human readability of URLs and similar strings. Also, a "utf8"
6199 option is now provided to use UTF-8 encoding instead of hex escape codes
6200 for most non-ASCII characters.
6201 * (bug 46626) xmldoublequote parameter was removed. Because of a bug, the
6202 parameter has had no effect since MediaWiki 1.16, and so its removal is
6203 unlikely to impact existing clients.
6204 * (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which
6205 skin is the default and which are unusable (e.g. listed in $wgSkipSkins).
6206 * (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled)
6207 to action=feedwatchlist.
6208 * WDDX formatted output will actually be formatted (and normal output will no
6209 longer be), and will no longer choke on booleans.
6210 * action=opensearch no longer silently ignores the format parameter.
6211 * action=opensearch now supports format=jsonfm.
6212 * list=usercontribs&ucprop=ids will now include the parent revision id.
6213 * BREAKING CHANGE: action=parse no longer returns all langlinks for the page
6214 with prop=langlinks by default. The new effectivelanglinks parameter will
6215 request that the LanguageLinks hook be called to determine the effective
6216 language links.
6217 * BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not
6218 apply the new LanguageLinks hook, and thus only consider language links
6219 stored in the database.
6220 * (bug 47219) Allow specifying change type of Wikipedia feed items
6221 * prop=imageinfo now allows setting iiurlheight without setting iiurlwidth
6222 * prop=info now adds the content model and page language of the title.
6223 * New upload log entries will now contain information on the relevant
6224 image (sha1 and timestamp).
6225 * (bug 49239) action=parse now can parse in preview and section preview modes.
6226 * (bug 49259) action=patrol now accepts revision ids.
6227 * (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and
6228 honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip
6229 will now receive an error, rather than the previous behavior listing all
6230 user blocks.
6231 * (bug 48201) action=parse&text=foo now assumes wikitext if no title is given,
6232 rather than using the content model of the page "API".
6233 * action=watch no longer silently ignores hook abort.
6234 * (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks
6235 jobs in the job queue for link table updates of pages that use the given page
6236 as a template. Instead, forcerecursivelinkupdate=1 is introduced and should
6237 be used if that behaviour is desirable.
6238 * The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log
6239 entry values through ApiResult::content but directly. This changes the JSON
6240 output from an array of objects with content in '*' to an array of strings
6241 with the content.
6242 * (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text
6243 version of the title.
6244 * (bug 52538) action=edit will now use empty text instead of the contents
6245 of section 0 when passed prependtext or appendtext with section=new.
6246 * Support for the 'gettoken' parameter to action=block and action=unblock,
6247 deprecated since 1.20, has been removed.
6248 * (bug 49090) Token-getting functions will fail when using jsonp callbacks.
6249 * (bug 52699) action=upload returns normalized file name on warning
6250 "exists-normalized" instead of filename to be uploaded to.
6251 * (bug 53884) action=edit will now return an error when the specified section
6252 does not exist in the page.
6253 * Added meta=filerepoinfo API module for getting information about foreign
6254 file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl.
6255 * The new query module list=allfileusages to enumerate file usages was added.
6256
6257 === Languages updated in 1.22 ===
6258
6259 MediaWiki supports over 350 languages. Many localisations are updated
6260 regularly. Below only new and removed languages are listed, as well as
6261 changes to languages because of Bugzilla reports.
6262
6263 * Batak Toba (bbc-latn) added.
6264 * (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian.
6265
6266 === Other changes in 1.22 ===
6267 * BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding
6268 has changed:
6269 ** MediaWiki no longer supports PHP installations in which the native JSON
6270 extension is missing or disabled.
6271 ** XmlJsCode objects can no longer be nested inside objects or arrays.
6272 (For Xml::encodeJsCall(), this individually applies to each argument.)
6273 ** The sets of characters escaped by default, along with the precise escape
6274 sequences used, have changed (except for the Xml::escapeJsString()
6275 function, which is now deprecated).
6276 * BREAKING CHANGE: The Services_JSON class has been removed. If necessary,
6277 be sure to upgrade affected extensions at the same time (e.g. Collection).
6278 * redirect.php was removed. It was unused.
6279 * ClickTracking integration was dropped from the mediaWiki.user.bucket
6280 JavaScript function. The 'tracked' option is now ignored.
6281 * BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia
6282 were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and
6283 LegacyTemplate classes that supported them were removed as well and are now a
6284 part of the Nostalgia extension.
6285 * Event namespace used by jquery.makeCollapsible has been changed from
6286 'mw-collapse' to 'mw-collapsible' for consistency with the module name.
6287 * BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed,
6288 along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf,
6289 $wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to
6290 use AuthPlugin for external authentication/authorization needs.
6291 * The Quickbar feature of the legacy skin model and the last remnants of it
6292 throughout the code base have been removed.
6293 * Externaledit/externaldiff preference was removed. Very few users used this
6294 feature, and improper configuration can actually prevent a user from editing
6295 * Calling Linker methods using a skin will now output deprecation warnings.
6296 * (bug 46680) "Return to" links are no longer tagged with rel="next".
6297 * BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the
6298 accesskey character is now $6 instead of $5.
6299 * HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was
6300 added.
6301 * A new Special:Redirect page was added, providing lookup by revision ID,
6302 user ID, or file name. The old Special:Filepath page was reimplemented
6303 to redirect through Special:Redirect.
6304 * Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9.
6305 * Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5.
6306 * wikibits: User-agent related globals have been deprecated. The following
6307 properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac,
6308 is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2,
6309 ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs,
6310 is_opera_95, is_opera_preseven, is_opera, and ie6_bugs.
6311 * (bug 48276) MediaWiki will now flash a confirmation message upon successfully
6312 editing a page.
6313 * (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following
6314 properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
6315 sajax_do_call and wfSupportsAjax.
6316 * BREAKING CHANGE: meta keywords are no longer supported. A
6317 <meta name="keywords" will no longer be output and OutputPage::addKeyword no
6318 longer exists.
6319 * Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage,
6320 deprecated since 1.19, have been removed.
6321 * (bug 50134) Hook functions are no longer required to return a value. When a
6322 hook function does not return a value (or when it returns an explicit null),
6323 processing continues. To abort the hook, a hook function must return an
6324 explicit, boolean false or a string error message. Other falsey values are
6325 tantamount to a 'return true' in earlier versions of MediaWiki.
6326 * BREAKING CHANGE: The EditSectionLink hook was removed after being
6327 deprecated since MediaWiki 1.14. Use DoEditSectionLink instead.
6328 * (bug 48256) The 'editsection-brackets' optional message was removed.
6329 Section edit links' brackets can now be customized using CSS by
6330 styling span.mw-editsection-bracket.
6331 * The usePatrol function in ChangesList has been marked as deprecated.
6332 * (bug 50785) A "null edit", that is, a save action in which no changes to the
6333 page text are made and no revision recorded, will no longer send refreshLinks
6334 jobs to the job table to update pages which use the edited page as a template.
6335 * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
6336 have been deprecated in favour of using mw.hook.
6337 * The 'showjumplinks' user preference has been removed, jump links are now
6338 always included.
6339 * Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and
6340 RecentChange::cleanupForIRC have been deprecated, as it is now the
6341 responsibility of classes implementing the RCFeedFormatter and RCFeedEngine
6342 interfaces to implement the formatting and delivery for recent change
6343 notifications.
6344 * SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have
6345 been made protected. They were accepting form variance arguments, this is now
6346 using properties in the SpecialPrefixindex class.
6347 * (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons.
6348 It defaults to an empty array and emits mw.log.warn when accessed.
6349 * BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core.
6350 Functions related to disambiguation pages are now handled by the Disambiguator
6351 extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug
6352 35981).
6353 * BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed.
6354 The skins/common/wikiprintable.css file no longer exists. Return value of
6355 Skin#commonPrintStylesheet is ignored. Please use the
6356 'mediawiki.legacy.commonPrint' module instead or base your skin on
6357 SkinTemplate.
6358 * (bug 49629) The hook ExtractThumbParameters has been deprecated in favour
6359 of media handler overriding MediaHandler::parseParamString.
6360 * (bug 46512) The collapsibleNav feature from the Vector extension has been
6361 moved to the Vector skin in core.
6362 * SpecialRecentChanges::addRecentChangesJS() function has been renamed
6363 to addModules() and made protected.
6364 * Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status
6365 object instead of a boolean.
6366 * Information boxes (CSS classes errorbox, warningbox, successbox) have been
6367 made more subtle.
6368 * BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it
6369 was unused. The file skins/common/IEFixes.js remains but is only used by
6370 wikibits. The file never contained any re-usable components. To use it in a
6371 skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that
6372 will import IEFixes automatically if user agent conditions are met.
6373 * Code specific to the Math extension was marked as deprecated.
6374 * mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name
6375 still works, but is deprecated.)
6376
6377 = MediaWiki 1.21 =
6378
6379 == MediaWiki 1.21.11 ==
6380 This is a security and maintenance release of the MediaWiki 1.21 branch.
6381
6382 === Changes since 1.21.10 ===
6383 * (bug 65839) SECURITY: Prevent external resources in SVG files.
6384 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
6385 only extracting the tail of the file partially or not at all.
6386
6387 == MediaWiki 1.21.10 ==
6388 This is a security and maintenance release of the MediaWiki 1.21 branch.
6389
6390 === Changes since 1.21.9 ===
6391 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
6392 Special:PasswordReset.
6393 * (bug 36356) Add space between two feed links.
6394
6395 == MediaWiki 1.21.9 ==
6396 This is a security and maintenance release of the MediaWiki 1.21 branch.
6397
6398 === Changes since 1.21.8 ===
6399 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
6400 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
6401 appear blank or with missing text.
6402
6403 == MediaWiki 1.21.8 ==
6404 This is a security and maintenance release of the MediaWiki 1.21 branch.
6405
6406 === Changes since 1.21.7 ===
6407 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
6408 * (bug 62467) Set a title for the context during import on the cli.
6409
6410 == MediaWiki 1.21.7 ==
6411 This is a maintenance release of the MediaWiki 1.21 branch.
6412
6413 === Changes since 1.21.6 ===
6414 * Use the correct branch of the extensions' git repositories.
6415
6416 == MediaWiki 1.21.6 ==
6417 This is a security release of the MediaWiki 1.21 branch.
6418
6419 === Changes since 1.21.5 ===
6420 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
6421 namespaces. Also disallow iframe elements.
6422 * User will get an error including the namespace name if they use a
6423 non-whitelisted namespace.
6424 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
6425 our token comparison would be vulnerable to timing attacks. This will take
6426 constant time.
6427 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
6428
6429 == MediaWiki 1.21.5 ==
6430 This is a security release of the MediaWiki 1.21 branch.
6431
6432 === Changes since 1.21.4 ===
6433 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
6434 formats
6435
6436 == MediaWiki 1.21.4 ==
6437 This is a security release of the MediaWiki 1.21 branch.
6438
6439 === Changes since 1.21.3 ===
6440 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
6441 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
6442 * (bug 58472) SECURITY: Disallow -o-link in styles
6443 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
6444 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
6445
6446 == MediaWiki 1.21.3 ==
6447 This is a security and maintenance release of the MediaWiki 1.21 branch.
6448
6449 === Changes since 1.21.2 ===
6450 * (bug 53032) SECURITY: Don't cache when a call could autocreate
6451 * (bug 55332) SECURITY: Improve css javascript detection
6452 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
6453 * Fix comma errors in various js files
6454 * Translations
6455
6456 == MediaWiki 1.21.2 ==
6457 This is a security and maintenance release of the MediaWiki 1.21 branch.
6458
6459 === Changes since 1.21.1 ===
6460 * SECURITY: Fix extension detection with 2 .'s
6461 * SECURITY: Support for the 'gettoken' parameter to action=block and
6462 action=unblock, deprecated since 1.20, has been removed.
6463 * SECURITY: Sanitize ResourceLoader exception messages
6464 * Purge upstream caches when deleting file assets.
6465 * Unit test suite now runs the AutoLoader tests. Also fixed the autoloading
6466 entry for the PageORMTableForTesting class though it had no impact.
6467
6468 == MediaWiki 1.21.1 ==
6469 This is a maintenance release of the MediaWiki 1.21 branch.
6470
6471 === Changes since 1.21.0 ===
6472 * An incorrect version number was used for 1.21.0. 1.21.1 has the correct
6473 number.
6474 * A problem with the Oracle SQL table creation was fixed.
6475 * (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds.
6476
6477 == MediaWiki 1.21.0 ==
6478
6479 === Configuration changes in 1.21 ===
6480 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
6481 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
6482 instead.
6483 * (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count
6484 of page watchers required for the number to be accessible to users
6485 without the unwatchedpages permission.
6486 * $wgBug34832TransitionalRollback has been removed.
6487 * (bug 29472) $wgUseDynamicDates has been removed and its functionality
6488 disabled.
6489
6490 === New features in 1.21 ===
6491 * (bug 38110) Schema changes (adding or dropping tables, indices and
6492 fields) can be now be done separately from other changes that
6493 update.php makes. This is useful in environments that use database
6494 permissions to restrict schema changes but allow the DB user that
6495 MediaWiki normally runs as to perform other changes that update.php
6496 makes. Schema changes can be run separately. See the file UPGRADE
6497 for more information.
6498 * (bug 34876) jquery.makeCollapsible has been improved in performance.
6499 * Added ContentHandler facility to allow extensions to support other content
6500 than wikitext. See docs/contenthandler.txt for details.
6501 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
6502 and desktop displays (configurable with $wgResponsiveImages).
6503 * Added new backend to represent and store information about sites and site
6504 specific configuration.
6505 * jQuery upgraded from 1.8.2 to 1.8.3.
6506 * jQuery UI upgraded from 1.8.23 to 1.8.24.
6507 * Added separate fa_sha1 field to filearchive table. This allows sha1
6508 searches with the api in miser mode for deleted files.
6509 * Add initial and programmatic sorting for tablesorter.
6510 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
6511 * The Job system was refactored to allow for different backing stores for
6512 queues as well as cross-wiki access to queues, among other things. The schema
6513 for the DB queue was changed to support better concurrency and reduce
6514 deadlock errors.
6515 * Added ApiQueryORM class to facilitate creation of query API modules based on
6516 tables that have a corresponding ORMTable class.
6517 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
6518 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
6519 * (bug 7851) Implemented one-click AJAX patrolling.
6520 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
6521 for use with Microdata.
6522 * The HTML5 <mark> tag has been whitelisted.
6523 * Added ParserCloned hook for when the Parser object is cloned.
6524 * Added AlternateEditPreview hook to allow extensions to replace the page
6525 preview from the edit page.
6526 * Added EditPage::showStandardInputs:options hook to allow extensions to add
6527 new fields to the "editOptions" area of the edit form.
6528 * Upload stash DB schema altered to improve upload performance.
6529 * The following global functions are now reporting deprecated warnings in
6530 debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans,
6531 wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use
6532 the Message class, or the global method wfMessage.
6533 * Added $wgEnableCanonicalServerLink, off by default. If enabled, a
6534 <link rel=canonical> tag is added to every page indicating the correct server
6535 to use.
6536 * Debug message emitted by wfDebugLog() will now be prefixed with the group
6537 name when its logged to the default log file. That is the case whenever the
6538 group has no key in wgDebugLogGroups, that will help triage the default log.
6539 * (bug 24620) Add types to LogFormatter.
6540 * jQuery JSON upgraded from 2.3 to 2.4.0.
6541 * Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words.
6542 * DatabaseUpdater class has two new methods to ease extensions schema changes:
6543 dropExtensionIndex and renameExtensionIndex.
6544 * New preference type - 'api'. Preferences of this type are not shown on
6545 Special:Preferences, but are still available via the action=options API.
6546 * (bug 39397) Hide rollback link if a user is the only contributor of the page.
6547 * $wgPageInfoTransclusionLimit limits the list size of transcluded articles
6548 on the info action. Default is 50.
6549 * Added action=createaccount to allow user account creation.
6550 * (bug 40124) action=options API also allows for setting of arbitrary
6551 preferences, provided that their names are prefixed with 'userjs-'. This
6552 officially reenables the feature that was undocumented and defective
6553 in MW 1.20 (saving preferences using Special:Preferences cleared any
6554 additional fields) and which has been disabled in 1.20.1 as a part of
6555 a security fix (bug 42202).
6556 * Added option to specify "others" as author in extension credits using
6557 "..." as author name.
6558 * Added the ability to limit the wall clock time used by shell processes,
6559 as well as the CPU time. Configurable with $wgMaxShellWallClockTime.
6560 * Allow memory of shell subprocesses to be limited using Linux cgroups
6561 instead of ulimit -v, which tends to cause deadlocks in recent versions
6562 of ImageMagick. Configurable with $wgShellCgroup.
6563 * Added $wgWhitelistReadRegexp for regex whitelisting.
6564 * (bug 5346) Categories that are redirects will be displayed italic in
6565 the category links section at the bottom of a page.
6566 * (bug 43915) New maintenance script deleteEqualMessages.php.
6567 * You can now create checkbox option matrices through the HTMLCheckMatrix
6568 subclass in HTMLForm.
6569 * WikiText now permits the use of WAI-ARIA's role="presentation" inside of
6570 html elements and tables. This allows presentational markup, especially
6571 tables. To be marked up as such.
6572 * maintenance/sql.php learned the --cluster option. Let you run the script
6573 on some external cluster instead of the primary cluster for a given wiki.
6574 * (bug 20281) test the parsing of inline URLs.
6575 * Added Special:PagesWithProp, which lists pages using a particular page
6576 property.
6577 * Implemented language-specific collations for category sorting for 67 languages
6578 based in latin, greek and cyrillic alphabets. This allows one to *finally* get
6579 articles to be correctly sorted on category pages. They are named
6580 'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca,
6581 co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd,
6582 gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no,
6583 oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk,
6584 uz, vi.
6585 * Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks.
6586 * Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks.
6587 * Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks.
6588 * (bug 33186) Add image rotation api "imagerotate"
6589 * (bug 34040) Add "User rights management" link on user page toolbox.
6590 * (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting
6591 structual equality of HTML (ignoring insignificant differences like
6592 quotmarks, order and whitespace in the attribute list).
6593 * (bug 23393) HTML <hN> headings containing line breaks are now handled
6594 correctly.
6595 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
6596 is now non-significant and not preserved in the HTML output.
6597
6598 === Bug fixes in 1.21 ===
6599 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
6600 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
6601 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
6602 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
6603 recentchanges table.
6604 * (bug 32951) Do not register internal externals with absolute protocol,
6605 when server has relative protocol.
6606 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
6607 method requests, we now send a Host header by default, for Varnish
6608 compatibility. This also works with Squid in reverse-proxy mode. If you wish
6609 to support Squid configured in forward-proxy mode, set
6610 $wgSquidPurgeUseHostHeader to false.
6611 * (bug 37020) sql.php with readline eats semicolon.
6612 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
6613 disabled, and don't wrap HTML-syntax definition lists in paragraphs.
6614 * (bug 41409) Diffs while editing an old revision should again diff against the
6615 current revision.
6616 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
6617 caught during API execution.
6618 * (bug 37963) Fixed loading process for user options.
6619 * (bug 26995) Update filename field on Upload page after having sanitized it.
6620 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
6621 didn't show up red.
6622 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
6623 parameter.
6624 * (bug 42036) Account creation emails now contain canonical (not
6625 protocol-relative) URLs.
6626 * (bug 41990) Fix regression: API edit with redirect=true and lacking
6627 starttimestamp and basetimestamp should not cause an edit conflict.
6628 * (bug 41706) EditPage: Preloaded page should be converted if possible and
6629 needed.
6630 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
6631 actually sorted.
6632 * (bug 2865) User interface HTML elements don't use lang attribute.
6633 (completed the fix by adding the lang attribute to firstHeading).
6634 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
6635 * (bug 36053) Log in "returnto" feature forgets query parameters if no
6636 title parameter was specified.
6637 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
6638 * (bug 14901) Email notification mistakes log action for new page creation.
6639 Enotif no longer sends "page has been created" notifications for some log
6640 actions. The following events now have a correct message: page creation,
6641 deletion, move, restore (undeletion), change (edit). Parameter
6642 $CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in
6643 MediaWiki 1.23.
6644 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
6645 skins, the heading levels have been changed from (variously per skin)
6646 <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
6647 If you are styling or scripting the headings in a custom way, this change
6648 will require updates to your site's CSS or JS.
6649 * (bug 41342) jquery.suggestions should cancel any active (async) fetches
6650 before it triggers another fetch.
6651 * (bug 42184) $wgUploadSizeWarning missing second variable.
6652 * (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser
6653 log when determining whether an account is used.
6654 * (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the
6655 History page.
6656 * (bug 42949) API no longer assumes all exceptions are MWException.
6657 * (bug 41733) Hide "New user message" (.usermessage) element from printable
6658 view.
6659 * (bug 39062) Special:Contributions will display changes that don't have
6660 a parent id instead of just an empty bullet item.
6661 * (bug 37209) "LinkCache doesn't currently know about this title" error fixed.
6662 * wfMerge() now works if $wgDiff3 contains spaces
6663 * (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger
6664 ca-edit click instead opening URL directly.
6665 * (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces
6666 a fatal error.
6667 * (bug 44775) The username field is not pre-filled when creating an account.
6668 * (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:"
6669 URL without address
6670 * (bug 45012) Creating an account by e-mail can no longer show a
6671 "password mismatch" error.
6672 * (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for
6673 extensions) performed using Git 1.7.8+ should now appear.
6674 * (bug 42184) $wgUploadSizeWarning missing second variable
6675 * (bug 40326) Check if files exist with a different extension during uploading
6676 * (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki
6677 diffs.
6678 * (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors.
6679 * (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php
6680 script in includes/DefaultSettings.php
6681 * (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well.
6682 * (bug 46151) mwdocgen.php should not ignore exit code of doxygen command.
6683 * (bug 41889) Fix $.tablesorter rowspan exploding for complex cases.
6684
6685 === API changes in 1.21 ===
6686 * prop=revisions can now report the contentmodel and contentformat.
6687 See docs/contenthandler.txt.
6688 * action=edit and action=parse now support contentmodel and contentformat
6689 parameters to control the interpretation of page content.
6690 See docs/contenthandler.txt for details.
6691 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing
6692 metadata.
6693 * (bug 40111) Disable minor edit for page/section creation by API.
6694 * (bug 41042) Revert change to action=parse&page=... behavior when the page
6695 does not exist.
6696 * (bug 27202) Add timestamp sort to list=allimages.
6697 * (bug 43137) Don't return the sha1 of revisions through the API if the content
6698 is revision-deleted.
6699 * ApiQueryImageInfo now also returns imageinfo for redirects.
6700 * list=alltransclusions added to enumerate every instance of page embedding
6701 * list=alllinks & alltransclusions now allow both 'from' and 'continue' in
6702 the same query. When both are present, 'from' is simply ignored.
6703 * list=alllinks & alltransclusions now allow 'unique' in generators, to yield
6704 a list of all link/template target pages instead of source pages.
6705 * BREAKING CHANGE: list=logevents output format changed for details of some log
6706 types. Specifically, details that were formerly reported under a key like
6707 "4::foo" will now be reported under a key of simply "foo".
6708 * BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue'
6709 for all query modules.
6710 * ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter.
6711 * (bug 35885) Removed version parameter and all getVersion() methods.
6712 * action=options now takes a "resetkinds" option, which allows only resetting
6713 certain types of preferences when the "reset" option is set.
6714 * (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target
6715 when queried with &redirects=.
6716 * (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on
6717 a redirect and its target.
6718 * (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo
6719 redirects.
6720 * On error, any warnings generated before that error will be shown in the
6721 result.
6722 * action=help supports generalized submodules (modules=query+value),
6723 querymodules obsolete
6724 * ApiQueryImageInfo continuation is more reliable. The only major change is
6725 that the imagerepository property will no longer be set on page objects not
6726 processed in the current query (i.e. non-images or those skipped due to
6727 iicontinue).
6728 * Add supports for all pageset capabilities - generators, redirects,
6729 converttitles to action=purge and action=setnotificationtimestamp.
6730 * (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query.
6731 * ApiQueryImageInfo will now limit the number of calls to File::transform made
6732 in any one query. If there are too many, iicontinue will be returned.
6733 * action=query&meta=siteinfo&siprop=general will now return the regexes used for
6734 link trails and link prefixes. Added for Parsoid support.
6735 * Added an API query module list=pageswithprop, which lists pages using a
6736 particular page property.
6737 * Added an API query module list=pagepropnames, which lists all page prop names
6738 currently in use on the wiki.
6739 * (bug 44921) ApiMain::execute() will now return after the CORS check for an
6740 HTTP OPTIONS request.
6741 * (bug 44923) action=upload works correctly if the entire file is uploaded in
6742 the first chunk.
6743 * Added 'continue=' parameter to streamline client iteration over complex query
6744 results
6745 * (bug 44909) API parameters may now be marked as type "upload", which is now
6746 used for action=upload's 'file' and 'chunk' parameters. This type will raise
6747 an error during parameter validation if the parameter is given but not
6748 recognized as an uploaded file.
6749 * (bug 44244) prop=info may now return the number of people watching each page.
6750 * (bug 33304) list=allpages will no longer return duplicate entries when
6751 querying protection.
6752 * (bug 33304) list=allpages will now find really old indefinite protections.
6753 * (bug 45937) meta=allmessages will report a syntactically invalid lang as a
6754 proper error instead of as an uncaught exception.
6755 * (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled)
6756 to action=feedwatchlist
6757 * WDDX formatted output will actually be formatted (and normal output will no
6758 longer be), and will no longer choke on booleans.
6759
6760 === API internal changes in 1.21 ===
6761 * For debugging only, a new global $wgDebugAPI removes many API restrictions
6762 when true.
6763 Never use on the production servers, as this flag introduces security holes.
6764 Whenever enabled, a warning will also be added to all output.
6765 * ApiModuleManager now handles all submodules (actions,props,lists) and
6766 instantiation
6767 * Query stores prop/list/meta as submodules
6768 * ApiPageSet can now be used in any action to process titles/pageids/revids or
6769 any generator.
6770 * BREAKING CHANGE: ApiPageSet constructor now has two params instead of three,
6771 with only the first one keeping its meaning. ApiPageSet is now derived from
6772 ApiBase.
6773 * BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were
6774 deleted.
6775 * ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param.
6776 * $wgAPIGeneratorModules is now obsolete and will be ignored.
6777 * Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue()
6778 * Internal API calls will now include <warnings> in case of unused parameters
6779
6780 === Languages updated in 1.21 ===
6781
6782 MediaWiki supports over 350 languages. Many localisations are updated
6783 regularly. Below only new and removed languages are listed, as well as
6784 changes to languages because of Bugzilla reports.
6785
6786 * South Azerbaijani (azb) added.
6787 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
6788 * (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि').
6789 * (bug 34977) Now formatted numbers in Spanish use space as separator
6790 for thousands, as mandated by the Real Academia Española.
6791 * (bug 35031) Kurdish formatted numbers now use period and comma
6792 as separators for thousands and decimals respectively.
6793
6794 === Other changes in 1.21 ===
6795 * BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and
6796 moved it to the Vector extension. It was entirely Vector-extension-specific,
6797 deeply interconnected with the extension, and this functionality really
6798 belongs to the extension instead of the skin anyway. In the unlikely case you
6799 were using it, you have to either copy it to your extension, or install the
6800 Vector extension (and possibly disable its features using config settings if
6801 you don't want them).
6802 * Experimental IBM DB2 support was removed due to lack of interest and
6803 maintainership
6804 * BREAKING CHANGE: Filenames of maintenance scripts were standardized into
6805 lowerCamelCase format, and made more explicit:
6806 - clear_stats.php -> clearCacheStats.php
6807 - clear_interwiki_cache.php -> clearInterwikiCache.php
6808 - initStats.php -> initSiteStats.php
6809 - proxy_check.php -> proxyCheck.php
6810 - stats.php -> showCacheStats.php
6811 - showStats.php -> showSiteStats.php.
6812 Class names were renamed accordingly:
6813 - clear_stats -> ClearCacheStats
6814 - InitStats -> InitSiteStats
6815 - CacheStats -> ShowCacheStats
6816 - ShowStats -> ShowSiteStats.
6817 * BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module
6818 and moved it to the TitleBlacklist extension.
6819
6820 = MediaWiki 1.20 =
6821
6822 == MediaWiki 1.20.8 ==
6823 This is a security release of the MediaWiki 1.20 branch.
6824
6825 === Changes since 1.20.7 ===
6826 * (bug 53032) SECURITY: Don't cache when a call could autocreate
6827 * (bug 55332) SECURITY: Improve css javascript detection
6828 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
6829 * Fix comma errors in various js files
6830 * Translations
6831
6832 == MediaWiki 1.20.7 ==
6833 This is a security release of the MediaWiki 1.20 branch.
6834
6835 === Changes since 1.20.6 ===
6836 * SECURITY: Fix extension detection with 2 .'s
6837 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
6838 * SECURITY: Sanitize ResourceLoader exception messages
6839 * Purge upstream caches when deleting file assets.
6840
6841 == MediaWiki 1.20.6 ==
6842 This is a security and maintenance release of the MediaWiki 1.20 branch.
6843
6844 === Changes since 1.20.5 ===
6845 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
6846 chunks of upload, during the upload process.
6847 * (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session
6848 cookies
6849 * (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20.
6850 * (bug 31044) Make ResourceLoader behave in read-only mode
6851
6852 == MediaWiki 1.20.5 ==
6853 This is a security and maintenance release of the MediaWiki 1.20 branch.
6854
6855 === Changes since 1.20.4 ===
6856 * (bug 46590) Add hook AbortChangePassword to Special:ChangePassword
6857 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
6858 * Localisation updates from http://translatewiki.net.
6859 * mwdocgen.php: Implement --version option.
6860 * Remove svnstat stuff used in Doxygen generation
6861 * (bug 43594) Correctly suppress warnings that were missed after the upstream
6862 * PHP change to E_STRICT being included in E_ALL.
6863
6864 == MediaWiki 1.20.4 ==
6865 This is a security release of the MediaWiki 1.20 branch.
6866
6867 === Changes since 1.20.3 ===
6868 * (bug 47251) SECURITY: Disable external entities in Import
6869 * (bug 46859) SECURITY: Disable external entities in XMLReader
6870 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
6871
6872 == MediaWiki 1.20.3 ==
6873 This is a security and maintenance release of the MediaWiki 1.20 branch.
6874
6875 === Changes since MediaWiki 1.20.2 ===
6876 * New preference type - 'api'. Preferences of this type are not shown on
6877 Special:Preferences, but are still available via the action=options API.
6878 (Unbreaks MLEB.)
6879 * (bug 44010) Context is passed to UserGetLanguageObject.
6880 * The recursion guard on RequestContext::getLanguage() was weakened.
6881 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
6882 * (bug 44024) Fixed problems in ObjectCache when using XCache.
6883 * (bug 44010) FauxRequest leaked cookie data from primary request.
6884 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
6885 * (bug 43518) API action=unblock should return the user name, not the full user
6886 object
6887 * (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php
6888
6889 == MediaWiki 1.20.2 ==
6890 This is a maintenance release of the MediaWiki 1.20 branch
6891
6892 === Changes since MediaWiki 1.20.1 ===
6893 * (bug 42638) Fix API action=options&reset=1 & unit tests.
6894 * (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused
6895 * (bug 42592) User rights, preferences and other things are not saving in
6896 1.20.1.
6897
6898 == MediaWiki 1.20.1 ==
6899 This is a security release of the MediaWiki 1.20 branch
6900
6901 === Changes since 1.20.0 ===
6902 * (bug 42202) Validate options to prevent html injection
6903 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
6904 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
6905 * Javscript Lint fixes
6906 * (bug 40632) Remove CleanupPresentationalAttributes feature
6907 * [Database] Fixed case where trx idle callbacks might be lost.
6908
6909 == MediaWiki 1.20.0 ==
6910
6911 === PHP 5.3 now required ===
6912 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
6913 upgrade PHP if you have not done so prior to upgrading MediaWiki.
6914
6915 === Configuration changes in 1.20 ===
6916 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
6917 Gitweb instance URL used in Special:Version.
6918 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on
6919 servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now
6920 always extracts path info from REQUEST_URI if it's available.
6921 * The user right 'upload_by_url' is no longer given to sysops by default.
6922 This only affects installations which have $wgAllowCopyUploads set to true.
6923 * Removed f-prot support from $wgAntivirusSetup.
6924 * New variable $wgDBerrorLogTZ to provide dates in the error log in a
6925 different timezone than the wiki timezone set by $wgLocaltimezone.
6926 * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for
6927 database connections, if either are available for the selected DB type.
6928 * $wgUseCombinedLoginLink now defaults to false, making MediaWiki output
6929 separate login and create account links by default.
6930
6931 === New features in 1.20 ===
6932 * Added TitleIsAlwaysKnown hook which gets called when determining if a page
6933 exists.
6934 * Added NamespaceIsMovable hook which gets called when determining if pages in a
6935 certain namespace can be moved.
6936 * Added SpecialPageBeforeExecute hook which gets called before
6937 SpecialPage::execute.
6938 * Added SpecialPageAfterExecute hook which gets called after
6939 SpecialPage::execute.
6940 * Added ORMTable, ORMRow and ORMResult classes for additional abstraction of
6941 database interaction.
6942 * Added CacheHelper and associated SpecialCachedPage and CachedAction helper
6943 classes.
6944 * (bug 32341) Add upload by URL domain limitation.
6945 * &useskin=default will now always display the default skin. Useful for users
6946 with a preference for the non-default skin to look at something using the
6947 default skin.
6948 * (bug 27619) Remove preference option to display broken links as link?
6949 * (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17).
6950 * (bug 34302) Add CSS classes to email fields in user preferences.
6951 * Introduced $wgDebugDBTransactions to trace transaction status (currently
6952 PostgreSQL only).
6953 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
6954 * Introduce a cryptographic random number generator source api for use when
6955 generating various tokens.
6956 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show
6957 redirects.
6958 * (bug 18062) New message when edit or create the local page of a shared file.
6959 * (bug 22870) Separate interface message when creating a page.
6960 * (bug 17615) nosummary option should be reassigned on preview/captcha.
6961 * (bug 34355) Add a variable and parser function for the namespace number.
6962 * (bug 35649) Special:Version now shows hashes of extensions checked out from
6963 git.
6964 * (bug 35728) Git revisions are now linked on Special:Version.
6965 * "Show Changes" on default messages shows now diff against default message text
6966 * (bug 23006) create #speciale parser function.
6967 * generateSitemap can now optionally skip redirect pages.
6968 * (bug 27757) New API command just for retrieving tokens (not page-based).
6969 * Added GitViewers hook for extensions using external git repositories to have a
6970 web-based repository viewer linked to from Special:Version.
6971 * Memcached debug logs can now be sent to their own file logs by setting
6972 $wgDebugLogFile['memcached'] to some filepath.
6973 * (bug 35685) api.php URL and other entry point URLs are now listed on
6974 Special:Version
6975 * Edit notices can now be translated.
6976 * jQuery upgraded to 1.8.2.
6977 * jQuery UI upgraded to 1.8.23.
6978 * QUnit upgraded from v1.2.0 to v1.10.0.
6979 * (bug 37604) jquery.cookie upgraded to 2011 version.
6980 * (bug 22887) Add warning and tracking category for preprocessor errors
6981 * (bug 31704) Allow selection of associated namespace on the watchlist
6982 * (bug 5445) Now remove autoblocks when a user is unblocked.
6983 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
6984 backtraces.
6985 * Added device detection for determining device capabilities.
6986 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown
6987 function. Arguments signature has changed. First arguments is now an options
6988 object of which 'config' can be a property. Previously 'config' itself was the
6989 first and only argument.
6990 * New getCreator and getOldestRevision methods added to WikiPage class
6991 * (bug 4220) the XML dump format schema now have unique identity constraints
6992 for page and revision identifiers. Patch by Elvis Stansvik.
6993 * cleanupSpam.php now can delete spam pages if --delete was specified instead of
6994 blanking them.
6995 * Added new hook ChangePasswordForm to allow adding of additional fields in
6996 Special:ChangePassword
6997 * Added new function getDomain to AuthPlugin for getting a user's domain
6998 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
6999 Will be null on previewing a page being created.
7000 * (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever
7001 a user is not logged in.
7002 * Watched status in changes lists are no longer indicated by <strong></strong>
7003 tags with class "mw-watched". Instead, each line now has a class
7004 "mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the
7005 title itself is surrounded by <span></span> tags with class "mw-title".
7006 * Added ContribsPager::reallyDoQuery hook allowing extensions to data to
7007 MyContribs
7008 * Added new hook ParserAfterParse to allow extensions to affect parsed output
7009 after the parse is complete but before block level processing, link holder
7010 replacement, and so on.
7011 * (bug 34678) Added InternalParseBeforeSanitize hook which gets called during
7012 Parser's internalParse method just before the parser removes
7013 unwanted/dangerous HTML tags.
7014 * Added new hook AfterFinalPageOutput to allow modifications to buffered page
7015 output before sent to the client.
7016 * (bug 36783) Implement jQuery Promise interface in mediawiki.api module.
7017 * Make dates in sortable tables sort according to the page content language
7018 instead of the site content language
7019 * (bug 37926) Deleterevision will no longer allow users to delete log entries,
7020 the new deletelogentry permission is required for this.
7021 * (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
7022 'files' and 'subcats'
7023 * (bug 38362) Make Special:Listuser includeable on wiki pages.
7024 * Added support in jquery.localize for placeholder attributes.
7025 * (bug 38151) Implemented mw.user.getRights for getting and caching the current
7026 user's user rights.
7027 * Session storage can now configured independently of general object cache
7028 storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been
7029 renamed to $wgSessionsInObjectCache, with the old name retained for backwards
7030 compatibility. When this feature is enabled, the expiry time can now be
7031 configured with $wgObjectCacheSessionExpiry.
7032 * Added a Redis client for object caching.
7033 * Implemented mw.user.getGroups for getting and caching user groups.
7034 * (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password
7035 confirmation is required for changing an email address or not.
7036 * HTMLForm mutators can now be chained (they return $this)
7037 * A new message, "api-error-filetype-banned-type", is available for formatting
7038 API upload errors due to the file extension blacklist.
7039 * New hook 'ParserTestGlobals' allows to set globals before running parser
7040 tests.
7041 * Allow importing pages as subpage.
7042 * Add lang and hreflang attributes to language links on Login page.
7043 * (bug 22749) Create Special:MostInterwikis.
7044 * Show change tags when transclude Special:Recentchanges(linked) or
7045 Special:Newpages.
7046 * (bug 23226) Add |class= parameter to image links in order to add class(es) to
7047 HTML img tag.
7048 * (bug 39431) SVG animated status is now shown in long description.
7049 * (bug 39376) jquery.form upgraded to 3.14.
7050 * SVG files will now show the actual width in the SVG's specified units
7051 in the metadata box.
7052 * Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/).
7053 * (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview.
7054 * Added ResourceLoader module "jquery.badge".
7055 * mw.util.$content now points to the overall content area in the skin rather
7056 than just page text content area. If you need the old behavior please use
7057 $( '#mw-content-text').
7058 * jsMessage has been replaced with a floating bubble notification system
7059 complete with auto-hide, multi-message support, and message replacement tags.
7060 * jquery.messageBox which appears to be unused by both core and extensions has
7061 been removed.
7062 * (bug 34939) Made link parsing insensitive ([HttP://]).
7063 * (bug 40072) Add CSS classes to items in output of ChangesList pages.
7064 * Added $wgCopyUploadProxy global to define which proxy to use for copy
7065 uploads.
7066 * (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module,
7067 mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector.
7068
7069 === Known issues in 1.20.0 ===
7070 These are issues that we're targeting to be fixed in a later release
7071 in the 1.20 series. Issues may be added or removed from this list as
7072 we see fit. For now, it is comprised of those bugs on the 1.20.0
7073 milestone in Bugzilla.
7074
7075 * (bug 35894): Reports of secret key generation "hanging" on windows
7076 This is probably a bug that has been fixed in PHP. If you run
7077 into this, try upgrading your PHP.
7078 * (bug 38334): PHP Notice: Undefined index: href in /www/w/skins/Vector.php on
7079 line 416
7080 We think this is a problem in some extension. If you see this,
7081 try disabling your extensions and check out the logging patch on
7082 this bug. Or try this patch:
7083 <https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php>
7084 * (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of
7085 the focussed textarea)
7086 This should only be an issue if you are using the ProofreadPage
7087 extension.
7088 * (bug 40641): Clicking "others" in Special:Version asks to download a file
7089 If you encounter this, you can tell your webserver to serve the
7090 CREDITS file with text/plain MIME type to fix it.
7091
7092 === Bug fixes in 1.20 ===
7093 * (bug 40939): [Regression] InfoAction: Call to a member function getUserText()
7094 on a non-object
7095 * (bug 40780): searchsuggest-containing line ("containing...") doesn't include
7096 the entered text
7097 * (bug 37714): [Regression] Incomplete log entries
7098 * (bug 27202): API: Add timestamp sort to list=allimages
7099 * (bug 30245) Use the correct way to construct a log page title.
7100 * (bug 34237) Regenerate an empty user_token and save to the database
7101 when we try to set the user's cookies for login.
7102 * (bug 32210) New edit emails for watched pages always provide a link to the
7103 edit which triggered the mail.
7104 * (bug 12021) Added user talk link on Special:Listusers.
7105 * (bug 34445) section edit and TOC hide/show links are excluded from selection
7106 and copy/paste on supporting browsers.
7107 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
7108 history compression method.
7109 * (bug 34702) Localised parentheses are now used in more special pages.
7110 * (bug 34723) When editing a script page on a RTL wiki the textbox should be
7111 LTR.
7112 * (bug 34762) Calling close() on a DatabaseBase object now clears the
7113 connection.
7114 * (bug 34863) Show deletion log extract on non-existent file pages if
7115 applicable.
7116 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
7117 Special:MyPage and Special:MyTalk.
7118 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
7119 filter.
7120 * (bug 15816) Add a switch for SETting the search_path (Postgres).
7121 * (bug 34521) Returning to the previous page after logging in loses any array-
7122 valued parameters in the query string.
7123 * (bug 34735) Updated compressOld.php documentation to mention the different
7124 usages of -s and -n parameters depending on compression type.
7125 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
7126 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when
7127 trying to defer foreign key for externallinks.
7128 * (bug 32748) Printer friendly version of article decode Unicode chars as a
7129 pretty IRI in footer.
7130 * Removed white border around thumbnails in galleries.
7131 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
7132 an RTL environment.
7133 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
7134 Subversion when invoked with the --modified option.
7135 * (bug 35069) On history pages, the " . . " separator after the number of
7136 characters changed in a revision is now suppressed if no text would follow.
7137 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at
7138 RecentChanges
7139 * (bug 33564) transwiki import sometimes result in invalid title.
7140 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB
7141 structure
7142 * (bug 31757) Add a word-separator between help-messages in HTMLForm
7143 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
7144 * (bug 32604) Some messages needs escaping of wikitext inside username.
7145 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with
7146 wfCgiToArray.
7147 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
7148 in user language instead of content language.
7149 * (bug 35264) Wrong type used for <ns> in export.xsd
7150 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
7151 who don't have access to /tmp can specify an alternative.
7152 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
7153 * (bug 35727) mw.Api ajax() should put token parameter last.
7154 * (bug 37708) mw.Uri.clone() should make a deep copy.
7155 * (bug 38024) ResourceLoader should not create empty stylesheets for modules
7156 that don't have stylesheets.
7157 * (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group
7158 having the "bot" user right, instead of just the default "bot" user group.
7159 * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags.
7160 * (bug 36991) jquery.tablesorter should extract date sort format from date
7161 string instead of global config. Dates like "April 1 2012" and "1 April 2012"
7162 now sort correctly regardless of the content language's DefaultDateFormat.
7163 * (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready
7164 handler that is bound before mediawiki.js's handler (e.g. browser-userscripts
7165 like greasemonkey).
7166 * (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live
7167 values are used instead of just the fixed values from when the tablesorter
7168 was initialized.
7169 * (bug 38093) Gender of changed user groups missing in Special:Log/rights
7170 * (bug 35893) Special:Block needs to load mediawiki.special.block.js.
7171 * (bug 37331) ResourceLoader modules sometimes execute twice in Firefox
7172 * (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use
7173 insecure links to foreign wikis in the WikiMap.
7174 * (bug 36073) Avoid duplicate element IDs on File pages.
7175 * (bug 25095) Special:Categories should also include the first relevant item
7176 when "from" is filled.
7177 * (bug 35526) jquery.tablesorter now uses a stable sort.
7178 * (bug 38953) --memory-limit switch not working for runJobs.php.
7179 * (bug 33037) Make subpage of Special:newfiles control how many files
7180 are returned, like in previous versions.
7181 * (bug 36524) "Show" options on Special:RecentChanges and
7182 Special:RecentChangesLinked are now remembered between successive clicks.
7183 * (bug 26069) Page title is no longer "Error" for all error pages.
7184 * (bug 39297) Show warning if thumbnail of animated image will not be animated.
7185 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
7186 PCRE is compiled without support for unicode properties.
7187 * (bug 30390) Suggested file name on Special:Upload should not contain
7188 illegal characters.
7189 * EXIF below sea level GPS altitude data is now shown correctly.
7190 * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a
7191 currency.
7192 * (bug 39273) "Show changes" should not be incorrectly displayed in the Live
7193 Preview state.
7194 * Made body-content lang attribute honor the variant language when it is set.
7195 * (bug 36761) "Mark pages as visited" now submits previously established filter
7196 options.
7197 * (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error.
7198 * (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-"
7199 prefix.
7200 * (bug 32552) Drop unused database field cat_hidden from table category.
7201 * (bug 24502) Do not allow multiple language links to the same language.
7202 * (bug 40214) Category pages no longer use deprecated "width" HTML attribute.
7203 * (bug 39941) Add missing stylesheets to the installer pages
7204 * In HTML5 mode, allow new input element types values (such as color, range..)
7205 * (bug 36151) mw.Title: Don't limit extension in title parsing.
7206 * (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being
7207 enforced.
7208 * (bug 38163) jquery.byteLimit incorrectly limits input when using methods other
7209 than basic per-char typing.
7210 * (bug 34495) patrol log now credit the user patrolling (instead of patrolled
7211 user).
7212 * (bug 31676) ResourceLoader should work around IE stylesheet limit.
7213 * (bug 40498) ResourceLoader should not output an empty "@media print { }"
7214 block.
7215 * (bug 40500) ResourceLoader should not ignore media-type for urls in debug
7216 mode.
7217 * (bug 40660) ResourceLoaderWikiModule should not convert "&nbsp;" to a space
7218 for pages from the MediaWiki-namespace.
7219 * (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature.
7220
7221 === API changes in 1.20 ===
7222 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
7223 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
7224 the format parameter.
7225 * (bug 32384) Allow descending order for list=watchlistraw.
7226 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is
7227 not documented in API help.
7228 * (bug 32492) API now allows editing using pageid.
7229 * (bug 32497) API now allows changing of protection level using pageid.
7230 * (bug 32498) API now allows comparing pages using pageids.
7231 * (bug 30975) API import of pages with invalid characters in this wiki leads to
7232 Fatal Error.
7233 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per
7234 pageid.
7235 * (bug 34927) Output media_type for list=filearchive.
7236 * (bug 28814) add properties to output of action=parse.
7237 * (bug 33224) add variants of content language to meta=siteinfo.
7238 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit
7239 is reached.
7240 * The paraminfo module now also contains result properties for most modules.
7241 * (bug 32348) Allow descending order for list=alllinks.
7242 * (bug 31777) Upload unknown error ``fileexists-forbidden''.
7243 * (bug 32382) Allow descending order for list=iwbacklinks.
7244 * (bug 32381) Allow descending order for list=backlinks, list=embeddedin and
7245 list=imageusage.
7246 * (bug 32383) Allow descending order for list=langbacklinks.
7247 * API meta=siteinfo can now return the list of known variable IDs.
7248 * (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode
7249 (mode #3).
7250 * (bug 29290) API avoids mangling fields in continuation parameters
7251 * (bug 36987) API avoids mangling fields in continuation parameters
7252 * (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent
7253 special pages
7254 * (bug 38190) Add "required" flag to some token params for hint in api docs.
7255 * (bug 27567) Add file repo support to prop=duplicatefiles.
7256 * (bug 27610) Add archivename for non-latest image version to list=filearchive
7257 * (bug 38231) Add xml parse tree to action=parse.
7258 * Watchlist notification timestamp may be queried by page and may be updated via
7259 the API.
7260 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
7261 * (bug 39032) ApiQuery generates help in constructor.
7262 * (bug 11142) Improve file extension blacklist error reporting in API upload.
7263 * (bug 39665) List of query generators is now not built using reflection,
7264 instead it is defined in code.
7265 * (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22.
7266
7267 === Languages updated in 1.20 ===
7268
7269 MediaWiki supports over 350 languages. Many localisations are updated
7270 regularly. Below only new and removed languages are listed, as well as
7271 changes to languages because of Bugzilla reports.
7272
7273 * Emilian (egl) added.
7274 * Tornedalen Finnish (fit) added.
7275 * Mizo (lus) added.
7276 * Santali (sat) added.
7277 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
7278 * (bug 35541) Namespace gender aliases for Croatian (hr).
7279 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
7280 Portuguese, Esperanto and Udmurt.
7281 * Turoyo (tru) added.
7282 * Cyrillic-Latin language converter added for Uzbek (uz).
7283
7284 === Other changes in 1.20 ===
7285 * The user_token field is now left empty until a user attempts to login and
7286 cookies need to be set. It is also now possible to reset every user's
7287 user_token simply by clearing the values in the user_token column.
7288 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
7289 has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
7290 which actually uses ResourceLoader, LocalSettings and the Skin.
7291 * Removed $wgDBtransactions global. This was only checked in one class
7292 and only applies to MyISAM or similar DBs. Those should only be used
7293 for archived sites anyway. We can't get edit conflicts on such sites,
7294 so the WikiPage code wasn't useful there either.
7295 * Deprecated mw.user.name in favour of mw.user.getName.
7296 * Deprecated mw.user.anonymous in favour of mw.user.isAnon.
7297 * Deprecated DatabaseBase functions newFromParams(), newFromType(), set(),
7298 quote_ident(), and escapeLike() were removed.
7299 * Use of __DIR__ instead of dirname( __FILE__ ).
7300 * OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was
7301 not used and complicated migration to Message class.
7302 * Live preview functionality has been improved and moved into the
7303 'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview'
7304 module has been removed.
7305 * (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the
7306 following that has become obsolete:
7307 - globals $wgEnableMWSuggest and $wgMWSuggestTemplate.
7308 - mw.config.values wgMWSuggestTemplate and wgSearchNamespaces.
7309 - method SearchEngine::getMWSuggestTemplate().
7310
7311 == MediaWiki 1.19 ==
7312
7313 == MediaWiki 1.19.24 ==
7314
7315 This is a security and maintenance release of the MediaWiki 1.19 branch.
7316
7317 === Changes since 1.19.23 ===
7318
7319 * ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that
7320 contain XML entities, to prevent various DoS attacks.
7321 * ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's.
7322 * ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
7323 * ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview.
7324 * ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues
7325 fixed in SVG filtering to prevent XSS and protect viewer's privacy.
7326
7327 == MediaWiki 1.19.23 ==
7328
7329 This is a security and maintenance release of the MediaWiki 1.19 branch.
7330
7331 === Changes since 1.19.22 ===
7332
7333 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
7334 could lead to xss. Permission to edit MediaWiki namespace is required to
7335 exploit this.
7336 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
7337 * Add missing $ in front of variable in OutputPage.php
7338
7339 == MediaWiki 1.19.22 ==
7340
7341 This is a security and maintenance release of the MediaWiki 1.19 branch.
7342
7343 === Changes since 1.19.21 ===
7344
7345 * ({{bug|66776}}, {{bug|71478}}) SECURITY: User PleaseStand reported a way to
7346 inject code into API clients that used format=php to process pages that
7347 underwent flash policy mangling. This was fixed along with improving how the
7348 mangling was done for format=json, and allowing sites to disable the mangling
7349 using $wgMangleFlashPolicy.
7350 * ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted
7351 with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
7352 public RFC about the desired functionality. This issue was reported by user
7353 Bawolff.
7354 * ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a
7355 config option.
7356 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
7357 might be a flash policy directive configurable.
7358
7359 == MediaWiki 1.19.21 ==
7360 This is a maintenance release of the MediaWiki 1.19 branch.
7361
7362 === Changes since 1.19.20 ===
7363 * (bug 67440) Allow classes to be registered properly from installer.
7364 * (bug 47281) Fixed a dumpBackup.php error with --uploads
7365 --include-filesoptions: Unable to find the wrapper "mwstore".
7366 * System administrators are encouraged to upgrade to this release or 1.22+ and
7367 produce a full data dump.
7368 https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
7369 * (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as
7370 part of the fix for bug 61362, for PHP 5.2 compatibility.
7371
7372 == MediaWiki 1.19.20 ==
7373 This is a security release of the MediaWiki 1.19 branch.
7374
7375 === Changes since 1.19.19 ===
7376 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
7377 allowance.
7378
7379 == MediaWiki 1.19.19 ==
7380 This is a security release of the MediaWiki 1.19 branch.
7381
7382 === Changes since 1.19.18 ===
7383 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
7384 elements; normalize style elements and attributes before filtering; add checks
7385 for attributes that contain css; add unit tests for html5sec and reported
7386 bugs.
7387
7388 == MediaWiki 1.19.18 ==
7389 This is a security release of the MediaWiki 1.19 branch.
7390
7391 === Changes since 1.19.17 ===
7392 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
7393 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
7394 ParserOutput.
7395
7396 == MediaWiki 1.19.17 ==
7397 This is a security and maintenance release of the MediaWiki 1.19 branch.
7398
7399 === Changes since 1.19.16 ===
7400 * (bug 65839) SECURITY: Prevent external resources in SVG files.
7401 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
7402 only extracting the tail of the file partially or not at all.
7403
7404 == MediaWiki 1.19.16 ==
7405 This is a security release of the MediaWiki 1.19 branch.
7406
7407 === Changes since 1.19.15 ===
7408 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
7409 Special:PasswordReset.
7410
7411 == MediaWiki 1.19.15 ==
7412 This is a security and maintenance release of the MediaWiki 1.19 branch.
7413
7414 === Changes since 1.19.14 ===
7415 Fixed resetting passwords.
7416 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
7417 appear blank or with missing text.
7418
7419 == MediaWiki 1.19.14 ==
7420 This is a security and maintenance release of the MediaWiki 1.19 branch.
7421
7422 === Changes since 1.19.13 ===
7423 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
7424 * (bug 62467) Set a title for the context during import on the cli.
7425
7426 == MediaWiki 1.19.13 ==
7427 This is a security and maintenance release of the MediaWiki 1.19 branch.
7428
7429 === Changes since 1.19.12 ===
7430 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
7431 * Use the correct branch of the extensions' git repositories.
7432
7433 == MediaWiki 1.19.12 ==
7434 This is a security release of the MediaWiki 1.19 branch.
7435
7436 === Changes since 1.19.11 ===
7437 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
7438 namespaces. Also disallow iframe elements. * User will get an error including
7439 the namespace name if they use a non- whitelisted namespace.
7440 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
7441 our token comparison would be vulnerable to timing attacks. This will take
7442 constant time.
7443
7444 == MediaWiki 1.19.11 ==
7445 This is a security release of the MediaWiki 1.19 branch.
7446
7447 === Changes since 1.19.10 ===
7448 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
7449 formats
7450
7451 == MediaWiki 1.19.10 ==
7452 This is a security release of the MediaWiki 1.19 branch.
7453
7454 === Changes since 1.19.9 ===
7455 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
7456 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
7457 * (bug 58472) SECURITY: Disallow -o-link in styles
7458 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
7459 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
7460
7461 == MediaWiki 1.19.9 ==
7462 This is a security and maintenance release of the MediaWiki 1.19 branch.
7463
7464 === Changes since 1.19.8 ===
7465 * (bug 53032) SECURITY: Don't cache when a call could autocreate
7466 * (bug 55332) SECURITY: Improve css javascript detection
7467 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
7468 * Translations
7469
7470 == MediaWiki 1.19.8 ==
7471 2013-09-03
7472
7473 This is a security and maintenance release of the MediaWiki 1.19 branch.
7474
7475 === Changes since 1.19.7 ===
7476 * SECURITY: Sanitize ResourceLoader exception messages
7477 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
7478 * SECURITY: Fix extension detection with 2 .'s
7479 * Allow a string other than '*' as condition for DatabaseBase::delete()
7480 * Purge upstream caches when deleting file assets.
7481 * jquery.tablesorter: Add missing dependency on jquery.mwExtension
7482
7483 == MediaWiki 1.19.7 ==
7484 2013-05-21
7485
7486 This is a security release of the MediaWiki 1.19 branch
7487
7488 === Changes since 1.19.6 ===
7489 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
7490 chunks of upload, during the upload process.
7491
7492 == MediaWiki 1.19.6 ==
7493 2013-04-30
7494
7495 This is a security and maintenance release of the MediaWiki 1.19 branch
7496
7497 === Changes since 1.19.5 ===
7498 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
7499 * (bug 46590) Added AbortChangePassword hook to allow extensions to abort
7500 password changes from Special:ChangePassword
7501 * Localisation updates from http://translatewiki.net.
7502 * mwdocgen.php: Implement --version option.
7503 * Remove svnstat stuff used in Doxygen generation
7504 * E_USER_DEPRECATED undefined prior to php 5.3
7505
7506 == MediaWiki 1.19.5 ==
7507 2013-04-15
7508
7509 This is a security and maintenance release of the MediaWiki 1.19 branch
7510
7511 === Changes since 1.19.4 ===
7512 * (bug 47251) SECURITY: Disable external entities in Import
7513 * (bug 46859) SECURITY: Disable external entities in XMLReader
7514 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
7515 * (bug 43594) Fix notices displayed on PHP 5.4
7516 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
7517
7518 == MediaWiki 1.19.4 ==
7519 2013-03-04
7520
7521 This is a security release of the MediaWiki 1.19 branch
7522
7523 === Changes since 1.19.3 ===
7524 * New preference type - 'api'. Preferences of this type are not shown on
7525 Special:Preferences, but are still available via the action=options API.
7526 * (bug 44010) Context is passed to UserGetLanguageObject.
7527 * The recursion guard on RequestContext::getLanguage() was weakened.
7528 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
7529 * (bug 43518) API action=unblock should return the user name, not the full user
7530 object
7531
7532 == MediaWiki 1.19.3 ==
7533 2012-11-30
7534
7535 This is a security release of the MediaWiki 1.19 branch
7536
7537 === Changes since 1.19.2 ===
7538 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
7539 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
7540 * Increase permitted runtime for testParserTest (only used for continuous
7541 integration).
7542 * Updated messages translations from http://translatewiki.net/
7543
7544 == MediaWiki 1.19.2 ==
7545
7546 This is a security release of the MediaWiki 1.19 branch
7547
7548 === Changes since 1.19.1 ===
7549 * (bug 39700) File: link to non-existing file can inject html
7550 * (bug 39823) Hidden block text leaking to admins
7551 * (bug 39184) LDAP password leakage
7552 * (bug 39180) Disallow framing of api results
7553 * (bug 37587) Enforce language codes to be html safe
7554 * (bug 39824) Check global blocks on account creation
7555
7556 == MediaWiki 1.19 ==
7557
7558 MediaWiki 1.19 is a large release that contains many new features and bug
7559 fixes. This is a summary of the major changes of interest to users.
7560 You can consult the RELEASE-NOTES-1.19 file for the full list of changes in
7561 this version.
7562
7563 Our thanks go to everyone who helped to improve MediaWiki by testing the beta
7564 release and submitting bug reports.
7565
7566 === Changes since 1.19.1 ===
7567 * (bug 38406) Properly quote table names in DatabaseBase::tableName()
7568 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
7569 PCRE is compiled without support for unicode properties.
7570
7571 === Changes since 1.19.0 ===
7572 * (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater
7573 * (bug 36938) Correctly escape uselang attribute to prevent xss
7574 * Expanded Blacklist for SVG Files
7575
7576 === Changes since 1.19 beta 2 ===
7577 * Special:Watchlist no longer sets links to feed when the user is anonymous.
7578 * (bug 35961) Hash comparison should always be strict.
7579 * Fix broken email confirmation expiration caused by MWCryptRand changes.
7580 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
7581 on line 598.
7582 * (bug 36042) 'show' causes a fatal in blocks API.
7583
7584 === Changes since 1.19 beta 1 ===
7585 * (bug 35014) Including a special page no longer sets the page's title to the
7586 included page
7587 * (bug 35019) Edit summaries are no longer transformed in notification e-mails
7588 * (bug 35152) Help message for e-mail is shown again in user preferences
7589 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
7590 "movepage-moved"
7591 * (bug 34841) Edit links are no longer displayed when display old page versions
7592 * (bug 34889) User name should be normalized on Special:Contributions
7593 * (bug 35051) If heading has a trailing space after == then its name is not
7594 preloaded into edit summary on section edit
7595 * (bug 31417) New ID mw-content-text around the actual page text, without
7596 categories, contentSub, ... The same div often also contains the class
7597 mw-content-ltr/rtl.
7598 * (bug 35303) Proxy and DNS blacklist blocking works again
7599 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
7600 core parser functions which operate on strings, such as padleft.
7601 * (bug 18295) Don't expose strip markers when a tag appears inside a link
7602 inside a heading.
7603 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
7604 parameter present.
7605 * (bug 34907) Fixed exposure of tokens through load.php that could have
7606 facilitated CSRF attacks.
7607 * (bug 35317) CSRF in Special:Upload.
7608
7609 === Configuration changes in 1.19 ===
7610 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
7611 * (bug 27132) movefile right granted by default to registered users.
7612 * Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
7613 * (bug 31204) Removed old user.user_options.
7614 * $wgMaxImageArea now applies to jpeg files if they are not scaled with
7615 ImageMagick.
7616 * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of
7617 items to show by default on query pages (special pages such as Whatlinkshere).
7618 * (bug 32470) Increase the length of ug_group.
7619 * (bug 32239) Removed $wgEnableTooltipsAndAccesskeys.
7620 * Removed $wgVectorShowVariantName.
7621 * Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles.
7622 * Removed $wgResourceLoaderInlinePrivateModules , now always enabled.
7623
7624 === New features in 1.19 ===
7625 * (bug 19838) Add ability to get all interwiki prefixes also if the interwiki
7626 cache is used.
7627 * $wgDnsBlacklistUrls now accepts an array with url and key as the
7628 elements to work with DNSBLs that require keys, such as
7629 Project Honeypot.
7630 * (bug 30022) Add support for custom loadScript sources to ResourceLoader.
7631 * (bug 19052) Unicode space separator characters (Zs) now terminates external
7632 links and images links.
7633 * (bug 30160) Add public method to mw.loader to get module names from registry.
7634 * (bug 15558) Parameters to special pages included in wikitext can now be passed
7635 as with templates.
7636 * Installer now issues a warning if mod_security is present.
7637 * (bug 29455) Add support for a filter callback function in jQuery byteLimit
7638 plugin.
7639 * Added two new GetLocalURL hooks to better serve extensions working on a
7640 limited type of titles.
7641 * Added a --no-updates flag to importDump.php that skips updating the links
7642 tables.
7643 * Most presentational html attributes like valign are now converted to inline
7644 css style rules. These attributes were removed from html5 and so we clean
7645 them up when $wgHtml5 is enabled. This can be disabled using
7646 $wgCleanupPresentationalAttributes.
7647 * Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
7648 NAMESPACE) now depend on the page content language instead of the site
7649 language. In theory this sets the right magic words in system messages,
7650 although they are not used there.
7651 * (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent.
7652 * (bug 30450) Clear page_props table on page deletion.
7653 * Hook added to check for exempt from account creation throttle.
7654 * (bug 30344) Add configuration variable for setting custom priorities when
7655 generating sitemaps.
7656 * (bug 96170) Add array support for space-separated list attributes (like
7657 'class') in the Html helper class.
7658 * (bug 26470) Add checkered background image on hover on files pages.
7659 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
7660 attribute values and element contents.
7661 * Conversion script between Tifinagh and Latin for the Tachelhit language.
7662 * (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
7663 to stop it from replace an already existing default sort, and suppress error.
7664 * (bug 18578) Rewrote revision delete related messages to allow better
7665 localisation.
7666 * (bug 30364) LanguageConverter now depends on the page content language
7667 instead of the wiki content language.
7668 * Jump links will now be usable in CSS-capable browsers instead of only
7669 in outdated text browsers.
7670 * New common*.css files usable by skins instead of having to copy piles
7671 of generic styles from MonoBook or Vector's css.
7672 * Some deprecated presentational html attributes will now be automatically
7673 converted to css.
7674 * (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter
7675 syntax.
7676 * The default user signature now contains a talk link in addition to the user
7677 link.
7678 * (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason.
7679 * Added hook BitmapHandlerCheckImageArea.
7680 * (bug 30062) Add $wgDBprefix option to cli installer.
7681 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now
7682 also called when checking for 'read' permission.
7683 * Introduce $wgEnableSearchContributorsByIP which controls whether searching
7684 for an IP address redirects to the contributions list for that IP.
7685 * (bug 8859) Database::update should take array of tables too.
7686 * (bug 19698) Add "Inverse namespaces" option to Special:Contributions.
7687 * (bug 24037) Add byte length of revision to Special:Contributions.
7688 * (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files
7689 containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS.
7690 * New path mappings can be added using the WebRequestPathInfoRouter hook
7691 and adding paths to the PathRouter.
7692 * (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for
7693 the "target" query parameter (eg. Special:ActiveUsers/Username).
7694 * New JavaScript variable wgPageContentLanguage.
7695 * Added new debugging toolbar, enabled with $wgDebugToolbar.
7696 * Differences in the history page now uses slightly better colors for people
7697 perceiving colors differently.
7698 * (bug 32879) Upgrade jQuery to 1.7.1.
7699 * jQuery UI upgraded to 1.8.17.
7700 * Extensions can use the 'Language::getMessagesFileName' hook to define new
7701 languages using messages files outside of core.
7702 * (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions.
7703 * Added $wgSend404Code, true by default, which can be set to false to send a
7704 200 status code instead of 404 for nonexistent articles.
7705 * (bug 33447) Link to the broken image tracking category from
7706 Special:Wantedfiles.
7707 * (bug 27724) Add timestamp to job queue.
7708 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by
7709 default, due to tests potentially being harmful, not to be run on a production
7710 wiki. Enable by setting $wgEnableJavaScriptTest to true.
7711 * Extensions can use the RequestContextCreateSkin hook to override what skin is
7712 loaded in some contexts.
7713 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
7714 * (bug 10574) Add an option to allow all pages to be exported by Special:Export.
7715 * mediawiki.js Message object constructor is now publicly available as
7716 mw.Message.
7717 * (bug 29309) Allow CSS class per tooltip (tipsy).
7718 * (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist.
7719 * (bug 17959) Inline rendering/thumbnailing for Gimp XCF images.
7720 * (bug 27775) Namespace has it's own XML tag in the XML dump file.
7721 * (bug 30513) Redirect tag is now resolved in XML dump file.
7722 * sha1 xml tag added to XML dump file.
7723 * (bug 33646) Badtitle error page now emits a 400 HTTP status.
7724 * Special:MovePage now has a dropdown menu for namespaces.
7725 * (bug 34420) Special:Version now shows git HEAD sha1 when available.
7726 * (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time.
7727
7728 === Bug fixes in 1.19 ===
7729 * $wgUploadNavigationUrl should be used for file redlinks if.
7730 $wgUploadMissingFileUrl is not set. The first was used for this
7731 until the second was introduced in 1.17.
7732 * BREAKING CHANGE: Style rules for wikitable are now more specific and prevent
7733 inheritance to nested tables which caused various issues (bug 30485 and bug
7734 33434). If your wiki has overridden rules for ".wikitable", please revise them
7735 and adjust where necessary. For comparison, use the "table.wikitable" section
7736 in skins/common/shared.css as base.
7737 * $wgUploadNavigationUrl is now used for file redlinks if
7738 $wgUploadMissingFileUrl is not set. The former was used for this until the
7739 second was introduced in 1.17.
7740 * (bug 27894) Move 'editondblclick' event listener down from body to
7741 div#bodyContent.
7742 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
7743 when the function exists but is disabled. Introduced
7744 Maintenance::posix_isatty().
7745 * (bug 30264) Changed installer-generated LocalSettings.php to use
7746 require_once() instead require() for included extensions.
7747 * Do not convert text in the user interface language to another script.
7748 * (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages.
7749 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
7750 warnings/notices to be thrown.
7751 * (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly
7752 URLs are used.
7753 * (bug 28649) Preventing half truncated multi-byte unicode characters when
7754 truncating log comments.
7755 * Show --batch-size option in help of maintenance scripts that support it.
7756 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
7757 unescaped.
7758 * (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page
7759 by importing a new revision into it.
7760 * Allow moving the associated talk pages of subpages even if the base page
7761 has no subpage.
7762 * Per page edit-notices now work in namespaces without subpages enabled.
7763 * (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs.
7764 * (bug 30202) File names are now restricted on upload to 240 bytes, because of
7765 restrictions on some of the database fields.
7766 * Timezones are now recognised in user preferences when offset is different
7767 due to DST.
7768 * (bug 31692) "summary" parameter now also works when undoing revisions.
7769 * (bug 18823) "move succeeded" text displayed bluelinks even when redirect was
7770 suppressed.
7771 * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
7772 "create account" when the user cannot create an account.
7773 * (bug 31818) 'usercreated' message now supports GENDER.
7774 * (bug 32022) Our phpunit.php script can now be executed from another directory.
7775 * (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs
7776 from recent changes feeds.
7777 * (bug 30232) add current time to message wlnote on Special:Watchlist.
7778 * (bug 29110) $wgFeedDiffCutoff did not affect new pages.
7779 * (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl.
7780 * (bug 32358) Do not display "No higher resolution available" for dimensionless
7781 files (like audio files).
7782 * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl.
7783 * (bug 32168) fixed - wfExpandUrl expands dot segments now.
7784 * (bug 31535) Upload comments now truncated properly, and don't have brackets.
7785 * (bug 32086) Special:PermanentLink now shows an error message when no subpage
7786 was specified.
7787 * (bug 30368) Special:Newpages now shows the new page name for moved pages.
7788 * (bug 1697) The way to search blocked usernames in block log should be clearer.
7789 * (bug 29747) eAccelerator shared memory caching has been removed since it is
7790 now disabled by default and is buggy. APC, XCache and WinCache are not
7791 affected.
7792 * Installer now refuses to install if php was not compiled with Ctype support.
7793 * (bug 29475) Remove "trackback" feature entirely from core.
7794 * (bug 32665) Special:BlockList prefills the username in the input field if
7795 using the Special:BlockList/username URL.
7796 * (bug 27721) Make JavaScript variables wgSeparatorTransformTable and
7797 wgDigitTransformTable depend on page content language so the sort script
7798 sorts correctly more often.
7799 * (bug 32230) Expose wgRedirectedFrom in JavaScript.
7800 * (bug 31212) History tab not collapsed when the screen is narrow.
7801 * (bug 15521) Use new section summary when the action of adding a new section
7802 also happens to create the page.
7803 * (bug 32960) Remove EmailAuthenticationTimestamp from database when a
7804 email address is removed.
7805 * (bug 32414) Empty page get a empty bytes attribute in Export/Dump.
7806 * (bug 33101) Viewing a User or User talk of username resembling IP ending
7807 with .xxx causes Internal error.
7808 * Warning about undefined index in certain situations when $wgLogRestrictions
7809 causes the first log type requested to be removed but not the others.
7810 * Use separate message ('prefixindex-namespace') for title of
7811 Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace.
7812 * (bug 33156) Special:Block now allows you to confirm you want to block yourself
7813 when using non-normalized username.
7814 * (bug 33246) News icon shown for news:// URLs but not for news: URLs.
7815 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
7816 cssText after DOM insertion.
7817 * (bug 30711) When adding a new section to a page with section=new, the text is
7818 now always added to the current version of the page.
7819 * (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding
7820 XML entities correctly.
7821 * (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens)
7822 should be loaded in <head> for proper dependency resolution.
7823 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
7824 for backward compatibility.
7825 * (bug 31469) Make sure tracking category messages expand variables like
7826 {{NAMESPACE}} relative to correct title.
7827 * (bug 33454) ISO-8601 week-based year number (format character 'o') is now
7828 calculated correctly with respect to timezone.
7829 * (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
7830 HTTPS when the local wiki is served over HTTPS.
7831 * (bug 33525) clearTagHooks doesn't clear function hooks.
7832 * (bug 33523) Function tag hooks don't appear on Special:Version.
7833 * Files with IPTC blocks we can't read no longer prevent extraction of exif
7834 or other metadata.
7835 * (bug 33587) Remove action "historysubmit" from history pages.
7836 * (bug 25800) mw.config wgAction should contain the actually performed action
7837 instead of whatever the query value contains.
7838 * (bug 4438) Add CSS hook for current WikiPage action.
7839 * (bug 33703) Common border-bottom color for <abbr> should inherit default
7840 (text) color.
7841 * (bug 33819) Display file sizes in appropriate units.
7842 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
7843 doing a null edit.
7844 * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who
7845 made the edit.
7846 * (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +.
7847 * (bug 33762) QueryPage-based special pages no longer misses *-summary message.
7848 * Other sizes links are no longer generated for wikis without a 404 thumbnail
7849 handler.
7850 * (bug 29454) Enforce byteLimit for page title input on Special:MovePage.
7851 * (bug 34114) CSSMin::remap() doesn't respect its $embed parameter.
7852 * Special:Contributions/newbies now shows the contributions for the user
7853 "newbies". New user contributions are obtained using the form or using
7854 ?contribs=newbie in URL.
7855 * It is now possible to delete images that have no corresponding description
7856 pages.
7857 * (bug 33165) GlobalFunctions.php line 1312: Call to a member function
7858 getText() on a non-object.
7859 * (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work
7860 around a bug where not all styles were applied in Internet Explorer.
7861 * (bug 28936, bug 5280) Broken or invalid titles can't be removed from
7862 watchlist.
7863 * (bug 34600) Older skins using useHeadElement=false were broken in 1.18.
7864 * (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral
7865 array.
7866 * (bug 12262) Indents and lists are now aligned
7867 * (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome
7868 on Windows
7869 * (bug 25095) Special:Categories should also include the first relevant item
7870 when "from" is filled.
7871 * (bug 34972) An error occurred while changing your watchlist settings for
7872 [[Special:WhatLinksHere/Example]]
7873
7874 === API changes in 1.19 ===
7875 * Made action=edit less likely to return "unknownerror", by returning the actual
7876 error message (which may have come from a hook call or similar).
7877 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
7878 * (bug 29748) Add API search prefix support.
7879 * (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
7880 * (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
7881 * siprop=interwikimap and siprop=languages can use silanguagecode to have
7882 a best effort language name translation. Use CLDR extension for best result.
7883 * (bug 30230) action=expandtemplates should not silently override invalid title
7884 inputs.
7885 * (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
7886 * (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
7887 address blocks for list=blocks.
7888 * (bug 30591) Add support to only return keys in ApiAllMessages.
7889 * The API now respects $wgShowHostnames and won't share the hostname in
7890 servedby if it's set to false.
7891 * wlexcludeuser parameter added to ApiFeedWatchlist.
7892 * (bug 7304) Links on redirect pages no longer cause the redirect page to show
7893 up as a redirect to the linked page on Special:Whatlinkshere.
7894 * (bug 32609) API: Move captchaid/captchaword of action=edit from core
7895 to Captcha extension(s).
7896 * Added 'APIGetDescription' hook.
7897 * (bug 32688) Paraminfo for parameter "generator" of the query module shows too
7898 many types.
7899 * (bug 32415) Empty page get no size attribute in API output.
7900 * (bug 31759) Undefined property notice in querypages API.
7901 * (bug 32495) API should allow purge by pageids.
7902 * (bug 33147) API examples should explain what they do.
7903 * (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed
7904 values is given as an array.
7905 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
7906 calling action=purge&forcelinkupdate.
7907 * (bug 34377) action=watch now parses messages using the correct title instead
7908 of "API".
7909 * (bug 35036) WikiLove messages were not automatically updated in JavaScript
7910 after having been changed on-wiki due to a bug in core
7911
7912 === Languages updated in 1.19 ===
7913
7914 MediaWiki supports over 350 languages. Many localisations are updated
7915 regularly. Below only new and removed languages are listed, as well as
7916 changes to languages because of Bugzilla reports.
7917
7918 * Canadian English (en-ca) (new).
7919 * Norwegian (bokmål) (nb) (renamed from no).
7920 * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
7921 * (bug 30217) Make pt-br a fallback of pt.
7922 * (bug 31193) Set fallback language of Assamese from Bengali to English.
7923 * Update date format for dsb and hsb: month names need the genitive.
7924 * (bug 28643) Serbian variant conversion improvements (Nikola Smolenski).
7925 * (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic
7926 languages Assamese, Bengali, Hindi, Malyalam and Odiya.
7927 * (bug 32826) Titles in indic languages are partially cut.
7928 * (bug 33367) Gendered namespaces for Czech.
7929 * (bug 33014) Language::formatSize()/formatBitrate() should be able to deal
7930 with larger numbers (tera-yotta).
7931
7932 === Other changes in 1.19 ===
7933 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have
7934 been removed from wikibits.js.
7935 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
7936 * The maintenance script populateSha1.php was renamed to the more concise
7937 populateImageSha1.php.
7938 * The Client-IP header is no longer checked for when trying to resolve a
7939 client's real IP address.
7940 * (bug 22096) Although IE5.x and below was already unsupported officially,
7941 stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed
7942 (which were in skins 'chick' and 'monobook').
7943 * The constructor for CategoryView has changed, the second parameter is now a
7944 Context source and is required.
7945 * The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use
7946 proper html building methods to escape the normal get{...}URL methods instead.
7947 * The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods
7948 have been replaced with a secondary query argument.
7949 * The $variant argument in the hooks for the
7950 Title::get{Local,Full,Link,Canonical}URL methods have been removed, the
7951 variant is now part of the $query argument.
7952 * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of
7953 using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage().
7954 * Support for the deprecated hook MagicWordMagicWords was removed.
7955 * The Xml::namespaceSelector method has been deprecated, please use
7956 Html::namespaceSelector instead (note that the parameters have changed also).
7957 * (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as
7958 stop-gap for scripts missing dependencies.
7959 New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for
7960 this (set to false by default for new installations). Set to true if your wiki
7961 has a large amount of user/site scripts that are lacking dependency
7962 information. In the short to medium term these user/site scripts should be
7963 fixed by adding the used modules to the dependencies in the module registry
7964 and/or wrapping them in a callback to mw.loader.using.
7965
7966 == MediaWiki 1.18 ==
7967
7968 == MediaWiki 1.18.6 ==
7969 2012-11-29
7970
7971 This is a maintenance and security release of the MediaWiki 1.18 branch
7972
7973 === Changes since 1.18.5 ===
7974 * ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin
7975 (CVE-2012-5391)
7976 * ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE
7977 backtrack limit
7978 * Localisation updates
7979 * Increase permitted runtime for testParserTest
7980 * ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL.
7981
7982 == MediaWiki 1.18.5 ==
7983 2012-08-30
7984
7985 This is a security release of the MediaWiki 1.18 branch
7986
7987 === Changes since 1.18.4 ===
7988 * (bug 39700) File: link to non-existing file can inject html
7989 * (bug 39823) Hidden block text leaking to admins
7990 * (bug 39184) LDAP password leakage
7991 * (bug 39180) Disallow framing of api results
7992 * (bug 37587) Enforce language codes to be html safe
7993 * (bug 39824) Check global blocks on account creation
7994
7995 == MediaWiki 1.18.4 ==
7996 2012-06-12
7997
7998 This is a security release of the MediaWiki 1.18 branch.
7999
8000 === Changes since 1.18.3 ===
8001 * (bug 36938) Correctly escape uselang attribute to prevent xss
8002 * Expanded Blacklist for SVG Files
8003
8004 == MediaWiki 1.18.3 ==
8005 2012-04-25
8006
8007 This is a maintenance release of the MediaWiki 1.18 branch.
8008
8009 === Changes since 1.18.2 ===
8010 * (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
8011 a PHP warning.
8012 * (bug 35567) The whole password reminder e-mail is now sent in the same
8013 language.
8014 * (bug 35961) Hash comparison should always be strict.
8015 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
8016 on line 598.
8017 * Fix broken email confirmation expiration caused by MWCryptRand changes.
8018
8019 == MediaWiki 1.18.2 ==
8020 2012-03-21
8021
8022 This is a maintenance and security release of the MediaWiki 1.18 branch.
8023
8024 === Changes since 1.18.1 ===
8025 * (bug 33686) could not get a list of contributors for an article when using
8026 a SQLite database.
8027 * (Bug 33865) Exception thrown in action=parse when attempting to use the title
8028 parameter without setting the text parameter.
8029 * UserMailer could potentially throw a fatal error when a MailAddress object had
8030 an empty email address.
8031 * (Bug 33087) Exchange server rejected mail sent by MediaWiki
8032 * (bug 34528) Edit section tooltips show correction section name again
8033 * (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in
8034 Special:Whatlinkshere
8035 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
8036 core parser functions which operate on strings, such as formatnum.
8037 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
8038 parameter present.
8039 * (bug 34907) Fixed exposure of tokens through load.php that could have
8040 facilitated CSRF attacks.
8041 * (bug 35317) CSRF in Special:Upload.
8042
8043 == MediaWiki 1.18.1 ==
8044 2012-01-11
8045
8046 This a maintenance and security release of the MediaWiki 1.18 branch.
8047
8048 === Changes since 1.18.0 ===
8049 * (bug 32712) Fix for search indexing of pages with certain unicode chars
8050 following URL.
8051 * (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for
8052 screen readers.
8053 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
8054 attribute values and element contents.
8055 * (bug 32473) [[Special:PasswordReset]] can not be used on private wiki.
8056 * (bug 32853) Fixed CACHE_DBA object cache type.
8057 * (bug 32786) Backward compatibility for extension using 1.17's
8058 Database::newFromType().
8059 * Fixed exception when using Special:WhatLinksHere on a Media: file.
8060 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
8061 * (bug 33240) Sort images are missing but referenced in css.
8062 * (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were
8063 not showing their values on preview.
8064 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
8065 for backward compatibility.
8066 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
8067 when the function exists but is disabled. Introduced
8068 Maintenance::posix_isatty().
8069 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
8070 cssText after DOM insertion.
8071 * (bug 29102) Upgrades no longer fail with the error "Unknown character set:
8072 'mysql4'.
8073 * (bug 25355) Parser generates edit section links for special pages.
8074 * (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but
8075 doesn't have any pipes after being transformed by MessageCache, causes
8076 exception on all pages.
8077 * Fixed recentchanges FK violation on page delete and cache purge error in
8078 updater for Oracle DB.
8079 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
8080 pollution.
8081
8082 == MediaWiki 1.18.0 ==
8083 2011-11-24
8084
8085 This is the first stable release of the MediaWiki 1.18 branch.
8086
8087 === Summary of selected changes in 1.18 ===
8088
8089 Selected changes since MediaWiki 1.17 that may be of interest:
8090
8091 * Some of the more commonly used MediaWiki extensions are now included in the
8092 release tarball. These extensions are ConfirmEdit, Gadgets, Nuke,
8093 ParserFunctions, Renameuser, Vector and WikiEditor.
8094
8095 * Gender support has been improved, meaning user pages can display the correct
8096 gender variant of "User" can now be used.
8097
8098 * MediaWiki can now detect the camera orientation of an image from the Exif
8099 metadata, and can rotate the image thumbnail appropriately. Metadata support
8100 has been generally improved, and can now extract IPTC and XMP metadata.
8101
8102 * Improved directionality support in 1.18 means that MediaWiki is better to use
8103 for RTL users.
8104
8105 * MediaWiki now supports protocol - relative URLs in links, interwiki targets
8106 and $wgServer
8107
8108 * Math support has been removed from core
8109
8110 === Changes since 1.18.0rc1 ===
8111 * (bug 32228) regression in Special:Search which did not conserve profile on
8112 new search
8113 * (bug 32460) Categories were improperly aligned in Simple and CologneBlue
8114 * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
8115 * (bug 32582) Fix TOC show/hide link regression on IE 8
8116
8117 === Changes since 1.18 beta 1 ===
8118 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18
8119 deployment.
8120 * (bug 32051) Fix description for wlprop=sizes.
8121 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
8122 under Microsoft SQL.
8123 * (bug 32100) installer complains about suhosin GET limit.
8124 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between
8125 portlets on IE 7 and IE 8/9 in compatibility view.
8126 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
8127 from watchlist.
8128 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
8129 the <html> element.
8130 * (bug 29912) Unit tests break if parsertest tables are still present.
8131 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
8132 instead of 'continue'.
8133 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
8134 * (bug 31990) justify paragraphs pref adds extra space to category listing.
8135 * (bug 20148) Better title for [[Special:Disambiguations]] page.
8136 * (bug 31502) TOC is missing on Special:EditWatchlist.
8137 * (bug 32256) API list=search stops at first invalid result.
8138 * (bug 32047) jquery.tablesorter.js: thead is before caption.
8139 * (bug 29854) Store protocol-relative links twice in the externallinks table,
8140 one with http: in el_index and once with https.
8141 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
8142
8143 === Configuration changes in 1.18 ===
8144 * The WantedPages::getSQL hook has been removed and replaced with
8145 WantedPages::getQueryInfo. This may break older extensions.
8146 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
8147 SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
8148 favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
8149 * $wgUseCombinedLoginLink controls whether to output a combined
8150 login / create account link in the personal bar, or to output separate login
8151 and create account links.
8152 * Skin names are no longer created based on a ucfirst version of the key in
8153 $wgValidSkinNames but now the value. This means for
8154 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
8155 loading SkinMonobook and will instead load SkinMonoBook.
8156 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
8157 per upload type.
8158 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
8159 $wgAPICacheHelpTimeout = 0;
8160 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
8161 by the page, but $wgAllowUserJs is set to false.
8162 * Pure "Skin" class based custom skins are no longer supported, all custom skins
8163 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
8164 * The transliteration for passwords in case they were migrated from an old
8165 Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
8166 $wgLegacyEncoding set.
8167 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
8168 look at when finding metadata to prevent excessive resource usage.
8169 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
8170 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
8171 same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
8172 replicate $wgSysopUserBans functionality.
8173 * The options on the block form have been standardised such that checking a box
8174 makes the block 'more serious'; so while "check to prevent account creation"
8175 and "check to enable autoblock" remain the same, "check to allow user-talk
8176 edit" is reversed to "check to *disable* user-talk edit", and "check to block
8177 anon-only" becomes "check to block logged-in users too". The default settings
8178 remain the same.
8179 * Most of the field names on the Special:Block form have been changed, which
8180 will probably break screen-scraping bots.
8181 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
8182 $wgUseTrackbacks is already false by default.
8183 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
8184 *appearing* to hide article elements, has been removed. Use the
8185 ParserFunctions extension to actually remove unwanted elements from the
8186 output.
8187 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
8188 math conversion after upgrading, obtain the Math extension from SVN or from
8189 https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
8190 require_once "$IP/extensions/Math/Math.php";
8191 * $wgProfiler is now a configuration array, see StartProfiler.sample for
8192 details.
8193 * $wgProfiling has been removed.
8194 * The spyc library is now no longer included in phase3.
8195 * (bug 28343) Unused preferences contextlines/contextchars have been removed
8196 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
8197 * $wgProto has been removed. You now only need to set $wgServer to change the
8198 URL protocol.
8199 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
8200 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been
8201 removed.
8202 * $wgAllowUserSkin (deprecated in 1.16) has now been removed.
8203 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
8204 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
8205 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
8206 whether a page is an article or not. $wgUseCommaCount is now deprecated.
8207 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
8208 and the functionality has been moved to the relevant extensions. See
8209 https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
8210 https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
8211 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS
8212 and CSS
8213 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant
8214 feature was removed in about 1.5.
8215 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
8216 hooks have been removed.
8217 * New hook "Collation::factory" to allow extensions to create custom
8218 category collations.
8219 * $wgGroupPermissions now supports per namespace permissions.
8220 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
8221 null will cause MediaWiki to determine if auto-rotation is available.
8222
8223 === New features in 1.18 ===
8224 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
8225 * BREAKING CHANGE: Article class hierarchy split into WikiPage (backend)
8226 and Article (frontend) hierarchies. Several hooks now pass a WikiPage object
8227 instead of an Article object. These hooks all use an $article parameter as
8228 documented in hooks.txt. Extensions should be updated to account for this,
8229 though most won't require any changes.
8230 * (bug 27860) Minor edit after clicking 'new section' tab
8231 Now the "This is a minor edit" checkbox is not available when you
8232 create a page or new section.
8233 * (bug 8130) Query pages should limit to content namespaces, not just main
8234 namespace.
8235 * Special:Contribs now redirects to Special:Contributions.
8236 * (bug 6672) Images are now autorotated according to their EXIF orientation.
8237 This only affects thumbnails; the source remains unrotated.
8238 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
8239 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
8240 saved.
8241 * New parser option PreSaveTransform added, allows the pre-save transformation
8242 to be selectively disabled.
8243 * Alternative to $wgHooks implemented, using the new Hooks class.
8244 * Add width parameter to Special:Filepath to allow getting the file path of a
8245 thumbnail.
8246 * (bug 26870) Add size to {{filepath:}}.
8247 * Upload warnings now show a thumbnail of the uploaded file.
8248 * Introduced the edittools-upload message, which will be inserted under the
8249 upload form instead of edittools if available.
8250 * (bug 26285) Extensions will be automatically generated on upload if the user
8251 specified a filename without extension.
8252 * (bug 26851) Special:UserRights now allows to prefill the reason field
8253 * New maintenance script to fix double redirects
8254 (maintenance/fixDoubleRedirects.php).
8255 * (bug 23315) New body classes to allow easier styling of special pages.
8256 * (bug 27159) Make email confirmation code expiration time configurable.
8257 * (bug 29047) CSS/JS for each user group is imported from
8258 MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc.
8259 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
8260 safely enabled. A ZIP file reader was added which can scan a ZIP file for
8261 potentially dangerous Java applets. This allows applets to be blocked
8262 specifically, rather than all ZIP files being blocked.
8263 * (bug 2429) Allow selection of associated namespace in recent changes.
8264 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
8265 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
8266 disabled (enclosed in the head in a <noscript> tag).
8267 * Added UserGetLanguageObject hook to change the language used in $wgLang.
8268 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
8269 differently (italicized by default) on Special:SpecialPages.
8270 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
8271 several wikis.
8272 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
8273 the three that were defined in the original specification.
8274 * (bug 14706) Added support for the Imagick PHP extension.
8275 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
8276 extension.
8277 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
8278 file description page. The sizes are set by $wgImageLimits.
8279 * (bug 28031) Add pageCount support to ArchivedFile.
8280 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
8281 * Added hook BitmapHandlerTransform to allow extension to transform a file
8282 without overriding the entire handler.
8283 * The parser now attempts to output markers for editsection tokens and defer the
8284 rendering of them post-cache to reduce parser cache fragmentation and ensure
8285 skin customizability of edit section links.
8286 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
8287 other extensions by handling the 'AbortAutoAccount' hook, similar to the
8288 'AbortNewAccount' triggered by explicit account creations. (They are separate
8289 to avoid loops and confusion; auth plugins like CentralAuth need to handle
8290 AbortNewAccount separately.
8291 * Special:ListFiles is now transcludable.
8292 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
8293 * (bug 16956) IPTC and XMP metadata now extracted from images.
8294 * (bug 23816) A tracking category is now added for any pages with broken images.
8295 * (bug 23495) Allow createAndPromote.php to create non-sysop users.
8296 * (bug 28916) A way to to toggle mw.config legacy globals settings from
8297 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
8298 * (bug 28503) Support for ircs:// URL protocols.
8299 * (bug 26033) It is now possible to count all non-redirect pages in content
8300 namespaces as articles.
8301 * Images can now be embedded in an XML dump stream using backupDump.php
8302 --include-files and can be imported using importDump.php --uploads;
8303 furthermore, it can import files from the filesystem using --image-base-path.
8304 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
8305 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
8306 may override the usage of PageArchive class and replace it with their own
8307 class that extends PageArchive.
8308 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
8309 Also built-in support for distribution through a TestSwarm instance.
8310 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
8311 added to the textarea on the edit form.
8312 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
8313 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
8314 * New 'Debug' hook used by wfDebug() and wfDebugLog().
8315 * (bug 27655) Require token for watching/unwatching pages)
8316 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest
8317 version)
8318 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
8319 handle titles on case-sensitive wikis.
8320 * (bug 29397) Implement mw.Title module in core.
8321 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
8322 STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
8323 correctly in the case where there are no write events occurring. Note that
8324 the DB user now needs to have the REPLICATION CLIENT privilege if you are
8325 using replication.
8326 * Language codes in $wgDummyLanguageCodes are now excluded on localization
8327 statistics (maintenance/language/transstat.php).
8328 * (bug 29586) Make the (next 200) links on categories link directly to
8329 the relevant section of the category.
8330 * (bug 29109) Allow the automatic edit summary for redirect creation
8331 show the first bit of the new redirect page.
8332 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
8333 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
8334 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
8335 which the language name is wanted. Coverage depends on the cldr extension.
8336 * (bug 15802) An easy way to look up messages: language qqx which returns
8337 the message keys.
8338 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
8339 * (bug 29558) $wgMiserMode now disables update.php by default.
8340 * AjaxCategories: Easily add, edit or delete categories on article pages.
8341 Suggests possible categories when typing, all saves are done via AJAX.
8342 Supports editing of multiple categories and then saving them in one batch.
8343 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted
8344 to explicit usergroups. If a group is removed from a user via
8345 Special:UserRights, it will not automatically be re-added. Configuration is
8346 similar to $wgAutopromote (see DefaultSettings.php).
8347 * The PerformRetroactiveAutoblock hook was added to allow overriding or
8348 complementing retroactive autoblock handling. This runs when blocking a user
8349 with the 'autoblock' option.
8350 * MediaWiki now supports using protocol-relative URLs in links, interwiki
8351 targets and $wgServer.
8352 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
8353 Vary: X-Forwarded-Proto headers.
8354 * New maintenance script to refresh image metadata
8355 (maintenance/refreshImageMetadata.php).
8356 * (bug 16428) Include permalink in printable version.
8357 * (bug 30722) Add an identity collation that sorts things based on what the
8358 unicode code point is (aka pre-1.17 behavior).
8359 * (bug 30940) Add a hook in User:getDefaultOptions.
8360 To give extensions a better and more flexible way of providing default
8361 values for preferences a hook has been introduced in User:getDefaultOptions().
8362 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
8363 them (i.e. with array_keys) to get a list of all preferences, then
8364 $wgDefaultUserOptions should no longer be used as it will contain those set
8365 via User:getDefaultOptions().
8366 * (bug 30497) Add client-nojs and client-js classes on document element
8367 to let styles easily hide or show things based on general JS availability.
8368 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
8369 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
8370 Same for signupend on the account creation page.
8371 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page
8372 specific mw.config map extendable.
8373 * mw.util.wikiScript has been implemented (like wfScript in
8374 GlobalFunctions.php).
8375
8376 === Bug fixes in 1.18 ===
8377 * (bug 27860) Minor edit after clicking 'new section' tab.
8378 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
8379 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
8380 treated as wikitext on preview.
8381 * (bug 22753) Output from update.php is more clear when things changed, entries
8382 indicating nothing changed are now all prefixed by "...".
8383 * Page existence is now not revealed (in the colour of the tabs) to users who
8384 cannot read the page in question.
8385 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
8386 cases.
8387 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
8388 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
8389 as "Permitted file types" on the upload form.
8390 * (bug 26379) importImages.php gives more descriptive error message on failure.
8391 * (bug 26410) + signs are no longer treated as spaces in internal links if
8392 link has a % sign in it.
8393 * (bug 26412) Search results headers no longer show a bogus edit link.
8394 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
8395 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
8396 pages to be queried via the API and Special:ProtectedPages, and allowing
8397 disabling upload protection by removing it from $wgRestrictionTypes.
8398 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
8399 * (bug 26638) Database error pages display correctly in RTL languages.
8400 * (bug 26187) Confirmrecreate no longer parses the edit summary.
8401 * (bug 26208) Mark directionality of some interlanguage links.
8402 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
8403 selected when the action is "purge".
8404 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
8405 namespace tab on the mainpage of a wiki.
8406 * (bug 10158) Do not mention allowing others to contact you when the feature
8407 is disabled ($wgEnableUserEmail=false).
8408 * (bug 26733) Wrap initial table creation in transaction.
8409 * (bug 26729) Category pages should return 404 if they do not exist and have no
8410 members.
8411 * (bug 2585) Image pages should send 404 if no image, no shared image and no
8412 description page.
8413 * Custom editintro's using the editintro url parameter will no longer show
8414 <noinclude> sections on pages they are included on.
8415 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
8416 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
8417 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
8418 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
8419 to table.wikitable instead.
8420 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
8421 better.
8422 * (bug 26716) Provide link to instructions for external editor related
8423 preferences and add a comment to the ini control file explaining what is
8424 going on.
8425 * Trying to upload a file with no extension or with a disallowed MIME type now
8426 gives the right message instead of complaining about a MIME/extension
8427 mismatch.
8428 * (bug 26809) Uploading files with multiple extensions where one of the
8429 extensions is blacklisted now gives the proper extension in the error message.
8430 * (bug 26961) Hide anon edits in watchlist preference now actually works.
8431 * (bug 19751) Filesystem is now checked during image undeletion.
8432 * Send last modified headers for Special:Recentchanges when RC patrol is
8433 enabled, but user cannot see rc patrol links.
8434 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
8435 and other multi-paged file formats.
8436 * Files with a mime type that does not match the extension are now properly
8437 thumbnailed.
8438 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
8439 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
8440 link at the top of the page.
8441 * (bug 27560) Search queries no longer fail in Walloon language.
8442 * (bug 27679) Broken embedded files with special characters are no longer
8443 double HTML escaped.
8444 * (bug 27700) The upload protection can now also be set for files that do not
8445 exist.
8446 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
8447 incorrect revision ID is passed.
8448 * Trim the form field for uploading by url to remove extra spaces which could
8449 cause confusing error messages.
8450 * (bug 27854) Http::isValidURI is way too lax.
8451 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
8452 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
8453 for "ABORTED" reason to be returned and displayed to user.
8454 * (bug 28034) uploading file to local wiki when file exists on shared repository
8455 (commons) gives spurious info in the warning message.
8456 * Usernames get lost when selecting different sorts on Special:listfiles.
8457 * (bug 14005) editing section 0 of an existing but empty page gives no such
8458 section error.
8459 * (bug 26939) Installer does not set $wgMetaNamespace.
8460 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
8461 page restrictions.
8462 * Make truncate function automatically consider length of '...' string,
8463 since length can vary by localization.
8464 * (bug 28242) Make redirects generated by urls containing a local interwiki
8465 prefix be a 301 instead of a 302.
8466 * (bug 15641) blocked administrators are now prevented from deleting or
8467 protecting their own talk page; and all blocked users are more
8468 comprehensively prevented from performing other actions.
8469 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
8470 no longer triggers unexpectedly on delete, history etc.
8471 * (bug 28417) Fix PHP notice when importing revision without a listed id.
8472 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
8473 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
8474 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
8475 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
8476 for ca, kaa.
8477 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
8478 * &apos; character entity is now allowed in wikitext.
8479 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
8480 intl installed.
8481 * (bug 28561) The css class small will no longer make nested elements even
8482 smaller.
8483 * (bug 13172) Array type exif data (like GPS) was not being extracted from
8484 images.
8485 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
8486 * (bug 16129) Transcluded special pages expose strip markers when they output
8487 parsed messages.
8488 * (bug 27249) "Installed software" table in Special:Version should always be
8489 left-to-right.
8490 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
8491 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
8492 * (bug 28752) XCache doesn't work in CLI mode.
8493 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
8494 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
8495 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
8496 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
8497 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
8498 such as SQL queries shown in dberrortext and similar messages in RTL
8499 environments.
8500 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
8501 as the server name.
8502 * The View X deleted revisions is now shown again on Special:Upload.
8503 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
8504 * (bug 28868) Show total pages in the subtitle of an image on the
8505 file description page for multi-paged documents.
8506 * (bug 28883) Message names for different compression types commonly
8507 used in Tiff files.
8508 * When transcluding a special page, do not let it interpret url parameters.
8509 * (bug 28887) Special page classes are no longer re-used during 1 request.
8510 * (bug 28888) Searching for something starting with a # sign no longer tells
8511 the user a page named [[:]] already exists.
8512 * (bug 23002) Imagelinks table not updated after imagemove.
8513 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
8514 pages.
8515 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
8516 * (bug 11868) If using links to count articles, the checking will now be based
8517 on the real presence of an internal link instead of the "[[" string.
8518 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
8519 * (bug 28940) When making a thumb of an SVG, and only specifying the height
8520 make the width be the max SVG size, not the natrual width of the SVG.
8521 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
8522 Windows.
8523 * (bug 23464) File: prefixes are now chopped off during uploading.
8524 * (bug 28174) Message config-logo-help amended to not explicitly assume any
8525 LTR/RTL screen layout.
8526 * (bug 28992) Revision numbers in the patrol log are transformed in the user
8527 language.
8528 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended
8529 to the document head if it doesn't exist.
8530 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
8531 before module is parsed).
8532 * (bug 4330) External URLs without a custom title should be treated as LTR,
8533 even in RTL text.
8534 * (bug 29055) Make "don't send email on minor edits" preference apply to
8535 changes to talk page in addition to watchlist edits.
8536 * (bug 28272) Special:AllMessages should have only one "Go" button.
8537 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
8538 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
8539 as lastTabIndex().
8540 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
8541 enter an e-mail address.
8542 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
8543 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
8544 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
8545 instead of reloading the page.
8546 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect
8547 warning.
8548 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
8549 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
8550 consecutive edits by same user in included diff, but then linked to
8551 a single ungrouped diff.
8552 * Do not try to group together a page creation and edit in the RSS feed of RC.
8553 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
8554 patrol permissions.
8555 * (bug 29471) Exception no longer thrown for files with invalid date in
8556 metadata.
8557 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
8558 no longer cause timeouts.
8559 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
8560 * If the db is really screwed up, and doesn't have a recentchanges table,
8561 make the updater throw an exception instead of a fatal.
8562 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
8563 correctly.
8564 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
8565 "vectorTabs" portlets.
8566 * (bug 8556) Incorrect session failure warning on preview-on-open
8567 namespaces (categories) when combined with $wgRawHtml.
8568 * Use content language in formatting of dates in revertpage message
8569 (rollback revert edit summary) and do not adjust for user timezone.
8570 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
8571 * Make sure Backlink cache does not retrieve interwiki redirects when looking
8572 for redirects to a local page.
8573 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
8574 and wiki content, along with many other RTL and directionality improvements
8575 (such as bugs 28030, 12406, 28349).
8576 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
8577 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
8578 left/right according to the directionality of your interface language.
8579 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
8580 * (bug 27410) The tag filter on a history page is now within a <label> element.
8581 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
8582 styling (strike/underline).
8583 * (bug 28630) Add iwlinks, langlinks, redirect to
8584 RefreshLinks::deleteLinksFromNonexistent.
8585 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
8586 are disabled for user pages.
8587 * (bug 12205) Bidirectional names in action=credits are split and displayed
8588 incorrectly when wrapped to the next line.
8589 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
8590 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
8591 not language.
8592 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
8593 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
8594 to the FCKEditor extension.
8595 * (bug 28762) Resizing to specified height broken for very thin images.
8596 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
8597 tries to subscribe to mediawiki-announce.
8598 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
8599 param is only present in hash.
8600 * Installer checked for magic_quotes_runtime instead of register_globals.
8601 * (bug 30131) XCache with variable caching disabled no longer used for variable
8602 caching (CACHE_ACCEL)
8603 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
8604 wide pano/timeline/diagram SVGs renderable at saner sizes.
8605 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
8606 Windows servers.
8607 * (bug 30074) Moving user JS subpages resulted in JS errors because
8608 #REDIRECT [[Foo]] is invalid JS.
8609 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
8610 are used.
8611 * (bug 30264) Changed installer-generated LocalSettings.php to use
8612 require_once() instead of require() for included extensions.
8613 * Tracking categories are no longer shown in footer for special pages.
8614 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e.
8615 <key>).
8616 * $wgOverrideSiteFeed no longer double escapes urls.
8617 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
8618 processing complex pages using newer versions of libxml2.
8619 * (bug 30907) Special:Unusedcategories should sort ascendingly.
8620 * (bug 28545) When using the uca-default collation, sortkey's starting with a
8621 space (U+20) will sort under an invisible header like in 1.16 rather than a
8622 U+6DE.
8623 * (bug 30192) Thumbnails of archived files are now deleted.
8624 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
8625 last full stop) to lower case).
8626 * (bug 31213) Exception thrown when trying to move file cross-namespace.
8627 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
8628 really small, and somewhat inconsistent with each other.
8629 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
8630 redirect.
8631 * (bug 31674) Can't edit watchlist if it contains special pages.
8632 * (bug 32100) Installer complains about Suhosin GET limit even if it is
8633 already set above 1024 bytes.
8634
8635 === API changes in 1.18 ===
8636 * BREAKING CHANGE: action=watch now requires POST and token.
8637 * (bug 26339) Throw warning when truncating an overlarge API result.
8638 * (bug 14869) Add API module for accessing QueryPage-based special pages.
8639 * (bug 14020) API for Special:Unwatchedpages.
8640 * (bug 24287) Wrap API Help output at 100 characters.
8641 * Add a realname uiprop option to query=userinfo so a user's realname can be
8642 extracted.
8643 * Add a &watchuser option to ApiBlock.
8644 * (bug 26541) Generator-ise ApiQueryRecentChanges.
8645 * action=parse now correctly returns an error for nonexistent pages.
8646 * (bug 25767) Add userrights properties to allusers and users query lists.
8647 * (bug 26558) list=allusers auprop=groups does not list groups a user is
8648 automatically a member of.
8649 * (bug 26559) list=allusers auprop=rights does not match
8650 list=users usprop=rights.
8651 * (bug 26560) On allusers if limit < total number of users, last user gets
8652 duplicate.
8653 * (bug 25135) add "normalized" to action=parse.
8654 * (bug 26460) Add support for listing category members by category pageid.
8655 * (bug 26482) add a imimages param to prop=images.
8656 * (bug 26498) allow LinksUpdate with API.
8657 * (bug 26485) add a elextlinks param to prop=extlinks.
8658 * (bug 26483) add a iwtitles param to prop=iwlinks.
8659 * (bug 26484) add a lltitles param to prop=langlinks.
8660 * (bug 26480) add a pppageprops param to prop=pageprops.
8661 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
8662 * (bug 24650) Fix API to work with categorylinks changes.
8663 * Expose list of skins in meta=siteinfo.
8664 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
8665 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
8666 * Add a amtitle param to meta=allmessages.
8667 * (bug 25832) query=allimages now outputs ns/title as well.
8668 * (bug 27199) Thumbnail urls can be fetched for old files as well.
8669 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
8670 max value, API doesn't validate the input is actually an integer.
8671 * (bug 27479) API error when using both prop=pageprops and
8672 prop=info&inprop=displaytitle.
8673 * (bug 27554) Update API information text to reflect change in bug 26125.
8674 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
8675 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
8676 * (bug 27688) Simplify queries to list user block information.
8677 * (bug 27708) list=users does not have a property to return user id.
8678 * (bug 27715) imageinfo didn't respect revdelete.
8679 * (bug 27862) Useremail module didn't properly return success on success.
8680 * (bug 27590) prop=imageinfo now allows querying the media type.
8681 * (bug 27587) list=filearchive now outputs full title info.
8682 * (bug 27018) Added action=filerevert to revert files to an old version.
8683 * (bug 27897) list=allusers and list=users list hidden users.
8684 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
8685 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
8686 * (bug 28010) Passing a non existent user to list=users gives internal error.
8687 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
8688 groups if a user doesn't have explicit groups.
8689 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
8690 in auto generated document, as it is on mediawiki.org.
8691 * (bug 27182) API: Add filter by prefix for meta=allmessages.
8692 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
8693 * (bug 27340) API: Allow listing of "small" categories.
8694 * (bug 27342) Add audir param to list=allusers.
8695 * (bug 27203) add fato param to list=filearchive.
8696 * (bug 27341) Add drto param to list=deletedrevs.
8697 * (bug 26630) Add API for Special:ActiveUsers.
8698 * (bug 27020) API: Allow title prefix search of logevents (only when not in
8699 miser mode).
8700 * (bug 26629) add Special:MIMESearch to API.
8701 * (bug 27585) add pagecount to list=filearchive.
8702 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
8703 is missing.
8704 * (bug 27343) Add parseddescription to list=filearchive.
8705 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
8706 list=users&usprop=groups.
8707 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
8708 the general site info results.
8709 * (bug 16288) API: consider making closure status of wikis more clear
8710 with meta=siteinfo.
8711 * (bug 27589) list=allimages&aiprop=archivename is useless.
8712 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
8713 by using ApiQueryImageInfo.
8714 * (bug 28226) prop=extlinks&eloffset should be an integer.
8715 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
8716 real timestamp field.
8717 * API upload errors may now return the parameter that needs to be changed and
8718 a sessionkey to fix the error.
8719 * (bug 28249) allow dupes in meta=allmessages&amargs.
8720 * (bug 28263) cannot import xml with the API, when have not "import" user
8721 right, but "importupload".
8722 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
8723 * (bug 28394) Set forgotten parameters types in ApiUnblock.
8724 * (bug 28395) Set forgotten parameters types in ApiParse.
8725 * (bug 28368) add hint for multipart/form-data to API information of
8726 action=import&xml=.
8727 * (bug 28391) action=feedwatchlist&allrev should be a bool.
8728 * (bug 28364) add registration date to meta=userinfo.
8729 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
8730 PARAM_TYPE is not set.
8731 * (bug 27712) add parent_id to list=deletedrevs.
8732 * (bug 28455) Add 'toponly' to recentchanges API module.
8733 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
8734 * (bug 28586) YAML: strings that are the same as boolean literals.
8735 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
8736 * YAML API output is now 1.2 compliant, using JSON as the formatter.
8737 * (bug 28672) give information about misermode on API.
8738 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
8739 * (bug 26882) Allow listing of indefinite protections with the API.
8740 * (bug 27344) add drprefix param to list=deletedrevs.
8741 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
8742 * (bug 28238) paraminfo: output both limits for multi param.
8743 * (bug 27179) API: List of extension tags through meta=siteinfo.
8744 * Get a list of function hooks through meta=siteinfo.
8745 * Get a list of all subscribed hooks, and those subscribers.
8746 * (bug 28225) Allow hiding of user groups in list=allusers.
8747 * (bug 27185) API: Add Special:ComparePages.
8748 * (bug 28265) allow outputting of comments for action=expandtemplates.
8749 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
8750 * (bug 28963) Add langbacklinks query module to the api.
8751 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
8752 * (bug 28578) API's parse module should not silently override invalid
8753 title inputs.
8754 * (bug 20699) Watchlist API should list log-events.
8755 * (bug 29070) Require a token in API action=watch.
8756 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
8757 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
8758 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
8759 * (bug 25734) API: Possible issue with revids validation.
8760 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
8761 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
8762 * (bug 28392) Mark action=undelete&timestamps as type "timestamp".
8763 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
8764 * (bug 27595) sha1 search of list=filearchive does not work.
8765 * (bug 26763) Make RSS/Atom of user contributions more visible.
8766 * (bug 25133) Allow redirects also for action=parse&pageid.
8767 * (bug 29745) Fatal error in API search.
8768 * (bug 29476) API returns page title instead of sectiontitle for
8769 srprop=sectiontitle.
8770 * Correct the documentation of srprop properties.
8771 * (bug 28817) Add reference help page link to API Modules.
8772 * (bug 29935) Improve formatting of examples in ApiParamInfo.
8773 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
8774 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
8775 parameter is set.
8776 * (bug 29392) Setting the start or end parameter now works with lists blocks,
8777 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
8778 and watchlist in Postgres.
8779
8780 === Languages updated in 1.18 ===
8781
8782 MediaWiki supports over 330 languages. Many localisations are updated
8783 regularly. Below only new and removed languages are listed, as well as
8784 changes to languages because of Bugzilla reports.
8785
8786 * Angika (anp) (new).
8787 * Brahui (brh) (new).
8788 * Central Dusun (dtp) (new).
8789 * Jamaican Creole English (jam) (new).
8790 * Khowar (khw) (new).
8791 * Liv (liv) (new).
8792 * Kichwa (qug) (new).
8793 * Tokipona (tp) (removed) 'tokipona' is still valid.
8794 * (bug 17160) Gender specific display text for User namespace.
8795 * Link trail added for sl and sh.
8796 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
8797 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
8798 * (bug 27385) Set Polish $namespaceGenderAliases.
8799 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
8800 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
8801 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
8802 * (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and
8803 uppercase 'i' to 'I' (dotted i).
8804 * Conversion script between Syllabics and Latin for the Inuktitut language.
8805 * Date formats for Indonesian (id) updated.
8806 * Bhojpuri (bho) (renamed from "bh").
8807 * (bug 29031) When translating block log entries, indefinite, infinite, and
8808 infinity are now considered the same.
8809 * Aromanian (rup) (renamed from "rua-rup").
8810 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
8811 (Devanagari) (ks-deva). Defaults to ks-arab.
8812 * (bug 30864) Use bengali numerals for <ol> for Assamese.
8813 * (bug 30817) Restored linktrail for kk (Kazakh).
8814 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
8815 * (bug 30846) New LanguageOs class.
8816
8817 === Other changes in 1.18 ===
8818 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
8819 * (bug 28556) Upload support for MacBinary files has been removed (Used by
8820 Internet Explorer 5 for Mac OS 9).
8821 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
8822 set for all wikis. This was already the case for 'wgServer'.
8823
8824 == MediaWiki 1.17 ==
8825
8826 == MediaWiki 1.17.5 ==
8827 2012-06-12
8828
8829 This is a security release of the MediaWiki 1.17 branch.
8830
8831 === Summary of selected changes in 1.17 ===
8832
8833 Selected changes since MediaWiki 1.16 that may be of interest:
8834
8835 * A new installer has been introduced. It has a wizard-style interface which is
8836 translated into many languages. Many shortcomings in the old installer were
8837 addressed with this rewrite. Note that it is no longer required for the config
8838 directory to be made writable by the webserver. Instead the generated
8839 LocalSettings.php file is offered as a download, which you must then upload
8840 to the wiki's base directory.
8841
8842 * ResourceLoader, a new framework for delivering client-side resources such as
8843 JavaScript and CSS, has been introduced. These resources are now delivered
8844 through the new entry point script "load.php", instead of as static files
8845 served directly by the web server. This allows minification, compression and
8846 client-side caching to be used more effectively, which should provide a net
8847 performance improvement for most users.
8848
8849 * Category sorting has been improved.
8850 ** Sorting is now case insensitive.
8851 ** Sub-categories, pages and files can now be paged separately.
8852 ** When several pages are given the same sort key, they sort by their
8853 names instead of randomly.
8854
8855 * The lowest supported version of PHP is now 5.2.3. If necessary, please
8856 upgrade PHP prior to upgrading MediaWiki.
8857
8858 === Changes since 1.17.4 ===
8859
8860 * (bug 36938) Correctly escape uselang attribute to prevent xss
8861 * Expanded Blacklist for SVG Files
8862
8863 === Changes since 1.17.3 ===
8864
8865 * (bug 35961) Hash comparison should always be strict.
8866 * Fix broken email confirmation expiration caused by MWCryptRand changes.
8867 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
8868 on line 598.
8869
8870 === Changes since 1.17.2 ===
8871
8872 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
8873 core parser functions which operate on strings, such as padleft.
8874 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
8875 parameter present.
8876 * (bug 34907) Fixed exposure of tokens through load.php that could have
8877 facilitated CSRF attacks.
8878 * (bug 35317) CSRF in Special:Upload.
8879
8880 === Changes since 1.17.1 ===
8881 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
8882 pollution.
8883 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
8884
8885 === Changes since 1.17.0 ===
8886
8887 * (bug 29535) Added missing Creative Commons CC0 icon.
8888 * (bug 29726) Fixed failure to load internationalization messages in
8889 client-side scripts on WebKit-based browsers.
8890 * Fixed a bug in message transformation where the previous language could leak
8891 into later transformations in the UI language.
8892 * (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
8893 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
8894 work at all since 1.17 beta 1.
8895 * (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
8896 multiple dots, was broken by the fix for bug 28840.
8897 * In the maintenance script purgeList.php, fixed a fatal error when a page
8898 title is given, instead of a URL.
8899 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
8900 * Installer checked for magic_quotes_runtime instead of register_globals.
8901 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
8902 wide pano/timeline/diagram SVGs renderable at saner sizes.
8903 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
8904 tries to subscribe to mediawiki-announce.
8905 * Installer checked for magic_quotes_runtime instead of register_globals
8906 * (bug 30131) XCache with variable caching disabled no longer used for variable
8907 caching (CACHE_ACCEL)
8908 * (bug 30264) Changed installer-generated LocalSettings.php to use
8909 require_once() instead require() for included extensions.
8910 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
8911 warnings/notices to be thrown
8912 * (bug 30907) Special:Unusedcategories should sort ascendingly.
8913 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
8914 Windows servers.
8915 * Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion
8916 errors.
8917 * Fixed recentchanges FK violation on page delete and cache purge error in
8918 updater for Oracle DB.
8919 * (bug 32276) Skins were generating output using the internal page title which
8920 would allow anonymous users to determine whether a page exists, potentially
8921 leaking private data. In fact, the curid and oldid request parameters would
8922 allow page titles to be enumerated even when they are not guessable.
8923 * (bug 32616) action=ajax requests were dispatched to the relevant internal
8924 functions without any read permission checks being done. This could lead to
8925 data leakage on private wikis.
8926
8927 === Changes since 1.17.0rc1 ===
8928
8929 * Fixed syntax error in generated LocalSettings.php when a non-default user
8930 rights profile is chosen.
8931 * (bug 29399) Fixed PostgreSQL installation when the DB user for installation
8932 is the same as the one for web access.
8933 * (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
8934 an error was immediately shown to the user, instead of trying another slave.
8935 Was broken since 1.17 beta 1.
8936 * (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
8937 redirect.
8938 * (bug 29408) Fixed uploads of files with MIME types that aren't detected by
8939 MediaWiki.
8940 * Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
8941 using the DEFAULT value ('') in DML broke Oracle backend as it treats an
8942 empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
8943 fields.
8944
8945 === Changes since 1.17 beta 1 ===
8946
8947 * Fixed warning about missing file "password.js".
8948 * When installing on MySQL, don't attempt to create a new database user if the
8949 same user is used for installation and web access.
8950 * Fixed SQL query errors in queries with table aliases.
8951 * (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
8952 ensures that when database replication is used, the new version is seen by
8953 the user immediately after they create or edit an article.
8954 * (bug 28845) Allow PostgreSQL installation using a non-root user account which
8955 has role creation abilities.
8956 * When installing on PostgreSQL and the install account is the same as the web
8957 account, check to make sure that the account has suitable privileges in the
8958 mediawiki schema.
8959 * (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
8960 sysop account.
8961 * Fixed an issue with the Oracle installer in cases where the user is different
8962 to the database name.
8963 * Added "unblockself" to the list of available rights.
8964 * In the installer, fixed the "user rights profile" option, it never worked.
8965 * (bug 29117) Fixed Hebrew localisation of the installer.
8966 * (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
8967 on Internet Explorer 6 due to a file extension in the query string) by
8968 reducing the number of URLs that are blocked, and by redirecting the request
8969 to a safer URL where possible instead of blocking it.
8970 * (bug 28812) Fixed documentation of API action=parse.
8971 * (bug 28979) Fixed styling of <abbr> and <acronym>.
8972 * Fixed the error message displayed when you try to create an account by email,
8973 but an email address is not given.
8974 * Fixed JS error due to missing dependency for jquery.suggestions.
8975 * Exposed $wgExtensionAssetsPath in JavaScript.
8976 * (bug 28738) Made ResourceLoader support environments with small URL length
8977 limits. The length limit can be configured via
8978 $wgResourceLoaderMaxQueryLength, and this is set automatically in the
8979 generated LocalSettings.php when the php.ini variable
8980 "suhosin.get.max_value_length" is set. When a URL exceeds this limit, the
8981 request is split up. Also, reduced the average length of load.php URLs by
8982 using a more compact parameter format.
8983 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
8984 * (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
8985 * Allow installation when no HTTP client is available, don't throw an exception.
8986 * (bug 27465) Fix metadata extraction for SVG files using unusual namespace
8987 names.
8988 * (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
8989 PHP memory limit should work again.
8990 * Fixed the display of comments in the new user log.
8991 * (bug 28237) When installing extensions using the web-based installer, create
8992 any necessary database tables.
8993 * (bug 28983) Fixed automated installation of extensions that overwrite $path.
8994 * Fixed error caused by missing magic words.
8995 * Fixed breakage of article editing in PostgreSQL due to text search
8996 configuration errors.
8997 * Fixed the HTTPS client used when Curl is not available. This avoids an error
8998 during install about failure of the mediawiki-announce subscription.
8999 * (bug 28162) When installing to PostgreSQL, respect the "database port" input,
9000 it was ignored.
9001
9002 === Configuration changes in 1.17 ===
9003
9004 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
9005 to new users log.
9006 * (bug 22858) $wgLocalStylePath is by default set to the same value as
9007 $wgStylePath but should never point to a different domain than the site is
9008 on, allowing skins to use .htc files which are not cross-domain friendly.
9009 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
9010 been turned into $wgDeletedDirectory.
9011 * $wgDeletedDirectory has been added to specify what directory to place deleted
9012 uploads in.
9013 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
9014 normal $wgDBport.
9015 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
9016 provides more sensible sorting behavior for categories.
9017 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
9018 $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
9019 $wgZhdaemonHost and $wgZhdaemonPort.
9020 * (bug 24408) The include_path is not modified in the default LocalSettings.php
9021 * $wgVectorExtraStyles was removed, and is no longer in use.
9022 * Removed $wgUpdates for database updates; extensions should use
9023 DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
9024 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
9025 available as input for other configuration items, either.
9026 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
9027 * It's no longer necessary to set $wgCacheEpoch to the file modification time
9028 of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
9029 automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
9030 the default).
9031 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
9032 should be used instead.
9033 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
9034 If you need this functionality, you should use the BlockIp hook to filter and
9035 reject such blocks.
9036 * $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
9037 (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
9038 address at a time.
9039
9040 === New features in 1.17 ===
9041
9042 * (bug 10183) Users can now add personal styles and scripts to all skins via
9043 User:<name>/common.css and /common.js (if user css/js is enabled).
9044 * (bug 22748) Add anchors on Special:ListGroupRights.
9045 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
9046 apply the names of the individual files within the gallery.
9047 * Future-proof redirection to fragments in Gecko, so things work a little nicer
9048 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
9049 * Support git:// and mms:// protocols by default for external links.
9050 * (bug 15810) Blocked admins can no longer unblock themselves without the
9051 'unblockself' permission (which they have by default).
9052 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
9053 changes list.
9054 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
9055 viewing contributions of a blocked IP address.
9056 * (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
9057 escaping.
9058 * Special:Listfiles now supports a username parameter.
9059 * Special:Random carries over query string parameters.
9060 * (bug 23206) Add Special::Search hook for detecting successful "Go".
9061 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
9062 is provided on the Upload form.
9063 * (bug 22647) Add category details in search results.
9064 * (bug 23276) Add hook to Special:NewPages to modify query.
9065 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
9066 * Add accesskey 'b' and tooltip to the summary field of edit mode.
9067 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
9068 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
9069 watch links, not just to watch the page the link is on.
9070 * (bug 20976) "searchmenu-new-nocreate" message now displayed when there
9071 is no title match in search and the user has no rights to create pages.
9072 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
9073 * (bug 22844) Added support for WinCache object caching (for IIS).
9074 * (bug 23580) Add two new events to LivePreview so that scripts can be notified
9075 about the beginning and finishing of LivePreview actions.
9076 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
9077 * (bug 23733) Add IDs to messages used on CSS/JS pages.
9078 * Show validity period of the login cookie in Special:UserLogin and
9079 Special:Preferences.
9080 * Interlanguage links display the page title in their tooltip.
9081 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
9082 * (bug 4597) Provide support in Special:Contributions to show only "current"
9083 contributions
9084 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
9085 * (bug 21477) \& can now be used in <math>
9086 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
9087 * (bug 21475) \mathtt and \textsf can now be used in <math>
9088 * texvc is now run via ulimit4.sh, to limit execution time.
9089 * SQLite now supports $wgSharedDB.
9090 * (bug 8507) Group file links by namespace:title on image pages.
9091 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
9092 well-formed XML.
9093 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
9094 * Added scriptExtension setting to $wgForeignFileRepos.
9095 * ForeignApiRepo uses scriptDirUrl if apiBase not set.
9096 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
9097 client wikis.
9098 * (bug 14685) Double underscore magic word usage is now tracked in the
9099 page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
9100 {{DISPLAYTITLE}}
9101 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
9102 "mw-ipb-needreblock"
9103 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
9104 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
9105 input.
9106 * (bug 21503) There's now a "reason" field when creating account for other
9107 users.
9108 * (bug 24418) action=markpatrolled now requires a token.
9109 * A variety of category sort-related fixes, including:
9110 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
9111 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
9112 ** When several pages are given the same sort key, they sort by their names
9113 instead of randomly.
9114 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
9115 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
9116 * (bug 11005) Add CSS class to empty pages in Special:Newpages.
9117 * The parser cache is now shared amongst users whose different settings aren't
9118 used in the page.
9119 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
9120 * (bug 24007) Diff pages now mention the number of users having edited
9121 intermediate revisions.
9122 * Added new hook GetIP.
9123 * Special:Version now displays whether a SQLite database supports full-text
9124 search.
9125 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
9126 for versioning.
9127 * Maintenance scripts get a --memory-limit option to override defaults (which
9128 is usually to set it to -1 to disable the limit).
9129 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
9130 by default.
9131 * (bug 23194) Special:ListFiles now has thumbnails.
9132 * Use hreflang to specify canonical and alternate links, search engine friendly
9133 when a wiki has multiple variant languages.
9134 * (bug 19593) Specifying --server in now works for all maintenance scripts.
9135 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
9136 * (bug 10541) Front/backend separation of installation/upgrade code.
9137 * (bug 10596) Allow installer to enable extensions already in extensions folder.
9138 * (bug 20627) Installer should be in languages other than English.
9139 * Support for metadata in SVG files (title, description).
9140 * Special:Search: Add CSS classes to 'none found' and 'create link' messages.
9141 * Add CSS classes (including namespace and pagename) to the enhanced recent
9142 changes/watchlist entries.
9143 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
9144 customizable.
9145 * Added CSS print pagination to the print stylesheets.
9146 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
9147 file repositories.
9148 * When viewing a redirect, the redirect arrow and redirection target are both
9149 wrapped in a div that has the class "redirectMsg" so that the redirection
9150 arrow can be customized with CSS.
9151 * (bug 21911) Hard coded limit for long page warning removed. New message
9152 [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
9153 Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
9154 number of the textsize in Byte.
9155 * (bug 3276) Give image <gallery>s fluid width.
9156 * Added uploads link to page subtitle in Special:Contributions.
9157 * Added Special:Myuploads special page that redirects to Special:Listfiles.
9158 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
9159 code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
9160 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
9161 other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
9162 some cases where MW_CONFIG_CALLBACK will not work.
9163 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
9164 pages to be queried via the API and Special:ProtectedPages, and allowing
9165 disabling upload protection by removing it from $wgRestrictionTypes.
9166 * The name attribute of HTMLForm fields can now be overridden by passing a
9167 'name' key in the descriptor array. Hidden field names are now treated
9168 consistently with other fields and, by default, prefixed with 'wp'.
9169 * (bug 27402) Add support for disabling MWSuggest.
9170 * (bug 26563) Add bytes changed per revision for stub and full article dumps.
9171 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
9172 look at when finding metadata to prevent excessive resource usage.
9173 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
9174 without having to move LocalSettings.php
9175 * Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
9176 in wikitext.
9177 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
9178 options.
9179 * Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
9180 preferences; which can improve page loading speed.
9181 * Added $wgSQLMode for setting database SQL modes - either performance (null)
9182 or other reasons (such as enabling stricter checks).
9183 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
9184 which causes Vector to render the variants drop-down menu with a label
9185 showing the current variant name. This is off by default, pending further
9186 research into its user experience implications.
9187 * The upload link for missing files can now be set separately from the
9188 navigation link with $wgUploadMissingFileUrl.
9189 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
9190 * Added $wgSecureLogin to optionally login using HTTPS.
9191 * (bug 25728) Added $wgPasswordSenderName to make the name associated
9192 with $wgPasswordSender configurable.
9193 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
9194 the footers of skins.
9195 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
9196 used for the file cache. Default value is 2, which matches former behavior.
9197
9198 === Bug fixes in 1.17 ===
9199
9200 * (bug 17560) Half-broken deletion moved image files to deletion archive
9201 without updating database.
9202 * (bug 22666) Submitting user block form with an invalid user name no longer
9203 throws an error.
9204 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
9205 settings changed.
9206 * (bug 22606) The body of e-mail address confirmation message is now different
9207 when the address changed.
9208 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
9209 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
9210 redirects.
9211 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
9212 the URL contains a colon.
9213 * (bug 22353) Categorised recent changes now works again.
9214 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
9215 now only displayed when relevant.
9216 * (bug 22772) {{#special:}} parser function now works with subpages.
9217 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
9218 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
9219 * (bug 22903) Revdelete log entries now show in the user preferred language.
9220 * (bug 22905) Correctly handle <abbr> followed by ISBN.
9221 * (bug 22940) Namespace aliases pointing to main namespace don't work.
9222 * (bug 15810) Blocked admins can no longer block/unblock other users.
9223 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
9224 correctly set.
9225 * (bug 14952) Page titles are renormalized after html entities are removed so
9226 that links with non-NFC character references work correctly.
9227 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
9228 anonymous users instead of null.
9229 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
9230 * (bug 21520) Anonymous previews now also gives a warning about not being
9231 logged in (anonpreviewwarning).
9232 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
9233 * (bug 23024) Special:ListFiles now escapes file names correctly.
9234 * (bug 22867) "View source" tab is now only displayed if there's source text.
9235 * (bug 19393) Feeds now format dates in user language rather than content
9236 language.
9237 * (bug 22852) "Served in" comment is now the time used to cache a single page
9238 when using rebuildFileCache.php
9239 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
9240 parameter no longer makes the page displayed as being the redirect target.
9241 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
9242 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
9243 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
9244 * (bug 23017) Special:Disambiguations now list pages in content namespaces
9245 rather than only main namespace.
9246 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
9247 frames, and $wgMaxImageArea against the size of the first frame, rather than
9248 the other way around. Both now default to 12.5 megapixels. Also, images
9249 exceeding $wgMaxImageArea can still be embedded at original size.
9250 * (bug 23078) "All public logs" option on Special:Log is now always the first
9251 item.
9252 * (bug 16817) Group names in user rights log are now singular and in lowercase.
9253 * Special:Preferences no longer crashes if the wiki default date formatting
9254 style is not valid for the user's interface language.
9255 * (bug 23167) Check the watch checkbox by default if the watchcreations
9256 preference is set.
9257 * Maintenance script cleanupTitles is now able to fix titles stored
9258 in a negative namespace (which is invalid).
9259 * (bug 19858) Removed obsolete <big> in interface messages.
9260 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
9261 displays incorrect tabs.
9262 * (bug 23190) Improved math representation for text browsers.
9263 * (bug 22015) Improved upload-by-url error handling and error display.
9264 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
9265 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
9266 work.
9267 * (bug 23075) Correct MediaTransformError default width in gallery.
9268 * (bug 16487) The Anonymous user account used on Postgres is no longer
9269 displayed on Special:Listusers.
9270 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
9271 to enhance preference grouping.
9272 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
9273 correct link.
9274 * (bug 23284) Times are now rounded correctly.
9275 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
9276 * (bug 18408) All required permissions for uploading (upload, edit, create)
9277 are now checked when loading Special:Upload. Toolbar link for Special:Upload
9278 is no longer shown if the user does not have the required permissions.
9279 * (bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
9280 * (bug 23241) License selector should be disabled during upload of a new
9281 version.
9282 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
9283 * The pipe | character in urls is now escaped.
9284 * (bug 23422) mp3 files can now be moved.
9285 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
9286 MediaWiki:Subject-preview when previewing summary.
9287 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
9288 new variable {{REVISIONMONTH1}} when unpadded version is needed.
9289 * Special:Userrights didn't recognize user as changing his/her own rights if
9290 user did not capitalize first letter of username.
9291 * (bug 23507) Add styles for printing wikitables.
9292 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
9293 as Opera 8.
9294 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
9295 account upload rights.
9296 * (bug 1347) Render \phi in math using images, in order to create consistent
9297 and correct render results.
9298 * (bug 16573) Render \epsilon in math using images, in order to create
9299 consistent and correct render results.
9300 * (bug 22541) Support image redirects when using ForeignAPIRepo.
9301 * (bug 22967) Make edit summary length cut-off behave correctly for multibyte
9302 characters.
9303 * (bug 8689) Long numeric lines no longer kill the parser.
9304 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
9305 the $noRedir parameter is set to true.
9306 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
9307 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
9308 * (bug 23797) Xml::input() now allows '0' for the value parameter.
9309 * (bug 23747) Make sure that on History pages, the RevDel button is not
9310 accidentally activated when hitting enter.
9311 * (bug 23845) Special:ListFiles now uses correct file names without underscores.
9312 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration >
9313 0.
9314 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
9315 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
9316 a fatal error.
9317 * (bug 23465) Don't ignore the predefined destination filename on
9318 Special:Upload after following a red link.
9319 * (bug 23642) Recognize mime types of MS OpenXML documents.
9320 * (bug 22784) Normalise underscores and spaces in autocomments.
9321 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
9322 * (bug 24022) Only check file extensions on the uploadpage when needed.
9323 * (bug 24076) Recognize Office 2003 files with OpenXML trailers.
9324 * (bug 24244) Updated comments in DefaultSettings.php to reflect
9325 Image: --> File: namespace rename.
9326 * Make wfTimestamp recognize negative unix timestamp values.
9327 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
9328 disabled.
9329 * (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
9330 Special:Newpages is transcluded into another page as it messes up the page.
9331 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
9332 throw fatal errors.
9333 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
9334 useful error message.
9335 * Uploading to a protected title will allow the user to choose a new name
9336 instead of showing an error page.
9337 * (bug 24425) Use Database::replace instead of delete/insert in
9338 SqlBagOStuff::set to avoid query errors about duplicate keynames.
9339 * (bug 15470) First letters of filenames are always capitalized by upload JS.
9340 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
9341 * (bug 21052) Fix link color for stubs in NewPages.
9342 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
9343 longer pollutes the parser cache.
9344 * (bug 17031) Correct which characters the parser allows in tag attributes (a
9345 letter, colon or underscore followed by 0 or more letters, numbers, colons,
9346 underscores, hyphens, and/or periods).
9347 * Save 200 useless queries on each category page view.
9348 * Shell commands will now work on Linux in filesystems mounted noexec.
9349 * (bug 24804) Corrected commafying in Polish and Ukrainian.
9350 * "Difference between pages" is now displayed instead of "Difference between
9351 revisions" on diffs when appropriate.
9352 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
9353 a repository due to missing 'name' attribute from the API list=allimages.
9354 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
9355 make wfTempDir() return a sane value for Windows on worst-case.
9356 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
9357 memory usage when such an ImageMagick is used for scaling.
9358 * Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock
9359 when a resource limit such as $wgMaxShellMemory is hit.
9360 * (bug 24981) Allow extensions to access SpecialUpload variables again.
9361 * (bug 20744) Wiki forgets about an uploaded file.
9362 * (bug 17913) Don't show "older edit" when no older edit available.
9363 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
9364 * (bug 24977) The accesskey in history page now lead directly to the diff
9365 instead of alternating focus between the two buttons.
9366 * (bug 24987) Special:ListUsers does not take external groups into account.
9367 * (bug 20633) update.php has mixed language output.
9368 * SQLite system table names are now never prefixed.
9369 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
9370 parameter.
9371 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
9372 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
9373 passthru().
9374 * (bug 25462) Fix double-escaping for section edit link tooltips.
9375 * action=raw was removed for Special:Statistics. This information is still
9376 available via the API.
9377 * (bug 23934) Groups defined in $wgRevokePermissions but not in
9378 $wgGroupPermissions now appear on Special:ListGroupRights.
9379 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
9380 requested.
9381 * (bug 22308) Search now finds text in default main page immediately after
9382 setup.
9383 * (bug 25697) Make sure empty lines render in diff view.
9384 * Use an actual minus sign in diff views, instead of a hyphen.
9385 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
9386 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
9387 * (bug 25642) A exception is now thrown instead of a fatal error when using
9388 $wgSMTP without PEAR mail package.
9389 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
9390 * (bug 11013) Database driver detection needs rewriting for robustness.
9391 * (bug 13409) Installer prompts could use clarification--now has help boxes.
9392 * (bug 16902) Installer spews warnings when exec() and dl() are not available.
9393 * (bug 19129) Only show MyISAM/InnoDB when supported.
9394 * (bug 17762) Only show other e-mail options when e-mail is globally enabled.
9395 * Cache multiple sizes of InstantCommons thumbnails.
9396 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
9397 on discussion pages with vector as default skin.
9398 * (bug 24833) Files name in includes/diff/ are now less confusing.
9399 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
9400 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
9401 parameters.
9402 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
9403 $wgFileCacheDirectory is not set.
9404 * (bug 13353) Diff3 version checks were too strict, did not detect working
9405 diff3.
9406 * (bug 25843) Links to special pages using link= attribute on images are now
9407 normalised like normal links to special pages.
9408 * (bug 21364) External links using link= attribute on images now respect
9409 $wgExternalLinkTarget.
9410 * (bug 17789) Added a note to the total views on Special:Statistics saying that
9411 is doesn't count non-existing pages and special pages.
9412 * (bug 17996) HTTP redirects are now combined when requesting a special page.
9413 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
9414 some cases.
9415 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
9416 "File" and "Media" are allowed now.
9417 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
9418 with php extension that defines same class.
9419 * (bug 20591) There's now a different message on Special:MovePage when
9420 $wgFixDoubleRedirects is set to false.
9421 * Fixed PHP warnings when updating a broken MySQL database.
9422 * (bug 26023) Corrected deleteBacth.php's documentation.
9423 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
9424 * Show "skin does not exist error" only when the skin is inputted in the wrong
9425 case.
9426 * (bug 26164) Potential html injection when the database server isn't available.
9427 * (bug 26160) Upload description set by extensions are not propagated.
9428 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
9429 absolute URLs in the sitemap index (as required e.g. by Google).
9430 * Partial workaround for bug 6220: at least make files on shared repositories
9431 show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
9432 * rebuildFileCache.php no longer creates inappropriate cache files for
9433 redirects.
9434 * (bug 25512) Subcategory list should not include category prefix for members.
9435 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
9436 treated as wikitext on preview.
9437 * Page existence is now not revealed (in the colour of the tabs) to users who
9438 cannot read the page in question.
9439 * (bug 22753) Output from update.php is more clear when things changed, entries
9440 indicating nothing changed are now all prefixed by "..."
9441 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
9442 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
9443 as "Permitted file types" on the upload form.
9444 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
9445 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
9446 selected when the action is "purge".
9447 * (bug 26733) Wrap initial table creation in transaction.
9448 * (bug 26208) Mark directionality of some interlanguage links.
9449 * (bug 26716) Provide link to instructions for external editor related
9450 preferences.
9451 * (bug 26961) Hide anon edits in watchlist preference now actually works.
9452 * (bug 1379) Installer directory conflicts with some hosts' configuration panel.
9453 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility
9454 function for array_key_exists().
9455 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
9456 * (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
9457 are also set.
9458 * (bug 26223) Concurrently moving an article to different titles leaks a
9459 redirect revision with no page.
9460 * (bug 15641) Fixed permissions checks in Special:Import which allowed users
9461 without the 'import' permission to import pages from configured import
9462 sources.
9463 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
9464 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
9465 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
9466 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
9467 better.
9468 * (bug 26716) Provide link to instructions for external editor related
9469 preferences and add a comment to the ini control file explaining what is going
9470 on.
9471 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
9472 to table.wikitable instead.
9473 * (bug 27560) Search queries no longer fail in walloon language.
9474 * (bug 27700) The upload protection can now also be set for files that do not
9475 exist.
9476 * (bug 28034) uploading file to local wiki when file exists on shared repository
9477 (commons) gives spurious info in the warning message.
9478 * Usernames get lost when selecting different sorts on Special:listfiles.
9479 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
9480 page restrictions.
9481 * (bug 28242) Make redirects generated by urls containing a local interwiki
9482 prefix be a 301 instead of a 302.
9483 * (bug 28568) Entries in the iwlinks table are now removed on page deletion.
9484 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
9485 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
9486 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
9487 intl installed.
9488 * (bug 26729) Category pages should return 404 if they do not exist and have no
9489 members.
9490 * (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
9491 in header of response.
9492 * (bug 27634) TOC title appears in wrong language.
9493 * (bug 27761) Fix regression: pages with Esperanto titles containing convertible
9494 character sequences became unreachable.
9495 * (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
9496 * (bug 27465) SVG thumbnail generation.
9497 * (bug 27467) preload can leave UNIQ.
9498 * (bug 27539) Allow attributes beginning with a digit in wikitext tag
9499 parameters.
9500 * (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
9501 in 1.17.
9502 * (bug 27333) Fix repetitive last-seen time queries on page history.
9503 * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
9504 processing of JSON return values for ForeignAPIRepo when native json module
9505 not present.
9506 * (bug 25675) Fix search suggestions for Special: pages with spaces.
9507 * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
9508 to strings.
9509 * (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
9510 * (bug 27302) Don't append the current timestamp for user/site modules when no
9511 user/site JS/CSS is present.
9512 * (bug 27016) dumpTextPass.php now consider the "output" parameter.
9513 * (bug 22606) don't send the "someone registred an account" message when setting
9514 email address (i.e. old one empty) in user preferences.
9515 * (bug 26458) Section edit links appear on pages that user does not have right
9516 to edit.
9517 * (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
9518 * (bug 16886) Sister projects box moves down the extract of the first result
9519 in IE 7.
9520 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
9521 parameter.
9522
9523 === API changes in 1.17 ===
9524
9525 * BREAKING CHANGE: action=patrol now requires POST.
9526 * BREAKING CHANGE: patrol token is no longer the same as edit token.
9527 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
9528 of integers.
9529 * BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
9530 enforce validation on the input values in addition to giving a warning.
9531 Also add flag to enforce (die) if integer out of range.
9532 * (bug 24650) Fix API to work with categorylinks changes.
9533 * action=parse now correctly returns an error for nonexistent pages.
9534 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
9535 * (bug 26560) On allusers if limit < total number of users, last user gets
9536 duplicated.
9537 * (bug 27715) imageinfo didn't respect revdelete.
9538 * (bug 27479) API error when using both prop=pageprops and
9539 prop=info&inprop=displaytitle.
9540 * (bug 27862) Useremail module didn't properly return success on success.
9541 * (bug 27590) prop=imageinfo now allows querying the media type.
9542 * (bug 27587) list=filearchive now outputs full title info.
9543 * (bug 27897) list=allusers and list=users list hidden users.
9544 * (bug 22738) Allow filtering by action type on query=logevent.
9545 * (bug 22764) uselang parameter for action=parse.
9546 * (bug 22944) API: watchlist options are inconsistent.
9547 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
9548 * (bug 22290) prop=revisions now outputs "comment" field even when comment
9549 is empty, for consistency with list=recentchanges.
9550 * (bug 19721) API action=help should have a way to just list for a specific
9551 module.
9552 * (bug 23458) Add support for pageid parameter to action=parse requests.
9553 * (bug 23460) Parse action should have a section option.
9554 * (bug 21346) Make deleted images searchable by hash.
9555 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
9556 * (bug 23548) Allow access of another users watchlist through watchlistraw
9557 using token and username.
9558 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
9559 track inline interwiki link usage).
9560 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
9561 similar to prop=categories's clcategories.
9562 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
9563 thumbnailing larger than original image.
9564 * (bug 23835) Need "thumbmime" result in "imageinfo" query.
9565 * (bug 23851) Repair diff for file redirect pages.
9566 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
9567 * (bug 24016) API: Handle parameters specified in simple string syntax
9568 ( 'paramname' => 'defaultval' ) correctly when outputting help.
9569 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
9570 * (bug 23473) Give description of properties on all modules.
9571 * (bug 24136) unknownerror when adding new section without summary, but
9572 forceditsummary.
9573 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
9574 * (bug 24303) Added new &servedby parameter to all actions which adds the
9575 hostname that served the request to the result. It is also added
9576 unconditionally on error.
9577 * (bug 24185) Titles in the Media and Special namespace are now supported for
9578 title normalization in action=query. Special pages have their name resolved
9579 to the local alias.
9580 * (bug 24296) Added converttitles parameter to convert titles to their
9581 canonical language variant.
9582 * (bug 23936) Add "displaytitle" to query/info API.
9583 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
9584 iwtitle.
9585 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
9586 one of the backlinks generators with limit=max.
9587 * (bug 24656) API's parse module needs option to disable PP report.
9588 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
9589 does not set the parameter, the API will automatically throw an error.
9590 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
9591 NOW, not to the timestamp of the last edit.
9592 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
9593 allmessages, allpages, and allusers.
9594 * (bug 24236) Add add, remove, add-self, remove-self tags to
9595 meta=siteinfo&siprop=usergroups.
9596 * (bug 24484) Add prop=pageprops module.
9597 * (bug 24330) Add &redirect parameter to ?action=edit.
9598 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
9599 blockreason if the user is actually blocked.
9600 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
9601 * For required string parameters, if '' is provided, this is now classed as
9602 missing.
9603 * (bug 24724) list=allusers is out by 1 (shows total users - 1).
9604 * (bug 24166) API error when using rvprop=tags.
9605 * Introduced "asynchronous download" mode for upload-by-url. Requires
9606 $wgAllowAsyncCopyUploads to be true.
9607 * sinumberingroup correctly gives size of 'user' group, and omits size of
9608 implicit groups rather than showing 0.
9609 * (bug 25248) API: paraminfo errors with certain modules.
9610 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
9611 POST request was needed due to cache pollution.
9612 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
9613 * Added rvparse to parse revisions. For performance reasons if this option is
9614 used, rvlimit is enforced to 1.
9615 * (bug 25748) If a action=parse request provides an oldid that is actually the
9616 current revision id, try the parser cache, and save it to it if necessary.
9617 * (bug 25463) Export header should not be shown if no pages were requested, to
9618 reduce confusion.
9619 * (bug 25648) API discovery information has been added as RSD link in page
9620 <head> and by providing an API module action=rsd. Added hook
9621 ApiRsdServiceApis for extensions to add their own service to the services
9622 list.
9623 * The HTML of diff output markers has changed. Hyphens are now minus signs,
9624 empty markers are now filled with non-breaking-space characters.
9625 * (bug 25741) Add more data to list=search's srprop.
9626 * (bug 25760) counter property still reported by the API when
9627 $wgDisableCounters enabled.
9628 * (bug 25987) prop=info&inprop=watched now also works for missing pages.
9629 * (bug 26006) prop=langlinks now allows obtaining full URL.
9630 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
9631 * (bug 26089) add block expiration to blockinfo.
9632 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
9633 file is a multi-page file.
9634 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
9635 * (bug 26219) Show API limits for multi values in description.
9636 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
9637 real timestamp field.
9638 * (bug 27722) list=filearchive now supports revdel.
9639
9640 === Language support changes in 1.17 ===
9641
9642 MediaWiki supports over 330 languages. Many localizations are updated regularly.
9643
9644 The following languages were added:
9645
9646 * Moroccan Spoken Arabic (ary)
9647 * Banjar (bjn)
9648 * Kabardian (kbd)
9649 * Kabardian (Cyrillic) (kbd-cyrl)
9650 * Latgalian (ltg)
9651 * Minangkabau (min)
9652 * Dutch (informal) (nl-informal)
9653 * Rusyn (rue)
9654
9655 Other significant changes to MediaWiki's language support:
9656
9657 * Fiji Hindi (Devangari script) was removed.
9658 * Removed deprecated language code "dk" (Danish), use "da" instead.
9659 * Link trail added for sl and sh.
9660 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
9661 * (bug 23156) Commafy and search normalization updated for Belarusian
9662 (Taraškievica).
9663 * (bug 23283) Native name for Old English -> Ænglisc.
9664 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
9665 * (bug 24593) Native name for Sorani now uses only Arabic script.
9666 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
9667 * (bug 24917) Polish as fallback for Kashubia.
9668 * (bug 24794) Tatar link trail updated.
9669 * Esperanto date format corrected.
9670 * (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
9671 Qabardjajəbza.
9672 * (bug 28184) Namespaces for the Latgalian Wikipedia.
9673 * (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
9674 to Башҡортса.
9675 * (bug 26395) Change name of Cornish language to Kernowek.
9676
9677 === Other changes in 1.17 ===
9678
9679 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
9680 extensions has been removed.
9681 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
9682 * The FailFunction "error handling" method has now been removed
9683 * Sysops now have the "suppressredirect" right by default
9684 * Removed $wgRemoteUploads. It was not well supported and superseded by
9685 $wgUploadNavigationUrl.
9686 * (bug 26253) $wgPostCommitUpdateList has been removed
9687 * The PHPUnit test suite has been removed from this release due to serious
9688 issues which should be resolved by the 1.18 release.
9689 * Oracle DB now uses the __destruct function to commit/close connection as it
9690 doesn't commit on close if transation is triggered in OCI.
9691
9692 == MediaWiki 1.16 ==
9693
9694 == MediaWiki 1.16.5 ==
9695 === Changes since 1.16.4 ===
9696
9697 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
9698 attempt at fixing bug 28235.
9699 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
9700 is enabled.
9701
9702 == MediaWiki 1.16.4 ==
9703 === Changes since 1.16.3 ===
9704
9705 * (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
9706 clients) was not actually sufficient to fix that bug. This release contains
9707 a second attempt, hopefully we have fixed it this time.
9708
9709 == MediaWiki 1.16.3 ==
9710 === Changes since 1.16.2 ===
9711
9712 * (bug 28449) Fixed permissions checks in Special:Import which allowed users
9713 without the 'import' permission to import pages from the configured import
9714 sources.
9715 * (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
9716 browsers looking for a file extension in the query string of the URL, and
9717 ignoring the Content-Type header if one is found.
9718 * (bug 28450) Fixed a CSS validation issue involving escaped comments, which
9719 led to XSS for Internet Explorer clients and privacy loss for other clients.
9720
9721 == MediaWiki 1.16.2 ==
9722 === Changes since 1.16.1 ===
9723
9724 * (bug 26642) Fixed incorrect translated namespace due to a regression in the
9725 language converter.
9726 * The interface translations were updated.
9727 * (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
9728 * (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
9729 Affects Windows servers only. A malicious file with extension ".php" must
9730 exist on the server for the exploit to be effective.
9731
9732 == MediaWiki 1.16.1 ==
9733 === Changes since 1.16.0 ===
9734
9735 * (bug 24981) Allow extensions to access SpecialUpload variables again
9736 * (bug 24724) list=allusers was out by 1 (shows total users - 1)
9737 * (bug 24166) Fixed API error when using rvprop=tags
9738 * For wikis using French as a content language, Special:Téléchargement works
9739 again as an alias for Special:Upload.
9740 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
9741 * (bug 25248) Fixed paraminfo errors in certain API modules.
9742 * The installer now has improved handling for situations where safe_mode is
9743 active or exec() and similar functions are disabled.
9744 * (bug 19593) Specifying --server in now works for all maintenance scripts.
9745 * Fixed $wgLicenseTerms register globals.
9746 * (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
9747 X-Frame-Options. The header value can be configured using $wgBreakFrames and
9748 $wgEditPageFrameOptions.
9749
9750 == MediaWiki 1.16.0 ==
9751 === Changes since 1.16 beta 3 ===
9752
9753 * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
9754 1.16 beta 1, but is currently poorly supported by browsers.
9755 * (bug 23175) Re-added window.ta variable for backwards compatibility.
9756 * (bug 23264) Fixed breakage of various command line scripts due to extra line
9757 endings being inserted by Maintenance::output().
9758 * Fixed HTTP client functionality with safe_mode=On.
9759 * Fixed parser tests broken in 1.16 beta 3.
9760 * For Oracle DB backend: fixed parser tests and table prefix feature.
9761 * (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
9762 * Fixed plural function for Northern Sami (se)
9763 * (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
9764 parser-generated heading IDs. Renamed head, panel, head-base and page-base.
9765 * Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
9766 * (bug 23465) Don't ignore the predefined destination filename on
9767 Special:Upload after following a red link to a file.
9768 * In SQLite full-text search feature: fixed "move page" feature, was non-
9769 functional.
9770 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
9771 user privacy in the case where an attacker can access the wiki through the
9772 same HTTP proxy as a logged-in user.
9773 * Fixed an XSS vulnerability in profileinfo.php for installations with
9774 $wgEnableProfileInfo = true (false by default)
9775 * Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
9776 false. Fixed a minor header parsing issue when $wgUseXVO = true.
9777 * Fixed a register_globals arbitrary inclusion vulnerability in
9778 MediaWikiParserTest.php, introduced in 1.16 beta 1.
9779
9780 === Changes since 1.16 beta 2 ===
9781
9782 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
9783 invalid usernames.
9784 * Fixed sorting in [[Special:Allmessages]]
9785 * (bug 23113) Fixed title in the show/hide links on diff pages
9786 * (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
9787 * (bug 23127) Re-added missing $1 parameter to the uploadtext message
9788 * Fixed a bug in the Vector skin where personal tools display behind the logo
9789 * (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
9790 showed the same text.
9791 * (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
9792 in page views and previews when the language converter is enabled.
9793 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
9794 scaling, which was introduced in 1.16 beta 1.
9795 * Improved error checking on installer.
9796 * (bug 22970) Fixed a JavaScript error in the upload destination conflict
9797 check.
9798 * (bug 23167) Check the watch checkbox by default if the watchcreations
9799 preference is set.
9800 * (bug 23171) Improve IE6 version check to avoid false positives.
9801 * (bug 23176) Fixed upload warning override feature "upload new version",
9802 broken in 1.16 beta 1.
9803 * Fixed regression in unwatch links sent out in notification emails. When the
9804 mailing job was deferred via the job queue, the title was incorrect.
9805 * (bug 23534) Fixed SQL query error in API list=allusers.
9806 * Fixed a bug in uploads for non-JavaScript clients. An empty string was used
9807 as the default destination filename, instead of the source filename as
9808 expected.
9809 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
9810 account" and "create by e-mail" features of [[Special:Userlogin]]
9811 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
9812 validation issue.
9813 * Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
9814 expanded wildcard characters "?" and "*" in image filenames, potentially
9815 causing large numbers of images to be scaled in response to a single request.
9816 The fix for this involves breaking the scaling of such image filenames until
9817 ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
9818 * (bug 23608) Fixed invalid HTML in diff pages.
9819
9820 === Changes since 1.16 beta 1 ===
9821
9822 * Fixed errors in maintenance/patchSql.php
9823 * (bug 19627) Fix regression from r57867 where HTMLForm would output
9824 <element classes="foo bar"> rather than <element class="foo bar">
9825 * Fixed broken "-r" option to maintenance/lag.php
9826 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
9827 be submitted along with the user name and password.
9828
9829 === Configuration changes in 1.16 ===
9830
9831 * (bug 18222) $wgMinimalPasswordLength default is now 1
9832 * $wgSessionHandler can be used to configure session.save_handler
9833 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
9834 be used when uploading/moving files
9835 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
9836 to be shown to users
9837 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
9838 $wgHiddenPrefs[] = 'realname', but the former are still retained
9839 for backwards-compatibility
9840 * (bug 9257) $wgRCMaxAge now defaults to three months
9841 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
9842 functions and other potential errors when developing.
9843 * Subpages are now enabled in the MediaWiki namespace by default. This is
9844 mainly a cosmetic change, and does not in any way affect the MessageCache,
9845 which was already effectively treating the namespace as if it had subpages.
9846 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
9847 appropriate privileges. Creating this user with web-install page requires
9848 oci8.privileged_connect set to On in php.ini.
9849 * Removed UserrightsChangeableGroups hook introduced in 1.14
9850 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
9851 $wgLocalMessageCache, and any other local caches which need a place to put
9852 files.
9853 * $wgFileCacheDirectory is no longer set to anything by default, and so either
9854 needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
9855 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
9856 to true
9857 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
9858 functionality is now available via $wgLocalisationCacheConf.
9859 * $wgMessageCache->addMessages() is deprecated. Messages added via this
9860 interface will not appear in Special:AllMessages.
9861 * $wgRegisterInternalExternals can be used to record external links pointing
9862 to same server
9863 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
9864 to control which external domains may access the API via cross-site AJAX.
9865 * $wgMaintenanceScripts for extensions to add their scripts to the default list
9866 * $wgMemoryLimit has been added, default value '50M'
9867 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
9868 should be used instead
9869 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
9870 characters in file names.
9871 * (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file
9872 was denied to users(img_auth only)
9873 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
9874 correctly (img_auth only)
9875 * $wgUploadMaintenance added to disable file deletions and restorations during
9876 maintenance
9877 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
9878 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed
9879 to $wgDnsBlacklistUrls (backward compatibility kept)
9880 * $wgEnableHtmlDiff has been removed
9881 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
9882 CIDR ranges for blocking
9883 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
9884 file repository
9885 * $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
9886 * $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
9887 similarly to the category namespace.
9888 * $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for
9889 backward compatibility)
9890 * $wgUploadNavigationUrl now also affects inline images that do not
9891 exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
9892 it as appropriate.
9893 * If $wgLocaltimezone is null, use the server's timezone as the default for
9894 signatures. This was always the behavior documented in DefaultSettings.php
9895 but has not been the actual behavior for some time: instead, UTC was used
9896 by default.
9897 * Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath.
9898 If not specified it will default to $wgScriptPath/extensions
9899 * Added $wgCountTotalSearchHits to make search UI display total number of hits
9900 with some search engines.
9901 * Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or
9902 neither) MediaWiki advertises. Default is array( 'atom' ), so RSS is no
9903 longer advertised by default (but it still works).
9904 * Added $wgMemCachedTimeout, controls how long to wait for data from the
9905 memcached servers.
9906 * New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders
9907 for controlling debug output.
9908 * New $wgBlockDisablesLogin when set to true disallows blocked users from
9909 logging in.
9910 * (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate
9911 extension "MetadataEdit".
9912
9913 === New features in 1.16 ===
9914
9915 * Add CSS defintion of the 'wikitable' class to shared.css
9916 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
9917 viewing talk pages
9918 * Superfluous border="0" removed from images
9919 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
9920 to allow extensions to update caches in similar way as MediaWiki invalidates
9921 a cached MonoBook sidebar
9922 * Special:AllPages: Move hardcoded styles from code to CSS
9923 * (bug 18529) New hook: SoftwareInfo for adding information about the software
9924 to Special:Version
9925 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
9926 type of columns when using the Postgres backend.
9927 * (bug 16950) Show move log when viewing/creating a deleted page
9928 * (bug 18242) Show the Subversion revision number per extensions in
9929 Special:Version
9930 * (bug 18420) Missing file revisions are handled gracefully now
9931 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
9932 * (bug 18466) Add note or warning when overruling a move (semi-)protection
9933 * (bug 18342) insertTags works in edit summary box
9934 * (bug 18411) The upload form also checks post_max_size
9935 * Watchlist now has a specialized <div> tag that contains a unique class for
9936 each page
9937 * Added Minguo calendar support for the Taiwan Chinese language
9938 * Database: unionQueries function to be used for UNION sql construction, so
9939 it can be overloaded on DB abstraction level for DB specific functionality
9940 * (bug 18849) Implement Japanese and North Korean calendars
9941 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
9942 month number without the leading zero
9943 * (bug 13456) categoriespagetext supports PLURAL
9944 * (bug 18860) Blocks of IPs affecting registered users can now block email
9945 * (bug 17093) Date and time are separate parameters in Special:BlockList
9946 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
9947 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
9948 'recentchangeslinked-toolbox' were added to allow more fine grained
9949 customisation of the user interface
9950 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
9951 items)
9952 * Special:Search now could search terms in all variant-forms. ONLY apply on
9953 wikis enabled LanguageConverter.
9954 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
9955 various user groups.
9956 * Add $wgRevokePermissions as a means of restricting a group's rights. The
9957 syntax is identical to $wgGroupPermissions, but users in these groups will
9958 have these rights stripped from them.
9959 * Added a PHP port of CDB (constant database), for improved local caching when
9960 the DBA extension is not available.
9961 * Introduced a new system for localisation caching. The system is based around
9962 fast fetches of individual messages, minimising memory overhead and startup
9963 time in the typical case. The database backend will be used by default, but
9964 set $wgCacheDirectory to get a faster CDB-based implementation.
9965 * Expanded the number of variables which can be set in the extension messages
9966 files.
9967 * Added a feature to allow per-article process pool size control for the parsing
9968 task, to limit resource usage when the cache for a heavily-viewed article is
9969 invalidated. Requires an external daemon.
9970 * (bug 19576) Moved the id attributes from the anchors accompanying section
9971 headers to the <span class="mw-headline"> elements within the section headers,
9972 removing the redundant anchor elements.
9973 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
9974 preprocesor level.
9975 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
9976 display for old versions of images.
9977 * In watchlists and Special:RecentChanges, the difference in page size now
9978 appears in dark green if bytes were added and dark red if bytes were removed.
9979 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
9980 thumbnails to be stored in a separate location to the source images.
9981 * If config/ directory is not executable, the command to make it executable
9982 now asks the user to cd to the correct directory
9983 * Add experimental new external authentication framework, ExternalAuth
9984 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
9985 will still load it if it exists, but it's not required for anything
9986 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
9987 class "mw-listgrouprights-key"
9988 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
9989 * (bug 10812) Interwiki links can have names and descriptions, fetched from
9990 message 'interwiki-desc-PREFIX', not really used anywhere yet though
9991 * (bug 9691) Add type (signup or login) parameter to
9992 AuthPlugin::ModifyUITemplate()
9993 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
9994 difficulties
9995 * (bug 16697) Unicode combining characters are difficult to edit in some
9996 browsers
9997 * Parser test supports uploading results to remote CodeReview instance
9998 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
9999 extension version in Special:Version
10000 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
10001 right name in Special:ListGroupRights
10002 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
10003 to {{ns:...}}
10004 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
10005 params
10006 * (bug 18566) Maintenance script to un/protect pages
10007 * (bug 671) The HTML <abbr> tag is now permitted.
10008 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
10009 flags have tooltips.
10010 * (bug 15209) New hook BeforeInitialize called after everything has been setup
10011 but before Mediawiki::performRequestForTitle()
10012 * wgMainPageTitle variable now available to JavaScript code to identify the main
10013 page link, so it doesn't have to be extracted from the link URLs.
10014 * (bug 16836) Display preview of signature in user preferences and describe its
10015 use
10016 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
10017 This can be disabled by setting $wgHtml5 = false;. Specific features enabled
10018 if HTML 5 is used:
10019 ** Some extra inputs will be autofocused, in supporting browsers.
10020 ** The summary attribute has been removed from tables of contents. summary is
10021 obsolete in HTML 5 and wasn't useful here anyway.
10022 ** Unnecessary type="" attribute removed for CSS and JS.
10023 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
10024 output by omitting some things like quotation marks where HTML 5 allows.
10025 ** (bug 16921) maxlength enabled for page move comments
10026 * The description message in $wgExtensionCredits can be an array with parameters
10027 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
10028 criteria used by Special:Random and subclasses, or substitute a custom result,
10029 deprecating the $wgExtraRandompageSQL config variable
10030 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
10031 * (bug 20404) Custom fields in the user creation form template can now have
10032 detail labels in prefsectiontip divs.
10033 * MakeSysop and MakeBot are now aliases for Special:UserRights
10034 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
10035 display-in-limit-form.
10036 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
10037 and add its HTML to it, rather than having to go straight to $wgOut.
10038 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
10039 database connection and query errors.
10040 * Show change block / unblock link on Special:Contributions if user is blocked
10041 * Display note on Special:Contributions if the user is blocked, and provide an
10042 excerpt from the block log.
10043 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
10044 file is streamed to user, but only when using img_auth
10045 * Note on non-existing user and user talk pages if user does not exist
10046 * New hook ShowMissingArticle so extensions can modify the output for
10047 non-existent pages.
10048 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
10049 on wikis enabled LanguageConverter.
10050 * (bug 16310) Credits page now lists IP addresses rather than saying the number
10051 of anonymous users that edited the page
10052 * New permission 'sendemail' added. Default right for all registered users. Can
10053 for example be used to prevent new accounts from sending spam.
10054 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
10055 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
10056 called after a user's email has been successfully confirmed or invalidated.
10057 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
10058 a smaller subversion checkout.
10059 * (bug 13750) First letter capitalization can now be a per-namespace setting
10060 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
10061 of existing users
10062 * (bug 21095) Tracking categories produced by the parser (expensive parser
10063 function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
10064 setting the system message ([[MediaWiki:expensive-parserfunction-category]]
10065 etc) to "-".
10066 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
10067 * Rewrote Special:Upload to allow easier extension.
10068 * Upload errors that can be solved by changing the filename now do not require
10069 reuploading.
10070 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
10071 rate limits.
10072 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
10073 the parser so extensions are free to implement their own <math> tag
10074 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
10075 an own 'mw-error-cannotdelete' class
10076 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
10077 or ExtUser-driven requests.
10078 * (bug 3480) The warning saying that the page has a history when deleting it now
10079 contains the number of revisions in the history
10080 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
10081 * (bug 20186) Allow filtering history for revision deletion.
10082 * New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block
10083 to show links to block logs of other blocking extensions, i.e. GlobalBlocking
10084 * Added search capabilities to SQLite backend
10085 * rebuildtextindex.php maintenance script now supports databases other than
10086 MySQL
10087 * upgrade1_5.php now requires to be run --update option to prevent confusion
10088 * (bug 17662) Customizable default preload/editintro for new sections in the
10089 respective addsection-preload and addsection-editintro messages
10090 * Added maintenance script checkSyntax.php that checks for PHP syntax errors
10091 and common coding mistakes
10092 * Updated Unicode normalization tables
10093 * (bug 21604) Spellcheck attribute for editsummary
10094 * New wgCategories JavaScript global variable for userscripts.
10095 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
10096 membership in SpecialActiveusers
10097 * Allow \pagecolor and \definecolor in texvc
10098 * $wgTexvcBackgroundColor contains background color for texvc call
10099 * (bug 21574) Redirects can now have "303 See Other" HTTP status
10100 * EditPage refactored to allow extensions to derive new edit modes much easier.
10101 * (bug 21826) Subsections of Special:Version now also have anchors
10102 * (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
10103 * (bug 21946) Sorted wikitables do not properly handle minus signs
10104 * (bug 18885) Red links for media files do not support shared repositories
10105 * Added $wgFixArabicUnicode, to convert deprecated presentation forms in
10106 Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to
10107 convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1
10108 equivalents.
10109 * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now
10110 stops normal output
10111 * Send new password e-mail in users preference language
10112 * LanguageConverter now support nested using of manual convert syntax like
10113 "-{-{}-}-"
10114 * Upload license preview now uses the API instead of action=ajax
10115 * (bug 7346) Add <guid> to RSS to avoid duplicates
10116 * (bug 19996) Added new hooks for Special:Search, which allow to further
10117 restrict/expand it.
10118 * (bug 21936) When a revision has been patrolled, there's now a link back to the
10119 article
10120 * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
10121 the return value
10122 * Separate unit test suites under t/ and tests/ were merged and moved to
10123 maintenance/tests/.
10124 * importImages.php maintenance script can now use the original uploader and
10125 comment from another wiki.
10126 * Support for Turck MMCache was removed
10127 * (bug 14592) Warn users when they try to move their user page that their
10128 account will not be renamed
10129 * Show block log on non-existing user (talk) pages of currently blocked users
10130
10131 === Bug fixes in 1.16 ===
10132
10133 * (bug 18031) Make namespace selector on Special:Export remember the previous
10134 selection
10135 * The svn-version version numbers on Special:Version have been removed
10136 * (bug 17374) Special:Export no longer exports two copies of the same page
10137 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
10138 * (bug 17617) HTML cleanup for ImagePage
10139 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
10140 * Improved error handling for image moving
10141 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
10142 with <strong> tags, helps with text-based browsers
10143 * (bug 18259) Special:DeletedContributions now also uses
10144 MediaWiki:Sp-contributions-logs for the link to Special:Log
10145 * Don't add empty title="" attributes to links to anchors on the current page
10146 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
10147 * (bug 18304) rebuildrecentchanges.php got size changes wrong
10148 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
10149 * (bug 18289) Database connection error page now returns correct HTML
10150 * "successbox", "errorbox" and related CSS classes are now available in all
10151 skins
10152 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
10153 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
10154 * The "noautoblock" flag is no longer displayed in the block log when blocking
10155 an IP address
10156 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
10157 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
10158 * (bug 18377) Time in Enhanced ChangesList lacking localisation
10159 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
10160 * (bug 1553) Lowercase navigation headings in German
10161 * (bug 7830) Pending transactions failed to commit on loginToUse() error
10162 * (bug 11613) session.save_handler being over-ridden
10163 * (bug 11381) session.save_handler being set twice (causes error)
10164 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
10165 * (bug 18115) ForeignAPIRepo cache isn't working
10166 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
10167 after some parsed math syntax.
10168 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
10169 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
10170 <strong> instead of hardcoded styles
10171 * (bug 18449) Fixed items number per column on category pages when the total is
10172 divisible by 3
10173 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
10174 revisions when --delete is not passed
10175 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
10176 * Overhaul of preferences system, includes the following bug fixes:
10177 ** (bug 5363) Changes to default preferences now impact registered users.
10178 ** (bug 14806) Hook to enable putting preferences in existing tabs.
10179 ** (bug 17191) Registration date now listed on preferences page.
10180 ** The user_properties table (now used for storing preferences) has been added
10181 to $wgSharedTables.
10182 ** Note that this change will break some extensions which have not been adapted
10183 for it.
10184 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
10185 languages while the text is typed as URLs.
10186 * (bug 17614) Prev / Next links are not shown if all results are shown
10187 * (bug 18207) Strange spacing before [[irc:...]] links
10188 * Removed float from the user login form in RTL interface - caused display
10189 problems in FF2
10190 * (bug 15008) Redirect images are now subject to Bad image list rules
10191 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
10192 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
10193 'wikidiff' or 'wikidiff2' but extension is not installed
10194 * (bug 18326) Chmod errors in file repos have been hidden
10195 * (bug 18718) Comma after a } create a error in IE
10196 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
10197 tweaked spacing.
10198 * (bug 18656) Use proper directory separators in wfMkdirParents()
10199 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
10200 $wgSysopEmailBans
10201 * (bug 16912) Tooltips on images with link= disappear
10202 * (bug 18389) Localise numbers in EXIF data
10203 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
10204 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
10205 * (bug 18432) Updated documentation for dumpBackup.php
10206 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
10207 tags that were redundantly defined.
10208 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
10209 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
10210 .inc
10211 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
10212 Title::userCanEdit() and Title::userCanMove() have been removed
10213 * Only show upload links on file description if $wgEnableUploads = true
10214 and user can upload
10215 * Don't say "You need to log in to upload/move", because it's possible that
10216 uploading/moving is disabled for registered users as well (e.g. only sysops)
10217 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
10218 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
10219 * (bug 10837) Introducing the StubUserVariant class to determine the variant
10220 variable instead of using this to overrule the user language preference.
10221 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
10222 show "view" instead of "view/restore" on logs.
10223 * (bug 19017) TOC level calculation error in an odd case
10224 * (bug 18999) CSS update for RTL interwiki links
10225 * (bug 18925) history.js removes class names of list elements on initialization
10226 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
10227 link from the edit comment
10228 * (bug 19112) Preferences now respects $wgUseExternalEditor
10229 * (bug 18173) MediaWiki now fails when unable to determine a client IP
10230 * (bug 19170) Special:Version should follow the content language direction
10231 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
10232 * Fixed performance regression in "bad image list" feature
10233 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
10234 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
10235 can add/remove *all* groups (have 'userrights' permission).
10236 * (bug 19294) Always show Sp-contributions-footer(-anon)
10237 * Attempts to restrict reading of pages while anonymous viewing is allowed
10238 via extensions not using the userCan hook and via $wgRevokePermissions now
10239 work.
10240 * (bug 8445) Multiple-character search terms are now handled properly for
10241 Chinese
10242 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
10243 * (bug 11242) Check for MySQL storage engines during installation now checks
10244 whether the engines are actually available
10245 * (bug 19390) Omit the "printable version" link on the printable version
10246 * (bug 18394) img_auth.php now respects userCan
10247 * (bug 19509) Uploading to a file named '0' previously treated it as null input
10248 and attempted to upload with the source name. Now warns about not having an
10249 extension (since 0.ext is perfectly valid)
10250 * (bug 19468) Enotif preferences are now only displayed when they are turned on
10251 * (bug 19442) Show/hide options on watchlist only work once
10252 * (bug 19602) PubMed Magic links now use updated NIH url
10253 * (bug 19637) externallinks have links to self
10254 * Don't load Opera 9.5 RTL fixes for Opera 9.6
10255 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
10256 and was causing problems.
10257 * Removed repetition of URIs in the title attributes of external links.
10258 * (bug 19693) User name is now escaped in "Contributions for ..." link on
10259 Special:BlockIP
10260 * (bug 19571) Override buildConcat for SQLite.
10261 * Log in and log out links no longer return to page view when clicked from
10262 history view, edit page, or something similar
10263 * (bug 19513) RTL fixes for new Search UI
10264 * (bug 16497) Special:Allmessages is paginated
10265 * (bug 18708) CSS plainlinks class now available to all skins
10266 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
10267 database type
10268 * (bug 19759) successbox on Special:Preferences now correctly aligned on
10269 standard, nostalgia and cologneblue skin
10270 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
10271 are no longer recorded in the pagelinks table
10272 * (bug 19784) date option "ISO 8601" produced illegal id
10273 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
10274 Keyword set was not useful, and is ignored by modern search engines anyway.
10275 * (bug 19827) Special:SpecialPages title is "Upload file
10276 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
10277 * (bug 19287) Workaround for lag on history page in Firefox 3.5
10278 * (bug 19564) Updated docs/hooks.txt
10279 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
10280 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
10281 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
10282 table.
10283 * (bug 14080) Short notation links to subpages didn't work in edit summaries
10284 * (bug 17374) Special:Export no longer exports multiple copies of pages
10285 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
10286 users who can't edit them
10287 * (bug 19839) Comments in log items are no more double escaped
10288 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
10289 "enhanced recent changes"
10290 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
10291 the recentchanges table
10292 * (bug 16009) Limit selection forms based on Pager now links to the correct page
10293 when using long urls
10294 * The display of the language list on the preferences is more comply with the
10295 BCP 47 standards.
10296 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
10297 * (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups,
10298 $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
10299 Special:ListGroupRights
10300 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
10301 to not link back to Special:Userlogout when user's language isn't the same as
10302 content's language
10303 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
10304 database with username/password in MediaWiki's setup
10305 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
10306 if uploads are enabled and the user can access it
10307 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
10308 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
10309 option to parser test suite to run disabled tests if desired.
10310 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
10311 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
10312 "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
10313 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
10314 "editusercssjs" into "editusercss" and "edituserjs" respectively.
10315 * (bug 19394) RecentChanges feed URLs for log items with no revisions
10316 (eg Newuser, Userrights) are no longer broken
10317 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
10318 language ($wgContLang)
10319 * (bug 11867) Lock error on redirect table when running orphans.php
10320 * (bug 18930) initStats.php now refreshes active users count
10321 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
10322 not provided a summary" warning for those who activated it in their
10323 preferences
10324 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
10325 using the full path
10326 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
10327 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
10328 * (bug 17864/19519) Added proper input normalization in Special:UserRights
10329 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
10330 * (bug 19289) importDump.php can now handle bzip2 and 7zip
10331 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
10332 Special:RecentChangesLinked
10333 * Do not transform EXIF fields with pure text to avoid results like
10334 foo,bar@example,com
10335 * (bug 20176) Fix login/logout links in skin CologneBlue
10336 * (bug 20203) "Powered by Mediawiki" now has height/width on image tag
10337 * (bug 20273) Fix broken output when no pages are found in the content
10338 namespaces
10339 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
10340 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
10341 versions of MediaWiki were affected).
10342 * (bug 14817) Moving a page to a subpage of itself moves it twice
10343 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
10344 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
10345 are now normalized to ordinary spaces in titles; if your wiki has existing
10346 titles with such characters, run cleanupTitles.php and/or cleanupImages.php
10347 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
10348 cleanly disabled instead of breaking parsing entirely on PHP 5.2.
10349 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
10350 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
10351 * (bug 20317) Cleaned up default main page link accesskey settings
10352 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
10353 enabled
10354 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
10355 target page
10356 * (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in
10357 Special:MovePage with Esperanto as content language
10358 * (bug 20364) Fixed regression in GIF metadata loading
10359 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
10360 use wikitext
10361 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
10362 DatabaseBase::getFlag() now have documentation
10363 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
10364 the file description page instead of MediaWiki:License
10365 * (bug 20380) Links to history/deleted edits at the top of
10366 Special:RevisionDelete are no more displayed when doing log suppression
10367 * (bug 8143) Localised parser function names are now correctly case insensitive
10368 if they contain non-ASCII characters
10369 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
10370 Special:Recentchanges's RSS and Atom feed cache
10371 * The installer will now try to bypass PHP's max_execution_time
10372 * (bug 20260) SQLite no longer tries to automatically create the database at
10373 execution time, this now happens only at install time; if it is not available
10374 at script execution, it now throws an exception
10375 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
10376 (analogous to EditFilter hook)
10377 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
10378 by using a new parameter added to the recursiveTagParse function
10379 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
10380 $wgArticleRobotPolicies.
10381 * (bug 20466) Hidden categories are no more displayed when printing
10382 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
10383 the local wiki, the user is now treated as the local user
10384 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
10385 argument
10386 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
10387 any change, in addition to onkeyup.
10388 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
10389 allowed to create page. Done via new message
10390 MediaWiki:Noarticletext-nopermission
10391 * Improved compatibility between the Vector skin and addPortletLink() from
10392 wikibits.js: empty portlets are now present but hidden, adding an element to a
10393 portlet unhides it
10394 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
10395 be compatible with the CSS for the Vector skin
10396 * (bug 20578) Wrong localized image metadata - duplicated string?
10397 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
10398 correct type="text" parameter
10399 * (bug 482) Don't include TOC in the printable version if it has been hidden
10400 * Adjust the time according to the user configuration on Special:Revisiondelete
10401 * (bug 20624) Installation no longer allows "qqq" as the chosen language
10402 * (bug 20634) The installer-created database user will now have all rights on
10403 the database so that upgrades will go more smoothly.
10404 * (bug 18180) Special:Export ignores limit, dir, offset parameters
10405 * User::getBlockedStatus() works for all kinds of user objects and doesn't
10406 assume the user object is equal to the current-user object ($wgUser)
10407 * (bug 20517) Cancel link from edit page now returns to the old version when
10408 editing an old version
10409 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
10410 by disable_functions
10411 * (bug 20726) Title::getLatestRevID's documentation now says that the function
10412 returns false if the page doesn't exist
10413 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
10414 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
10415 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
10416 command line scripts to fail
10417 * (bug 20702) Parser functions can now be used correctly in
10418 MediaWiki:Missing-article
10419 * (bug 14117) "redirected from" is now also shown on foreign file redirects
10420 * (bug 17747) Only display thumbnail column in file history if the image can
10421 be rendered.
10422 * (bug 3421) Live preview no longer breaks user CSS/JS previews
10423 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
10424 now links to the file rather than the file description page
10425 * Password fields built with HTMLForm now still have the type="password"
10426 attribute if $wgHtml5=false.
10427 * (bug 20836) Preload now works for MediaWiki namespace
10428 * (bug 20885) Search box no longer suggests unavailable special pages
10429 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
10430 searching for special pages
10431 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
10432 hideuser right
10433 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
10434 * (bug 21030) Fixed schema choices from being overwritten by defining unique
10435 field names per driver.
10436 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
10437 false on non-special pages
10438 * (bug 21113) "Other statistics" header on Special:Statistics is no more
10439 displayed when there isn't any entry in it
10440 * (bug 21114) Special:Contributions no longer shows diff links for new
10441 revisions
10442 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
10443 MediaWiki:Templatesusedsection now support plural
10444 * (bug 21079) There is no more line wrapping between label and field in
10445 Special:Log
10446 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
10447 Special:Recentchangeslinked on SQLite backend
10448 * (bug 20880) Fixed updater failure on SQLite backend
10449 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
10450 * (bug 20242) Installer no longer promts for user credentials for SQLite
10451 databases
10452 * (bug 20911) Installer failed to create a SQLite database
10453 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
10454 dummy
10455 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
10456 * (bug 20268) Fixed row count estimation on SQLite backend
10457 * (bug 20275) Fixed LIKE queries on SQLite backend
10458 * (bug 21234) Moving subpages of titles containing \\ now works properly
10459 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
10460 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
10461 * (bug 21255) Fixed hostname construction for DNSBL checking
10462 * (bug 18019) Users are now warned when moving a file to a name in use on a
10463 shared repository and only users with the 'reupload-shared' permission can
10464 complete the move.
10465 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
10466 * User::isValidPassword now only returns boolean results,
10467 User::getPasswordValidity can be used to get an error message string
10468 * The error message shown in Special:ChangePassword now parses wiki markup
10469 * (bug 19859) Removed experimental HTMLDiff feature
10470 * Removed section edit links in edit conflict form
10471 * Allow SpecialActiveusers to work on non-MySQL databases
10472 * (bug 6579) Fixed protecting images from uploading only
10473 * (bug 18609) Search index was empty for some pages
10474 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
10475 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
10476 * (bug 20112) Bitrotted tests in the t/ directory were failing.
10477 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
10478 id "mw-sp-contributions-explain"
10479 * (bug 19159) Fixed \overleftrightarrow in texvc
10480 * (bug 19391) Fix caching for Recent ChangesFeed.
10481 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
10482 even to non-logged in users
10483 * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and
10484 general implementation of HTTP, allowing it to purge non-Squid caches such as
10485 Varnish.
10486 * Fixed corruption of long UDP debug log messages by using socket_sendto()
10487 instead of fsockopen() with fwrite().
10488 * (bug 16884) Fixed feed links in sidebar not complying with URL parameters
10489 of the displayed page
10490 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with
10491 PHP's memcached extension
10492 * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
10493 * (bug 21672) Add missing Accept-Language to both Vary and XVO headers
10494 * (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now
10495 only displayed to the users that have "editinterface" right
10496 * (bug 21740) Attempting to protect a page that doesn't exist (salting) returns
10497 "unknown error"
10498 * (bug 18762) both redirects and links get fixed one after another if
10499 redirects-only switch is not present
10500 * (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch
10501 * Fixed a bug which in some situations causes the job queue to grow forever,
10502 due to an infinite loop of job requeues.
10503 * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have
10504 the page selector when they have only one page
10505 * (bug 21559) "logempty" message is now wrapped in a div with class
10506 "mw-warning-logempty" when used in log extract
10507 * (bug 20549) Parser tests were broken on SQLite backend
10508 * (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give
10509 a redirect instead of a baderror.
10510 * (bug 21803) Special:MyContributions now keeps the query string parameters
10511 * Redirecting special pages now keep query string parameters set to "0" (e.g.
10512 for namespace)
10513 * (bug 20765) Special:ListGroupRights no longer misses addables and removables
10514 groups if there are duplicate entries
10515 * (bug 21814) Message shown when rolling back an edit with a deleted username
10516 now shows '(username deleted)' instead of broken user tool links
10517 * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID
10518 * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter,
10519 previously it sometimes didn't due to caching.
10520 * (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
10521 * refreshLinks.php now purges orphaned redirect table rows
10522 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
10523 consistency with RC/WL
10524 * (bug 21986) Special page names are now capitalized by content language
10525 * If two log types have the same description, they're now both displayed in the
10526 type selector on Special:Log
10527 * (bug 20115) Special:Userlogin title says "Log in / create account" even if the
10528 user can't create an account
10529 * (bug 2658) Don't attempt to set the TZ environment variable.
10530 * (bug 9794) User rights log entries for foreign user now links to the foreign
10531 user's page if possible
10532 * (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins
10533 * (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of
10534 reimplementing it.
10535 * (bug 19226) First line renders differently on many UI messages.
10536 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
10537 skin-specific JS pages
10538 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes
10539 for image divs.
10540 * (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the
10541 Monobook and Chick skins
10542 * Fixed bug involving unclosed "-{" markup in the language converter
10543 * (bug 21870) No longer include Google logo from an external server on wiki
10544 error.
10545 * (bug 22181) Do not truncate if the ellipsis actually make the string longer
10546 * (bug 16039) Text disappearing after a bad image
10547 * (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption',
10548 not 'File:Foo' when Foo is not an image
10549 * (bug 21518) Special:UserRights no longer displays the user name box for users
10550 that can only change their rights
10551 * (bug 21593) Special:UserRights now lists automatic groups membership
10552 * (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload
10553 link from file pages
10554 * Fix bug introduced in MediaWiki 1.12: The author field in
10555 $wgExtensionCredits is no longer sorted with sort() but rather used
10556 as it appears in extensions as was the case before r30117 where it
10557 was unintentionally sorted along with other fields.
10558 * (bug 19334) Textarea no longer jumps when editing longer articles in IE8
10559 * Truncate summary of page moves in revision comment field to avoid broken
10560 multibyte characters
10561 * (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist
10562 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to
10563 the page set in the &returnto parameter.
10564 * (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome
10565 * (bug 17790) Users instantly logged off on HughesNet
10566 * (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED
10567 when using Postgres as the database backend.
10568
10569 == API changes in 1.16 ==
10570
10571 * Added uiprop=changeablegroups to meta=userinfo
10572 * Added usprop=gender to list=users
10573 * (bug 18311) action=purge now works for images too
10574 * Add parentid to prop=revisions output
10575 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
10576 when the user is blocked
10577 * (bug 18546) Added timestamp of new revision to action=edit output
10578 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
10579 users
10580 * (bug 13049) "API must be accessed from the primary script entry point" error
10581 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
10582 * Added PHP and database version to meta=siteinfo output
10583 * (bug 18533) Add readonly message to meta=siteinfo output
10584 * (bug 18518) Add clprop=hidden to prop=categories
10585 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
10586 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
10587 output
10588 * (bug 18731) Show correct SVN links for extension modules in api.php?version
10589 * (bug 18730) Add version information to action=paraminfo output
10590 * (bug 18743) Add ucprop=size to list=usercontribs
10591 * (bug 18749) Add generator flag to action=paraminfo output
10592 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
10593 * Made deleting file description pages without files possible
10594 * (bug 18773) Add content flag to siprop=namespaces output
10595 * (bug 18785) Add siprop=languages to meta=siteinfo
10596 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
10597 list=recentchanges
10598 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
10599 output
10600 * (bug 19313) action=rollback returns wrong revid on master/slave setups
10601 * (bug 19323) action=parse doesn't return section tree on pages with Cite
10602 warnings
10603 * (bug 18720) Add anchor field to action=parse&prop=sections output
10604 * (bug 19423) The initial file description page used caption in user lang
10605 rather than UI lang
10606 * (bug 17809) Add number of users in user groups to meta=siteinfo
10607 * (bug 18533) Add readonly reason to readonly exception
10608 * (bug 19528) Added XSLT parameter to API queries in format=xml
10609 * (bug 19040) Fix prependtext and appendtext in combination with section
10610 parameter in action=edit
10611 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
10612 parameter in action=edit
10613 * Added fields to list=search output: size, wordcount, timestamp, snippet
10614 * Where supported by backend, list=search adds a 'searchinfo' element with
10615 optional info: 'totalhits' count and 'suggestion' alternate query term
10616 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
10617 external domains to access api.php via AJAX, if the browser supports the
10618 Access-Control-Allow-Origin HTTP header
10619 * (bug 19999) Made metadata and properties of search results optional. Added
10620 srprop and srinfo.
10621 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
10622 customized messages
10623 * Don't parse magic words in meta=allmessages, output messages unparsed
10624 * (bug 21105) list=usercontribs can now list contribs for User:0
10625 * (bug 21085) list=deletedrevs no longer returns only one revision when
10626 drcontinue param is passed
10627 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
10628 * (bug 19004) Added support for tags
10629 * (bug 21083) list=allusers no longer returns current timestamp for users
10630 without registration date
10631 * (bug 20967) action=edit allows creation of invalid titles
10632 * (bug 19523) Add inprop=watched to prop=info
10633 * (bug 21589) API: Separate summary and initial page text for uploads
10634 * (bug 21817) list=usercontribs returns empty result for empty ucuser
10635 * (bug 21441) meta=userinfo&uiprop=options no longer returns default options
10636 for logged-in users under certain circumstances
10637 * (bug 21945) Add chomp control in YAML
10638 * Expand the thumburl to an absolute url to make it consistent with url and
10639 descriptionurl
10640 * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
10641 * (bug 22061) API: add prop=headitems to action=parse
10642 * (bug 22240) API: include time in siteinfo
10643 * (bug 22241) Quick edit is still using the deprecated watch parameter (API:
10644 Setting default for watch/unwatch wrongly set)
10645 * (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
10646 * (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
10647 * Support key-params arrays in 'descriptionmsg' in
10648 meta=siteinfo&siprop=extensions
10649 * (bug 21922) YAML output should quote asterisk when used as key
10650 * (bug 22297) safesubst: to allow substitution without breaking transclusion
10651 * (bug 18758) API read of watchlist's wl_notificationtimestamp
10652 * (bug 20809) Expose EditFormPreloadText via the API
10653 * (bug 18427) Comment (edit summary) parser option for API
10654 * (bug 18608) API should provide list of CSS styles to apply to rendered output
10655 * (bug 18771) List possible errors in action=paraminfo
10656
10657 === Languages updated in 1.16 ===
10658
10659 MediaWiki supports over 300 languages. Many localisations are updated
10660 regularly. Below only new and removed languages are listed, as well as
10661 changes to languages because of Bugzilla reports.
10662
10663 * Capiznon (cps) (new)
10664 * North Frisian (frr) (new)
10665 * Kirmanjki (kiu) (new)
10666 * Komi-Permyak (koi) (new)
10667 * Karachay-Balkar (krc) (new)
10668 * Hill Mari (mrj) (new)
10669 * Prussian (prg) (new)
10670 * Romagnol (rgn) (new)
10671 * Lower Silesian (sli) (new)
10672 * Picard (pcd) (new)
10673 * Uyghur (Arabic script) (ug-arab) (new)
10674 * Upper Franconian (vmf) (new)
10675 * Votic (vot) (new)
10676 * Eastern Yiddish (ydd) (removed)
10677 * Iriga Bicolano (bto) (removed)
10678 * Ladin (lld) (removed)
10679 * Laz (lzz) (removed)
10680 * Palembang (plm) (removed)
10681 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
10682 * Tamazight (tzm) (removed)
10683 * Laz (lzz) (new)
10684
10685 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
10686 * Add PLURAL function for Scots Gaelic (gd)
10687 * Add Estonian letters äöõšüž to linktrail (et)
10688 * (bug 18776) Native name of Burmese language (my)
10689 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
10690 (Чӑвашла)
10691 * (bug 18864) Updated autonym for Zhuang language
10692 * (bug 18308) Updated date formatting in Occitan (oc)
10693 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
10694 * (bug 19286) Correct commafying function in Polish (pl)
10695 * (bug 19441) Updated date formatting for Lithuanian
10696 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
10697 * (bug 19949) New linktrail for Greek (el)
10698 * (bug 19809) Korean (North Korea) (ko-kp) (new)
10699 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
10700 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
10701 * (bug 21596) Change interwiki link for Kurdish (ku)
10702 * (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue).
10703
10704 == MediaWiki 1.15 ==
10705
10706 == MediaWiki 1.15.5 ==
10707 === Changes since 1.15.4 ===
10708
10709 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
10710 user privacy in the case where an attacker can access the wiki through the
10711 same HTTP proxy as a logged-in user.
10712 * Fixed a minor cookie header parsing issue causing incorrect Cache-Control
10713 headers to be sent.
10714 * Fixed an XSS vulnerability in profileinfo.php for installations with
10715 $wgEnableProfileInfo = true (false by default)
10716 * For backwards compatibility with extensions from 1.14.x or before, restored
10717 the original function ApiMain::requestWriteMode().
10718 * In API login "need token" responses, added the cookieprefix and sessionid
10719 fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix
10720 introduced in 1.15.3.
10721
10722 == MediaWiki 1.15.4 ==
10723 === Changes since 1.15.3 ===
10724
10725 * (bug 23534) Fixed SQL query error in API list=allusers.
10726 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
10727 account" and "create by e-mail" features of [[Special:Userlogin]]
10728 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
10729 validation issue.
10730
10731 == MediaWiki 1.15.3 ==
10732 === Changes since 1.15.2 ===
10733
10734 * (bug 22828) Fixed deletion on SQLite.
10735 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
10736 be submitted along with the user name and password.
10737
10738 == MediaWiki 1.15.2 ==
10739 === Changes since 1.15.1 ===
10740
10741 * The installer now includes a check for a data corruption issue with certain
10742 versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug
10743 present in the official release of PHP 5.3.1.
10744 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
10745 was displayed to the user
10746 * (bug 21150) SQLite no longer raise an error when deleting files
10747 * (bug 20880) Fixed updater failure on SQLite backend
10748 * upgrade1_5.php now requires to be run --update option to prevent confusion
10749 * Fixed a CSS validation issue which allowed external images to be included
10750 into wikis where that is disallowed by configuration.
10751 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
10752 similar image access authentication schemes. Check user permissions before
10753 streaming out scaled images from thumb.php.
10754
10755 == MediaWiki 1.15.1 ==
10756 === Changes since 1.15.0 ===
10757 * Fixed fatal errors for unusual file repository configurations, such as
10758 ForeignAPIRepo.
10759 * Fixed the "change password" link on Special:Preferences to have the correct
10760 returnto parameter.
10761 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
10762
10763 == MediaWiki 1.15.0 ==
10764 === Changes since 1.15.0rc1 ===
10765
10766 * Removed category redirect feature, implementation was incomplete.
10767 * (bug 18846) Remove update_password_format(), unnecessary, destroys all
10768 passwords if a wiki with $wgPasswordSalt=false is upgraded with the web
10769 installer.
10770 * (bug 19127) Documentation warning for PostgreSQL users who run update.php:
10771 use the same user in AdminSettings.php as in LocalSettings.php.
10772 * Fixed possible web invocation of some maintenance scripts, due to the use of
10773 include() instead of require(). A full exploit would require a very strange
10774 web server configuration.
10775 * Localisation updates.
10776
10777 === Configuration changes in 1.15 ===
10778
10779 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
10780 temporary passwords
10781 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
10782 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
10783 from rel="nofollow" on external links
10784 * (bug 12970) Brought back $wgUseImageResize.
10785 * Added $wgRedirectOnLogin to allow specifying a specific page to redirect users
10786 to upon logging in (ex: "Main Page")
10787 * Add $wgExportFromNamespaces for enabling/disabling the "export all from
10788 namespace" option (disabled by default)
10789
10790 === New features in 1.15 ===
10791
10792 * (bug 2242) Add an expiry time to temporary passwords
10793 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
10794 for the current page for a given action
10795 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
10796 to automatically add a summary or a minor edit.
10797 * (bug 16852) padleft and padright now accept multiletter pad characters
10798 * When using 'UserCreateForm' hook to add new checkboxes into
10799 Special:UserLogin/signup, the messages can now contain HTML to allow
10800 hyperlinking to the site's Terms of Service page, for example
10801 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
10802 from the database.
10803 * (bug 17045) Options on the block form are prefilled with the options of the
10804 existing block when modifying an existing block.
10805 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
10806 rather than hardcoded HTML tags
10807 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
10808 extensions to alter the SQL query which is used to get the list of wanted
10809 pages
10810 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
10811 specialpages
10812 * (bug 11443) Auto-noindex user/user talk pages for blocked user
10813 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
10814 recursed through until the "destination" page is reached.
10815 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
10816 special pages.
10817 * Use HTML5 rel attributes for some links, where appropriate
10818 * Added optional alternative Search form look - Go button & Advanced search
10819 link instead of Go button & Search button
10820 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
10821 * More helpful error message on raw page access if PHP_SELF isn't set
10822 * (bug 13040) Gender switch in user preferences
10823 * (bug 13040) {{GENDER:}} magic word for interface messages
10824 * (bug 3301) Optionally sort user list according to account creation time
10825 * Remote description pages for foreign file repos are now fetched in the
10826 content language.
10827 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
10828 set to false.
10829 * (bug 16604) Mark non-patrolled edits in feeds with "!"
10830 * (bug 16604) Show title/rev in IRC for patrol log
10831 * (bug 16854) Whether a page is being parsed as a preview or section preview
10832 can now be determined and set with ParserOptions.
10833 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
10834 "mw-confirmemail-pending"
10835 * (bug 8249) The magic words for namespaces and pagenames can now be used as
10836 parser functions to return the desired namespace or normalized title/title
10837 part for a given title.
10838 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
10839 rest of the font
10840 * (bug 7556) Time zone names in signatures lack i18n
10841 * (bug 3311) Automatic category redirects
10842 * (bug 17236) Suppress 'watch user page link' for IP range blocks
10843 * Wrap message 'searchresulttext' (Special:Search) into a div with
10844 class "mw-searchresult"
10845 * (bug 15283) Interwiki imports can now fetch included templates
10846 * Treat svn:// URLs as external links by default
10847 * New function to convert namespace text for display (only applies on wiki with
10848 LanguageConverter class)
10849 * (bug 17379) Contributions-title is now parsed for magic words.
10850 * Preprocessor output now cached in memcached.
10851 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
10852 "mw-line-odd" and "mw-line-even" to make styling using css possible.
10853 * (bug 17311) Add a note beside the gender selection menu to tell users that
10854 this information will be public
10855 * Localize time zone regions in Special:Preferences
10856 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
10857 the active users data from site_stats.
10858 * Add a <link rel="canonical"> tag on redirected page views
10859 * Replace hardcoded '...' as indication of a truncation with the
10860 'ellipsis' message
10861 * Wrap warning message 'editinginterface' into a div with class
10862 'mw-editinginterface'
10863 * (bug 17497) Oasis opendocument added to mime.types
10864 * Remove the link to Special:FileDuplicateSearch from the "file history" section
10865 of image description pages as the list of duplicated files is shown in the
10866 next section anyway.
10867 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
10868 rate limits.
10869 * (bug 14981) Shared repositories can now have display names, located at
10870 Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
10871 $wgForeignFileRepos
10872 * Special:ListUsers: Sort list of usergroups by alphabet
10873 * (bug 16762) Special:Movepage now shows a list of subpages when possible
10874 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
10875 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
10876 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
10877 username
10878 * Wrap special page summary message '$specialPageName-summary' into a div
10879 with class 'mw-specialpage-summary'
10880 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
10881 of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
10882 * New function to convert content text to specified language (only applies on
10883 wiki with LanguageConverter class)
10884 * (bug 17844) Redirect users to a specific page when they log in, see
10885 $wgRedirectOnLogin
10886 * Added a link to Special:UserRights on Special:Contributions for privileged
10887 users
10888 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor
10889 of the displayed revision
10890 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
10891 a $linkType parameter for the type of external link being made
10892 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables
10893 with dynamic dates.
10894 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the
10895 dateformat parser function.
10896 * (bug 17886) Special:Export now allows you to export a whole namespace (limited
10897 to 5000 pages)
10898 * (bug 17714) Limited TIFF upload support now built in if 'tif' extension is
10899 enabled. Image width and height are now recognized, and when using
10900 ImageMagick, optional flattening to PNG or JPEG for inline display can be
10901 enabled by setting $wgTiffThumbnailType
10902 * Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page'
10903 and 'mw-log-user', respectively
10904 * Added $wgInvalidUsernameCharacters to disallow certain characters in
10905 usernames during registration (such as "@")
10906 * Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter
10907 used in Special:UserRights to denote the user should be searched for
10908 on a different database
10909 * Add a class if 'missingsummary' is triggered to allow styling of the summary
10910 line
10911 * Title attributes are now always blank on framed and thumbnailed images, and
10912 default to blank on inline images instead of defaulting to the image's
10913 filename. Additionally, the alt attribute now defaults to the filename on
10914 framed and thumbnailed images if no caption or alt attribute is specified.
10915
10916 === Bug fixes in 1.15 ===
10917 * (bug 16968) Special:Upload no longer throws useless warnings.
10918 * (bug 17000) Special:RevisionDelete now checks if the database is locked
10919 before trying to delete the edit.
10920 * (bug 16852) padleft and padright now handle multibyte characters correctly
10921 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
10922 the destination page exists
10923 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
10924 been disabled
10925 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
10926 LanguageConverter class)
10927 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
10928 LanguageConverter class)
10929 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
10930 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
10931 * (bug 8065) Fix summary forcing for new pages
10932 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
10933 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
10934 * (bug 3043) Feed links of given page are now preceded by standard feed icon
10935 * (bug 17150) escapeLike now escapes literal \ properly
10936 * Inconsistent use of sysop, admin, administrator in system messages changed
10937 to 'administrator'
10938 * (bug 14423) Check block flag validity for block logging
10939 * DB transaction and slave-lag avoidance tweaks for Email Notifications
10940 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
10941 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
10942 "user contributions"
10943 * Rollback links on new pages removed from "user contributions"
10944 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
10945 comment label uses better message
10946 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
10947 * Parser tests no longer fail when $wgExternalLinkTarget is set in
10948 LocalSettings
10949 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
10950 error messages on save were the edit in fact is saved.
10951 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
10952 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
10953 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
10954 for identical files at different titles are still given.
10955 * Add 'change tagging' facility, where changes can be tagged internally with
10956 certain designations, which are displayed on various summaries of changes,
10957 and the entries can be styled with CSS.
10958 * (bug 17207) Fix regression breaking category page display on PHP 5.1
10959 * Categoryfinder utility class no longer fails on invalid input or gives wrong
10960 results for category names that include pseudo-namespaces
10961 * (bug 17252) Galician numbering format
10962 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
10963 configs
10964 * (bug 7480) Internationalize database error message
10965 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
10966 * (bug 14938) Removing a section no longer leaves excess whitespace
10967 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
10968 history
10969 * (bug 17283) Remove double URL escaping in show/hide links for log entries
10970 and RevisionDeleteForm::__construct
10971 * (bug 17105) Numeric table sorting broken
10972 * (bug 17231) Transcluding special pages on wikis using language conversion no
10973 longer affects the page title
10974 * (bug 6702) Default system messages updated/improved
10975 * (bug 17190) User ID on preference page no longer has delimeters
10976 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
10977 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
10978 * (bug 7509) Separation strings should be configurable
10979 * (bug 17420) Send the correct content type from action=raw when the HTML file
10980 cache is enabled.
10981 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
10982 * (bug 17478) Fixed a PHP Strict standards error in
10983 maintenance/cleanupWatchlist.php
10984 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
10985 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
10986 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
10987 use correct message 'allpagesprefix' for input form label, replace _ with ' '
10988 in next page link
10989 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
10990 * Fixed excessive job queue utilisation
10991 * File dupe messages for remote repos are now shown only once.
10992 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
10993 used as a parameter in 'sharedupload' for easier styling and customization.
10994 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
10995 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
10996 now point to the actual contributors' feed.
10997 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
10998 * Special:Import: Do not show input field for import depth if
10999 $wgExportMaxLinkDepth == 0
11000 * (bug 17570) $wgMaxRedirects is now correctly respected when following
11001 redirects (was previously one more than $wgMaxRedirects)
11002 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
11003 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
11004 changed to rc_timestamp_bot
11005 * (bug 17437) Fixed incorrect link to web-based installer
11006 * (bug 17538) Use shorter URLs in <link> elements
11007 * (bug 13778) Hidden input added to the search form so that using the Enter key
11008 on IE will do a fulltext search like clicking the button does
11009 * (bug 1061) CSS-added icons next to links display through the text and makes
11010 it unreadable in RTL
11011 * Special:Wantedtemplates now works on PostgreSQL
11012 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
11013 PostgreSQL
11014 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
11015 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
11016 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
11017 * (bug 17648) Prevent floats from intruding into edit area in previews if no
11018 toolbar present
11019 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
11020 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
11021 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
11022 queue
11023 * (bug 17761) "show/hide" link in page history in now works for the first
11024 displayed revision if it's not the current one
11025 * (bug 17722) Fix regression where users are unable to change temporary
11026 passwords
11027 * (bug 17799) Special:Random no longer throws a database error when a non-
11028 namespace is given, silently falls back to NS_MAIN
11029 * (bug 17751) The message for bad titles in WantedPages is now localized
11030 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
11031 no longer corrupts the message cache
11032 * (bug 17900) Fixed User Groups interface log display after saving groups.
11033 * (bug 17897) Fixed string offset error in <pre> tags
11034 * (bug 17778) MediaWiki:Catseparator can now have HTML entities
11035 * (bug 17676) Error on Special:ListFiles when using Postgres
11036 * Special:Export doesn't use raw SQL queries anymore
11037 * (bug 14771) Thumbnail links to individual DjVu pages no longer have
11038 two "page" parameters
11039 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
11040 don't use PathInfo or short urls
11041 * (bug 17990) trackback.php now has a trackback.php5 alias and works with
11042 $wgScriptExtension
11043 * (bug 14990) Parser tests works again with PostgreSQL
11044 * (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry
11045 IS NULL
11046 * (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect
11047 * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses
11048 * (bug 11213) [edit] section links in printable version no longer appear when
11049 you cut-and-paste article text
11050 * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request
11051 * (bug 18116) 'edittools' is now output identically on edit and upload pages
11052 * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and
11053 "Previous edit" diff links
11054 * (bug 16823) Sidebar search form should not use Special:Search view URL as
11055 target
11056 * (bug 16343) Non-existing, but in use, category pages can be "go" match hits
11057 * Fixed a CSS validation issue which allowed external images to be included
11058 into wikis where that is disallowed by configuration.
11059 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
11060 similar image access authentication schemes. Check user permissions before
11061 streaming out scaled images from thumb.php.
11062
11063 == API changes in 1.15 ==
11064 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
11065 and listing all deleted pages possible
11066 * (bug 16844) Added clcategories parameter to prop=categories
11067 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
11068 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
11069 created the page, even if it's not the top revision
11070 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
11071 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
11072 * (bug 15949) Add undo functionality to action=edit
11073 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
11074 Building query properly now using makeList()
11075 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
11076 autolinked correctly
11077 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
11078 * (bug 17239) Added prop=displaytitle to action=parse
11079 * (bug 17317) Added watch parameter to action=protect
11080 * (bug 17007) Added export and exportnowrap parameters to action=query
11081 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
11082 * (bug 17355) Added auwitheditsonly parameter to list=allusers
11083 * (bug 17007) Added action=import
11084 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
11085 of performance concerns
11086 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
11087 and list=logevents
11088 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
11089 limit and still set a query-continue in some cases
11090 * (bug 17357) Added movesubpages parameter to action=move
11091 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
11092 * (bug 16740) Added list=protectedtitles
11093 * Added mainmodule and pagesetmodule parameters to action=paraminfo
11094 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
11095 aliases already listed in siprop=namespaces
11096 * (bug 17529) rvend ignored when rvstartid is specified
11097 * (bug 17626) Added uiprop=email to list=userinfo
11098 * (bug 13209) Added rvdiffto parameter to prop=revisions
11099 * Manual language conversion improve: Now we can include both ";" and ":" in
11100 conversion rules
11101 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
11102 is set
11103 * (bug 17774) Don't hide read-restricted modules like action=query from users
11104 without read rights, but throw an error when they try to use them.
11105 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
11106 when someone tries to use them
11107 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
11108 a POST request
11109 * (bug 18099) Using appendtext to edit a non-existent page causes an interface
11110 message to be included in the page text
11111 * Fixed the circular template inclusion check, was broken when the loop
11112 involved redirects. Without this, infinite recursion within the parser is
11113 possible.
11114 * (bug 18601) generator=backlinks returns invalid continue parameter
11115 * (bug 18597) Internal error with empty generator= parameter
11116 * (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output
11117 * (bug 17611) Provide a sensible error message on install when the SQLite data
11118 directory is wrong.
11119
11120 === Languages updated in 1.15 ===
11121
11122 MediaWiki supports over 300 languages. Many localisations are updated
11123 regularly. Below only new and removed languages are listed, as well as
11124 changes to languages because of Bugzilla reports.
11125
11126 * Austrian German (de-at) (new)
11127 * Swiss Standard German (de-ch) (new)
11128 * Simplified Gan Chinese (gan-hans) (new)
11129 * Traditional Gan Chinese (gan-hant) (new)
11130 * Literary Chinese (lzh) (new)
11131 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
11132 * Veps (vep) (new)
11133 * Võro (vro) (renamed from fiu-vro)
11134 * (bug 17151) Add magic word alias for #redirect for Vietnamese
11135 * (bug 17288) Messages improved for default language (English)
11136 * (bug 12937) Update native name for Afar
11137 * (bug 16909) 'histlegend' now reuses messages instead of copying them
11138 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
11139 when the user is blocked
11140 * Traditional/Simplified Gan Chinese conversion support
11141
11142 == MediaWiki 1.14 ==
11143
11144 == MediaWiki 1.14.1 ==
11145 === Changes since 1.14.0 ===
11146
11147 * (bug 17737) Fixed russian URLs for Special:BookSources
11148 * (bug 17713) Using links with only an anchor no longer add an dummy entry in
11149 the pagelinks table
11150 * (bug 17897) Fixed string offset error in <pre> tags
11151 * (bug 17832) Fixed action=delete returning 'unknownerror' instead of
11152 'permissiondenied' when the user is blocked
11153 * Fixed performance regression when accessing deleted (archived) files
11154 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
11155
11156 == MediaWiki 1.14.0 ==
11157 === Changes since 1.14.0rc1 ===
11158
11159 * Fixed the performance of the backlinks API module
11160 * (bug 17420) Send the correct content type from action=raw when the HTML file
11161 cache is enabled.
11162 * (bug 17437) Fixed incorrect link to web-based installer
11163 * (bug 17527) Fixed missing MySQL-specific options in installer
11164
11165 === Configuration changes in 1.14 ===
11166
11167 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
11168 the effect of the new __INDEX__/__NOINDEX__ magic words. (Default: null, ex-
11169 empt all content namespaces.)
11170 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
11171 has been $wgSearchForwardUrl.
11172 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
11173 $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
11174 Changes feed that appears on all pages.
11175 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
11176 SQLite data directories on creation. Note that this setting is separate from
11177 $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
11178 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
11179 $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
11180 group in order to add or remove those groups from themselves.
11181 Backwards compatibility is maintained.
11182 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
11183 word is restricted to titles equivalent to the actual page title. This
11184 is true per default, but can be set to false to allow any title.
11185 * $wgSpamRegex may now be an array of multiple regular expressions.
11186 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
11187 * Editing the MediaWiki namespace is now unconditionally restricted to people
11188 with the editinterface right, configuring this in $wgNamespaceProtection
11189 is not required.
11190 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
11191 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
11192 whitelist on or off.
11193 * Added $wgRenderHashAppend to append some string to the parser cache and the
11194 sitenotice cache keys.
11195 * $wgRCChangedSizeThreshold is now a positive integer by default,
11196 * (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
11197 write actions using the API.
11198 * Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
11199 ($wgLocalInterwiki) onto the page names in the UDP feed.
11200 * Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
11201 on the wiki. If it's set to false, then the skin used will *always* be
11202 $wgDefaultSkin.
11203 * Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
11204 on the user's real name if one is set. Defaults to false (use the username)
11205 * Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
11206 ForeignAPIRepo)
11207 * (bug 44) Image namespace and accompanying talk namespace renamed to File.
11208 For backward compatibility purposes, Image still works. External tools may
11209 need to be updated.
11210 * The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
11211 NS_IMAGE_TALK. The old constants are retained as aliases for compatibility,
11212 and should still be used in code meant to be compatible with v1.13 or older.
11213 * MediaWiki can be forced to use private IPs forwarded by a proxy server by
11214 using $wgUsePrivateIPs.
11215 * The 'BeforeWatchlist' hook has been removed due to internal changes in
11216 Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions
11217 to customize the watchlist database query.
11218
11219 === Migrated extensions ===
11220 The following extensions are migrated into MediaWiki 1.14:
11221
11222 * Special:DeletedContributions to show deleted user contributions (was
11223 extension DeletedContributions)
11224 * Special:Log/newusers recording new users (was extension Newuserlog)
11225 * Special:LinkSearch to search for external links (was extension LinkSearch)
11226 * RenderHash
11227 * NoMoveUserPages
11228 * UniversalEditButton
11229
11230 === New features in 1.14 ===
11231
11232 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
11233 'Special:ListUsers/GROUP/USER', in addition to the older syntax
11234 'Special:ListUsers/GROUP' where GROUP is a valid group name.
11235 * Configurable per-namespace and per-page notices for the edit form,
11236 respectively MediaWiki:Editnotice-# where # is the namespace number, and
11237 MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
11238 PAGENAME is the page name minus the namespace prefix.
11239 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
11240 search engine indexing on a per-article basis.
11241 * Handheld stylesheet options
11242 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
11243 'EditSectionLink' and 'EditSectionLinkForOther' hooks. Note that the
11244 'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
11245 run in all cases instead, so extensions using the old hooks should still work
11246 if they ran roughly the same code for both hooks (as is almost certain).
11247 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
11248 $wgCleanSignatures=false
11249 * Extensions can use the SkinBuildSidebar hook to modify the content of the
11250 sidebar and add custom portlets to it
11251 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
11252 ables into the output of Skin::makeVariablesScript
11253 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
11254 Special:ListGroupRights
11255 * (bug 14377) Add a date selector to history pages
11256 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
11257 the main page to be customized
11258 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
11259 the wiki
11260 * Added 'noconvertlink' toggle that can be set per user preferences, also
11261 added 'convertlink=no|yes' on GET requests whether have the link titles
11262 being converted or not
11263 * (bug 14921) Special:Contributions/: add user name to <title>
11264 Patch by Emufarmers
11265 * Unescape more "safe" characters when producing URLs, for added prettiness
11266 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
11267 after the page content and article metadata. Updated all skins and skin
11268 templates to work with that hook.
11269 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
11270 'ignore-groups'. Patch by Louperivois
11271 * (bug 15127) Work around minor display glitch in Opera.
11272 * By default, reject file uploads that look like ZIP files, to avoid the
11273 so-called GIFAR vulnerability.
11274 * (bug 15141) Give ability to only list protected pages with the cascading
11275 option enabled on Special:ProtectedPages
11276 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
11277 Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
11278 * Added hook 'UserrightsChangeableGroups' to allow modification of what
11279 groups may be added or removed via the Special:UserRights interface.
11280 * HTML entities like &nbsp; now work (are not escaped) in edit summaries.
11281 * (bug 13815) In the comment for page moves, use the colon-separator message
11282 instead of a hardcoded colon.
11283 * Allow <gallery> to accept image names without an Image: prefix
11284 * Add tooltips to rollback and undo links
11285 * BMP images are now displayed as PNG
11286 * (bug 13471) Added NUMBERINGROUP magic word
11287 * (bug 11884) Now support Flash EXIF attribute
11288 * Show thumbnails in the file history list, patch by User:Agbad
11289 * Added support of piped wikilinks using double-width brackets
11290 * Added an on-wiki external image whitelist. Items in this whitelist are
11291 treated as regular expression fragments to match for when possibly
11292 displaying an external image inline.
11293 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
11294 * (bug 15422) Sort more different types of numbers in sortable tables
11295 * (bug 2889) MediaWiki:Print.css applies to the printable version
11296 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
11297 small categories
11298 * After logging in, automatically redirect to wherever you logged in from
11299 * (bug 5619) Break messages used in Special:Statistics down further
11300 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
11301 Special:Statistics
11302 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
11303 plaintext copyright notice. Patch by Juliano F. Ravasi.
11304 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
11305 deleted page, even if they are unable to edit it.
11306 * Added Wantedfiles special pages, allowing users to find image links with no
11307 image.
11308 * (bug 12650) It is now possible to set different expiration times for
11309 different restriction types on the protection form.
11310 * (bug 8440) Allow preventing blocked users from editing their talk pages
11311 * Improved upload file type detection for OpenDocument formats
11312 * Added the ability to set the target attribute on external links with
11313 $wgExternalLinkTarget
11314 * api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
11315 maxlag check fails, just like index.php does
11316 * Added "link" parameter to image links, to allow images to link to an
11317 arbitrary title or URL. This should replace inaccessible and incomplete
11318 solutions such as CSS-based overlays and ImageMap.
11319 * (bug 368) Don't use caption for alt attribute; allow manual specification
11320 using new "alt=" parameter for images
11321 * (bug 44) The {{ns:}} core parser function now also accepts localized
11322 namespace names and aliases; also, its output now uses spaces instead of
11323 underscores to match the behavior of the {{NAMESPACE}} magic word
11324 * Added the ability to display user edit counts in Special:ListUsers. Off by
11325 default, enabled with $wgEdititis = true (named after the medical condition
11326 marked by unhealthy obsession with edit counts).
11327 * Added a file cache to the parser to improve page rendering time on pages with
11328 several uses of the same image.
11329 * (bug 1250) Users can still use "show preview" and "show changes" even if the
11330 wiki is set to read-only mode.
11331 * Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
11332 This should make it so that ALL user-accessible methods of removing a page
11333 from a watchlist lead to this hook being called (it was previously only
11334 called from within Article.php
11335 * Maximum execution time for shell processes on linux is now configured with
11336 $wgMaxShellTime (180 seconds by default)
11337 * (bug 1306) 'Email user' link no longer shown on user page when emailing
11338 is not available due to lack of confirmed address or disabled preference
11339 * Special:Wanted templates special page added to display missing templates
11340 linked from articles
11341 * Make search matches bold only, not red as well
11342 * (bug 10080) Blocks can be modified without unblocking first
11343 * (bug 15820) Special:BlockIP shows a notice if the user being blocked is
11344 already directly blocked
11345 * (bug 13710) Allow to force "watch this" checkbox via URL using parameter
11346 "watchthis"
11347 * (bug 15125) Add Public Domain to default options when installing. Patch by
11348 Nathan Larson.
11349 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
11350 * (bug 16113) Show/hide for redirects in Special:NewPages
11351 * (bug 15903) Upload link was added to Nostalgia skin
11352 * (bug 15761) Add user toggle to omit diff after rollback
11353 * Added the BitmapHandler_ClientOnly media handler, which allows server-side
11354 image scaling to be completely disabled for specific media types, via the
11355 $wgMediaHandlers configuration variable.
11356 * New 'AbortDiffCache' hook can be used to cancel the caching of a diff
11357 * (bug 15835) Added Content-Style-Type meta tag
11358 * (bug 11027) Add parameter to MW:Randompage-nopages so that user can see the
11359 namespace.
11360 * Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
11361 admins with a single domain can hide the domain section using CSS
11362 * Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
11363 * Moved password reset form from Special:Preferences to Special:ResetPass
11364 * Added Special:ChangePassword as a special page alias for Special:ResetPass
11365 * Added complementary function for addHandler() called removeHandler() for
11366 removing events
11367 * Improved security of file uploads for IE clients, using a reverse-engineered
11368 algorithm very similar to IE's content detection algorithm.
11369 * Cascading protection no longer requires that both edit and move are restricted
11370 to sysop, just edit=sysop is enough
11371 * (bug 2391) A warning is now shown for invalid ISBN numbers on
11372 Special:Booksources.
11373 * Installer has been updated to reflect the release of the GFDL 1.3. The URL for
11374 1.2 has been updated, and the 1.3 URL has been given. 1.2 is still
11375 Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we
11376 can now support 1.2 as well as 1.3 (gfdl1_3).
11377 * (bug 16293) PD URL was changed to the CreativeCommons site on PD (which
11378 auto-detects your language) instead of Wikipedia.
11379 * (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now
11380 includes a table of contents
11381 * File objects returned by wfFindFile() are now cached by default
11382 * (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
11383 using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
11384 * Add a 'change block' link to Special:IPBlockList and Special:Log
11385 * (bug 16459) Use native getElementsByClassName where possible, for better
11386 performance in modern browsers
11387 * Enable \cancel and \cancelto in texvc (recompile required)
11388 * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions
11389 to implement their own password hashing methods.
11390 * (bug 16760) Add CSS-class to action links of Special:Log
11391 * (bug 505) Time zones can now be specified by location in user preferences,
11392 avoiding the need to manually update for DST. Patch by Brad Jorsch.
11393 * (bug 2585) HTTP 404 return code is now given for a page view if the page
11394 does not exist, allowing spiders and link checkers to detect broken links.
11395 * Special:Log: Add 'change protection' link for unprotected pages too
11396 * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to
11397 'li' elements
11398 * (bug 16754) Making arbitrary rows of sortable tables sticky:
11399 |- class="unsortable"
11400 * Show subversion too even if a "normal" version number is available
11401 * (bug 16121) Add a note that a page move was without creating a redirect in the
11402 move log
11403 * Image moving is now enabled for sysops by default
11404 * Make "Did you mean" search feature more noticeable
11405 * (bug 16720) Transcluded Special:NewPages processes "/username="
11406
11407 === Bug fixes in 1.14 ===
11408
11409 * (bug 14907) DatabasePostgres::fieldType now defined.
11410 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
11411 falls back to the user option
11412 * (bug 14954) Fix regression in Modern and Simple skins
11413 * Recursion loop check added to Categoryfinder class
11414 * Fixed few performance troubles of large job queue processing
11415 * Not setting various parameters in Foreign Repos now fails more gracefully
11416 * (bug 2333) Redirects are properly rendered when previewing an edit.
11417 * (bug 14972) Use localized alias of Special:Search on all search forms
11418 * (bug 11035) Special:Search should have descriptive <title>
11419 * Special pages are now not subject to special handling for "self-links"
11420 * (bug 15053) Syntactically incorrect redirects with another link in them
11421 no longer redirect to the second link
11422 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
11423 a "-" were incorrectly turned into bogus IP range searches.
11424 Patch by Max Semenik.
11425 * (bug 15055) Talk page notifications no longer attempt to send mail when
11426 user's e-mail address is invalid or unconfirmed
11427 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
11428 5 minutes.
11429 * (bug 15016) 'Templates used on this page' list in view source should be
11430 wrapped in a div with class "templatesUsed"
11431 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
11432 diff entirely, not just the display of it.
11433 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
11434 allows having the unprefixed page title as the default category sortkey
11435 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
11436 ns-special to special pages.
11437 * (bug 15052) Skins should add their name as a class in <body>
11438 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
11439 for several languages was removed. The settings have been put in extension
11440 WikimediaMessages. Patch for Czech by Danny B.
11441 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
11442 again
11443 * (bug 13770) Fixed incorrect detection of PHP's DOM module
11444 * (bug 14790) Export of category pages when using Category: prefix now actually
11445 gives results
11446 * Avoid recursive crazy expansions in section edit comments for pages which
11447 contain '/*' in the title
11448 * Fix excessive memory usage when parsing pages with lots of links
11449 * $wgSpamRegex now matches the edit summary and page move descriptions in
11450 addition to body text.
11451 * Navigation links to images available from a shared repository (like Commons)
11452 from their local talk pages no longer appear as redlinks
11453 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
11454 description pages).
11455 * (bug 15303) Title conversion for templates wasn't working in some cases.
11456 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
11457 literally; now converting them to spaces per expectation.
11458 * (bug 15342) "Invert" checkbox now works correctly when selecting main
11459 namespace in Special:Watchlist
11460 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
11461 last input element (like Special:Watchlist too)
11462 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
11463 * Fixed intermittent deadlock errors involving objectcache table queries.
11464 Use a separate database connection for the objectcache table to avoid
11465 long-lasting locks on that table.
11466 * Respect file restrictions in the file history list
11467 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
11468 tables, and have been disabled by default.
11469 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
11470 * (bug 15292) New message notification for unregistred users now works again
11471 * (bug 14398) mwsuggest.js: Let width of container be configurable
11472 * (bug 15543) Only include user touched timestamp to generated CSS
11473 * (bug 15497) Removed encoding attribute from <?xml ?> tag
11474 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
11475 Special:UserLogin. Patch by Marooned.
11476 * Fixed the HTTP accept language string detection length in
11477 LanguageConverter.php, instead of the fixed length language codes.
11478 * Special:RecentChangesLinked no longer shows outgoing links for nonexistent
11479 pages even if there are broken link records with source article id 0 in the
11480 database
11481 * (bug 15598) Special:Newpages default limit uses user preference for
11482 recentchanges limit instead of hardcoded 50.
11483 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
11484 instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
11485 * (bug 14638) Special:Blockip now provides a link to the block log if the user
11486 has been blocked more than 10 times. Patch by Matt Johnston.
11487 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
11488 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
11489 * (bug 15642) Blocked sysops can no longer block other users
11490 * Http::request() now respects $wgHTTPtimeout when not using cURL
11491 * (bug 15158) Userinvalidcssjstitle not shown on preview
11492 * (bug 15196) Free external links should be numbered in a localised manner
11493 * (bug 15388) Title of Special:PrefixIndex
11494 * Links with no title but a curid parameter now use the curid to pick a page
11495 * (bug 10323) Special:Undelete should have "inverse selection" button
11496 * (bug 15831) Modern skin RTL support is bugous
11497 * (bug 15869) Nostalgia skin does not show page title in printable mode
11498 * (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the
11499 user can only change his rights
11500 * (bug 15846) Categories "leak" from older revisions in certain circumstances
11501 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
11502 * (bug 14178) Some uses of UserLoadFromSession hook cause segfault
11503 * (bug 15925) Postitive bytes added on recentchanges and watchlists are now
11504 bolded if above the threshold, previously it only worked for negatives
11505 * Specify apple-touch-icon before favicon in HTML head section to make the
11506 Konqueror browser correctly use the latter
11507 * (bug 15717) Set $separatorTransformTable for language 'eu'
11508 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
11509 preferences.
11510 * (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
11511 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
11512 search box
11513 * (bug 14609) User's namespaces to be searched default not updated after adding
11514 new namespace
11515 * Purge form uses valid XHTML
11516 * (bug 12764) Special:LonelyPages shows transcluded pages
11517 * (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
11518 if JavaScript is disabled
11519 * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
11520 * Allow '0' to be an accesskey.
11521 * (bug 8063) Use language-dependent sorting in client-side sortable tables
11522 * (bug 16160) Suggestions box should be resized from left for RTL wikis
11523 * (bug 11533) Fixed insane slowdown when in read-only mode for long periods
11524 of time with CACHE_NONE (default objectcache table configuration).
11525 * Trying to set two different default category sort keys for one page now
11526 produces a warning
11527 * (bug 16143) Fix redirect loop on special pages starting with lower case
11528 letters
11529 * (bug 15737) Fix notices while expanding using PPCustomFrame
11530 * (bug 15544) Non-index entry points cause the "Wiki not set up" message to
11531 have corrupt URLs
11532 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
11533 search box
11534 * (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
11535 revision when passing oldid parameter in the url
11536 * (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
11537 filename as the remote site.
11538 * (bug 8345) Don't autosummarize where a redirect was left unchanged
11539 * Made thumb caching in ForeignApiFile objects integrated with normal thumb
11540 path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
11541 * (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
11542 {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
11543 * Safer handling of non-MediaWiki exceptions -- now obeys our settings for
11544 formatting and path exposure.
11545 * Less verbose errors from profileinfo.php when not configured
11546 * Blacklist redirects via Special:Filepath, hard to use.
11547 * Improved input validation on Special:Import form
11548 * Add a .htaccess to deleted images directory for additional protection
11549 against exposure of deleted files with known SHA-1 hashes on default
11550 installations.
11551 * Improved scripting safety heuristics for IE 5/6 content-type detection.
11552 * Improved scripting safety heuristics on SVG uploads.
11553 * (bug 11728) Unify layout of enhanced watchlist/recent changes
11554 * (bug 8702) Properly update stats when running nukePage maintenance script
11555 * (bug 7726) Searches for words less than 4 characters now work without
11556 requiring customization of MySQL server settings
11557 * Honour unchecked "Leave a redirect behind" for moved subpages
11558 * (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered
11559 when page is re-parsed.
11560 * (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are
11561 now automatically removed from titles; these characters can accidentally end
11562 up in copy-and-pasted titles, and, by overriding normal bidirectional text
11563 handling, can lead to annoying behavior such as text rendering backwards
11564 * Fixed minor bug where the memcached value for how many accounts an IP had
11565 created that day would be increased even if $wgAccountCreationThrottle was
11566 hit. This meant if an IP hit the throttle and then the throttle was raised
11567 later that day, the IP still couldn't create another account, because it
11568 had marked them as having created another account, when their last account
11569 creation had actually failed.
11570 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
11571 * (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki
11572 markup now.
11573 * (bug 16529) Fix for search suggestions with some third-party JS libraries
11574 * (bug 13342) importScript() generates more consistent URI encoding
11575 * (bug 16577) When a blocked user tries to rollback a page, the block message
11576 is now only displayed once
11577 * (bug 14268) SVG image sizes now extracted with proper XML parser
11578 * (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid
11579 title via the API
11580 * (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for
11581 new pages in the recent changes IRC feed
11582 * Ugly tooltips in Special:Statistics were phased out in favor of more direct
11583 information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage
11584 * (bug 5506) Links to files on foreign repositories are now shown consistently
11585 as bluelinks e.g. in logs and edit summaries
11586 * (bug 16623) Add missing </p> tag in Special:LockDB
11587 * (bug 15849) Special:Movepage now throws a more specific error when trying to
11588 move a title to an interwiki target
11589 * (bug 16638) 8-bit URL fallback encoding now set on additional languages using
11590 Arabic script (Persian, Urdu, Sindhi, Punjabi)
11591 * (bug 16656) cleanupTitles and friends should now work in load-balanced
11592 DB environments when $wgDBserver isn't set.
11593 * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
11594 images which do not specify width and height attributes.
11595 * (bug 15027) Internet domain names and IP addresses can now be indexed and
11596 searched sensibly with the default MySQL search backend.
11597 * (bug 11733) Fixed parameter validation in importTextFile.php
11598 * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages
11599 for clarity over "previous/next"
11600 * (bug 16612) Fixed "noprint" class for Modern skin print style
11601 * Section anchors now have an "id" attribute as well as a "name" attribute,
11602 even when Tidy is not used
11603 * (bug 16026) revision-info, revision-info-current, cannotdelete,
11604 redirectedfrom, historywarning and difference messages now use Wiki text
11605 rather than raw HTML markup
11606 * (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
11607 * (bug 16772) Special:Upload now correctly rejects files with spaces in the
11608 file extension (e.g. Foo. jpg).
11609 * Image moving over an existing file no longer throws a database error
11610 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
11611 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
11612 local URLs
11613 * (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
11614 that STDIN can be used for page list
11615 * (bug 16560) Special:Random returns a page from ContentNamespaces, and no
11616 longer from NS_MAIN
11617
11618 === API changes in 1.14 ===
11619
11620 * Registration time of users registered before the DB field was created is now
11621 shown as empty instead of the current time.
11622 * API search now falls back to fulltext search by default when using Lucene
11623 or other engine which doesn't support a separate title search function.
11624 This means you can use API search on Wikipedia without explicitly adding
11625 &srwhat=text to the query.
11626 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
11627 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
11628 are now listed on action=help
11629 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
11630 between requests
11631 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
11632 output.
11633 * When the limit on multivalue parameters is exceeded, a warning is issued
11634 * list=search doesn't list missing pages any more
11635 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
11636 non-hidden categories
11637 * (bug 15228) Combining revids= and redirects now throws a warning instead of
11638 an error, and still resolves redirects generated by the generator.
11639 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
11640 etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
11641 for consistency with other list modules.
11642 * Added action=watch
11643 * (bug 15275) apprefix and related parameters ignore spaces at the end
11644 * action=edit no longer throws unknown error 228 when trying to create an
11645 empty section with section=new
11646 * Database replication lag doesn't cause all action=edit requests to return the
11647 nochange flag any more
11648 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
11649 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
11650 return just "Unknown error"
11651 * (bug 15448) YAML output returns empty values instead of 0
11652 * (bug 15445) Added action=patrol
11653 * (bug 15466) Added action=purge
11654 * (bug 15486) action=block ignores autoblock parameter
11655 * (bug 15492) added rcprop=loginfo to list=recentchanges
11656 * (bug 15527) action=rollback can now revert anonymous editors
11657 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
11658 if the page is also protected otherwise (1.10+ style or cascading)
11659 * list=random now has rnredirect parameter, to get random redirects.
11660 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
11661 hooks which allow for extending core modules in a cleaner way
11662 * action=protect checks for invalid protection types and levels
11663 * (bug 15673) Added indentation to format=wddxfm output and improved built-in
11664 WDDX formatter to resemble PHP's more
11665 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
11666 rather than causing an exception
11667 * Added uiprop=preferencestoken to meta=userinfo
11668 * (bug 15609) Add inprop=url and inprop=readable to prop=info
11669 * Add ApiDisabled and ApiQueryDisabled classes so individual modules can
11670 be disabled in LocalSettings.php
11671 * (bug 15653) Add prop=duplicatefiles
11672 * (bug 15768) Add list=watchlistraw
11673 * (bug 15647) action=edit with basetimestamp fails if the page has been deleted
11674 and undeleted since the last edit
11675 * (bug 15785) Allow for different expiry times for different protections in
11676 action=protect
11677 * Added allowsduplicates attribute to action=paraminfo output
11678 * (bug 15767) apfilterlanglinks returns duplicate results
11679 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
11680 manipulation of legacy pages with invalid titles possible
11681 * (bug 15881) Empty or invalid parameters cause database errors
11682 * The maxage and smaxage parameters are now properly validated
11683 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
11684 and patrolmarks right
11685 * (bug 15985) acfrom and aifrom parameters didn't work when sorting in
11686 descending order.
11687 * (bug 15995) Add cmstartsortkey and cmendsortkey parameters to
11688 list=categorymembers
11689 * (bug 16017) list=categorymembers sets invalid continue parameters for
11690 sortkeys containing pipes
11691 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
11692 works properly when multiple users are queried or a userprefix is used
11693 * (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
11694 output
11695 * Added redirect resolution to action=parse
11696 * (bug 16074) rvprop=content combined with a generator with a high limit causes
11697 an error
11698 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
11699 * (bug 16126) Added siprop=magicwords to meta=siteinfo
11700 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
11701 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
11702 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
11703 sifilter parameter.
11704 * (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
11705 limits
11706 * (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
11707 * (bug 16408) Added rvgeneratexml to prop=revisions
11708 * (bug 16421) Made list=logevents's leuser accept user names with underscores
11709 instead of spaces
11710 * (bug 16516) Made rvsection=T-2 work
11711 * (bug 16526) Added usprop=emailable to list=users
11712 * (bug 16548) list=search threw errors with an invalid error code
11713 * (bug 16515) Added pst and onlypst parameters to action=parse
11714 * (bug 16541) Added block expiry timestamp to list=logevents output
11715 * (bug 16613) action=protect doesn't tell when &cascade was set but cascading
11716 protection wasn't allowed
11717 * (bug 16626) action=delete now correctly handles empty "reason" param
11718 * (bug 15579) clshow considers all categories !hidden
11719 * (bug 16647) list=allcategories, prop=categories don't return "hidden"
11720 property for hidden categories
11721 * New siprop parameter of 'extensions' to list all installed extensions
11722 * (bug 16672) Include canonical namespace name in
11723 meta=siteinfo&siprop=namespaces.
11724 * (bug 16726) siprop=namespacealiases should also list localized aliases
11725 * (bug 16730) Added apprfiltercascade parameter to list=allpages to filter
11726 cascade-protected pages
11727
11728 === Languages updated in 1.14 ===
11729
11730 MediaWiki supports over 300 languages. Many localisations are updated
11731 regularly. Below only new and removed languages are listed.
11732
11733 * Bakhtiari (bqi) (new)
11734 * Fiji Hindi (Devanagari script) (hif-deva) (new)
11735 * Krio (kri) (new)
11736 * Lezghian (lez) (new)
11737 * Laz (lzz) (new)
11738 * Eastern Mari (mhr) (new)
11739 * Niuean (niu) (new)
11740 * Oromo (om) (new)
11741 * Plautdietsch (pdt) (new)
11742 * Western Punjabi (pnb) (new)
11743 * Tarantino (roa-tara) (new)
11744 * Serbo-Croatian (sh) (new)
11745 * Tulu (tcy) (new)
11746
11747
11748 == MediaWiki 1.13 ==
11749
11750 == MediaWiki 1.13.5 ==
11751
11752 February 22, 2009
11753
11754 This is a maintenance update to the Summer 2008 snapshot release of MediaWiki.
11755
11756 MediaWiki is now using a "continuous integration" development model with
11757 quarterly snapshot releases. The latest development code is always kept
11758 "ready to run", and in fact runs our own sites on Wikipedia.
11759
11760 Release branches will continue to receive security updates for about a year
11761 from first release, but nonessential bugfixes and feature developments
11762 will be made on the development trunk and appear in the next quarterly release.
11763
11764 Those wishing to use the latest code instead of a branch release can obtain
11765 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
11766
11767 == Changes since 1.13.4 ==
11768
11769 * (bug 17449) Fixed PostgreSQL installation
11770 * (bug 17527) Fixed missing MySQL-specific options in installer
11771
11772 == Changes since 1.13.3 ==
11773
11774 A number of cross-site scripting (XSS) security vulnerabilities were discovered
11775 in the web-based installer (config/index.php). These vulnerabilities all
11776 require a live installer -- once the installer has been used to install a wiki,
11777 it is deactivated.
11778
11779 Note that cross-site scripting vulnerabilities can be used to attack any website
11780 in the same cookie domain. So if you have an uninstalled copy of MediaWiki on
11781 the same site as an active web service, MediaWiki could be used to attack the
11782 active service.
11783
11784 If you are hosting an old copy of MediaWiki that you have never installed, you
11785 are advised to remove it from the web.
11786
11787 == Changes since 1.13.2 ==
11788
11789 David Remahl of Apple's Product Security team has identified a number of
11790 security issues in previous releases of MediaWiki. Subsequent analysis by the
11791 MediaWiki development team expanded the scope of these vulnerabilities. The
11792 issues with a significant impact are as follows:
11793
11794 * An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and
11795 1.13.2. [CVE-2008-5249]
11796 * A local script injection vulnerability affecting Internet Explorer clients for
11797 all MediaWiki installations with uploads enabled. [CVE-2008-5250]
11798 * A local script injection vulnerability affecting clients with SVG scripting
11799 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
11800 uploads enabled. [CVE-2008-5250]
11801 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
11802 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
11803
11804 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
11805 authorised user's login session, and to act as that user on the wiki. The
11806 authorised user must visit a web page controlled by the attacker in order to
11807 activate the attack. Intranet wikis are vulnerable if the attacker can
11808 determine the intranet URL.
11809
11810 Local script injection vulnerabilities are like XSS vulnerabilities, except
11811 that the attacker must have an account on the local wiki, and there is no
11812 external site involved. The attacker uploads a script to the wiki, which another
11813 user is tricked into executing, with the effect that the attacker is able to act
11814 as the privileged user.
11815
11816 CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki,
11817 but unlike an XSS vulnerability, the attacker can only act as the user in a
11818 specific and restricted way. The present CSRF vulnerability allows pages to be
11819 edited, with forged revision histories. Like an XSS vulnerability, the
11820 authorised user must visit the malicious web page to activate the attack.
11821
11822 These four vulnerabilities are all fixed in this release.
11823
11824 David Remahl also reminded us of some security-related configuration issues:
11825
11826 * By default, MediaWiki stores a backup of deleted images in the images/deleted
11827 directory. If you do not want these images to be publically accessible, make
11828 sure this directory is not accessible from the web. MediaWiki takes some steps
11829 to avoid leaking these images, but these measures are not perfect.
11830 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
11831 errors. This is the default on most shared web hosts.
11832 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
11833 lead to path disclosure.
11834
11835 Other changes in this release:
11836
11837 * Avoid fatal error in profileinfo.php when not configured.
11838 * Add a .htaccess to deleted images directory for additional protection against
11839 exposure of deleted files with known SHA-1 hashes on default installations.
11840 * Avoid streaming uploaded files to the user via index.php. This allows
11841 security-conscious users to serve uploaded files via a different domain, and
11842 thus client-side scripts executed from that domain cannot access the login
11843 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
11844 * When streaming files via index.php, use the MIME type detected from the
11845 file extension, not from the data. This reduces the XSS attack surface.
11846 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any
11847 XSS vulnerabilities involving uploads of files containing scripts.
11848 * Internationalisation updates.
11849
11850 == Changes since 1.13.1 ==
11851
11852 * Security: Work around misconfiguration by requiring strict comparisons for
11853 in_array in User::isAllowed().
11854 * (bug 14944) Added $wgShellLocale for configuration of an appropriate locale
11855 to use for LC_CTYPE during shell invocation. For servers that don't have
11856 en_US.utf8. Also added locale detection during install.
11857 * Localisation updates
11858 * Security: Fixed XSS vulnerability in useskin parameter.
11859
11860 == Changes since 1.13.0 ==
11861
11862 * (bug 15460) Fixed intermittent deadlock errors and poor concurrent
11863 performance for installations without memcached.
11864 * (bug 13770) Fixed DOM module detection for installations with both dom
11865 and domxml.
11866 * (bug 15148) Fixed Special:BlockIP for PostgreSQL
11867 * Fixed SQLite support for non-memcached installations
11868 * Localisation updates, Achinese (ace) added.
11869
11870 == Changes since 1.13.0rc2 ==
11871
11872 * (bug 13770) Fixed incorrect detection of PHP's DOM module
11873 * Fix regression from r37834: accesskey tooltip hint should be given for the
11874 minor edit and watch labels on the edit page.
11875 * Updated Chinese simplified/traditional conversion tables
11876
11877 == Changes since 1.13.0rc1 ==
11878
11879 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
11880 has been $wgSearchForwardUrl.
11881 * (bug 14907) DatabasePostgres::fieldType now defined.
11882 * (bug 14966) Fix SearchEngineDummy class for silently non-functional search
11883 on Sqlite instead of horribly fatal error breaky one.
11884 * (bug 14987) Only fix double redirects on page move when the checkbox is
11885 checked
11886 * (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
11887 address for page update notification mails.
11888 * API: Registration time of users registered before the DB field was created is
11889 now shown as empty instead of the current time.
11890 * (bug 14904): fragments were lost when redirects were fixed.
11891 * Added magic word __STATICREDIRECT__ to suppress the redirect fixer
11892 * (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before
11893 r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries,
11894 both bundled with PHP and packaged with distros such as RHEL.
11895 * (bug 14944) Shell invocation of external programs such as ImageMagick convert
11896 was broken in PHP 5.2.6, if the server had a non-UTF-8 locale.
11897
11898
11899 === Configuration changes in 1.13 ===
11900
11901 * New option $wgFeed can be set false to turn off syndication feeds
11902 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
11903 links through each redirect instead of hardcoded 500
11904 * Set $wgUploadSizeWarning to false by default
11905 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
11906 * Removed $wgAlternateMaster, use $wgLBFactoryConf
11907 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
11908 $wgUserNotifiedOnAllChanges
11909 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
11910 for only some namespaces
11911 * Removed the emailconfirmed implicit group by default. To re-add it, use:
11912 $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
11913 in your LocalSettings.php.
11914 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
11915 you to use a shared database with a different prefix. Or you can now use a
11916 local database and use prefixes to separate wiki and the shared tables. And
11917 the new $wgSharedTables variable allows you to specify a list of tables to
11918 share.
11919 * Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries
11920 * Duplicates of images are now shown on the image page
11921 * $wgRCFilterByAge allows for the list of dates in recent changes special pages
11922 to be filtered to only those within the range of $wgRCMaxAge
11923 * $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and
11924 limits displayed on the recent changes special pages
11925 * The "createpage" permission is no longer required when uploading if the target
11926 image page already exists
11927 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
11928 (default 100) with the new subpage-move functionality of Special:Movepage
11929 * Hooks display in Special:Version is now disabled by default, use
11930 $wgSpecialVersionShowHooks = true; to enable it.
11931 * $wgActiveUserEditCount sets the number of edits that must be performed over
11932 a certain number of days to be considered active
11933 * $wgActiveUserDays is that number of days
11934 * $wgRateLimitsExcludedGroups has been deprecated in favor of
11935 $wgGroupPermissions[]['noratelimit']. The former still works, however.
11936 * New $wgGroupPermissions option 'move-subpages' added to control bulk-moving
11937 subpages along with pages. Assigned to 'user' and 'sysop' by default.
11938 * New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output.
11939 Default: false
11940 * Removed $wgEnableCascadingProtection option. Disabling cascading protection
11941 is no longer possible.
11942 * $wgMessageCacheType defines now the type of cache used by the MessageCache
11943 class, previously it was choosen based on $wgParserCacheType
11944 * $wgExtensionAliasesFiles option to simplify adding aliases to special pages
11945 provided by extensions, in a similar way to $wgExtensionMessagesFiles
11946 * Added $wgXMLMimeTypes, an array of XML mimetypes we can check for
11947 with MimeMagic.
11948 * Added $wgDirectoryMode, which allows for setting the default CHMOD value when
11949 creating new directories.
11950 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
11951 current behavior.
11952
11953 === New features in 1.13 ===
11954
11955 * __HIDDENCAT__ on a category page causes the category to be hidden on the
11956 article page
11957 * Do not show edit permissions errors on a red link click, just redirect to the
11958 article. This is so that readers who don't know what a red link is are not
11959 confused when they are told they are range-blocked.
11960 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
11961 image syntax output
11962 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
11963 pre-fills the section title field
11964 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
11965 * (bug 13130) Moved edit token and autosummary fields above edit tools to
11966 reduce broken form submissions
11967 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
11968 redirects to the redirect table
11969 * Add links to page and file deletion forms to edit predefined delete reasons
11970 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
11971 * (bug 2815) Search results for media now use thumbnail instead of text extract
11972 * When a page doesn't exist, the tab should say "create", not "edit"
11973 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
11974 link on diffs
11975 * Magic word formatnum can now take raw suffix to undo formatting
11976 * Add updatelog table to reliably permit updates that don't change the schema
11977 * Add category table to allow better tracking of category membership counts
11978 ** (bug 1212) Give correct membership counts on the pages of large categories
11979 ** Use category table for more efficient display of Special:Categories
11980 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
11981 * (bug 9447) Added hooks for search result headings
11982 * Image redirects are now enabled by default
11983 * (bug 13450) Email confirmation can now be canceled before the expiration
11984 * (bug 13490) Show upload/file size limit on upload form
11985 * Redesign of Special:UserRights
11986 * Make rev_deleted log entries more intelligible
11987 * (bug 6943) Added PAGESINCATEGORY: magic word
11988 * (bug 13604) Added Special:ListGroupRights
11989 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
11990 'mainpage' and added it to message 'sidebar'
11991 * Automatically add old redirects to the redirect table when needed
11992 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
11993 off on Special:WhatLinksHere
11994 * Cache image redirects
11995 * (bug 10457) Organize Special:SpecialPages into sections
11996 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
11997 to modify the output for edit conflicts
11998 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
11999 a slightly less huge margin and padding
12000 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
12001 * Allow \C and \Q as TeX commands to match \R, \N, \Z
12002 * On Special:UserRights, when you can add a group you can't remove or remove
12003 one you can't add, a notice is printed to warn you
12004 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
12005 * Allow the "log in / create account" link in the toolbar to have different
12006 text from Special:UserLogin title (new message 'nav-login-createaccount')
12007 * Say "log in / create account" if an anonymous user can create an account,
12008 otherwise just "log in", consistently across skins
12009 * Special:Shortpages and Special:Longpages now returns pages in all content
12010 namespaces, not just NS_MAIN.
12011 * (bug 889) Improve conflict-handling between shared upload repository
12012 and local one
12013 * Update documentation links in auto-generated LocalSettings.php
12014 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
12015 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
12016 * Custom rollback summaries now accept the same arguments as the default message
12017 * (bug 12542) Added hooks for expansion of Special:Listusers
12018 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
12019 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
12020 * (bug 13950) Allow users to watch the user/talk pages of users they block.
12021 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
12022 * Show image links on Special:Whatlinkshere
12023 * Use rel="start", "prev", "next" appropriately on Pager-based pages
12024 * Add support for SQLite
12025 * AutoAuthenticate hook renamed to UserLoadFromSession
12026 * (bug 13232) importScript(), importStylesheet() funcs available to custom JS
12027 * (bug 13095) Search by first letters or digits in [[Special:Categories]]
12028 * Users moving a page can now move all subpages automatically as well
12029 * (bug 14259) Localisation message for upload button on Special:Import is now
12030 'import-upload' instead of 'upload'
12031 * Add information about user group membership to Special:Preferences
12032 * (bug 14146) Wrap usage section on imagepages into <div>s.
12033 * New layout for Special:Specialpages. Restricted pages are marked but not
12034 separated from other pages in their group.
12035 * (bug 14263) Show a diff of the revert on rollback notification page.
12036 * (bug 13434) Show a warning when hash identical files exist
12037 * Sidebar is now cached for all languages
12038 * The User class now contains a public function called isActiveEditor. Figures
12039 out if a user is active based on at least $wgActiveUserEditCount number of
12040 edits in the last $wgActiveUserDays days.
12041 * SpecialSearchResults hook now passes results by reference, so they can be
12042 changed by extensions.
12043 * Add a new hook LinkerMakeExternalLink to allow extensions to modify the output
12044 of external links.
12045 * (bug 14132) Allow user to disable bot edits from being output to UDP.
12046 * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a
12047 string
12048 * (bug 14558) New system message (emailuserfooter) is now added to the footer of
12049 e-mails sent with Special:Emailuser
12050 * Add support for Hijri (Islamic) calendar
12051 * Add a new hook LinkerMakeExternalImage to allow extensions to modify the
12052 output of external (hotlinked) images.
12053 * (bug 14604) Introduced the following features for the LanguageConverter:
12054 Multi-tag support, single conversion flag, remove conversion flag on a single
12055 page, description flag, variant name, multi-variant fallbacks.
12056 * Add zh-mo and zh-my variants for the zh language
12057 * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that
12058 are in Special:Recentchanges
12059 * Allow an $error message to be passed to ArticleDelete hook
12060 * Allow extensions to modify the user creation form by calling addInputItem();
12061 * Add meta generator tag to HTML output
12062 * MediawikiPerformAction hook is now passed the Mediawiki object
12063 * Added blank special page Special:BlankPage for benchmarking, etc.
12064 * Foreign repo file descriptions and thumbnails are now cached.
12065 * (bug 11732) Allow localisation of edit button images
12066 * Allow the search box, toolbox and languages box in the Monobook sidebar to be
12067 moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]:
12068 SEARCH, TOOLBOX and LANGUAGES
12069 * Add a new hook NormalizeMessageKey to allow extensions to replace messages
12070 before the database is potentially queried
12071 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
12072 * New date/time formats in Cs localization according to ČSN and PČP.
12073 * Special:Recentchangeslinked now includes changes to transcluded pages and
12074 displayed images; also, the "Show changes to pages linked" checkbox now works
12075 on category pages too, showing all links that are not categorizations
12076 * (bug 4578) Automatically fix redirects broken by a page move
12077
12078 === Bug fixes in 1.13 ===
12079
12080 * (bug 10677) Add link to the file description page on the shared repository
12081 * (bug 13084) Increase size of source/destination filename fields in upload form
12082 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
12083 * (bug 13140) Show parent categories in category namespace
12084 * (bug 13149) Correctly format 'fileexists' message on Upload page
12085 * Make the default filepageexists message accurate
12086 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
12087 * (bug 13022) Fix upload from URL on PHP 5.0.x
12088 * (bug 13132) Unable to unprotect pages protected with earlier versions of
12089 MediaWiki
12090 * (bug 12723) OpenSearch description name now uses more compact language code
12091 to avoid passing the length limit as often, is customizable per site via
12092 'opensearch-desc' message.
12093 * (bug 13135) Special:Userrights now passes IDs through form submission
12094 to allow functionality on not-quite-right usernames
12095 * (bug 12575) Prevent duplicate patrol log entries from being created
12096 * (bug 13174) __HIDDENCAT__ now applies only to category pages
12097 * (bug 13031) Add links to user pages in e-mail form
12098 * (bug 13147) Description for categoriespagetext (used in Special:Categories)
12099 reworded
12100 * (bug 11561) Fix fatal error when calling action=revert to non-image page
12101 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
12102 maintenance/cleanupSpam.php
12103 * All skins should have the "mediawiki" class on the body element
12104 * (bug 13019) Message cache for some extensions not loaded at time of editing
12105 * (bug 13247) Prettified ISBN links
12106 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
12107 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
12108 back when using rollback
12109 * (bug 13012) Use content messages for block options when generating the
12110 recentchanges entry
12111 * (bug 13274) Change links for messages to ucfirst
12112 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
12113 autocomment-prefix)
12114 * Parse MediaWiki message translations with a correct language setting on
12115 preview
12116 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
12117 case-insensitive names.
12118 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
12119 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
12120 * (bug 10721) Duplicate section anchors with differing case now disambiguated
12121 for Internet Explorer's sake and standards compliance
12122 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
12123 * Email subject in content language instead of sending user's UI language
12124 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
12125 * (bug 2084) Fixed incorrect regex to match redirects
12126 * (bug 3131) Manually-specified upload destination filename is no longer
12127 overwritten by browsing for a file after you wrote it.
12128 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
12129 'generated-sidebar'.
12130 * (bug 13265) Media handler is missing 'image/x-bmp'
12131 * (bug 13407) MediaWiki:Powersearch is used in two places
12132 * (bug 13403) Fix cache invalidation of history pages when old revisions change
12133 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
12134 * (bug 12801) Fix link in subtitle message in AJAX search
12135 * (bug 13428) Fix regression in protection form layout HTML validity
12136 * (bug 9403) Sanitize newlines from search term input
12137 * (bug 13429) Separate date and time in message sp-newimages-showfrom
12138 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
12139 so groups may optionally edit protected pages without having 'protect' perms
12140 * Disallow deletion of big pages by means of moving a page to its title and
12141 using the "delete and move" option.
12142 * (bug 13466, 13632) White space differences not shown in diffs
12143 * (bug 1953) Search form now honors namespace selections more reliably
12144 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
12145 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
12146 * (bug 6447) Trackbacks now work with transactional tables, if enabled
12147 * (bug 6892, 7147) Trackback error handling, optional fields more robust
12148 * (bug 6813) Don't break HTML validator when using trackbacks
12149 * Fix for size checks on SVG images with global 'stroke-width' attribute
12150 * (bug 11874) Inline CSS with !important no longer borken
12151 * (bug 1600) Strip extra == section markup == in new-comment field
12152 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
12153 * (bug 12077) Fix HTML nesting for TOC
12154 * (bug 344) Purge cache for talk/article pages when deleting the other tab
12155 * (bug 13436) Treat image captions correctly when they include option keywords
12156 (like ending with "px" or starting with "upright")
12157 * Trackback display formatting fixed
12158 * Don't die when single-element arrays are passed to SQL query constructors
12159 that have an array index other than 0
12160 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
12161 * (bug 13532) Use proper timestamp call when reverting images
12162 * (bug 13543) Updated FAQ link in the installer sidebar
12163 * (bug 13540) Date format in confirmation e-mail now matches message language
12164 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
12165 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
12166 * (bug 13576) maintenance/rebuildrecentchanges.php fails
12167 * (bug 13441) Allow Special:Recentchanges to show bots only
12168 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
12169 * (bug 13463) Login successful page doesn't use user's preferred interface
12170 language
12171 * (bug 13630) Fixed warnings for pass by reference at call time in
12172 Special:Revisiondelete when generating the log entry.
12173 * (bug 12064) BeforePageDisplay hook is now called for all skins
12174 * (bug 13624) Fix regression with manual thumb= parameter on images
12175 * (bug 11039) Add missing labels on protection form
12176 * (bug 13458) Preview/edit toolbar spacing now works consistently
12177 * (bug 13433) Fix action=render on Image: pages
12178 * (bug 13678) Fix CSS validation for Monobook
12179 * (bug 13684) Links in Special:ListGroupRights should be in content language
12180 * (bug 13690) Fix PHP notice on accessing some URLs
12181 * Hide (undo) link if user isn't able to edit page
12182 * Invalidate cache of pages that includes images via redirects on upload
12183 * (bug 13705) Don't show rollback link in page history on incorrect revisions
12184 * (bug 13708) Don't set "Search results" title when loading Special:Search
12185 without query
12186 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses
12187 * (bug 13728) Don't trim initial whitespace during section edits
12188 * (bug 13727) Don't delete log entries from recentchanges on page deletion
12189 * (bug 13752) Redirects to sections now work again
12190 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
12191 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
12192 the page is included
12193 * When hiding things on WhatLinksHere, generated URLs should hide them too
12194 * Properly escape search terms with regex chars so they appear highlighted in
12195 search results
12196 * (bug 13768) pt_title field encoding fixed
12197 * Do not display empty columns on Special:UserRights if all groups are
12198 changeable or all unchangeable
12199 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
12200 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of
12201 before
12202 * (bug 13796) Show links to parent pages even if some of them are missing
12203 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
12204 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
12205 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
12206 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
12207 * (bug 13866) skins/common/shared.css - invalid attribute fixing
12208 * Hide edit section links on Special:Undelete
12209 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
12210 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
12211 * (bug 13185) No line break after 'subpages' class in Modern skin
12212 * (bug 13583) No "poweredby" in Modern skin
12213 * (bug 13880) "Printable" link in Modern skin now formats as print mode
12214 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
12215 * (bug 13891) Show categories box even if all categories are hidden and user has
12216 "show hidden categories" option on
12217 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
12218 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
12219 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
12220 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
12221 * (bug 13924) Fix bad HTML on power search form
12222 * (bug 13820) Fix updater for rev_parent_id population
12223 * (bug 13925) Fix bad HTML on search results list
12224 * (bug 13934) Fixing the link to GNU General Public License Version 2
12225 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
12226 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
12227 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module
12228 errors
12229 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
12230 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
12231 Note that case mappings will only be used if mbstring extension is not
12232 present.
12233 * (bug 14044) Don't increment page view counters on views from bot users
12234 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log
12235 file
12236 * (bug 14047) Fix regression in installer which hid DB-specific options
12237 Also makes SQLite path configurable in the installer.
12238 * (bug 13546) Follow image redirects on image page
12239 * (bug 12644) Template list on edit page now sorted on preview
12240 * (bug 14058) Support pipe trick for namespaces and interwikis with "-"
12241 * Message name filter on Special:Allmessages now case-insensitive
12242 * (bug 13943) Fix image redirect behavior on image pages
12243 * (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
12244 * (bug 14063) Power search form missing <label> for redirects check
12245 * (bug 14111) Similar filename warning links now lead to correct page
12246 * (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
12247 * (bug 13693) Categories sometimes claim to have a negative number of members
12248 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists
12249 even if the wiki's overall content language is not Korean
12250 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
12251 loaded after the primary page completion, instead of dropping them
12252 * (bug 14199) Fix deletion form for image redirect pages
12253 * (bug 14220) Disabling $wgCheckFileExtensions now works without also
12254 disabling $wgStrictFileExtensions
12255 * (bug 14241) Pages can no longer be protected to levels you are not in
12256 * (bug 14296) Fix local name of ang: (Anglo-Saxon)
12257 * (bug 4871) Hardcoded superscript in time zone preferences moved to message
12258 * (bug 6957) E-mail confirmation links now using English special page name
12259 for better compatibility and keeping the links shorter. Avoids problem
12260 with corrupt links in Gmail on IE 6.
12261 * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
12262 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
12263 and I to ı
12264 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
12265 * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
12266 set to true
12267 * (bug 13034) Interwiki pages can now be reached using Go search button
12268 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
12269 * (bug 14370) When a grouppage-x message does not exist the entry on the
12270 ListGroupRights special page now links to the project namespace page for it,
12271 not the main namespace page.
12272 * (bug 11659) Urldecode image names in galleries
12273 * (bug 14258, 14368) Fix for subpage renames in replication environments
12274 * (bug 14367) Failed block no longer adds phantom watchlist entry
12275 * (bug 14385) "Move subpages" option no longer tries to move to invalid titles
12276 * (bug 14386) Fix subpage namespace oddity when moving a talk page
12277 * (bug 11771) Signup form now not shown if in read-only mode.
12278 * (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of
12279 $wgGroupPermissions[]['noratelimit'].
12280 * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title)
12281 and $2 (=revision numbers)
12282 * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions
12283 * (bug 14432) Fix notice regression in Special:Newpages feed mode
12284 * (bug 11951) EditPage::getEditToolbar() is now static.
12285 * (bug 14392) Fix regression breaking table prefix in installer
12286 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
12287 extension tables using uppercase letters or digits in their names.
12288 * (bug 12311) Fix regression with lists at start of undeletion preview
12289 * (bug 14496) Fix regression with parseinline on Special:Upload.
12290 * We no longer just give up on a missing upload base directory; it's now
12291 created automatically if we have sufficient permissions!
12292 * (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper
12293 * (bug 14497) Throw visible errors in installer scripts when SQL files
12294 fail due to database permission or other error
12295 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
12296 recent changes page.
12297 * (bug 14511) MediaWiki:Delete-legend is no longer double escaped
12298 * Generate correct section anchors for numeric headers
12299 * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins
12300 * (bug 14551) Cancel upload no longer automatically suppresses warnings
12301 * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
12302 * (bug 4977) Fix for possible squid purging errors when using HTTP purges
12303 and multiple servers
12304 * (bug 14572) Redirects listed on file links on image pages no longer redirect.
12305 * (bug 14537) Change interwiki name for Old Church Slavonic (cu)
12306 * (bug 14583) Fix regression in recent changes "limit to certain categories."
12307 * (bug 14515) HTML nesting cleanup on edit form
12308 * (bug 14647) Removed unused 'townBox' CSS classes
12309 * (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
12310 * OpenSearch cleanup; Firefox now sends you to the search page for empty
12311 searches instead of the domain root (which may not even be a wiki).
12312 * (bug 3481) Pages moved shortly after creation are shown at their new title
12313 on Special:Newpages.
12314 * (bug 12716) Trying to unprotect a title that isn't protected no longer
12315 generates a log entry.
12316 * (bug 14088) Excessively long block expiry times are rejected as invalid,
12317 keeps the log page from being distorted.
12318 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
12319 * (bug 14646) Fix some double-escaping of HTML in feed output
12320 * (bug 14709) Fix login success message formatting when using cookie check
12321 * (bug 14710) Remove "donate" link from default sidebar
12322 * (bug 14745) Image moving works on sites that transform thumbnails via 404
12323 * (bug 2186) Document.write() in wikibits caused failures when using
12324 application/xhtml+xml. The calls to this have been removed.
12325 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
12326 on non-mySQL schemas.
12327 * (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
12328 had strict standards issues with setFakeSlaveLag() and setFakeMaster().
12329 * (bug 451) Improve the phrase mappings of the Chinese converter arrays.
12330 * (bug 12487) Rights log is not fully internationalized
12331 * (bug 10837) Language variants no longer override other languages than base
12332 * (bug 14778) 'limit' parameter now applies to history feeds as well as
12333 history pages
12334 * (bug 14845) Bug in prefs javascript: Calling an array item without checking
12335 its existance.
12336 * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3
12337 * (bug 12384) Comments in maintenance/*php
12338 * (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring
12339 a trailing slash.
12340 * (bug 12568) configuration script now produce valid XHTML.
12341 * The accesskey to edit a page is now disabled when editing the page, to pre-
12342 vent conflicts with Safari shortcuts.
12343
12344 === API changes in 1.13 ===
12345
12346 * Fixing main page display in meta=siteinfo
12347 * (bug 13128) Added patrolled flag to list=recentchanges
12348 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
12349 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
12350 * (bug 13157) Added ucuserprefix parameter to list=usercontribs
12351 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
12352 retrieval easier
12353 * (bug 13218) Fix inclusion of " character in hyperlinks
12354 * Added watch and unwatch parameters to action=delete and action=move
12355 * Added action=edit
12356 * (bug 11401) Added xmldoublequote to xml formatter
12357 * Added rvsection parameter to prop=revisions to allow fetching the content of
12358 a certain section only
12359 * Introduced list=allimages
12360 * (bug 13371) Build page set from image hashes
12361 * Mark non-existent messages in meta=allmessages as missing
12362 * (bug 13390) One invalid title no longer kills an entire API query
12363 * (bug 13419) Fix gblredirect so it actually works
12364 * (bug 13418) Disable eiredirect because it's useless
12365 * (bug 13395) list=allcategories should use category table
12366 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
12367 handled properly.
12368 * (bug 13444) Add description to list=watchlist
12369 * (bug 13482) Disabled search types handled properly
12370 * Added inprop=talkid,subjectid to prop=info
12371 * Added help text message that specifies whether a module is POST-only
12372 * Added createonly parameter to action=edit
12373 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
12374 * (bug 11719) Remove trailing blanks in YAML output.
12375 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
12376 * Added fallback8bitEncoding and readonly fields to
12377 meta=siteinfo&siprop=general output
12378 * (bug 13544) Added prop=revid to action=parse
12379 * (bug 13603) Added siprop=usergroups to meta=siteinfo
12380 * Cleaned up redirect resolution
12381 * Added possibility to obtain all external links through list=exturlusage
12382 * (bug 13606) Added archivename to iiprop
12383 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
12384 very weak typing on array keys.
12385 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
12386 * (bug 11673) Return error 'unknown_action' in specified format
12387 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
12388 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old
12389 revisions
12390 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
12391 * action=login now returns the correct waiting time in the details property
12392 * (bug 13792) Broken titles are now silently skipped in search results.
12393 * (bug 13819) exturlusage paging skipped an item
12394 * Fixed handling of usernames containing spaces in list=block
12395 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
12396 format=xml
12397 * (bug 13735) Added prop=categoryinfo module
12398 * (bug 13945) Retrieve cascading protection sources via inprop=protection
12399 * (bug 13965) Hardcoded 51 limit on titles is too limiting
12400 * (bug 13993) apfrom doesn't work with apdir=descending
12401 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
12402 * (bug 14013) Added rcshow=patrolled to list=recentchanges
12403 * (bug 14028) Added language attribute to interwiki map in meta=siteinfo
12404 * (bug 14022) Added usprop=registration and auprop=blockinfo
12405 * (bug 14021) Removed titles= support from list=backlinks (has been obsolete
12406 for ages)
12407 * (bug 13829) Expose parse tree via action=expandtemplates
12408 * (bug 13606) Allow deletion of images
12409 * Added iiprop=mime and aiprop=metadata
12410 * Handled unrecognized values for parameters more gracefully
12411 * Handled requesting disallowed tokens more gracefully
12412 * (bug 14140) URL-encoded page titles are now decoded in edit summaries
12413 * (bug 14243) Only accept post requests in action=edit; patch by HardDisk
12414 * action=block now returns an ISO8601 timestamp, like all other modules do
12415 * Added md5 parameter to action=edit
12416 * (bug 14335) Logging in to unified account using API not possible
12417 * Added action=emailuser to send an email to a user
12418 * (bug 14471) Use HTMLTidy and generate limit report in action=parse
12419 * (bug 14459) Added prependtext and appendtext parameters to action=edit
12420 * (bug 14526) Unescaped SQL in list=backlinks
12421 * Added 'hidden' flag to list=allcategories and prop=categoryinfo output
12422 * Added nocreate parameter to action=edit
12423 * (bug 14402) Added maxage and smaxage parameters to api.php
12424 * Added bkip parameter to list=blocks
12425 * (bug 14651) apprefix and similar parameters are now canonicalized
12426 * Added clprop=timestamp to prop=categories
12427 * (bug 14678) API errors now respects $wgShowExceptionDetails and
12428 $wgShowSQLErrors
12429 * (bug 14723) Added time zone and writing direction to meta=siteinfo
12430 * Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions
12431 can add their own tokens
12432 * Added block and unblock tokens to prop=info as well
12433 * Added paging (limit and continue parameters) to
12434 prop={links,templatelinks,langlinks,extlinks,categories,images}
12435 * Added flag "top" to list=usercontribs if the user is the last contributor to
12436 the page
12437 * list=exturlusage in "list all links" mode can now filter by protocol
12438
12439 == MediaWiki 1.12 ==
12440
12441 == MediaWiki 1.12.4 ==
12442
12443 February 7, 2009
12444
12445 A number of cross-site scripting (XSS) security vulnerabilities were discovered
12446 in the web-based installer (config/index.php). These vulnerabilities all
12447 require a live installer -- once the installer has been used to install a wiki,
12448 it is deactivated.
12449
12450 Note that cross-site scripting vulnerabilities can be used to attack any
12451 website in the same cookie domain. So if you have an uninstalled copy of
12452 MediaWiki on the same site as an active web service, MediaWiki could be used to
12453 attack the active service.
12454
12455 If you are hosting an old copy of MediaWiki that you have never installed, you
12456 are advised to remove it from the web.
12457
12458 == MediaWiki 1.12.3 ==
12459
12460 * Fixed packaging/distribution error. Many files were missing from the
12461 distributed tarball.
12462
12463 == MediaWiki 1.12.2 ==
12464
12465 David Remahl of Apple's Product Security team has identified a number of
12466 security issues in previous releases of MediaWiki. Subsequent analysis by the
12467 MediaWiki development team expanded the scope of these vulnerabilities. The
12468 issues with a significant impact are as follows:
12469
12470 * A local script injection vulnerability affecting Internet Explorer clients
12471 for all MediaWiki installations with uploads enabled. [CVE-2008-5250]
12472 * A local script injection vulnerability affecting clients with SVG scripting
12473 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
12474 uploads enabled. [CVE-2008-5250]
12475 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
12476 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
12477
12478 A local script injection vulnerability allows an attacker with a wiki account
12479 to steal another user's login session, and to act as that user on the wiki. The
12480 attacker uploads a malicious script file, and tricks the victim into executing
12481 it.
12482
12483 CSRF vulnerabilities allow an attacker to act as an authorised user on the
12484 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
12485 a specific and restricted way. The present CSRF vulnerability allows pages to
12486 be edited, with forged revision histories. Like an XSS vulnerability, the
12487 authorised user must visit the malicious web page to activate the attack.
12488
12489 These three vulnerabilities are all fixed in this release.
12490
12491 David Remahl also reminded us of some security-related configuration issues:
12492
12493 * By default, MediaWiki stores a backup of deleted images in the images/deleted
12494 directory. If you do not want these images to be publically accessible, make
12495 sure this directory is not accessible from the web. MediaWiki takes some steps
12496 to avoid leaking these images, but these measures are not perfect.
12497 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
12498 errors. This is the default on most shared web hosts.
12499 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
12500 lead to path disclosure.
12501
12502 Other changes in this release:
12503
12504 * Avoid fatal error in profileinfo.php when not configured.
12505 * Add a .htaccess to deleted images directory for additional protection against
12506 exposure of deleted files with known SHA-1 hashes on default installations.
12507 * Avoid streaming uploaded files to the user via index.php. This allows
12508 security-conscious users to serve uploaded files via a different domain, and
12509 thus client-side scripts executed from that domain cannot access the login
12510 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
12511 * When streaming files via index.php, use the MIME type detected from the file
12512 extension, not from the data. This reduces the XSS attack surface.
12513 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS
12514 vulnerabilities involving uploads of files containing scripts.
12515 * Internationalisation updates.
12516
12517 == MediaWiki 1.12.1 ==
12518
12519 Changes since 1.12.0:
12520 * (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams
12521 * (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC
12522 * (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images
12523 * (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to
12524 wfTimestamp()
12525 * (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid
12526 missing DOM module errors
12527 * (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and
12528 prop=extlinks are now handled properly.
12529 * (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly
12530 * (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from
12531 combining iiprop=metadata with format=xml
12532 * (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to
12533 strings due to PHP's very weak typing on array keys.
12534 * API: Fixing main page display in meta=siteinfo
12535 * (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output.
12536 * (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for
12537 cmsort=timestamp
12538 * Security: Work around misconfiguration by requiring strict comparisons for
12539 in_array in User::isAllowed().
12540 * Security: Fixed XSS vulnerability in useskin parameter.
12541
12542 == MediaWiki 1.12.0 ==
12543
12544 This is the quarterly branch release of [[MediaWiki]] for Winter 2008.
12545
12546 MediaWiki is now using a "continuous integration" development model with
12547 quarterly snapshot releases. The latest development code is always kept "ready
12548 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
12549
12550 Release branches will continue to receive security updates for about a year
12551 from first release, but nonessential bugfixes and feature developments will be
12552 made on the development trunk and appear in the next quarterly release.
12553
12554 Those wishing to use the latest code instead of a branch release can obtain it
12555 from source control: [[Download from SVN]].
12556
12557 Changes since 1.12.0rc1:
12558 *(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]].
12559 *Localization updates.
12560
12561 == MediaWiki 1.12.0rc1 ==
12562
12563 This is a release candidate of the Winter 2008 quarterly snapshot release of
12564 [[MediaWiki]].
12565
12566 MediaWiki is now using a "continuous integration" development model with
12567 quarterly snapshot releases. The latest development code is always kept "ready
12568 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
12569
12570 Release branches will continue to receive security updates for about a year
12571 from first release, but nonessential bugfixes and feature developments will be
12572 made on the development trunk and appear in the next quarterly release.
12573
12574 Those wishing to use the latest code instead of a branch release can obtain it
12575 from source control: [[Download from SVN]].
12576
12577 This is the Winter 2007 quarterly release.
12578
12579 MediaWiki is now using a "continuous integration" development model with
12580 quarterly snapshot releases. The latest development code is always kept
12581 "ready to run", and in fact runs our own sites on Wikipedia.
12582
12583 Release branches will continue to receive security updates for about a year
12584 from first release, but nonessential bugfixes and feature developments
12585 will be made on the development trunk and appear in the next quarterly release.
12586
12587 Those wishing to use the latest code instead of a branch release can obtain
12588 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
12589
12590 === Configuration changes in 1.12 ===
12591 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
12592 markbotedit permission, rather than the rollback permission previously used.
12593 This permission is assigned by default to the sysop group.
12594 * MediaWiki now checks if serialized files are out of date. New configuration
12595 variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
12596 to not check and assume they are always up to date)
12597 * The rollback permission can now be rate-limited using the normal mechanism.
12598 * New configuration variable $wgExtraLanguageNames
12599 * Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior:
12600 * * Granting the userrights privilege allows arbitrary changing of rights.
12601 * * Without the userrights privilege, a user will be able to add and/or
12602 remove the groups specified in $wgAddGroups and $wgRemoveGroups for
12603 any groups they are in.
12604 * New permission userrights-interwiki for changing user rights on foreign wikis.
12605 * $wgImplicitGroups for groups that are hidden from Special:Listusers, etc.
12606 * $wgAutopromote: automatically promote users who match specified criteria
12607 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
12608 themselves from specified groups via Special:Userrights.
12609 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
12610 present, in preference to an external Tidy executable which may or may not
12611 be present. To force use of external Tidy even when the PHP module is
12612 available, set $wgTidyInternal to false.
12613
12614
12615 === New features in 1.12 ===
12616 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
12617 * Add {{filepath:}} parser function to get full path to an uploaded file,
12618 complementing {{fullurl:}} for pages.
12619 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
12620 is not set to 'mediawiki', allowing multiple mediawiki instances per user.
12621 * (bug 11151) Add descriptive <title> to revision history page
12622 * (bug 5412) Add feed links for the site to all pages
12623 * (bug 11353) Add ability to retrieve raw section content via action=raw
12624 * (bug 6909) Show relevant deletion log lines when uploading a previously
12625 deleted file
12626 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
12627 source" tab entirely if the page doesn't exist and the user isn't allowed to
12628 create it
12629 * Clarify instructions given when an exception is thrown
12630 * AuthPlugin added strictUserAuth() method to allow per-user override
12631 of the strict() authentication behavior.
12632 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
12633 against the previous revision, whether currently deleted or live.
12634 * Added tooltips for the "Go" and "Search" buttons
12635 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
12636 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
12637 stricting e-mail addresses to a specific domain
12638 * Removed "Clear" link in watchlist editor tools, as people were afraid to
12639 click it. Existing clear links will fall back to the raw editor, which is
12640 very easy to clear your watchlist with.
12641 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
12642 on Special:Newpages
12643 * LogLine hook added to allow formatting custom entries in Special:Log.
12644 * Support for Iranian calendar
12645 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
12646 Special:Newpages
12647 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
12648 * MediaWikiPerformAction hook added for diverting control after the main
12649 globals have been set up but before any actions have been taken.
12650 * BeforeWatchlist hook added for filtering or replacing watchlist.
12651 * SkinTemplateTabAction hook added for altering the properties of tab links.
12652 * OutputPage::getRedirect public method added.
12653 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
12654 in Special:Mypage and Special:Mytalk
12655 * Add ot=raw to Special:Allmessages
12656 * Support for Hebrew calendar
12657 * Support for Hebrew numerals in dates and times
12658 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
12659 [[MediaWiki:Signature-anon]]
12660 * Signatures for anonymous users link to Special:Contributions page rather than
12661 user page
12662 * Added --override switch for disabled pages in updateSpecialPages.php
12663 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
12664 fails
12665 because it is part of a blocked range.
12666 * (bug 3973) Use a separate message for the email content when an account is
12667 created by another user
12668 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
12669 cleanly if database connections fail unpleasantly.
12670 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
12671 * (bug 9633) Add a predefined list of delete reasons to the deletion form
12672 * Show a warning message when creating/editing a user (talk) page but the user
12673 does not exists
12674 * (bug 8396) Ignore out-of-date serialised message caches
12675 * (bug 12195) Undeleting pages now requires 'undelete' permission
12676 * (bug 11810) Localize displayed semicolons
12677 * (bug 11657) Support for Thai solar calendar
12678 * (bug 943) RSS feed for Recentchangeslinked
12679 * Introduced AbortMove hook
12680 * (bug 2919) Protection of nonexistent pages with regular protection interface.
12681 * Special:Upload now lists permitted/prohibited file extensions.
12682 * Split ambiguous filetype-badtype message into two new messages,
12683 filetype-unwanted-type and filetype-banned-type.
12684 * Added link to the old title in Special:Movepage
12685 * On Special:Movepage, errors are now more noticeable.
12686 * It is now possible to change rights on other local wikis without the MakeSysop
12687 extension
12688 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
12689 editing to allow CSS styling.
12690 * Parser now returns list of sections
12691 * When a user is prohibited from creating a page, a title of "View source"
12692 makes no sense, and there should be no "Return to [[Page]]" link.
12693 * (bug 12486) Protected titles now give a warning for privileged editors.
12694 * (bug 9939) Special:Search now sets focus to search input box when no existing
12695 search is active
12696 * For Special:Userrights, use GET instead of POST to search for users.
12697 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
12698 * When submitting changes on Special:Userrights, show the full form again, not
12699 just the search box.
12700 * Added exception hooks
12701 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
12702 edit, via the parameter 'bot'. (Default: '1')
12703 * (bug 12536) User should be able to get MediaWiki version from any page
12704 * (bug 12622) A JavaScript constant to declare whether api.php is available
12705 * Add caching to the AJAX search
12706 * Add APCOND_INGROUPS
12707 * Add DBA caching to installer
12708 * (bug 12585) Added a bunch of parameters to the revertpage message
12709 * Support redirects in image namespace
12710 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
12711 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
12712 * Add option to include templates in Special:Export.
12713 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
12714 address in Reply-To instead of From for user-to-user emails.
12715 This protects against SPF problems and privacy-leaking bounce messages
12716 when using mailers that set the envelope sender to the From header value.
12717 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
12718 for Special:Userlogin?type=signup
12719 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
12720 * Merged backends for OpenSearch suggestions and AJAX search.
12721 Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
12722 and reject interwiki prefixes. PrefixSearch class centralizes this code,
12723 and the backend part can be overridden by the PrefixSearchBackend hook.
12724 * (bug 10365) Localization of Special:Version
12725 * When installing using Postgres, the Pl/Pgsql language is now checked for
12726 and installed when at the superuser level.
12727 * The default robot policy for the entire wiki is now configurable via the
12728 $wgDefaultRobotPolicy setting.
12729 * (bug 12239) Use different separators for autocomments
12730 * (bug 12857) Patrol link on new pages should clear floats
12731 * (bug 12968) Render redirect wikilinks in a redirect class for customization
12732 via user/site CSS.
12733 * EditPageBeforeEditButtons hook added for altering the edit buttons below the
12734 edit box
12735
12736 === Bug fixes in 1.12 ===
12737
12738 * Subpages are now indexed for searching properly when using PostgreSQL
12739 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
12740 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
12741 * (bug 7027) Shift handling of deletion permissions-checking to
12742 getUserPermissionsErrors.
12743 * Login and signup forms are now more correct for right-to-left languages.
12744 * (bug 5387) Block log items on RecentChanges don't make use of possible
12745 translations
12746 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
12747 message, the level of protection.
12748 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
12749 message.
12750 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
12751 where rollback is given to non-sysops.
12752 * (bug 8834) Split off permission for editing user JavaScript and CSS from
12753 editinterface to a new permission key editusercssjs.
12754 * (bug 11266) Set fallback language for Fulfulde (ff) to French
12755 * (bug 11179) Include image version deletion comment in public log
12756 * Fixed notice when accessing special page without read permission and whitelist
12757 is not defined
12758 * (bug 9252) Fix for tidy funkiness when using editintro mode
12759 * (bug 4021) Fix for MySQL wildcard search
12760 * (bug 10699) Fix for MySQL phrase search
12761 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
12762 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
12763 page
12764 * Fix initial statistics when installing: add correct values
12765 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
12766 linked to the main page instead of targetted page
12767 * Strike the link to the redirect rather than using an asterisk in
12768 Special:Listredirects
12769 * (bug 11355) Fix false positives in Safe Mode and other config detection
12770 when boolean settings are disabled with 'Off' via php_admin_value/php_value
12771 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
12772 object.
12773 * (bug 11363) Make all metadata fields bytea when using Postgres.
12774 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
12775 oldimage cascade delete via image table for Postgres, change fa_storage_key
12776 TEXT.
12777 * (bug 11438) Live Preview chops returned text
12778 * Show the right message on account creation when the user is blocked
12779 * (bug 11450) Fix creation of objectcache table on upgrade
12780 * Fix namespace selection after submit of Special:Newpages
12781 * Make input form of Special:Newpages nicer for RTL wikis
12782 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
12783 * (bug 11474) Fix unintentional fall-through in math error handling
12784 * (bug 11478) Fix undefined method call in file deletion interface
12785 * (bug 278) Search results no longer highlight incorrect partial word matches
12786 * Compatibility with incorrectly detected old-style DJVU mime types
12787 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
12788 Nested links (as in image caption text) still don't work _right_ but they're
12789 less wrong
12790 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
12791 some browsers.
12792 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
12793 appears just before the login form. Patch by MinuteElectron.
12794 * Do not cache category pages if using 'from' or 'until'
12795 * Created new hook getUserPermissionsErrors, to go with userCan changes.
12796 * Diff pages did not properly display css/js pages.
12797 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
12798 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
12799 email address when registering.
12800 * (bug 11612) Days to show in recent changes cannot be larger than 7
12801 * (bug 11131) Change filearchive width/height columns to int for Postgres
12802 * Support plural in undeleted{revisions,revisions-files,files}
12803 * (bug 11343) If the database is read-only, ensure that undelete fails.
12804 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
12805 only
12806 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
12807 * Fix regression in LinkBatch.php breaking PHP 5.0
12808 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
12809 words when called with options ''parsemag'' or ''content''.
12810 * (bug 11727) Support plural in 'historysize' message
12811 * (bug 11744) Incorrect return value from Title::getParentCategories()
12812 * (bug 11762) Fix native language name of Akan (ak)
12813 * (bug 11722) Fix inconsistent case in unprotect tabs
12814 * (bug 11795) Be more paranoid about confirming accept-encoding header is
12815 present
12816 * (bug 11809) Use formatNum() for more numbers
12817 * (bug 11818) Fix native language name of Inuktitut (iu)
12818 * Remove all commas when parsing float numbers in sorted tables
12819 * Limit text field of deletion, protection and user rights changes reasons to
12820 255 characters (already restricted in the database)
12821 * In the deletion default reasons, calculate how much text to get from the
12822 article text, rather than getting 150 characters (which may be too much)
12823 * Add two messages for Special:Blockme which were used but undefined
12824 * (bug 11921) Support plural in message number_of_watching_users_pageview
12825 * If an IP address is blocked as part of a rangeblock, attempting to unblock
12826 the single IP should not unblock the entire range.
12827 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
12828 * Make action=render follow redirects by default
12829 * If restricted read access was enabled, whitelist didn't work with special
12830 pages which had spaces in theirs names
12831 * If restricted read access was enabled, requests for non-existing special pages
12832 threw an exception
12833 * Feeds for recent changes now provide correct URLs for the change, not just
12834 the page
12835 * Check for if IP is blocked as part of a range when unblocking (see above bug-
12836 fix) was faulty. Now fixed.
12837 * Fixed wpReason URL parameter to action=delete.
12838 * Do not force a password for account creation by email
12839 * Ensure that rate-limiting is applied to rollbacks.
12840 * Make a better rate-limiting error message (i.e. a normal MW error,
12841 rather than an "Internal Server Error").
12842 * Do not present an image bigger than the source when 'frameless' option is used
12843 (to be consistent with the 'thumb' option now)
12844 * Support {{PLURAL}} for import log
12845 * Make sure that the correct log entries are shown on Special:Userrights even
12846 for users with special characters in their names
12847 * The number of watching users in watchlists was always reported as 1
12848 * namespaceDupes.php no longer dies when coming across an illegal title
12849 * (bug 12143) Do not show a link to patrol new pages for non existent pages
12850 * (bug 12166) Fix XHTML validity for Special:Emailuser
12851 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
12852 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
12853 instead of a Traditional conversion with Taiwan variant, and a Simplified
12854 conversion with China variant.
12855 * (bug 12178) Fix wpReason parameter to action=delete, again.
12856 * Graceful behavior for updateRestrictions.php if a page already has records
12857 in the page_restrictions matching its old page_restrictions field.
12858 May help with odd upgrade issues or race condition.
12859 * (bug 11993) Remove contentsub "revision history"
12860 * (bug 11952) Ensure we quote_ident() all schema names as needed
12861 inside of the DatabasePostgres.php file.
12862 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
12863 scripts, making for cleaner reporting during batch jobs. PHP errors will also
12864 be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
12865 to 'stderr' at runtime.
12866 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
12867 lines in diff output
12868 * (bug 10166) Fix a PHP warning in Language::getMagic
12869 * Only mark rollback edits as minor if the user can normally mark edits minor
12870 * Escape page names in the move successful page (e.g. for pages with two
12871 apostrophes).
12872 * (bug 12145) Add localized names of kk-variants
12873 * (bug 12259) Localize the numbers in deleted pages on the sysop view
12874 * Set proper page title for successful file deletion
12875 * (bug 11221) Do not show 'Compare selected versions' button for a history page
12876 with one revision only
12877 * (bug 12267) Set the default date format to Thai solar calender for the Thai
12878 language
12879 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
12880 user-customized ones (like Common.css, Common.js)
12881 * (bug 12283) Special:Newpages forgets parameters
12882 * (bug 12031) All namespaces doesn't work in Special:Newpages
12883 * (bug 585) Only create searchindex replica table for parser tests if db is
12884 MySQL
12885 * Allow --record option if parserTests.php to work when using Postgres
12886 * (bug 12296) Simplify cache epoch in default LocalSettings.php
12887 * (bug 12346) XML fix when body double-click and click handlers are present
12888 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
12889 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
12890 * (bug 12380) Bot-friendly EditPage::spamPage
12891 * (bug 8066) Spaces can't be entered in special page aliases
12892 * Hide undo link if user can't edit article
12893 * (bug 12416) Fix password setting for createAndPromote.php
12894 * (bug 3097) Inconsistently usable titles containing HTML character entities
12895 are now forbidden. A run of cleanupTitles.php will fix up existing pages.
12896 * (bug 12446) Permissions check fix for undelete link
12897 * (bug 12451) AJAX title normalization tweaks
12898 * When a user creating a page is not allowed to either create the page nor edit
12899 it, all applicable reasons are now shown.
12900 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
12901 Fixes 'root'-style rewrite configurations
12902 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
12903 * (bug 12489) Special:Userrights listed in restricted section again
12904 * (bug 12553) Fixed invalid XHTML in edit conflict screen
12905 * (bug 12505) Fixed section=0 with action=raw
12906 * (bug 12614) Do not log user rights change that didn't change anything
12907 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
12908 * (bug 12588) Fix selection in namespace selector on Special:Newpages
12909 * Use only default options when generating RSS and Atom syndication links.
12910 This should help prevent infinite link loops that some software may follow,
12911 and will generally keep feed behavior cleaner.
12912 * (bug 12608) Unifying the spelling of getDBkey() in the code.
12913 * (bug 12611) Bot flag ignored in recent changes
12914 * (bug 12617) Decimal and thousands separators for Romanian
12915 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
12916 Also added proper read-only checks to several special pages.
12917 Have removed read-only checks from the general user permission framework.
12918 * Creating a site with a name containing '#' is no longer permitted, since the
12919 name will not work (but $wgSiteName is not checked if manually set).
12920 * (bug 12695) Suppress dvips verbiage from web server error log
12921 * (bug 12716) Unprotecting a non-protected page leaves a log entry
12922 * Log username blocks with canonical form of name instead of input form
12923 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
12924 Non-image handlers and full-size images may now decline it, fixing
12925 mystery failures when using $wgThumbnailScriptPath.
12926 * (bug 12327) Comma in username no longer disrupts mail headers
12927 * (bug 6436) Localization of Special:Import XML parser Error message(s).
12928 * Security fix for API on MSIE
12929 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
12930 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
12931 * (bug 12790) Page protection is not logged when edit-protection is used
12932 and move-protection is not
12933 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
12934 * Fix for Special:Export so it doesn't ignore the page named '0'
12935 * Don't display rollback link if the user doesn't have all required permissions
12936 * The comment of a time-limited protection now contains the date in the default
12937 format
12938 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
12939 * (bug 12885) Correction for Russian convertPlural function
12940 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
12941 * (bug 12735) Truncate usernames in comments using mb_ functions.
12942 * (bug 12892) Poor tab indexing on "delete file" form
12943 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
12944 address
12945 * (bug 12931) Fix wrong global variable in SpecialVersion
12946 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
12947 version
12948 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
12949 is disabled
12950 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
12951 * Fixing message cache updates for MediaWiki messages moves
12952 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
12953 in parentheses after them claimed otherwise
12954 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for
12955 Postgres.
12956 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
12957 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple
12958 directories.
12959 * (bug 7681, 11559) Cookie values no longer override GET and POST variables.
12960 * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
12961 * (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
12962 * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
12963 * (bug 12938) Fix template expansion and 404 returns for action=raw with section
12964 * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns
12965 true-or-WikiError, which seems to be the calling convention expected by half
12966 its callers already
12967 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting
12968 an LTR user language
12969 * (bug 13005) DISPLAYTITLE does not work on preview
12970 * (bug 13004) Fix error on Postgres searches that return too many results.
12971
12972 == Parser changes in 1.12 ==
12973
12974 For help with migration to the MediaWiki 1.12 parser, please visit:
12975
12976 http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor
12977
12978 The parser pass order has changed from
12979
12980 * Extension tag strip and render
12981 * HTML normalisation and security
12982 * Template expansion
12983 * Main section...
12984
12985 to
12986
12987 * Template and extension tag parse to intermediate representation
12988 * Template expansion and extension rendering
12989 * HTML normalisation and security
12990 * Main section...
12991
12992 The main effect of this for the user is that the rules for uncovered syntax
12993 have changed.
12994
12995 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
12996 previously in some cases they were escaped. For example, you could have "<ta" in
12997 one template, and "ble>" in another template, and put them together to make a
12998 valid <table> tag. Previously the result would have been "&lt;table&gt;".
12999
13000 Uncovered preprocessor syntax is generally not recognised. For example, if you
13001 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
13002 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
13003 was the case previously in HTML output mode, and is now uniformly the case in
13004 the other modes as well. HTML-style comments uncovered by template expansion
13005 will not be recognised by the preprocessor and hence will not prevent template
13006 expansion within them, but they will be stripped by the following HTML security
13007 pass.
13008
13009 Bug 5678 has been fixed. This has a number of user-visible effects related to
13010 the removal of this double-parse. Please see the wiki page for examples.
13011
13012 Message transformation mode has been removed, and replaced with "preprocess"
13013 mode. This means that some MediaWiki namespace messages may need to be updated,
13014 especially ones which took advantage of the terribly counterintuitive behavior
13015 of the former message mode.
13016
13017 The header identification routines for section edit and for numbering section
13018 edit links have been merged. This removes a significant failure mode and fixes a
13019 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
13020 template expansion will still be rendered into a heading tag, and will get an
13021 entry in the TOC, but will not have a section edit link. HTML-style headings
13022 will also not have a section edit link. Valid wikitext headings present in the
13023 template source text will get a template section edit link. This is a major
13024 break from previous behavior, but I believe the effects are almost entirely
13025 beneficial.
13026
13027 The main motivation for making these changes was performance. The new two-pass
13028 preprocessor can skip "dead branches" in template expansion, such as unfollowed
13029 #switch cases and unused defaults for template arguments. This provides a
13030 significant performance improvement in template-heavy test cases taken from
13031 Wikipedia. Parser function hooks can participate in this performance improvement
13032 by using the new SFH_OBJECT_ARGS flag during registration.
13033
13034 The pre-expand include size limit has been removed, since there's no efficient
13035 way to calculate such a figure, and it would now be meaningless for performance
13036 anyway. The "preprocessor node count" takes its place, with a generous default
13037 limit.
13038
13039 The context in which XML-style extension tags are called has changed, so
13040 extensions which make use of the parser state may need compatibility changes.
13041
13042 The new preprocessor syntax has been documented in Backus-Naur Form at:
13043
13044 https://www.mediawiki.org/wiki/Preprocessor_ABNF
13045
13046 The ExpandTemplates extension now has the ability to generate an XML parse
13047 tree from wikitext source. This parse tree corresponds closely to the grammar
13048 documented on that page.
13049
13050 === API changes in 1.12 ===
13051
13052 Full API documentation is available at https://www.mediawiki.org/wiki/API
13053
13054 * (bug 11275) Enable descending sort in categorymembers
13055 * (bug 11308) Allow the API to output the image metadata
13056 * (bug 11296) Temporary fix for escaping of ampersands inside links in
13057 pretty-printed
13058 help document.
13059 * (bug 11405) Expand templates implementation in the API
13060 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
13061 page.
13062 * (bug 11404) Provide name of exception caught in error code field of internal
13063 api error messages.
13064 * (bug 11534) rvendid doesn't work
13065 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
13066 revision content is requested.
13067 * Include svn revision number (if install is checked-out from svn) in siteinfo
13068 query.
13069 * (bug 11173) Allow limited wikicode rendering via api.php
13070 * (bug 11572) API should provide interface for expanding templates
13071 * (bug 11569) Login should return the cookie prefix
13072 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
13073 list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
13074 * Compatibility fix for PHP 5.0.x.
13075 * Add rctype parameter to list=recentchanges that filters by type
13076 * Add apprtype and apprlevel parameters to filter list=allpages by protection
13077 types and levels
13078 * Add apdir parameter to enable listing all pages from Z to A
13079 * (bug 11721) Use a different title for results than for the help page.
13080 * (bug 11562) Added a user_registration parameter/field to the list=allusers
13081 query.
13082 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
13083 * Outputting list of all user preferences rather than having to request them by
13084 name
13085 * (bug 11206) api.php should honor maxlag
13086 * Make prop=info check for restrictions in the old format too.
13087 * Add apihighlimits permission, default for sysops and bots
13088 * Add limit=max to use maximal limit
13089 * Add action=parse to render parser output. Use it instead of action=render
13090 which has been removed
13091 * Add rvtoken=rollback to prop=revisions
13092 * Add meta=allmessages to get messages from site's messages cache.
13093 * Use bold and italics highlighting only in API help
13094 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
13095 list={blocks,deletedrevs}
13096 * Fixed sessionid attribute in action=login
13097 * Standardized limits. Revisions and Deletedrevisions formerly using
13098 200 / 10000, now 500 / 5000, in line with other modules.
13099 * Added list=allcategories module
13100 * (bug 12321) API list=blocks reveals private data
13101 * Fix output of wfSajaxSearch
13102 * (bug 12413) meta=userinfo missing <query> tag
13103 * Add list of sections to action=parse output
13104 * Added action=logout
13105 * Added cascade flag to prop=info&inprop=protections
13106 * Added wlshow parameter to list=watchlist, similar to rcshow
13107 (list=recentchanges)
13108 * Added support for image thumbnailing to prop=imageinfo
13109 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
13110 POSTed
13111 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
13112 iiend parameters
13113 * Added amlang parameter to meta=allmessages
13114 * Added apfilterlanglinks parameter to list=allpages, replacing
13115 query.php?what=nolanglinks
13116 * (bug 12718) Added action=paraminfo module that provides information about API
13117 modules and their parameters
13118 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
13119 * Added format=txt and format=dbg, imported from query.php
13120 * Added uiprop=editcount to meta=userinfo
13121 * Added list=users which fetches user information
13122 * Added list=random which fetches a list of random pages
13123 * Added page parameter to action=parse to facilitate parsing of existing pages
13124 * Added uiprop=ratelimits to meta=userinfo
13125 * Added siprop=namespacealiases to meta=siteinfo
13126 * Made multiple values for ucuser possible in list=usercontribs
13127 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
13128 * Allow queries to have a where range that does not match the range field
13129
13130 == MediaWiki 1.11 ==
13131
13132 == MediaWiki 1.11.2 ==
13133
13134 March 2, 2008
13135
13136 This is a security release of the Fall 2007 snapshot release of MediaWiki.
13137 Possible cross-site information leaks using the callback parameter for
13138 JSON-formatted results in the API are prevented by dropping user credentials.
13139
13140 MediaWiki release versions prior to 1.11 are not vulnerable, as they do not
13141 include the callback feature which allows client-side JavaScript on other sites
13142 to reach API data.
13143
13144 Changes in this release:
13145
13146 * User credentials are dropped for API JSON requests using a callback
13147 * Edit tokens are not reported for API JSON requests using a callback
13148
13149 == MediaWiki 1.11.1 ==
13150
13151 January 23, 2008
13152
13153 This is a security and bugfix release of the Fall 2007 snapshot release of
13154 MediaWiki. A potential XSS injection vector affecting api.php only for
13155 Microsoft Internet Explorer users has been closed.
13156
13157 Changes in this release:
13158 * (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade
13159 * (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook
13160 name
13161 * Fix regression in LinkBatch.php breaking PHP 5.0
13162 * Security fix for API on MSIE
13163
13164 To work around the vulnerability without upgrading, you may disable the API if
13165 you don't need it:
13166 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
13167
13168 Not vulnerable versions:
13169 * 1.12 or later
13170 * 1.11 >= 1.11.1
13171 * 1.10 >= 1.10.3
13172 * 1.9 >= 1.9.5
13173 * 1.8 any version (if $wgEnableAPI has been left off)
13174
13175 Vulnerable versions:
13176 * 1.11 <= 1.11.0rc1
13177 * 1.10 <= 1.10.2
13178 * 1.9 <= 1.9.4
13179 * 1.8 any version (if $wgEnableAPI has been switched on)
13180
13181 MediaWiki 1.7 and below are not affected as they do not include the API
13182 functionality, however the BotQuery extension is similarly vulnerable unless
13183 updated to the latest SVN version.
13184
13185 == MediaWiki 1.11.0 ==
13186
13187 September 10, 2007
13188
13189 This is the Fall 2007 snapshot release of MediaWiki.
13190
13191 MediaWiki is now using a "continuous integration" development model with
13192 quarterly snapshot releases. The latest development code is always kept "ready
13193 to run", and in fact runs our own sites on Wikipedia.
13194
13195 Release branches will continue to receive security updates for about a year
13196 from first release, but nonessential bugfixes and feature developments will be
13197 made on the development trunk and appear in the next quarterly release.
13198
13199 Those wishing to use the latest code instead of a branch release can obtain it
13200 from source control: [[Download from SVN]]
13201
13202 This is the Summer 2007 branch release of MediaWiki.
13203
13204 MediaWiki is now using a "continuous integration" development model with
13205 quarterly snapshot releases. The latest development code is always kept
13206 "ready to run", and in fact runs our own sites on Wikipedia.
13207
13208 Release branches will continue to receive security updates for about a year
13209 from first release, but nonessential bugfixes and feature developments
13210 will be made on the development trunk and appear in the next quarterly release.
13211
13212 Those wishing to use the latest code instead of a branch release can obtain
13213 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
13214
13215 == Changes since 1.11.0rc1 ==
13216
13217 A possible HTML/XSS injection vector in the API pretty-printing mode has been
13218 found and fixed.
13219
13220 The vulnerability may be worked around in an unfixed version by simply
13221 disabling the API interface if it is not in use, by adding this to
13222 [[Manual:LocalSettings.php|LocalSettings.php]]:<br />
13223 <code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br />
13224 (This is the default setting in 1.8.x.)
13225
13226 Not vulnerable versions:
13227 * 1.11 >= 1.11.0
13228 * 1.10 >= 1.10.2
13229 * 1.9 >= 1.9.4
13230 * 1.8 >= 1.8.5
13231
13232 Vulnerable versions:
13233 * 1.11 <= 1.11.0rc1
13234 * 1.10 <= 1.10.1
13235 * 1.9 <= 1.9.3
13236 * 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on)
13237
13238 MediaWiki 1.7 and below are not affected as they do not include the faulty
13239 function, however the [[Extension:BotQuery|BotQuery extension]] is similarly
13240 vulnerable unless updated to the latest SVN version.
13241
13242 == Configuration changes since 1.10 ==
13243
13244 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
13245 used
13246 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
13247 usergroups
13248 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
13249 * $wgShowHostnames - Expose server host names through the API and HTML comments
13250 * $wgSaveDeletedFiles has been removed, the feature is now enabled
13251 unconditionally
13252
13253 == New features since 1.10 ==
13254
13255 * (bug 8868) Separate "blocked" message for autoblocks
13256 * Adding expiry of block to block messages
13257 * Links to redirect pages in categories are wrapped in
13258 <span class="redirect-in-category"></span>
13259 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
13260 more information
13261 * (bug 9628) Show warnings about slave lag on Special:Contributions,
13262 Special:Watchlist
13263 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
13264 * Introducing new image keyword 'upright' and corresponding variable
13265 $wgThumbUpright. This allows better proportional view of upright images
13266 related to landscape images on a page without nailing the width of upright
13267 images to a fix value which makes views for anon unproportional and user
13268 preferences useless
13269 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
13270 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
13271 user preferences for image width like 'thumb' but without a frame.
13272 * (bug 7960) Link to "what links here" for each "what links here" entry
13273 * Added support for configuration of an arbitrary number of commons-style
13274 file repositories.
13275 * Added a Content-Disposition header to thumb.php output
13276 * Improved thumb.php error handling
13277 * Display file history on local image description pages of shared images
13278 * Added $wgArticleRobotPolicies
13279 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
13280 containing, the ip, ip range, or username whose block is affecting the
13281 * (bug 7691) Show relevant lines from the deletion log when re-creating a
13282 previously deleted article
13283 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
13284 * (bug 9898) Allow viewing all namespaces in Special:Newpages
13285 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
13286 see docs/hooks.txt for details
13287 * (bug 9769) Provide "watch this page" toggle on protection form
13288 * (bug 9886) Provide clear example "stub link" in Special:Preferences
13289 * (bug 10055) Populate email address and real name properties of User objects
13290 passed to the 'AbortNewAccount' hook
13291 * Show result of Special:Booksources in wiki content language always, it's
13292 normally better maintained than the generic list from the standard message
13293 files
13294 * (bug 7997) Allow users to be blocked from using Special:Emailuser
13295 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
13296 * (bug 8760) Allow wiki links in "protectexpiry" message
13297 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
13298 "DEFAULTSORT" magic word
13299 * (bug 10181) Support the XCache object caching mechanism
13300 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
13301 a path to the AdminSettings.php file
13302 * (bug 8781) Remind users to check file permissions for LocalSettings.php
13303 post-installation
13304 * Use shared.css for all skins and oldshared.css in place of common.css for
13305 pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
13306 Common.css and MediaWiki:Monobook.css.
13307 * (bug 8869) Introduce Special:Uncategorizedtemplates
13308 * (bug 8734) Different log message when article protection level is changed
13309 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
13310 characters
13311 * (bug 10096) Added an ability to query interwiki map table
13312 * On reupload, add a null revision to the image description page
13313 * Group log output by date
13314 * Kurdish interface latin/arabic writing system with transliteration
13315 * Support wiki text in all query page headers
13316 * Add 'Orphanedpages' as an alias to Special:Lonelypages
13317 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
13318 when viewing the current revision of a page, if available
13319 * (bug 8890) Enable wiki text for "license" message
13320 * Throw a showstopper exception when a hook function fails to return a value.
13321 Forgetting to give a 'true' return value is a very common error which tends
13322 to cause hard-to-track-down interactions between extensions.
13323 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
13324 queued task; allows extensions to introduce custom jobs
13325 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
13326 enabled by default.
13327 * Added option to install to MyISAM
13328 * (bug 9250) Remove hardcoded minimum image name length of three characters
13329 * Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the
13330 same title as the current page, and enabled per default
13331 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
13332 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
13333 classes: mw-code, mw-css, mw-js)
13334 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
13335 usergroup assignment.
13336 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
13337 * (bug 10387) Detect and handle '.php5' extension environments at install time
13338 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
13339 * (bug 10404) Show rights log for the selected user in Special:Userrights
13340 * New javascript for upload page that will show a warning if a file with the
13341 "destination filename" already exists.
13342 * Add 'editsection-brackets' message to allow localization (or removal) of the
13343 brackets in the "[edit]" link for sections
13344 * (bug 10437) Move texvc styling to shared.css
13345 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
13346 removals, and convenient exporting of watchlist contents
13347 * Show "undo" links in page histories
13348 * Option to jump to specified time period in user contributions
13349 * Improved feedback on "rollback success" page
13350 * Show distinct 'namespaceprotected' message to users when namespace protection
13351 prevents page editing
13352 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
13353 * Allow showing a one-off preview on first edit with "preview=yes"
13354 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
13355 * Link to user logs in toolbox when viewing a user page
13356 * (bug 10508) Allow HTML attributes on <gallery>
13357 * (bug 1962) Allow HTML attributes on <math>
13358 * (bug 10530) Introduce optional "sp-contributions-explain" message for
13359 additional explanation in Special:Contributions
13360 * (bug 10520) Preview licences during upload via AJAX (toggle with
13361 $wgAjaxLicensePreview)
13362 * New Parser::setTransparentTagHook for parser extension and template
13363 compatibility
13364 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
13365 information
13366 * Add a message if category is empty
13367 * Add CSS compatibility for Opera 9.5
13368 * Remove largely untested handheld stylesheet, which was causing more trouble
13369 than good. Proper handheld support will be added at a future date. For now,
13370 display should be acceptable either with CSS turned off or when using a so-
13371 phisticated handheld browser.
13372 * (bug 3173) Option to offer exported pages as a download, rather than
13373 displaying inline, as in most browsers
13374 * Pass the user as an argument to 'isValidPassword' hook callbacks; see
13375 docs/hooks.txt for more information
13376 * Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
13377 * (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and
13378 'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
13379 * (bug 9575) Accept upload description from GET parameters
13380 * Skip the difference engine cache when 'action=purge' is used while requesting
13381 a difference page, to allow refreshing the cache in case of errors
13382 * (bug 10701) Link to Special:Listusers in default Special:Statistics messages
13383 * Improved file history presentation
13384 * (bug 10739) Users can now enter comments when reverting files
13385 * Improved handling of permissions errors
13386 * (bug 10793) "Mark patrolled" links will now be shown for users with
13387 patrol permissions on all eligible diff pages
13388 * (bug 10655) Show standard tool links for blocked users in block log messages
13389 * Show standard tool links for blocked users in Special:Ipblocklist
13390 * Miscellaneous aesthetic improvements to Special:Ipblocklist
13391 * (bug 10826) Added link trail with Cyrillic characters for Mongolian language
13392 * (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for
13393 more information
13394 * (bug 10832) Include user information when viewing a deleted revision
13395 * (bug 10872) Fall back to sane defaults when generating protection selector
13396 labels for custom restriction levels
13397 * Show edit count in user preferences
13398 * Improved support for audio/video extensions
13399 * (bug 10937) Distinguish overwritten files in upload log
13400 * Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more
13401 information
13402 * Confirmation is now required when deleting old versions of files
13403 * (bug 7535) Users can now enter comments when deleting old versions of files
13404 * (bug 11001) Submit Special:Newpages as a GET, rather than a POST request
13405 * The <strong></strong> around links to watched pages in change lists now
13406 has a class - "mw-watched"
13407 * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
13408 when a destination filename is provided that corresponds with previous
13409 deleted files
13410 * Make the "invalid special page" message clearer
13411 * Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
13412 * Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for
13413 more information
13414 * (bug 11095) Honour "preview on first edit" preference when preloading
13415 text for a non-existent page
13416 * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
13417 Special:Recentchangeslinked
13418 * Add link to user contributions in normal watchlist edit mode
13419 * (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow
13420 modification of the heading formatting for new sections when section=new
13421 argument is supplied
13422 * (bug 10836) Add 'newsectionsummary' message to allow modification of the
13423 text that prefixes a new section link in Recent Changes
13424
13425 == Bugfixes since 1.10 ==
13426
13427 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
13428 * (bug 9670) Follow redirects when render edit section links to transcluded
13429 templates.
13430 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
13431 * (bug 3431) Suppress "next page" link in Special:Search at end of results
13432 * Don't show unblock form if the user doesn't have permission to use it
13433 (cosmetic change, no vulnerabilities existed)
13434 * Subtitle success message when unblocking a block ID instead of a pseudo link
13435 like [[User:#123|#123]]
13436 * Use the standard HTTP fetch functions when retrieving remote wiki pages
13437 through transwiki, so we can take advantage of cURL goodies if available
13438 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
13439 Special:Preferences, to avoid a compromised script sniffing passwords, etc.
13440 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
13441 instead of letting it flow outside the box or trigger ugly scroll bars.
13442 * Tooltips for print version and permalink
13443 * Links to the MediaWiki namespace for system messages having their default
13444 values are no longer shown as nonexistent (e.g., in red)
13445 * Special:Ipblocklist differentiates between empty list and no search results.
13446 * (bug 5375) profiling does not respect read-only mode.
13447 * (bug 7070) monobook/user.gif has antialias artifacts
13448 * (bug 9123) Safer way when applying $wgLocalTZoffset
13449 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
13450 * (bug 9417) Uploading new versions of images when using Postgres no longer
13451 throws warnings.
13452 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
13453 * (bug 1438) Fix for diff table layout on very wide lines.
13454 Diff style rules have been broken out to common/diff.css,
13455 and the dupes removed from the default skin files.
13456 Skins can still override the default rules.
13457 * (bug 1229) Balance columns in diff display evenly
13458 * Right-align diff line numbers in RTL language display
13459 * (bug 9332) Fix instructions in tests/README
13460 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
13461 of fragments during the normalisation process
13462 * (bug 7989) RSS feeds content now use black text when using white background.
13463 * (bug 9971) Typo in a french language message.
13464 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
13465 with $wgRCShowChangedSized = false.
13466 * Fix PHP strict standards warning in enhanced recent changes.
13467 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
13468 entries.
13469 * (bug 7432) Change language name for Aromanian (roa-rup)
13470 * (bug 908) Unexistent special pages now generate a red link.
13471 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
13472 * (bug 7993) support mathematical symbol classes
13473 * (bug 10007) Allow Block IP to work with Postgrs again.
13474 * Add Google Wireless Transcoder to the Unicode editing blacklist
13475 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
13476 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
13477 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
13478 * (bug 10113) Fix double-click for view source on protected pages
13479 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
13480 set [now prints out a warning]
13481 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
13482 templates with a high number of inclusion links
13483 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
13484 * (bug 9820) session.save_path check no longer halts installation, but
13485 warns of possible bad values
13486 * (bug 9978) Fixed session.save_path validation when using extended
13487 configuration format, e.g. "5;/tmp"
13488 * Don't generate a diff link in the patrol log if the page doesn't exist
13489 * (bug 10067) Translations for former skins removed from message files
13490 * (bug 9993) Force $wgShowExceptionDetails on during installation
13491 * (bug 9980) Validate administrator username and password during
13492 installation
13493 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
13494 database patch
13495 * (bug 10149) Don't show full template list on section-0 edit
13496 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
13497 and decodeBlob()
13498 * (bug 6743) Don't link broken image links to the upload form when uploads
13499 are disabled
13500 * (bug 9679) Improve documentation for $wgSiteNotice
13501 * (bug 10215) Show custom editing introduction when editing existing pages
13502 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
13503 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
13504 * (bug 9948) Workaround for diff regression with old Mozilla versions
13505 * (bug 10265) Fix regression in category image gallery paging
13506 * (bug 8577) Fix some weird misapplications of time zones.
13507 {{CURRENT*}} functions now consistently use UTC as intended, while
13508 {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
13509 Signature dates for Japanese and other languages including weekday now show
13510 the correct day to match the rest of the time in local time.
13511 * Escape the output of magic variables that return page name or part of it
13512 * (bug 10309) Initialise parser state properly in extractSections(), fixes
13513 some cases where section edits broke because tags were improperly stripped
13514 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
13515 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
13516 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
13517 * (bug 10325) Fix regression in form action on Special:Listusers
13518 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
13519 overlong key errors.
13520 * Fixed zero-padding issues with MySQL 5 binary schema
13521 * (bug 10344) Don't follow a redirect after changing its protection level
13522 * (bug 10333) Correct date format in Slovenian
13523 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
13524 Special:Prefixindex; making forms prettier for RTL wikis.
13525 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
13526 spaces
13527 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
13528 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
13529 * namespaceDupes.php should work better for initial-lowercase wikis
13530 * (bug 10377) "Permanent links" to revisions still work if the page is moved
13531 and the redirect deleted
13532 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
13533 match the given title. Fixes inconsistencies with talk, history, edit links.
13534 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
13535 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
13536 using $wgScript now included in JS info
13537 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
13538 avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
13539 security settings are cranked this way and AJAX-y gets used.
13540 * Delay AJAX watch initialization until click so IE 6 with ugly security
13541 settings doesn't prompt you until you use the link.
13542 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
13543 * Fix broken handling of log views for page titles consisting of one
13544 or more zeros, e.g. "0", "00" etc.
13545 * Fix read permission check for special pages with subpage parameters, e.g.
13546 Special:Confirmemail
13547 * Fix read permission check for unreadable page titles which are numerically
13548 equivalent to a whitelisted title
13549 * '?>' closing tag removed from all files to help avoid problems with extraneous
13550 whitespace (broken XML feeds, etc.)
13551 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
13552 pages
13553 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
13554 * Fix empty message checks for message names containing &
13555 This corrects some odd behavior with sidebar items and custom namespaces
13556 containing ampersands.
13557 * (bug 10375) Change thousands separator character to &nbsp; for Latin (la)
13558 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
13559 * (bug 10496) Fix broken DISTINCT option logic in database backend
13560 * Fix CSS media declaration for "screen, projection"; was causing some
13561 validation issues
13562 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
13563 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
13564 the intended skin directly in the URL.
13565 * (bug 9903) Don't mark redirects in categories as stubs
13566 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
13567 * Padding parser functions now work with strings like '0' that evaluate to false
13568 * (bug 10332) Title->userCan( 'edit' ) may return false positive
13569 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is
13570 true
13571 * (bug 10552) Suppress rollback link in history for single-revision pages
13572 * (bug 10538) Gracefully handle invalid input on move success page
13573 * Fix for Esperanto double-x-encoding in move success page
13574 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
13575 Now matches the selection behavior on Mozilla / Safari.
13576 Patch by Alex Smotrov.
13577 * Don't show non-functional toolbar buttons on Opera 7 anymore
13578 * (bug 9151) Fix relative subpage links with section fragments
13579 * (bug 10560) Adding a space between category letter heading and "continues"
13580 * (bug 4650) Keep impossibly large/small counts off Special:Statistics
13581 * (bug 10608) PHP notice when installing with PostgreSQL
13582 * (bug 10615) Fix for transwiki import when CURL not available
13583 * (bug 8054) Return search page for empty search requests with ugly URLs
13584 * (bug 10572) Force refresh after clearing visitation timestamps on watchlist
13585 * (bug 10631) Warn when illegal characters are removed from filename at upload
13586 * Fix several JavaScript bugs under MSIE 5/Macintosh
13587 * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
13588 * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
13589 * Work around Safari bug with pages ending in ".gz" or ".tgz"
13590 * Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
13591 * (bug 2735) "Preview" shown in title bar for action=submit on special pages
13592 * Removed "restore" links from the deletion log embedded in Special:Undelete
13593 * Improved error reporting and robustness for file delete/undelete.
13594 * Improved speed of file delete by storing the SHA-1 hash in image/oldimage
13595 * Fixed leading zero in base 36 SHA-1 hash
13596 * Protection form no longer produces JavaScript errors
13597 * (bug 10741) File histories show "delete" links for non-sysops
13598 * (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when
13599 used on a non-existent page with "action=info"
13600 * Fix escaping of raw message text when used on a non-existent page with
13601 "action=info"
13602 * (bug 10683) Fix inconsistent handling of URL-encoded titles in links
13603 used in redirects (i.e. they now work)
13604 * (bug 8878) Changes to $dateFormats in German localization (removing unused,
13605 nonexistent formats, putting time after date)
13606 * (bug 10769) Database::update() should return boolean result
13607 * Fix preference checkbox display for right-to-left languages which caused
13608 them to be hidden in IE in some cases
13609 * Fix upload form display in right-to-left languages
13610 * Fixed regression in blocking of username '0'
13611 * (bug 9437) Don't overwrite edit form submission handler when setting up
13612 edit box scroll position preserve/restore behavior
13613 * (bug 10805) Fix "undo" link when viewing the diff of the most recent
13614 change to a page using "diff=0"
13615 * (bug 10765) img_auth.php will now refuse logged-out requests where
13616 $wgWhitelistRead is undefined, instead of (incorrectly) honouring them
13617 * Fixed img_auth.php file name extraction for whitelist checking
13618 * Tweak spacing of email preference display
13619 * Table sorting JavaScript prefers textContent over innerText to allow hidden
13620 sort keys to work on Safari
13621 * (bug 4530) Fix local name of Kurdish language
13622 * (bug 10830) Fix local name of Haitian Creole language
13623 * Fix invalid XHTML in Special:Protectedpages
13624 * Fix comments in contributions and log pages for right-to-left languages
13625 * Make installer include_path-independent, so it should work on hosts which
13626 disable user setting of PHP include_path setting
13627 * glob() is horribly unreliable and doesn't work on some systems, including
13628 free.fr shared hosting. No longer using it in Language::getLanguageNames()
13629 * (bug 10763) Fix multi-insert logic for PostgreSQL
13630 * Fix invalid XHTML when viewing a deleted revision
13631 * Fix syntax error in translations of magic words in Romanian language
13632 * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping
13633 process error output under Windows
13634 * (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects
13635 * (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha
13636 channel transparency to be lost and transparent pixels to be turned black
13637 * (bug 9339) General error pages were transforming messages and their parameters
13638 in the wrong order
13639 * (bug 9026) Incorrect heading numbering when viewing Special:Statistics with
13640 "auto-numbered headings" enabled
13641 * Fixed invalid XHTML in Special:Upload
13642 * (bug 11013) Make sure dl() is available before attempting to use it to check
13643 available databases in installer
13644 * Resizing transparent GIF images with GD now retains transparency by skipping
13645 resampling
13646 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
13647 * Double encoding broke Special:Newpages for some languages
13648 * Adding a newline before the statistics footer, to prevent parsing problems
13649 * Preventing the TOC from appearing in Special:Statistics
13650 * (bug 11082) Fix check for fully-specced table names in Database::tableName
13651 * (bug 11067) Fix regression in upload conflict thumbnail display
13652 * (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
13653 suppressed, breaking paging - now strikes out "fixed" results
13654 * (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
13655 entries in the table of contents
13656 * (bug 11114) Fix regression in read-only mode error display during editing
13657 * Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure
13658 that the first page_title is truly the first page title.
13659 * (bug 10836) Change the summary on creating of new section
13660 * Inclusion of Special:Wantedpages now works again
13661
13662 == API changes since 1.10 ==
13663
13664 Full API documentation is available at https://www.mediawiki.org/wiki/API
13665
13666 * New properties: links, templates, images, langlinks, categories, external
13667 links
13668 * Breaking Change: imagelinks renamed into imageusage (il->iu)
13669 * Bug fix: incorrect generator behavior in some cases
13670 * JSON format allows an optional callback function to wrap the result.
13671 * Login module disabled until a more secure solution can be implemented
13672 * (bug 9938) Querying by revision identifier returns the most recent revision
13673 for the corresponding page, rather than the requested revision
13674 * (bug 8772) Filter page revision queries by user
13675 * (bug 9927) User contributions queries do not accept IP addresses
13676 * Watchlist feed now reports a proper feed item when the user is not logged in
13677 * Watchlist feed date bug fixed - automatically shows one last day
13678 * Watchlist feed now allows to specify number of hours to monitor
13679 * list=allpages now returns a list instead of a map in JSON format
13680 * Breaking Change: in json, revisions are now returned as a list, not as a map.
13681 * Add: prop=info can show page is new flag, current page length, and visit
13682 counter.
13683 * Change: Query watchlist now shows flags only when explicitly requested with
13684 wlparam=flags
13685 * rc_this_oldid (textid) is no longer accessible from query watchlist
13686 * action=usercontribs: additional filtering by ucshow=; selection of needed
13687 fields with ucprop=; the textid (rev_text_id) is no longer being exposed
13688 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
13689 lists in JSON instead of a map, and do not return anything when titles do
13690 not exist
13691 * (bug 9121) Introduced indexpageids query parameter to list the page_id
13692 values of all returned page items
13693 * (bug 10147) Now interwiki titles are not processed but added to a separate
13694 "interwiki" section of the output.
13695 * Added categorymembers list to query for pages in a category.
13696 * (bug 10260) Show page protection status
13697 * (bug 10392) Include MediaWiki version details in version output
13698 * (bug 10411) Site language in meta=siteinfo
13699 * (bug 10391) action=help doesn't return help if format is fancy markup
13700 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title
13701 parameter instead of titles. Titles for these lists is obsolete and might stop
13702 working soon.
13703 * Added prop=imageinfo - gets image properties and upload history
13704 * (bug 10211) Added db server replication lag information in meta=siteinfo
13705 * Added external url search within wiki pages (list=exturlusage)
13706 * Added link enumeration (list=alllinks)
13707 * Added registered users enumeration (list=allusers)
13708 * Added full text search in titles and content (list=search)
13709 * (bug 10684) Expanded list=allusers functionality
13710 * Possible breaking change: prop=revisions no longer includes pageid for
13711 rvprop=ids
13712 * Added rvprop=size to prop=revisions (The size will not be shown if it is NULL
13713 in the database)
13714 * list=allpages now allows to filter by article min/max size and protection
13715 status
13716 * Added site statistics (siprop=statistics for meta=siteinfo)
13717 * (bug 10902) Unable to fetch user contributions from IP addresses
13718 * `list=usercontribs` no longer requires that the user exist
13719 * (bug 10971) `aufrom` parameter doesn't work with spaces
13720 * Fix username handling issue with `auprefix` parameter
13721 * Treat underscores as spaces for `aufrom` and `auprefix` parameters
13722 * Added edit/delete/... token retrieval to prop=info
13723 * Added meta=userinfo - logged-in user information, group membership, rights
13724 * (bug 11072) Fix regression in API image history query
13725 * (bug 11115) Adding SHA1 hash to imageinfo query
13726 * (bug 10898) API does not return an edit token for non-existent pages
13727 * (bug 10890) Timestamp support for categorymembers query
13728 * (bug 10980) Add exclude redirects on backlinks
13729 * IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any
13730 old stray pages)
13731
13732 == Maintenance script changes since 1.10 ==
13733
13734 * Add support for wgMaxTocLevel option in parserTests
13735 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
13736 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
13737 suitable files are found, and make the list of extensions an option (defaults
13738 to $wgFileExtensions)
13739 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
13740 permissions (--bureaucrat)
13741 * Allow overwriting existing files with a conflicting name using
13742 maintenance/importImages.php
13743 * (bug 10266) Use native newlines when rebuilding a messages file.
13744
13745 == Languages updated since 1.10 ==
13746
13747 * Afrikaans (af)
13748 * Arabic (ar)
13749 * Bikol (bcl)
13750 * Bulgarian (bg)
13751 * Catalan (ca)
13752 * Danish (da)
13753 * German (de)
13754 * Greek (el)
13755 * Esperanto (eo)
13756 * Spanish (es)
13757 * Estonian (et)
13758 * Extremaduran (ext)
13759 * Farsi (fa)
13760 * Finnish (fi)
13761 * Vöro (fiu-vro)
13762 * French (fr)
13763 * Français Cadien (frc) (new)
13764 * Franco-Provençal/Arpetan (frp)
13765 * Galician (gl)
13766 * Hakka (hak)
13767 * Hebrew (he)
13768 * Upper Sorbian (hsb)
13769 * Haitian (ht)
13770 * Indonesian (id)
13771 * Icelandic (is)
13772 * Italian (it)
13773 * Japanese (ja)
13774 * Georgian (ka)
13775 * Kabyle (kab)
13776 * Kazakh (kk)
13777 * Korean (ko)
13778 * Kinaray-a (krj) (new)
13779 * Kurdish (ku)
13780 * Latin (la)
13781 * Lao (lo)
13782 * Lithuanian (lt)
13783 * Latviešu (lv)
13784 * Malayalam (ml)
13785 * Bahasa Melayu (ms)
13786 * Burmese (my)
13787 * Low German (nds)
13788 * Dutch (nl)
13789 * Norwegian (no)
13790 * Occitan (oc)
13791 * Punjabi (Gurmukhi) (pa)
13792 * Polish (pl)
13793 * Piedmontese (pms)
13794 * Portuguese (pt)
13795 * Romani (rmy)
13796 * Romanian (ro)
13797 * Aromanian (roa-rup)
13798 * Russian (ru)
13799 * Sakha (sah)
13800 * Sango (se) (new)
13801 * Slovak (sk)
13802 * Slovenian (sl)
13803 * Shona (sn)
13804 * Somali (so)
13805 * Albanian (sq)
13806 * Sundanese (su)
13807 * Swedish (sv)
13808 * Tamil (ta)
13809 * Thai (th)
13810 * Tigrinya (ti)
13811 * Setswana (tn)
13812 * Tok Pisin (tpi)
13813 * Uyghur (ug)
13814 * Volapük (vo)
13815 * Winaray (war) (new)
13816 * Yiddish (yi)
13817 * Old Chinese / Late Middle Chinese (zh-classical)
13818 * Chinese (PRC) (zh-cn)
13819 * Chinese (Taiwan) (zh-tw)
13820 * Cantonese (zh-yue)
13821
13822 == MediaWiki 1.10 ==
13823
13824 == MediaWiki 1.10.4 ==
13825
13826 March 2, 2008
13827
13828 * Correction for API path fix, broken in 1.10.3
13829
13830 == MediaWiki 1.10.3 ==
13831
13832 January 23, 2008
13833
13834 This is a security update to the Winter 2007 quarterly release. A potential
13835 XSS injection vector affecting api.php only for Microsoft Internet Explorer
13836 users has been closed.
13837
13838
13839 To work around the vulnerability without upgrading, you may disable the API if
13840 you don't need it:
13841
13842 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
13843
13844 Not vulnerable versions:
13845 * 1.12 or later
13846 * 1.11 >= 1.11.1
13847 * 1.10 >= 1.10.3
13848 * 1.9 >= 1.9.5
13849 * 1.8 any version (if $wgEnableAPI has been left off)
13850
13851 Vulnerable versions:
13852 * 1.11 <= 1.11.0rc1
13853 * 1.10 <= 1.10.2
13854 * 1.9 <= 1.9.4
13855 * 1.8 any version (if $wgEnableAPI has been switched on)
13856
13857 MediaWiki 1.7 and below are not affected as they do not include the API
13858 functionality, however the BotQuery extension is similarly vulnerable unless
13859 updated to the latest SVN version.
13860
13861 == MediaWiki 1.10.2 ==
13862 September 10, 2007
13863
13864 This is a security fix update to the Spring 2007 quarterly release snapshot. A
13865 possible HTML/XSS injection vector in the API pretty-printing mode has been
13866 found and fixed.
13867
13868 The vulnerability may be worked around in an unfixed version by simply
13869 disabling the API interface if it is not in use, by adding this to
13870 LocalSettings.php:
13871 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
13872
13873 Not vulnerable versions:
13874 * 1.11 >= 1.11.0
13875 * 1.10 >= 1.10.2
13876 * 1.9 >= 1.9.4
13877 * 1.8 >= 1.8.5
13878
13879 Vulnerable versions:
13880 * 1.11 <= 1.11.0rc1
13881 * 1.10 <= 1.10.1
13882 * 1.9 <= 1.9.3
13883 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
13884
13885 MediaWiki 1.7 and below are not affected as they do not include the faulty
13886 function, however the BotQuery extension is similarly vulnerable unless updated
13887 to the latest SVN version.
13888
13889 == MediaWiki 1.10.1 ==
13890 July 13, 2007
13891
13892 This is a bugfix update to the Spring 2007 quarterly release snapshot. A number
13893 of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and
13894 some PHP configurations are included.
13895
13896 Changes since 1.10.0:
13897
13898 * (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using
13899 Postgres no longer throws warnings.
13900 * (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives
13901 an error.
13902 * (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges
13903 collapsible items with $wgRCShowChangedSized = false.
13904 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
13905 overlong key errors.
13906 * Fixed zero-padding issues with MySQL 5 binary schema
13907 * (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts
13908 installation, but warns of possible bad values
13909 * (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using
13910 extended configuration format, e.g. "5;/tmp"
13911
13912 == MediaWiki 1.10.0 ==
13913 May 9, 2007
13914
13915 This is the quarterly release snapshot for Spring 2007. See below for a full
13916 list of changes since the 1.9.x series.
13917
13918 Changes since 1.10.0rc2:
13919
13920 * (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit'
13921 option for Special:Contributions
13922
13923 == MediaWiki 1.10.0rc2 ==
13924 May 4, 2007
13925
13926 THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING!
13927 A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS.
13928
13929 Changes since 1.10.0rc1:
13930 * Various l10n fixes and updates
13931 * Fix for upgrade of page_restrictions table
13932 * (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon
13933 followed by whitespace
13934 * Fix for regression in upload: wrong size info saved into image table
13935 * Avoid cyclic stub problems when authorization hooks do funny things with the
13936 user and the database at load time
13937
13938 == MediaWiki 1.10.0rc1 ==
13939 This is the Spring 2007 branch release of MediaWiki.
13940
13941 MediaWiki is now using a "continuous integration" development model with
13942 quarterly snapshot releases. The latest development code is always kept
13943 "ready to run", and in fact runs our own sites on Wikipedia.
13944
13945 Release branches will continue to receive security updates for about a year
13946 from first release, but nonessential bugfixes and feature developments
13947 will be made on the development trunk and appear in the next quarterly release.
13948
13949 Those wishing to use the latest code instead of a branch release can obtain
13950 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
13951
13952 == Configuration changes ==
13953
13954 * A new switch $wgCommandLineDarkBg used by maintenance scripts
13955 (parserTests.php). It lets you specify if your terminal use a dark background,
13956 the colorized output will be made lighter making things easier to read.
13957 * The minimum permissions needed to edit a page in each namespace can now be
13958 customized via the $wgNamespaceProtection array. By default, editing pages in
13959 the MediaWiki namespace requires "editinterface" permission, as before.
13960 * Allow restriction of autoconfirmed permission by edit count. New global
13961 setting $wgAutoConfirmCount (defaulting to zero, naturally).
13962 * Added rate limiter for Special:Emailuser
13963 * Private logs can now be created using $wgLogRestrictions
13964 * (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true).
13965 * Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
13966
13967 == New features since 1.9 ==
13968
13969 * (bug 6937) Introduce "statistics-footer" message, appended to
13970 Special:Statistics
13971 * (bug 6638) List block flags in block log entries
13972 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
13973 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
13974 starts page output
13975 (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
13976 * Introduce "cascading protection" -- implicit protection on pages transcluded
13977 into a page protected with this option enabled
13978 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
13979 out in action=raw, so extensions might influence the output.
13980 * (bug 3446) Add user preference to hide page content below diffs, can be
13981 overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
13982 * Add 'purge' privilege to replace the hardcoded check for login state in
13983 determining whether action=purge can be done via GET. Switching the
13984 permission on for anons can be helpful for benchmarking.
13985 * (bug 7842) Link back to deleted revision list from deleted revision preview
13986 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
13987 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
13988 the appropriate permission
13989 * (bug 8628) Add user-aware block list link to Special:Blockip
13990 * (bug 8621) Log revisions marked as patrolled
13991 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
13992 * Add title prefix search for Special:Undelete
13993 * Remove full-archive list from Special:Undelete
13994 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
13995 * (bug 8712) Expose user groups as a JavaScript global
13996 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
13997 * New special page, Special:Protectedpages, which shows all protected pages
13998 and their protection status (full protection status is not pulled out due
13999 to performance considerations, so it just shows "full protected" or
14000 "semi protected".
14001 * (bug 4133) Allow page protections to be made with an expiry date, in the same
14002 format as block expiry dates. Existing protections are assumed to be infinite,
14003 as are protections made with the new field left blank.
14004 * (bug 8535) Allow certain vertical alignment attributes to be used as image
14005 keywords
14006 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
14007 * (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as
14008 MediaWiki:Disclaimers; Also means that if any of the footer links are
14009 disabled in the wiki's default language (by setting to "-"), they'll also
14010 be disabled in other languages too (e.g. if the user specifies uselang=fr).
14011 * Sort log types in Special:Log
14012 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
14013 toolbar buttons
14014 * Hide irrelevant block options in Special:Blockip based on whether an
14015 IP address/range or username is listed. (Dynamic using JS.)
14016 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
14017 * (bug 7782) Standardisation of file info at image description pages.
14018 * (bug 1035) View contributions / recentchanges for an IP range.
14019 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
14020 confirmation messages in a proper list with a CSS class and id.
14021 * (bug 9118) Show relevant log fragments on deletion confirmatio page
14022 * (bug 9009) Add username entry field to Special:Contributions
14023 * (bug 1723) Article size in history
14024 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
14025 * (bug 6997) Link from Special:log/block to unblock form
14026 * (bug 9117) Link from Special:log/delete to undelete form
14027 * Link from Special:log/protect to change protection form
14028 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6
14029 contribs
14030 * (bug 3984) Searching in logs by title%
14031 * Show thumbnail of existing image if image exists already under this filename
14032 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
14033 * Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols
14034 * (bug 3069) Warning on upload of scaled down images
14035 * Warning on upload of images with uppercase extension if image with lowercase
14036 extension exists
14037 * (bug 4624) Namespace selection for Special:Whatlinkshere
14038 * Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see
14039 docs/hooks.txt for more information
14040 * (bug 9397) Introduce "sp-contributions-footer" and
14041 "sp-contributions-footer-anon" messages, shown at the end of
14042 Special:Contributions as appropriate for the target
14043 * (bug 8421) Expose current action in JavaScript globals (as 'wgAction')
14044 * (bug 9069) Use galleries in query pages dedicated to images
14045 * (bug 9177) Installer now warns of various conditions affecting
14046 session.save_path which can lead to broken session storage
14047 * (bug 9046) Special page to list pages without language links
14048 * (bug 9508) Special page to list articles with the fewest revisions
14049 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
14050 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
14051 * Introduce 'mywatchlist' message; used on personal menu to link to watchlist
14052 page
14053 * Introduce magic word {{NUMBEROFEDITS}}
14054 * Introduced media handlers for file-type specific operations.
14055 * Improved error reporting for image thumbnailing
14056 * Added sharpening option for ImageMagick thumbnailing
14057 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
14058 500 characters
14059 * Predefined block reasons added to Special:Blockip
14060 * (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
14061 * (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for
14062 more information
14063 * 'contribsub' message changed to 'contribsub2' with two parameters to permit
14064 better localization. Change is reverse-compatible and can be ignored for
14065 most wikis.
14066 * Adding a 'reason' field to Special:Userrights
14067
14068 == Bugfixes since 1.9 ==
14069
14070 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
14071 * (bug 8531) Correct local name of Lingála
14072 * Made the PLURAL: parser function return singular on -1 per default
14073 * Fixed up the AjaxSearch
14074 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
14075 null to be treated properly with isset.
14076 * Page restrictions moved into a new, dedicated table
14077 * Correct tooltip accesskey hint for Opera on the Macintosh
14078 (uses Shift-Esc-, not Ctrl-).
14079 * (bug 8002) Math should render left-to-right even in right-to-left wikis
14080 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
14081 optional fields, which may be considered useful at registration time.
14082 * PostgreSQL upgrade scripts fixed and updated
14083 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
14084 * Initialise site_stats table at upgrade time if data was missing
14085 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
14086 * Unmaintained Oracle support files have been removed.
14087 * Use browser default for printing size, don't force to 11pt
14088 * (bug 8632) Fix regression in page protection null edit update
14089 * (bug 8407) Disallow indexing of "printable" versions
14090 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
14091 * (bug 8629) Document $wgFilterCallback
14092 * (bug 1000) Clarify warning about memory_limit in installer
14093 * Suppress PHP warning about set_time_limit in installer when safe mode is on
14094 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
14095 not available, as on IIS with PHP-CGI
14096 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
14097 * use configured cache servers for mctest.php
14098 * bucket details in mcc.php
14099 * fix input validation and remove debugging code in compressOld
14100 * full ID range for moveToExternal
14101 * fix resolveStubs.php for compatibility with older serialized data
14102 * maximum line length for bar graphs in getLagTimes.php
14103 * recognize specieswiki in rebuildInterwiki.inc
14104 * profile unicode cleanup in Xml
14105 * log slow parses in Article.php
14106 * profile wfMsgReal
14107 * log mkdir failures
14108 * profile AutoLoader
14109 * rebuild empty DjVu metadata containing ''
14110 * security fix for DjVu metadata retrieval
14111 * Undelete page list can use plural marker
14112 * (bug 8638) Fix update from 1.4 and earlier
14113 * (bug 8641) Fix order of updates to ipblocks table
14114 * (bug 8678) Fix detection of self-links for numeric titles in Parser
14115 * (bug 6171) Magically close tags in tables when not using Tidy.
14116 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
14117 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
14118 * (bug 8673) Minor fix for web service API content-type header
14119 * Fix API revision list on PHP 5.2.1; bad reference assignment
14120 * (bug 8688) Handle underscores/spaces in Special:Blockip and
14121 Special:Ipblocklist in a consistent manner
14122 * (bug 8701) Check database lock status when blocking/unblocking users
14123 * ParserOptions and ParserOutput classes are now in their own files
14124 * (bug 8708) Namespace translations for Zealandic language
14125 * Renamed constructor methods to PHP 5 __construct reserved name
14126 * (bug 8715) Warn users when editing an interface message whether or not the
14127 message page exists
14128 * ar: fix the 'create a new page' on search page when no exact match found
14129 * (bug 8703) Corrected talk and image namespace name for Limburgish (li)
14130 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
14131 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
14132 * Allow sending per-user contribution requests to "contributions" query group
14133 * (bug 3717) Update user count for AuthPlugin account autocreation
14134 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
14135 accesskeys default settings appear to be same as Windows.
14136 * Added an option to make Linker::userToolLinks() show the contribs link
14137 red when the user has no edits. Linker::userToolLinksRedContribs() is an
14138 alias to that which should be used to make it more self documentating.
14139 * (bug 8749) Bring MySQL 5 table defs back into sync
14140 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
14141 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
14142 * (bug 8782) Help text in Makefile
14143 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
14144 * (bug 8774) Fix path for GNU FDL rights icon on new installs
14145 * Fix multipage selector drop-down for DjVu images to work when title
14146 is passed as a query string parameter; we have to pass the title as
14147 a form parameter or it gets dropped from the form submission URL
14148 * (bug 8819) Fix full path disclosure in with skins dependencies
14149 * Fixed bug affecting HTML formatting in sortable table column titles
14150 * Merged table sorting code into wikibits.js
14151 * (bug 8711) Stop floats in previews from spilling into edit area
14152 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
14153 in DefaultSettings to make it clear.
14154 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
14155 affecting pages which had null edits (move, protect, etc) as second
14156 edit in a batch group. Isolated and patched by Travis Derouin.
14157 * Fix for paths in 1.4->1.5 special-case updater script
14158 * (bug 8789) AJAX search: IE users can now use the return key
14159 * (bug 6844) Use <ins> and <del> tags to emphase the differences
14160 * (bug 6684) Fix improper javascript array iteration
14161 * (bug 4347) use MailAddress object for reply-to
14162 * Add AlphabeticPager abstract class
14163 * Use faster AlphabeticPager for Special:Categories
14164 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
14165 pages; perhaps useful for categories and shared images
14166 * Clean up session checks to better handle the case where the session was
14167 opened during the current request. May help with some caching corner
14168 cases.
14169 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
14170 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
14171 by the parser test harness; use for extensions which require the presence
14172 of other tables while they work.
14173 * Message names changed for AlphabeticPager introduced with r19758
14174 for better localisations.
14175 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
14176 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
14177 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
14178 * (bug 8984) Fix a database error in Special:Recentchangeslinked
14179 when using the Postgres database.
14180 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
14181 The ob_start() section should preferably be removed from older
14182 LocalSettings.php files.
14183 * Give Content-Length header for HTTP/1.0 clients.
14184 * Partial support for Flash cross-domain-policy filtering.
14185 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
14186 dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
14187 and such are used.
14188 * Add 'charset' to Content-Type headers on various HTTP error responses
14189 to forestall additional UTF-7-autodetect XSS issues. PHP sends only
14190 'text/html' by default when the script didn't specify more details,
14191 which some inconsiderate browsers consider a license to autodetect
14192 the deadly, hard-to-escape UTF-7.
14193 This fixes an issue with the Ajax interface error message on MSIE when
14194 $wgUseAjax is enabled (not default configuration); this UTF-7 variant
14195 on a previously fixed attack vector was discovered by Moshe BA from BugSec:
14196 http://www.bugsec.com/articles.php?Security=24
14197 * Trackback responses now specify XML content type
14198 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
14199 to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
14200 particularly with new keepalive-friendly HTTP on Wikipedia
14201 * (bug 8919) Suppress paging links and related messages where there are no
14202 rows to list for query pages
14203 * (bug 9057) Standardize MediaWiki: namespace for oc
14204 * (bug 8132) Suppress "Pages in this category" heading in categories when
14205 there are none
14206 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
14207 * (bug 8799) Use redirect table for Special:BrokenRedirects and
14208 Special:DoubleRedirects
14209 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
14210 MediaWiki:showingresultsnum
14211 * (bug 9122) Fix minor display issue in RTL with section edit link margin
14212 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
14213 * (bug 3953) Work around poor display of parenthesis in the in other
14214 languages section of MonoBook skin
14215 * (bug 8539) Enable PLURAL option for another message of recentchanges.
14216 * (bug 8728) MediaWiki:Badfiletype split into 3 messages
14217 * (bug 9131) Allow SpecialContributions to work with Postgres
14218 * (bug 9155) Allow footer info to wrap in Monobook
14219 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
14220 loops on some server configurations
14221 * (bug 9097) column "pr_pagetype" does not exist
14222 * (bug 9217) Balance wfProfile calls in Skin::outputPage
14223 * (bug 9222) PostgreSQL updater should not be version-specific
14224 * Fix fallback implementation of mb_strlen so it works and isn't insanely
14225 slow for large strings, since it's used for page edit lengths
14226 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
14227 * (bug 9256) Add a quick note to index.php header comments
14228 * Make Special:Listusers caseinsensitive for first letter
14229 * Default tidy.conf has been moved from extensions module into includes.
14230 * Ignore lonely '''''
14231 * (bug 9244) When calling edit page for nonexistent section, generate error
14232 inside of just discarding edits, since edit links sometimes go to the wrong
14233 place.
14234 * (bug 9019) No warning during upload if image description page exists, but no
14235 image
14236 * (bug 8582) Allow thumbnailing when imagesize has a space.
14237 * (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres
14238 * (bug 9343) Correct internal name for Wolof language
14239 * (bug 9363) Fix Postgres error on Recentchangeslinked
14240 * (bug 5142) Fixed call of hook ArticleViewHeader
14241 * (bug 4777) Separate prev/next messages for Special:Whatlinkshere
14242 * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql
14243 based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive.
14244 * (bug 9411) Fix for shared image descriptions using query-string titles
14245 * (bug 4756) Add user tool links for self created accounts at special:log
14246 instead of sometimes broken block links from newuserlog extension
14247 * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
14248 target page instead of silently redirecting
14249 * (bug 8914) Don't transform colons in {{anchorencode:}}
14250 * (bug 9241) Handle edit section links and include size links for cached
14251 templates the same as the first transclusion.
14252 * (bug 9466) "Rollback failed" page doesn't format edit comment
14253 * (bug 9472) Invalid XHTML on cached special pages
14254 * (bug 9472) Invalid XHTML on Special:Newpages
14255 * (bug 4764) "My contributions" not bold when viewing own contributions
14256 * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere
14257 * (bug 9033) Use a more specific error message when users are not able/allowed
14258 to edit page protection levels due to a block, database lock or permissions
14259 * Fixed $wgFeedLimit
14260 * (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl)
14261 * (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences
14262 * (bug 9554) Extension-provided group name messages not used
14263 * (bug 9565) Translate template namespace name for Hindi (hi)
14264 * (bug 8599) Correct localized names of zh-variants
14265 * (bug 3366) Require skins based on SkinTemplate to override the skinname
14266 property.
14267 * (bug 9220) Removed obsoletes functions in install-utils.inc.
14268 * Removed obsoletes Title::getRelatedCache and Title:touchArray
14269 * (bug 7285) Check MySQL username length during install
14270 * (bug 6910) Correct date/time formats in Vietnamese (vi)
14271 * (bug 9608) Correctly use ORDER BY in dumpLinks.php
14272 * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php
14273 * Special:Random and Special:Randomredirect now try harder to send the user to
14274 a random page, and will give an error message if none really can be found
14275 instead of sending the user to the main page like they used to
14276 * Fix object variable used for displaying "not-patrolled" CSS class on list
14277 * Fixed interaction of page parameter to ImagePage with the HTML file cache
14278 * Fixed MIME type for SVG files, will be silently changed from image/svg
14279 to image/svg+xml after loading from the database.
14280 * Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump
14281 instead.
14282 * Fixed odd behavior in ImagePage on DjVu thumbnailing errors
14283 * (bug 5439) "Go" title search will now jump to shared/foreign Image: and
14284 MediaWiki: pages that have not been locally edited.
14285 * (bug 9630) Limits links in Whatlinkshere forgot about namespace filter
14286 * Fixed upgrade for the non-standard MySQL schemas
14287 * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the
14288 various problems that occur when it is on.
14289 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
14290 * (bug 3826) Normalize some invalid cookie name characters when setting
14291 up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
14292 * (bug 9649) Fix RTL form alignment for Special:Movepage
14293 * (bug 9582) Members of bot group now mark edits patrolled by default
14294 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
14295 converted from 1.4 to 1.5 schema
14296 * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
14297 * (bug 5959) Anchors dropped from stub links
14298 * (bug 3348) Some additional weak password checks: password which is same
14299 as username will now be rejected.
14300 * (bug 8602) Converted Special:Contributions to use an IndexPager. The
14301 interpretation of the offset parameter has changed, and the go parameter
14302 has been removed.
14303 * (bug 6204) Fixes for indentation with $wgMaxTocLevel:
14304 - don't emit too many list close tags after an invisible header
14305 - don't emit too many final list close tags if last header is invisible
14306 - don't emit TOC when there are no visible headers
14307 * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
14308 when certain plugins are present which alter the user agent
14309
14310
14311 == Maintenance ==
14312
14313 * New script maintenance/language/checkExtensioni18n.php used to check i18n
14314 progress in the extension repository.
14315 * Running maintenance/parserTests.php with '--record' option, will now
14316 automatically attempt to create the required tables
14317 * --purge option to do additional parser-cache purging for purgeList.php
14318 * Fix hardcoded background color in parserTests.php
14319 * parserTests.php : removed the 'light' option for --color argument, replacing
14320 it with a new global switch : $wgCommandLineDarkBg
14321 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php
14322 exists but is not readable
14323 * dumpBackup / importDump now work with PostgreSQL
14324 * (bug 8975) Use "Maintenance script" as the default username for
14325 importImages.php and importTextFile.php scripts
14326 * (bug 8933) Fix maintenance/reassignEdits.php script
14327 * (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
14328 * (bug 2979) Import now gracefully skips invalid titles with a warning
14329 * Restore '--norc' option for maintenance/importTextFile.php
14330 * Help information for maintenance/importTextFile.php now easier to read on
14331 consoles
14332 * Doxygen documentation now show the revision number of each file, generate
14333 graphs using dot and include a search engine.
14334
14335
14336 == Languages updated ==
14337
14338 * Arabic (ar)
14339 * Aramaic (arc)
14340 * Aymara (ay)
14341 * Belarusian normative (be)
14342 * Belarusian alternative (be-x-old)
14343 * Bulgarian (bg)
14344 * Bihara (bh)
14345 * Breton (br)
14346 * Catalan (ca)
14347 * Czech (cs)
14348 * Danish (da)
14349 * German (de)
14350 * Greek (el)
14351 * Esperanto (eo)
14352 * Spanish (es)
14353 * Estonian (et)
14354 * Basque (eu)
14355 * Finnish (fi)
14356 * Võro (fiu-vro)
14357 * French (fr)
14358 * Hebrew (he)
14359 * Hindi (hi)
14360 * Upper Sorbian (hsb)
14361 * Hungarian (hu)
14362 * Armenian (hy)
14363 * Indonesian (id)
14364 * Italian (it)
14365 * Japanese (ja)
14366 * Javanese (jv)
14367 * Georgian (ka)
14368 * Kabyle (kab)
14369 * Kazakh (kk)
14370 * Korean (ko)
14371 * Kashmiri (ks)
14372 * Ripuarian (ksh)
14373 * Latin (la)
14374 * Luganda (lg)
14375 * Limburgish (li)
14376 * Lithuanian (lt)
14377 * Latvian (lv)
14378 * Marathi (mr)
14379 * Low Saxon (nds)
14380 * Dutch Lower Saxon (nds-nl)
14381 * Nepali (ne)
14382 * Nepal Bhasa (new)
14383 * Dutch (nl)
14384 * Occitan (oc)
14385 * Pali (pi)
14386 * Polish (pl)
14387 * Romanian (ro)
14388 * Russian (ru)
14389 * Sanskrit (sa)
14390 * Sicilian (scn)
14391 * Slovak (sk)
14392 * Sundanese (su)
14393 * Swedish (sv)
14394 * Tahitian (ty)
14395 * Ukrainian (uk)
14396 * Urdu (ur)
14397 * Uzbek (uz)
14398 * Vietnamese (vi)
14399 * Zealandic (zea)
14400 * Old Chinese / Late Middle Chinese (zh-classical)
14401 * Chinese (PRC) (zh-cn)
14402 * Chinese (Taiwan) (zh-tw)
14403 * Cantonese (zh-yue)
14404
14405 == Compatibility ==
14406
14407 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
14408
14409 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
14410 http://bugs.php.net/bug.php?id=34879
14411 Upgrade affected systems to PHP 5.1 or higher.
14412
14413 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
14414 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
14415
14416
14417 == Upgrading ==
14418
14419 1.10 has several database changes since 1.9, and will not work without schema
14420 updates.
14421
14422 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
14423 new database fields are filled with data.
14424
14425 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
14426 changes are made, and there is a slightly higher chance that things could
14427 break. Don't forget to always back up your database before upgrading!
14428
14429 See the file UPGRADE for more detailed upgrade instructions.
14430
14431 = MediaWiki release notes =
14432 Security reminder: MediaWiki does not require PHP's register_globals
14433 setting since version 1.2.0. If you have it on, turn it *off* if you can.
14434
14435 = MediaWiki 1.9 =
14436
14437 == MediaWiki 1.9.6 ==
14438
14439 March 2, 2008
14440
14441 * Correction for API path fix, broken in 1.9.5
14442
14443 == MediaWiki 1.9.5 ==
14444
14445 January 23, 2008
14446
14447 This is a security update to the Winter 2007 quarterly release. A potential XSS
14448 injection vector affecting api.php only for Microsoft Internet Explorer users
14449 has been closed.
14450
14451
14452 To work around the vulnerability without upgrading, you may disable the API if
14453 you don't need it:
14454
14455 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
14456
14457 Not vulnerable versions:
14458 * 1.12 or later
14459 * 1.11 >= 1.11.1
14460 * 1.10 >= 1.10.3
14461 * 1.9 >= 1.9.5
14462 * 1.8 any version (if $wgEnableAPI has been left off)
14463
14464 Vulnerable versions:
14465 * 1.11 <= 1.11.0rc1
14466 * 1.10 <= 1.10.2
14467 * 1.9 <= 1.9.4
14468 * 1.8 any version (if $wgEnableAPI has been switched on)
14469
14470 MediaWiki 1.7 and below are not affected as they do not include the API
14471 functionality, however the BotQuery extension is similarly vulnerable unless
14472 updated to the latest SVN version.
14473
14474 == MediaWiki 1.9.4 ==
14475
14476 September 10, 2007
14477
14478 This is a security and bug fix update to the Winter 2007 quarterly release.
14479 Minor compatibility fixes for IIS 5 are included.
14480
14481 * (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to
14482 fix redirect loops on some server configurations
14483 * A possible HTML/XSS injection vector in the API pretty-printing mode has been
14484 found and fixed.
14485
14486 The vulnerability may be worked around in an unfixed version by simply
14487 disabling the API interface if it is not in use, by adding this to
14488 LocalSettings.php:
14489
14490 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
14491
14492 Not vulnerable versions:
14493 * 1.11 >= 1.11.0
14494 * 1.10 >= 1.10.2
14495 * 1.9 >= 1.9.4
14496 * 1.8 >= 1.8.5
14497
14498 Vulnerable versions:
14499 * 1.11 <= 1.11.0rc1
14500 * 1.10 <= 1.10.1
14501 * 1.9 <= 1.9.3
14502 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
14503
14504 MediaWiki 1.7 and below are not affected as they do not include the faulty
14505 function, however the BotQuery extension is similarly vulnerable unless updated
14506 to the latest SVN version.
14507
14508 == MediaWiki 1.9.3 ==
14509
14510 February 20, 2007
14511
14512 This is a security and bug-fix update to the Winter 2007 quarterly release.
14513 Minor compatibility fixes for IIS and PostgreSQL are included.
14514
14515 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
14516 charset autodetection was located in the AJAX support module, affecting MSIE
14517 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
14518
14519 If you are using an extension based on the optional Ajax module, either disable
14520 it or upgrade to a version containing the fix:
14521
14522 * 1.9: fixed in 1.9.3
14523 * 1.8: fixed in 1.8.4
14524 * 1.7: fixed in 1.7.3
14525 * 1.6: fixed in 1.6.10
14526
14527 There is no known danger in the default configuration, with ''$wgUseAjax'' off.
14528
14529 * ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history
14530 * ([[mediazilla:8984|8984]]) Fix a database error in
14531 Special:Recentchangeslinked when using the PostgreSQL database.
14532 * Add ''charset'' to Content-Type headers on various HTTP error responses to
14533 forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html''
14534 by default when the script didn't specify more details, which some
14535 inconsiderate browsers consider a license to autodetect the deadly,
14536 hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message
14537 on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7
14538 variant on a previously fixed attack vector was discovered by Moshe BA from
14539 BugSec: [http://www.bugsec.com/articles.php?Security=24
14540 http://www.bugsec.com/articles.php?Security=24]
14541 * Trackback responses now specify XML content type
14542
14543 == MediaWiki 1.9.2 ==
14544
14545 February 4, 2007
14546
14547 This is a bug-fix update that fixes some installation and other minor issues
14548 with the 1.9.1 release as well as a security issue which was introduced in the
14549 1.9 branch.
14550
14551 JavaScript code which regenerated the "sortable tables" feature did not
14552 properly sanitize input, leading to an HTML injection vulnerability.
14553
14554 * ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs
14555 * ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies
14556 * ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text
14557 compression affecting pages which had null edits (move, protect, etc) as second
14558 edit in a batch group. Isolated and patched by Travis Derouin.
14559 * Security fix for sortable tables JavaScript
14560
14561 == MediaWiki 1.9.1 ==
14562
14563 January 24, 2007
14564
14565 This is a bug-fix update that fixes some installation and upgrade issues with
14566 the original 1.9.0 release.
14567
14568 * ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when
14569 REQUEST_URI is not available, as on IIS with PHP-CGI
14570 * Security fix for DjVu images. (Only affects servers where .djvu file uploads
14571 are enabled and ''$wgDjvuToXML'' is set.)
14572 * ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier
14573 * ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates
14574 from <=1.7
14575 * ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header
14576 * Fix API revision list on PHP 5.2.1; bad reference assignment
14577 * Fixed up the AjaxSearch
14578 * Exclude settings files when generating documentation. That could expose the
14579 database user and password to remote users.
14580 * ar: fix the 'create a new page' on search page when no exact match found
14581 * Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-,
14582 not Ctrl-).
14583 * ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for
14584 Firefox 2 on x11; accesskeys default settings appear to be same as Windows.
14585
14586 == Changes since 1.8 ==
14587
14588 * (bug 8200) Make category lists sorted by name when using Postgres.
14589 * (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist
14590 adding problem.
14591 * (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function,
14592 because it seems to be unused.
14593 * (bug 7139) Increasing the visual width of the edit summary field on larger
14594 screen sizes, for the default monobook skin.
14595 * Fix PHP notice and estimates for dumpBackup.php and friends
14596 * Improved register_globals paranoia checks
14597 * (bug 7545) Fix PHP version check on install
14598 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails
14599 is set. Backtraces may contain sensitive information in function call
14600 parameters.
14601 * (bug 6164) Avoid smashing Cite state if message transformation triggers
14602 during bad image list check, by skipping message transformation.
14603 This isn't a good permanent fix.
14604 * (bug 6918) Stopped borders and backgrounds from showing through floated
14605 tables in Monobook
14606 * (bug 6868) Un-hardcode section edit link style
14607 * (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
14608 * Added global $wgStyleVersion to centralize bumping CSS and JS file versions
14609 for cache-friendly style and script updating
14610 * (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
14611 * Friendlier check for PHP 5 in command-line scripts; it's common for parallel
14612 PHP 4 and 5 installations to interfere on the command-line.
14613 * Fix regression in autoconfirm permission check
14614 * (bug 3015) Add CSS ids to subcategory and page sections on category pages
14615 * (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
14616 * (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
14617 * (bug 7581) Update language name for cbk-zam
14618 * (bug 7444) Update namespace translations for Telugu (te), kept old values as
14619 alias for compatibility
14620 * (bug 4525) Move section links down visually to same level as headings
14621 (editsection links are now inside the heading elements)
14622 * Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence
14623 URLs of the style /index.php/Main_Page were broken on some CGI installations.
14624 * (bug 7623) Validate custom HTML id's correctly in Monobook interface
14625 * (bug 2241) Fix collision of 'w' and 'd' accesskeys
14626 * (bug 5795) CSS class added to body based on page name for page-specific
14627 styling
14628 * (bug 6276) Stopped search field from getting too large in Cologne Blue
14629 * (bug 7644) User creations that are aborted by hooks shouldn't be counted
14630 against account creations per day limit
14631 * (bug 7636) Show Firefox 2 users correct accesskey prefix
14632 * (bug 6427) Block blocked IPs from using the mail password function
14633 to allow blocking of flooders
14634 * Include common.css from classic-style skins in main HTML with the bump URL
14635 * (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for
14636 linktrail
14637 * (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php.
14638 This key is need for languages with variants (zh, sr, kk)
14639 * (bug 7606) MediaWiki messages for "rss" and "atom" missing
14640 * (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty
14641 strings to allow better localisation via Special:Allmessages. Mark this new
14642 messages as optional for localisation.
14643 * Fix user_newpass upgrade for prefixed tables (reported by Fyren)
14644 * (bug 7663) Include language variant switcher links on Nostalgia skin
14645 * (bug 6531) Fix PHP fatal error on installation page with bad username input.
14646 * (bug 6977) Remove 404 link for autogenerated database documentation.
14647 * (bug 7369) Allow "Show Changes" without requiring edit token.
14648 * (bug 7687) Fix movetalk box checks itself when confirming a delete and move.
14649 * (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox
14650 * (bug 7686) Include id attribute on delete form confirmation button
14651 * Allow compound interwiki prefixes in $wgImportSources
14652 * (bug 7304) Added redirect table to store redirect targets.
14653 * Added querycachetwo table (similar to querycache but has two titles)
14654 * PageArchive can now return a Revision object for more convenient processing
14655 of deleted revision data
14656 * Added 'UndeleteShowRevision' hook in Special:Undelete
14657 * Error message on attempt to view invalid or missing deleted revisions
14658 * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
14659 * (bug 3224) Allow minor edits by bots to skip new message notification on
14660 user talk pages. This can be disabled by adjusting the 'nominornewtalk'
14661 permission. Patch by Werdna.
14662 * (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays
14663 * Fix purging for updated SVG files
14664 * (bug 7745) Add id attribute to search button in Monobook
14665 * (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast...
14666 * (bug 7304) Added code in Article.php to keep redirect table up to date.
14667 * Made special page names case-insensitive and localisable. Care has been taken
14668 to maintain backwards compatibility.
14669 * Used special page subpages in a few more places, instead of query parameters.
14670 * (bug 7758) Added wrapper span to "templates used" explanation to allow CSS
14671 styling (class="mw-templatesUsedExplanation").
14672 * Added {{#special:}} parser function, to give the local default title for
14673 special pages
14674 * (bug 7766) Remove redundant / from AJAX requests, can break some servers
14675 * Add tab links from extensions to classic-based skins (SkinTemplateTab hook)
14676 Provides better cross-skin compatibility for extensions using the modern
14677 skin hooks, such as Oversight
14678 * Moved variant language links on Cologne Blue and Nostalgia to before the
14679 login/logout link
14680 * Fix for parser tests with MySQL 5 in strict mode
14681 * Added block option "enable autoblocks"
14682 * Amend Special:Ipblocklist to note when a block has autoblock DISABLED.
14683 * (bug 7780) Fix regression in editing redirects
14684 * Add whitespace above "templates included on this page" using CSS, not
14685 hardcoded line break.
14686 * Remove entries from redirect table on article deletion
14687 * (bug 7788) Force section headers in new section links for users who have
14688 'prompt for blank edit summaries' on.
14689 * (bug 1133) Special:Emailuser: add an option to send yourself a copy of your
14690 mail.
14691 * (bug 461) Allow "Categories:" link at bottom of pages to be customized via
14692 pagecategorieslink message.
14693 * Sort the list of skins in "My Preferences" -> Skins by alphabetical order.
14694 * (bug 7785) Postgres compatibility for timestamps in RC feeds
14695 * (bug 7550) Normalize user parameter normally on Special:Log
14696 * (bug 7294) Fix PATH search for diff3 on install
14697 * Various fixes related to the blocking change re: autoblocks. On inserting
14698 an IP block, the ipb_enable_autoblock field is now automagically blanked,
14699 because it doesn't make any sense for an IP. Additionally, IP blocks
14700 without the ipb_enable_autoblock option no longer show up as "autoblock
14701 disabled" on Special:Ipblocklist.
14702 * (bug 7774) MATH: aded more amstex functions
14703 * (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in
14704 TeX
14705 * Fix regression in streaming page dump generation
14706 * (bug 7801) Add support for parser function hooks in parser tests
14707 * checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
14708 * (bug 7810) Update talk namespaces for Occitan
14709 * Allow case-sensitive URLs to be used for uploading from URLs.
14710 * (bug 1109) Correct fix for compressed 304 responses when additional output
14711 buffers have been installed within the compression handler
14712 * (bug 7819) Move automatic redirect edit summary after pre-save transform
14713 to work properly with subst: fun
14714 * (bug 7826) Fix typos in two English messages.
14715 * (bug 5365) Stop users being prompted to enter an edit summary for null edits,
14716 if they have selected that option in preferences.
14717 * (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor
14718 edits.
14719 * (bug 7820) Improve error reporting for uploads via URL.
14720 * (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to
14721 the most recently used IP of a user when they are blocked.
14722 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This
14723 will make CheckUser.php and the new retroactive autoblock functionality
14724 faster.
14725 * Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
14726 with compression or legacy encoding
14727 * (bug 6737) Fixes for MySQL 5 schema in strict mode
14728 * Approximate height for client-side scaling fallback instead of passing -1
14729 into the HTML output.
14730 * Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl
14731 * Add experimental recording/reporting mode to parser tests runner, to
14732 compare changes against the previous run.
14733 Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql,
14734 source this and pass --record option to parserTests.php
14735 * Make the set of default parser test input files extensible via
14736 $wgParserTestFiles. This can now be appended to by extensions or local
14737 configuration files so that extension or custom tests can be automatically
14738 run along with the main batch.
14739 * Run PHP install version checks on update.php so command-line updaters see
14740 new version requirements
14741 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
14742 as of MW 1.8 than it used to be. Install or upgrade now aborts with a
14743 warning and a request to upgrade.
14744 * (bug 6440) Updated indexes to improve backlinking queries (links, templates,
14745 images)
14746 * Switched 'anon-only' block mode to default for IP blocks
14747 * (bug 3687, 7892) Add distinct heading for media files in category display,
14748 with count.
14749 * (bug 1578) Add different icons for external links to audio, video, or PDF in
14750 Monobook.
14751 * Made autoblocks block account creation if the user block has that option
14752 enabled.
14753 * Add auto-summaries to blankings and large removals without summaries.
14754 * (bug 7811) Allow preview of edit summaries.
14755 * (bug 6839) Wikibits.js minor changes to make JS-lint happier.
14756 * (bug 7932) Make sure that edit toolbar clears floats so it appears correctly.
14757 * (bug 6873) When viewing old revisions, add link to diff to current version.
14758 * (bug 3315) Provide rollback link directly on history page.
14759 * Replace 'old-revision-navigation' message with 'revision-info' and
14760 'revision-nav' messages, wrapped in divs with appropriate id's.
14761 * (bug 4178) MediaWiki:Common.js will now be included for all users if
14762 $wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js
14763 and user JS subpages.
14764 * (bug 7918) "Templates used on this page" changes during preview to reflect
14765 any added or removed templates, and works as expected for section edits.
14766 * (bug 7919) "Templates used on this page" is now shown for read-only pages.
14767 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
14768 on current page instead of loading the latest version.
14769 * (bug 7970) Use current connection explicitly on Database::getServerVersion
14770 * (bug 2001) Tables with class="sortable" can now be dynamically sorted via
14771 JavaScript.
14772 * Added autosummary for new pages with 500 or less characters, and refactor
14773 the autosummary code so it's all done in one function. doEdit is getting too
14774 big!
14775 * (bug 7554) The correct MIME type for SVG images is now displayed on the
14776 image page (image/svg+xml, not image/svg).
14777 * (bug 7883) Added autoblock whitelisting feature, using which specific ranges
14778 can be protected from autoblocking. These ranges are specified, in list
14779 format, in the autoblock_whitelist system message.
14780 * Added placeholders for text injection by hooks to EditPage.php
14781 * (bug 8009) Automatic edit summary for redirects is not filled for edits in
14782 existing pages
14783 * Installer support for experimental MySQL 4.1/5.0 binary-safe schema
14784 * Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like
14785 behavior when keys already exist on add (instead of dying with an error...)
14786 * Add a hook 'UploadForm:initial' before the upload form is generated, and two
14787 member variable for text injection into the form, which can be filled by the
14788 hooks.
14789 * (bug 6295) Add a "revision patching" functionality, where an edit can be
14790 undone
14791 (with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3).
14792 This is triggered by including &undo=revid in an edit URL. A link to a URL
14793 that will undo a given edit is shown on NEW revision headers on diff pages.
14794 The link leads to a "Show Changes" page showing what will be done to undo the
14795 edit.
14796 * Fix display of link in "already rolled back" message for image/category pages
14797 * (bug 6016) Left-aligned images should stack vertically, like right-aligned
14798 images, not horizontally.
14799 * Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
14800 * Add AuthPluginSetup hook to override $wgAuth after configuration
14801 * Fix regression in authentication hook auto-creation on login
14802 * (bug 8110) Allow spaces in ISBNs
14803 * (bug 8024) Introduce "send me copies of emails I send to others" preference
14804 * Added 'EditPage::attemptSave' hook before an article is saved.
14805 * (bug 8083) Applied patch for sk localisation
14806 * Add a backslash character to the edit token, to prevent edits via certain
14807 broken proxies that mangle such characters in form submissions
14808 * (bug 7461) Allow overwriting pages using importTextFile.php
14809 * (bug 7946) importTextFile.php doesn't perform pre-save transform
14810 * (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
14811 now uses current time for previews and if timestamp can't be loaded from DB
14812 * {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
14813 to ensure consistent behavior
14814 * {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
14815 * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment
14816 * Added js variable wgCurRevisionId to the output
14817 * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht
14818 * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
14819 instead of hardcoding to 1000
14820 * Enable QueryPage classes to override list formatting
14821 * (bug 5485) Show number of intervening revisions in diff view
14822 * (bug 8100) Fix XHTML validity in Taiwanese localization
14823 * Added redirect to section feature. Use it wisely.
14824 * Added a configuration variable allowing the "break out of framesets" feature
14825 to be switched on and off ($wgBreakFrames). Off by default.
14826 * Allow Xml::check() $attribs parameter to override 'value' attribute
14827 * DB schema change: added two columns (rc_old_len and rc_new_len) to the
14828 recentchanges table to store the text lengths before and after the edit
14829 * (bug 1085) Made Special:Recentchanges show the character difference between
14830 the changed revisions
14831 * Removed a redundant <strong> tag from diff pages that was causing display
14832 issues for some users
14833 * (bug 8203) The keyboard shortcut for "log out" was removed, because users
14834 were pressing it when they intended to press the shortcut for "preview".
14835 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
14836 buffers for HTTP 304 responses, StreamFile, and Special:Export.
14837 Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
14838 * Special:AllPages : 'next page' link now point to the first title of the next
14839 chunk instead of pointing to the last title of current chunk.
14840 * (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage')
14841 * (bug 8121) wfRandom() was not between 0 and 1
14842 * Add static method Parser::createAssocArgs($args), so parser functions can
14843 use the same code to parse arguments as the templates do.
14844 * Change behavior of logins using the temporary e-mailed password (as stored
14845 in user_newpassword hash field). Instead of just logging in silently and
14846 leaving the previous user_password field in place indefinitely, the user
14847 is now prompted to set a new password.
14848
14849 The password-changing form is at Special:Resetpass; currently it's only
14850 usable for changing from the temporary password during login, but it
14851 could perhaps be generalized, replacing the subform in preferences.
14852
14853 Once the new password is set successfully, the temporary password is wiped
14854 so it cannot be used to login a second time, and the login process
14855 is completed.
14856 * Suppress 'mail new password' button on login form if $wgAuth forbids
14857 changing user passwords; it wouldn't work very well...
14858 * Consolidate password length checks and $wgAuth manipulation into
14859 User::setPassword() to avoid duplicate code in different places
14860 that set passwords.
14861 * User::setPassword() now throws PasswordError exceptions if the password
14862 is illegal or cannot be set via $wgAuth. These can be caught and a human-
14863 readable error message displayed by UI code.
14864 * Added Title::isSubpage()
14865 * (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages
14866 * Set an explicit class on framed thumbnail inner divs and images, changed some
14867 CSS to use these instead of using descendent selectors.
14868 * Accept null parameter to User::setPassword() as indicating the password
14869 field should be cleared to an unusable state. Login will only be possible
14870 after the password is reset, for instance by e-mail.
14871 * (bug 6394) Invalidate the password set for "by e-mail" account creations
14872 to avoid accidental empty password creations.
14873 * Made the show change size function work on page moves, page creations, and
14874 log entries. Also fixed it in the javascript recentchanges.
14875 * (bug 8239) correctly get 50 new contributions when clicking '(50 next)'
14876 * (bug 2259) Fix old regression where e-mail addresses were no longer
14877 confirmed on login with mailed password.
14878 * Add a notification about the confirmation mail sent during account
14879 creation, so people don't immediately go off to request a second one.
14880 * Add a warning on Special:Confirmemail if a code was already sent and has
14881 not yet expired.
14882 * Add user_editcount field to provide data for heuristics on account use.
14883 Incremented on edit, with lazy initialization from past revision data.
14884 Can batch-initialize with maintenance/initEditCount.php (not yet friendly
14885 to replication environments, this will do all accounts in one query).
14886 * Allow raw SQL subsections in Database::update() SET portion as well as
14887 for WHERE portion. Handy for increments and such.
14888 * User::getOption now accept a default value to override default user values
14889 this makes it consistent with WebRequest::get* methods. Corrected code in
14890 various places accordingly.
14891 * (bug 8264) Fix JavaScript global vars for XHTML mode
14892 * Make $wgSiteNotice value wikitext again, for consistency with editable
14893 MediaWiki:Sitenotice and MediaWiki:Anonnotice.
14894 * (bug 8044) When redirecting from the canonical name of the special page
14895 to the localised one, parameters/subpages are omitted
14896 * (bug 8164) Special:Booksources should use GET for form submission
14897 * Rewrite Special:Booksources to clean up interface and remove redundant code
14898 * (bug 7925) Change Special:Allmessages message name filter javascript to be
14899 a bit more responsive and easier on the CPU
14900 * (bug 4488) Support watching pages on deletion; introduces new user preference
14901 * Minor restructuring of Special:Preferences; "watch pages I edit" and "watch
14902 pages I create" options now accessible under "Watchlist" options
14903 * (bug 8153) <nowiki> doesn't work in site notice
14904 * (bug 6690) wfMsgNoTrans() transforms messages
14905 * (bug 8274) Wrap edit tools in a <div> with a specified class
14906 * Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
14907 mysteriously otherwise (detection code copied from install-utils.inc)
14908 * (bug 8295) Change handling of <center> tags in doBlockLevels() to match that
14909 of <div>
14910 * (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
14911 (plus optional ISBN-13 prefix) with no immediately following alphanumeric
14912 character, disallow multiple consecutive internal redirects
14913 * (bug 2785) Accept optional colon prefix in links when formatting comments
14914 * Don't show "you can view and copy the source of this page" message for
14915 pages which don't exist
14916 * (bug 8310) Blank line added to top of 'post' when page is blank
14917 * (bug 8109) Template parameters ignored in "recentchangestext"
14918 * Gracefully skip redirect-to-fragment on WebKit versions less than 420;
14919 it messes up on current versions of Safari but is ok in the latest
14920 nightlies. Checking the version number will allow it to automatically
14921 work when new releases of Safari appear.
14922 * Fix regression in thumb styles; size and padding didn't match with
14923 new arrangement.
14924 * (bug 8333) Fix quick user data update on login password change on
14925 replication database setups. User data is now pulled from master
14926 instead of slave in User::loadFromDatabase, ensuring that it is
14927 fresh and accurate when read and then saved back into cache.
14928 This was breaking with the Special:Rename operation which
14929 automatically logs the user in with the new password after changing
14930 it; pulling from slave meant the record was often not the updated
14931 one.
14932 * (bug 8335) Set image width to the first valid parameter found.
14933 * (bug 8350) Fix watchlist viewing bug when using Postgres.
14934 * (bug 6603) When warning about invalid file extensions, output the bit
14935 of the extension we actually checked
14936 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
14937 with MySQL's strict mode, often enabled by the Windows installer.
14938 The defaults are ignored anyway when strict mode is off...
14939 * (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
14940 for better compatibility with MySQL's strict mode
14941 * Update default interwiki values to reflect changed location of ursine:
14942 * (bug 5411) Remove autopatrol preference
14943 * Users who have the "autopatrol" permission will have their edits marked as
14944 patrolled automatically
14945 * Users who do not have the "autopatrol" permission will no longer be able
14946 to mark their own edits as patrolled
14947 * Introduce 'PingLimiter' hook; see docs/hooks.txt for more information
14948 * (bug 532) Tweaked alt text for some interface messages
14949 * (bug 8231) Gave useful alt text to the main <img> on image pages
14950 * (bug 371) Remove alt text for "Enlarge" icon on thumbnails
14951 * Initialize user_editcount to 0 instead of NULL for newly created accounts
14952 * (bug 3696) Strip LRM and RLM characters from titles to work around the
14953 problem some people have where titles cut-and-pasted from lists include
14954 the bidi override characters appended to the lists.
14955 A more thorough blacklist for forbidden and translatable characters would
14956 be wise, though, as might a cleaner method for the lists in the first place.
14957 * Fix regression in email password resets on read-restricted sites
14958 * Set tabindex on fields in deletion form so you don't have to tab through
14959 the links in the sitenotice
14960 * (bug 8271) Show full time and date on viewer for individual deleted
14961 revisions
14962 * (bug 8214) Output file size limit and actual file size in appropriate units
14963 on Special:Upload
14964 * (bug 8016) Purge objectcache table during upgrade processes - use the
14965 --nopurge option to prevent this when running maintenance/update.php
14966 * (bug 7612) Remove superfluous link to Special:Categories from result items
14967 on Special:Mostcategories
14968 * {{PLURAL:}} now handles formatted numbers correctly
14969 * (bug 8331) Added the change size value to watchlists; therefore made
14970 watchlists use RecentChange::newFromRow() instead of newFromCurRow()
14971 * (bug 8351) Fix undo for simple reverts
14972 * (bug 6856) User::clearNotification() does not respect read-only mode
14973 * (bug 6853) Use a checkbox on the installer form to indicate that a superuser
14974 account should be used; this is clearer than the old check which relied on
14975 the password never being an obscure value
14976 * Remove old unused watchlist cache, which was a leftover from the old schema
14977 where watchlists were more expensive to generate
14978 * Minor cosmetic changes to Special:Userrights
14979 * Added wgCanonicalSpecialPageName to JavaScript variables
14980 * Fix image deleting when using Postgres.
14981 * Output both source and destination titles in maintenance/moveBatch.php
14982 * Added basic parser tests for language variants
14983 * Enable selflinks and categories to be written in some of the language variants
14984 * Prevent conversion of JavaScript code in language variants
14985 * Output software version number in maintenance/parserTests.php
14986 * (bug 7169) Use Ajax to watch/unwatch articles if enabled
14987 * Make variant table caching a little more robust, using main language code
14988 in cache key. Probably this is still a bit wonky, though. Was breaking
14989 parser tests when Chinese tables were getting loaded into Serbian code.
14990 * (bug 8380) Be nicer about blank lines in deleteBatch.php
14991 * (bug 8401) Fix regression in SORBS lookup for some DNS setups
14992 * Use raw file descriptor in posix_isatty() check to avoid warning on
14993 Linux systems with at least some versions of PHP
14994 * (bug 5908) Allow overriding the default category sort key for all items on
14995 a page using {{DEFAULTSORT}}
14996 * (bug 6449) Throw a more definitive error message when installation fails
14997 due to an invalid database name
14998 * (bug 5827) Use full text for option link labels on Special:Watchlist
14999 * (bug 8018) Allow hiding minor edits from the watchlist
15000 * (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation
15001 section is renamed; no longer relies on first section name
15002 * Stabilize client-side table sorting even if the underlying Javascript sort()
15003 implementation is unstable
15004 * Add hook for extensions to add user information to the panel in preferences,
15005 next to the user name and ID.
15006 * (bug 8392) Display protection status of transcluded pages in the edit page
15007 template list. Patch by Fyren, with i18n naming tweak.
15008 * Fix for interwiki transclusion where target wiki uses query string for title
15009 * Resolve namespaces on interwiki Title objects using canonical namespace names
15010 if possible (should not happen, though, outside interwiki transclusion... and
15011 maybe not even then, but it does)
15012 * (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq
15013 * Do not allow previews of deleted images to be cached
15014 * Add global variable $wgDefaultLanguageVariant used to set the default language
15015 variant of a wiki to something different than the main language code
15016 * Add 'variant' option to parserTests - runs test with the given variant as
15017 preferred, utilize it for more parser tests of language variants code
15018 * (bug 6503) Fix bug that stopped certain irrelevant links from being hidden
15019 for printing
15020 * Avoid PHP warning in Creative Commons metadata when a creative commons
15021 license is not actually set up
15022 * (bug 8463) Don't print external link icons for Monobook
15023 * (bug 8461) Support watching pages on move
15024 * (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
15025 loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
15026 * Reduce config file clutter by setting various script and upload paths
15027 based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
15028 overridden in LocalSettings.php if desired...
15029 * Attempt to detect redirect loops for the canonical title redirect, and
15030 give some hints to the poor confused administrator.
15031 * Introduce new flag 'R' - raw output for language variant escape tags
15032 * Advise users when updates for a query page have been disabled using
15033 $wgDisableQueryPageUpdate
15034 * (bug 8413) Improve comments for $wgNamespaceRobotPolicies
15035 * (bug 8330) Show "bytes" suffix on recent changes diff counter
15036 optionally... if set in rc-changes-size message (default empty for now)
15037 * (bug 8489) Support basic links in <gallery> caption attribute
15038 * (bug 8485) Correct Lingala number formatting
15039 * The MediaWiki namespace is no longer pre-filled with default messages on
15040 install. All default messages will be removed from the MediaWiki namespace
15041 on upgrade.
15042 * Recentchanges RSS/Atom feeds now use a separate message for the description
15043 to avoid cluttering it with useless wiki formatting
15044 * (bug 8417) Handle EXIF unknown dates
15045 * (bug 8372) Return nothing on empty <math> tags.
15046 * New maintenance script to show the cached statistics : showStats.php.
15047 * Count deleted edits when regenerating total edits in maintenance/initStats.php
15048 * (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt
15049 permission key has been added to enable this behavior, by default assigned to
15050 sysops.
15051 * (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
15052 * (bug 7667) allow XHTML namespaces customization
15053 * (bug 8531) Correct local name of Lingála (patch by Raymond)
15054 * Fix regression with default lock file and cache directories; threw visible
15055 warning with open_basedir
15056
15057
15058 == 1.8 Compatibility changes ==
15059
15060 === Zend Optimizer ===
15061
15062 A bug in some versions of PHP 5 and Zend Optimizer which was triggered under
15063 MediaWiki 1.8.x has been worked around by disabling some internal debugging
15064 features when Zend Optimizer is loaded. This should solve some common
15065 "blank page" problems.
15066
15067 === PHP 5.0 64-bit ===
15068
15069 MediaWiki now checks for a condition where PHP 5.0.x corrupts array data
15070 on 64-bit systems and warns you to upgrade PHP to solve the problem. This
15071 bug causes Special: pages to fail on affected systems under MediaWiki 1.8
15072 and higher, and subtler data corruption on earlier versions.
15073
15074 The only known workaround is to upgrade PHP to 5.1 or later, which you
15075 probably should do anyway for security reasons!
15076
15077 === MySQL 5 ===
15078
15079 MediaWiki should now install and run correctly on MySQL 5.0 and higher when
15080 MySQL's "strict mode" is enabled. (This is now the default for many Windows
15081 installations, though it seems to remain off by default on Unix.)
15082
15083 This fixes errors about "cannot default default value for BLOB/TEXT fields".
15084
15085 === ImageMagick ===
15086
15087 Note that ImageMagick older than 6.x may no longer work for image resizing
15088 due to use of the -thumbnail option.
15089
15090
15091 == 1.8 Behavior changes ==
15092
15093 === Localized special pages ===
15094
15095 The names of Special: pages can now be localized, so links and URLs to them
15096 are more legible in languages that aren't English.
15097
15098 Not all languages have included localized names yet.
15099
15100 === E-mail password ===
15101
15102 Users are now required to set a new password for themselves when they first
15103 log in with a newly generated e-mailed password.
15104
15105 Requesting passwords frequently is prevented to reduce abusive mailbombing.
15106
15107 === Undo revision ===
15108
15109 An "undo" link now appears in diff view for easier reverting of older edits.
15110 When GNU diff3 is available for edit conflict merging, this can make it much
15111 easier to "undo" the changes of an older edit when there are surrounding
15112 changes elsewhere in the page.
15113
15114 The changes must be manually reviewed and approved, as with conventional
15115 full-revision reverts.
15116
15117 === Blocking ===
15118
15119 User blocks can be set to disable the automatic blocking of IP addresses the
15120 account logs in with.
15121
15122
15123 == 1.8 Database changes ==
15124
15125 * new 'redirect' table stores data on page redirects
15126 * new 'querycachetwo' table used for some cached special pages
15127 * 'ipblocks' table adds 'ipb_enable_autoblock'
15128 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
15129 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
15130 * some indexes have been updated on 'recentchanges'
15131
15132 == 1.8 Configuration changes ==
15133
15134 Several configuration options have changed since 1.8:
15135
15136 === $wgEnableAPI ===
15137
15138 The experimental machine API interface is now enabled by default, read-only.
15139 You can disable it by setting $wgEnableAPI = false; in LocalSettings.php.
15140
15141 === $wgPathInfo ===
15142
15143 The use of PATH_INFO (the text after the script name in 'index.php/Blah')
15144 is controlled by the $wgUsePathInfo setting. This is now explicitly disabled
15145 for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency
15146 with the autodetection from the installer.
15147
15148 In some rarer configurations you may have to switch $wgUsePathInfo from false
15149 to true or, perhaps, from true to false to make things work properly if bad
15150 PATH_INFO data comes through the server.
15151
15152 The wiki now tries to detect this condition and should show you an error
15153 message describing what to change instead of sending the browser into an
15154 infinite redirect loop.
15155
15156 === $wgScript and other path settings ===
15157
15158 The following configuration variables are now automatically set in Setup.php
15159 if they are not overridden in LocalSettings.php:
15160
15161 from $wgScriptPath:
15162 + $wgScript
15163 | \- $wgArticlePath
15164 + $wgRedirectScript
15165 + $wgStylePath
15166 + $wgUploadPath
15167 \- $wgLogo
15168 + $wgMathPath
15169
15170 from $IP:
15171 - $wgStyleDirectory
15172 + $wgUploadDirectory
15173 \- $wgMathDirectory
15174 + $wgTmpDirectory
15175
15176 Newly generated configuration files will by default include only $wgScriptPath
15177 (hardcoded from the installer) and $IP (detected at runtime).
15178
15179 Old configuration files which specify all these values explicitly should
15180 continue to work just fine, but if you use the defaults you can remove them
15181 to reduce clutter.
15182
15183 === $wgGroupPermissions ===
15184
15185 The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by
15186 default.
15187
15188 "autopatrol" replaces the preference for marking ones own edits patrolled
15189 by default; users holding this permission will automatically have their
15190 edits patrolled, while others cannot mark their own edits as patrolled
15191 even if they have patrolling rights.
15192
15193 "ipblock-exempt" excludes the user from IP blocks; accounts which are blocked
15194 explicitly by name will still be blocked, however. This is given to sysops
15195 to minimize annoyance from accidental "collateral damage"; remember that a
15196 sysop will be able to lift the block if they desire.
15197
15198 The bot group now holds the "nominornewtalk" right. A user with this right
15199 will not trigger new message notifications when making minor edits to user
15200 talk pages. This is meant to minimize annoyance from maintenance bot
15201 processes.
15202
15203 === $wgUseWatchlistCache ===
15204
15205 Watchlist caching has been removed. The feature was not maintained, and has
15206 been unnecessary since switching to the 'recentchanges' database table
15207 reduced server pressure for Wikipedia's watchlists.
15208
15209 === $wgBreakFrames ===
15210
15211 MediaWiki in the past attempted to detect when it was embedded in a frameset
15212 and "break out" of it, assuming it to be hostile.
15213
15214 This behavior is now disabled by default, but can be reenabled by setting
15215 $wgBreakFrames to true in LocalSettings.php.
15216
15217
15218 == 1.8 New settings ==
15219
15220 === $wgVariantArticlePath ===
15221
15222 For languages with script variant support (Chinese, Serbian, and others),
15223 it's possible to use alternate URL paths to select the variant for article
15224 display, setting $wgVariantArticlePath.
15225
15226 Documentation for this setting would be useful.
15227
15228 === $wgMaxMsgCacheEntrySize ===
15229
15230 The message cache can now skip items larger than a given size; this allows
15231 it to better handle the primary caching case when large CSS and JS blobs are
15232 present.
15233
15234 === $wgStyleVersion ===
15235
15236 When making significant changes to skin stylesheets and JavaScript files,
15237 you can append a string to this variable to tweak the generated URLs,
15238 forcing newly rendered pages to bring in a fresh version despite server-
15239 or browser-side caching.
15240
15241 Normally this will be set in the course of MediaWiki development, but
15242 if doing development on a custom skin you may wish to poke it as well.
15243
15244 === $wgRCShowChangedSize ===
15245
15246 Special:Recentchanges and Special:Watchlist now show the number of bytes
15247 added or removed to an article to give an idea of the size of the edit.
15248 This information was previously available only in the IRC update feeds.
15249
15250 To disable this site-wide, set $wgRCShowChangedSize to false.
15251 (Individual users can suppress the data in custom CSS.)
15252
15253 Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly
15254 large changes.
15255
15256 The formatting of the size figure can be adjusted through the
15257 [[MediaWiki:Rc-change-size]] message.
15258
15259 === $wgQueryCacheLimit ===
15260
15261 The number of rows stored for "expensive" special pages in miser mode
15262 can now be adjusted up or down from the default 1000.
15263
15264 === $wgDisableQueryPageUpdate ===
15265
15266 Individual "expensive" special pages can be skipped in processing by
15267 updateSpecialPages if added to this list.
15268
15269 === $wgSorbsUrl ===
15270
15271 The base hostname for the DNS-based proxy blacklist can now be overridden
15272 when $wgEnableSorbs is set, to use a different blacklist instead of SORBS.
15273 The blacklist would need to respond the same was as SORBS; any positive
15274 response will be taken as a proxy.
15275
15276 === $wgAjaxWatch ===
15277
15278 Experimental AJAX mode for the watch/unwatch tabs to execute inline.
15279 Does not include the UI messages describing how to reach the watchlist,
15280 so you may not want it on a general-audience site just yet.
15281
15282 === $wgParserTestFiles ===
15283
15284 MediaWiki's parser test suite can now be expanded with additional test
15285 files. Custom extensions can add their test files to this array, and
15286 they will be run along with the main tests by maintenance/parserTests.php
15287
15288 = MediaWiki 1.8=
15289
15290 == MediaWiki 1.8.5 ==
15291
15292 September 10, 2007
15293
15294 This is a security fix update to the Fall 2006 quarterly release snapshot. A
15295 possible HTML/XSS injection vector in the API pretty-printing mode has been
15296 found and fixed.
15297
15298 The vulnerability may be worked around in an unfixed version by simply
15299 disabling the API interface if it is not in use, by adding this to
15300 LocalSettings.php:
15301
15302 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
15303
15304 (This is the default setting in 1.8.x.)
15305
15306 Not vulnerable versions:
15307 * 1.11 >= 1.11.0
15308 * 1.10 >= 1.10.2
15309 * 1.9 >= 1.9.4
15310 * 1.8 >= 1.8.5
15311
15312 Vulnerable versions:
15313 * 1.11 <= 1.11.0rc1
15314 * 1.10 <= 1.10.1
15315 * 1.9 <= 1.9.3
15316 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
15317
15318 MediaWiki 1.7 and below are not affected as they do not include the faulty
15319 function, however the BotQuery extension is similarly vulnerable unless updated
15320 to the latest SVN version.
15321
15322 == MediaWiki 1.8.4 ==
15323
15324 February 20, 2007
15325
15326 This is a security and bug-fix update to the Fall 2006 quarterly release.
15327
15328 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
15329 charset autodetection was located in the AJAX support module, affecting MSIE
15330 users on MediaWiki 1.6.x and up when the optional setting
15331 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
15332
15333 If you are using an extension based on the optional Ajax module, either disable
15334 it or upgrade to a version containing the fix:
15335 * 1.9: fixed in 1.9.3
15336 * 1.8: fixed in 1.8.4
15337 * 1.7: fixed in 1.7.3
15338 * 1.6: fixed in 1.6.10
15339
15340 There is no known danger in the default configuration, with $wgUseAjax off.
15341
15342 * (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies
15343 * Add 'charset' to Content-Type headers on various HTTP error responses to
15344 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
15345 default when the script didn't specify more details, which some inconsiderate
15346 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
15347 This fixes an issue with the Ajax interface error message on MSIE when
15348 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
15349 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
15350 from BugSec: http://www.bugsec.com/articles.php?Security=24
15351 * Trackback responses now specify XML content type
15352
15353 == MediaWiki 1.8.3 ==
15354
15355 January 9, 2007
15356
15357 MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release:
15358
15359 * ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook
15360 * Run PHP install version checks on update.php so command-line updaters see new
15361 version requirements
15362 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
15363 as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning
15364 and a request to upgrade.
15365 * XSS fix in AJAX module
15366
15367 An XSS injection vulnerability was located in the AJAX support module,
15368 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
15369 enabled.
15370
15371 There is no danger in the default configuration, with $wgUseAjax off.
15372
15373 If you are using an extension based on the optional AJAX module, either disable
15374 it or upgrade to a version containing the fix:
15375
15376 == MediaWiki 1.8.2 ==
15377
15378 October 13, 2006
15379
15380 MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release:
15381
15382 * ([[mediazilla:7565|7565]]) Fixed typos in German localisation
15383 * ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers
15384
15385 == MediaWiki 1.8.1 ==
15386
15387 October 11, 2006
15388
15389 MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release:
15390
15391 * Fix PHP notice and estimates for dumpBackup.php and friends
15392 * Improved register_globals paranoia checks
15393 * ([[mediazilla:7545|7545]]) Fix PHP version check on install
15394 * Experimental web API disabled by default
15395 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails is
15396 set. Backtraces may contain sensitive information in function call parameters.
15397
15398 == MediaWiki 1.8.0 ==
15399
15400 October 10, 2006
15401
15402 This is the quarterly release snapshot for Fall 2006. While the code has been
15403 running on Wikipedia for some time, installation and upgrade bits may be less
15404 well tested. Bug fix releases may follow in the coming days or weeks.
15405
15406 MediaWiki is now using a "continuous integration" development model with
15407 quarterly snapshot releases. The latest development code is always kept "ready
15408 to run", and in fact runs our own sites on Wikipedia.
15409
15410 Release branches will continue to receive security updates for about a year
15411 from first release, but nonessential bugfixes and feature development happen
15412 will be made on the development trunk and appear in the next quarterly release.
15413
15414 Those wishing to use the latest code instead of a branch release can obtain it
15415 from source control: [[Download from SVN]]
15416
15417 == Configuration changes ==
15418 * $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled)
15419 * $wgLegalTitleChars now includes '+' by default for better compatibility with
15420 importing data dumps from Wikipedia
15421 * $wgDefaultUserOptions now includes all default option settings instead of
15422 only overrides.
15423
15424 == Major new features ==
15425 * ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP
15426 ETag headers, as it seems to result in broken behaviour in combination with
15427 Squid 2.6 (disabled by default).
15428 * ([[mediazilla:550|550]]) Allow blocks on anonymous users only.
15429 * ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support
15430 multipage DJVU display on image pages. Added new 'page=' thumbnail option to
15431 select a page from a multipage djvu for thumbnail generation.
15432 * Full Postgres support is now enabled. It requires version 8.1 or better, and
15433 needs to have both plpgsql and tsearch2 already installed.
15434 * ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk
15435 namespaces.
15436
15437 == Changes since 1.7 ==
15438
15439 * Introduced AjaxResponse object, superceding AjaxCachePolicy
15440 * Changes to sajax_do_call: optionally accept an element to fill instead of a
15441 callback function; take the target function or element as a third parameter;
15442 pass the full XMLHttpRequest object to the handler function, instead of just
15443 the resultText value; use HTTP response codes to report errors.
15444 * (bug 6562) Removed unmaintained ParserXml.php for now
15445 * History paging overlap bug fixed
15446 * (bug 6586) Regression in "unblocked" subtitle
15447 * Don't put empty-page message into view-source when page text is blank
15448 * (bug 6587) Remove redundant "allnonarticles" message
15449 * Block improvements: Allow blocks on anonymous users only. Optionally allow
15450 or disallow account creation from blocked IP addresses. Prevent duplicate
15451 blocks. Fixed the problem of expiry and unblocking erroneously affecting
15452 multiple blocks. Fixed confusing lack of error message when a blocked user
15453 attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
15454 the presence of large numbers of blocks; added indexes and implemented an
15455 indexed pager.
15456 * (bug 6448) Allow filtering of Special:Newpages according to username
15457 * (bug 6618) Improve permissions/error detection in Special:Lockdb
15458 * Quick hack for extension testing: parser test doesn't create new message
15459 cache object.
15460 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
15461 {{REVISIONID}} when Cite extension is used
15462 * (bug 6622) Removed deprecated function Image::newFromTitle
15463 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
15464 * Removed forced dereferencements (new() returns a reference in PHP5)
15465 * Note about $wgUploadSizeWarning using byte
15466 * (bug 6592) Add most viewed pages summary to Special:Statistics
15467 * Pre-strip characters ignored in IDNs from URLs so they can't be used
15468 to break the blacklists for regular URLs
15469 * Fix regression in blocking of user accounts
15470 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
15471 * Fix regression searching Ipblocklist with ugly URLs
15472 * (bug 6639) Use a consistent default for upload directories
15473 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
15474 * (bug 6642) Don't offer to unlock the database when it isn't locked
15475 * cleanupTitles.php changed from --dry-run option to --fix, so default
15476 behavior is now a non-invasive check as with namespaceDupes.php
15477 * (bug 6660) Fix behavior of EditPage::blockedPage() when the article does
15478 not exist; now doesn't show the source box if the user hasn't provided it
15479 (blocked mid-edit) and the page doesn't exist
15480 * Improve default value of "blockedtext"
15481 * (bug 6680) Added localisation for Dutch bookstore list (nl)
15482 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer
15483 usage
15484 * Fix regression which allowed some blocked users to create additional accounts
15485 * (bug 6657) Fix Hungarian linktrail
15486 * (bug 6751) Fix preview of blanked section with edit on first preview option
15487 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
15488 introduced 'MediaWiki:Searchbutton'
15489 * Made lines from initialiseMessages() appear as list items during installation
15490 * Moved the bulk of the localisation data from the Language*.php files to the
15491 Messages*.php files. Deleted most of the Languages*.php files.
15492 * Introduced "stub global" framework to provide deferred initialisation of core
15493 modules.
15494 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
15495 now be null during the initialisation process, until they are set by index.php
15496 or another entry point.
15497 * Added DBA cache type, for BDB-style caches.
15498 * Removed custom date format functions, replacing them with a format string in
15499 the style of PHP's date(). Used string identifiers instead of integer
15500 identifiers, in both the language files and user preferences. Migration should
15501 be transparent in most cases.
15502 * Simplified the initialisation API for LoadBalancer objects.
15503 * Removed the broken altencoding feature.
15504 * Moved default user options and toggles from Language to User. Language objects
15505 are still able to define default preference overrides and extra user toggles,
15506 via a slightly different interface.
15507 * Don't include the date option in the parser cache rendering hash unless
15508 $wgUseDynamicDates is enabled.
15509 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
15510 * Removed inclusion of language files from the bottom of Language.php. This is
15511 now consistently done from Language::factory().
15512 * Add the name of the executing maintenance script to the debug log. Start the
15513 profiler during maintenance scripts.
15514 * Added "serialized" directory, for storing precompiled data in serialized form.
15515 * Fix regression in auto-set NS_PROJECT_TALK namespace
15516 * Fix regression in ordering of namespaces
15517 * (bug 6806, 6030) Added several global JS variables for article path, user
15518 name, page title, etc.
15519 * hooks registered with addOnloadHook are now called at the one of the html body
15520 by all skins.
15521 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
15522 framework and wgAjaxSearch to enable the suggest feature for the search box.
15523 * Added experimental installer for extensions.
15524 See maintenance/installExtension.php
15525 * Added Tajic (tg) language file.
15526 * (bug 6903) Added Cantonese localisation (zh-yue)
15527 * Fix regression in Korean and Japanese date formatting (day of week)
15528 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
15529 * (bug 6753) Fixed broken Kazakh linktrail (kk)
15530 * (bug 6700) Added Kazakh language variants to Names.php
15531 * (bug 6827) some i18n specific maintenance scripts fails after merge of
15532 localisation-work branch
15533 * Throwed an exception for the deprecated functions OutputPage::sysopRequired
15534 and OutputPage::developerRequired - use OutputPage::permissionRequired
15535 instead.
15536 * Removed the deprecated functions User::isSysop, User::isBureaucrat and
15537 User::isDeveloper - use User::isAllowed instead.
15538 * (bug 769) OutputPage::permissionRequired() should suggest groups with the
15539 needed permission
15540 * (bug 6971) Fix regression in Special:Export history view
15541 * Revamped Special:Imagelist
15542 * (bug 7000) updated MessagesPl.php
15543 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
15544 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
15545 point as with Special:Allpages, rather than a pure limit.
15546 * Clean up tab order on Special:Blockip
15547 * (bug 5969) Clean up tab order on Special:Userlogin forms
15548 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
15549 * (bug 7037) Fix regression in login tab order
15550 * (bug 7031) Report missing email on 'email password' instead of false success
15551 * (bug 7010) Don't send email notifications for watched talk pages when user
15552 has selected to receive only updates for their own talk page
15553 * Added {{CURRENTHOUR}}
15554 * Added [[:Image:Foo.png]] style links to the pagelinks table
15555 * Avoid duplicate revision imports with Special:Import
15556 * (bug 7054) Validate email address before sending email confirmation message
15557 * (bug 7061) Format title on "from (page)" links on Special:Allpages
15558 * (bug 7044) Introduce "padleft" and "padright" colon functions
15559 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
15560 default message text
15561 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true;
15562 in LocalSettings.php
15563 Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops
15564 by default, and displayed as a second line if appropriate
15565 * (bug 832) Return to user page after emailing a user
15566 * (bug 366) Add local-system-timezone equivalents for date/time variables
15567 * (bug 7109) Fix Atom feed version number in header links
15568 * (bug 7075) List registered parser function hooks on Special:Version
15569 * (bug 7059) Introduce "anchorencode" colon function
15570 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
15571 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
15572 * (bug 4979) Use simplified email addresses when running on Windows
15573 * (bug 4434) Show block log fragment on Special:Blockip
15574 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any
15575 number of disambiguation templates.
15576 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages
15577 that embed any of the templates listed at [[MediaWiki:Disambiguationspage]].
15578 * Fix formatting of titles on Special:Undelete
15579 * (bug 7026) Fix action=raw&templates=expand
15580 * (bug 6976) Add namespace and direction classes to classic skins
15581 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user
15582 can't read the main page in the first place
15583 * (bug 7188) Fix minor borkage in HTMLForm
15584 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in
15585 Special:Upload
15586 * Add a quickie script dumpSisterSites.php for generating a page list in the
15587 format for WSR-1 SisterSites support
15588 * (bug 7223) Monobook.js is used for site content, should not be localized
15589 * Set default disabled values for DjVu render options
15590 * Added Xml::option() for generating <option>s easily
15591 * Localized page numbers in drop-down for DjVu page selection
15592 * Fixed linktrail for vi
15593 * (bug 6893) "Call to a member function exists() on a non-object" on
15594 trackback.php with bad input
15595 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
15596 * (bug 6887) PHP error for call to getId() on bad input to
15597 Special:Revisiondelete
15598 * (bug 6888) PHP error for call to getTimestamp() on bad input to
15599 Special:Revisiondelete
15600 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required
15601 if texvc is rebuilt.
15602 * (bug 7279) Use wfBaseName in place of basename() in more places
15603 * Clear newtalk marker on diff links with explicit current revision number
15604 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
15605 * (bug 6777) Remove some PHP 4 compat cruft
15606 * Add --user, --comment, and --license options to importImages.php
15607 * (bug 6216) The immobile namespace message does not mention the source page
15608 * (bug 7299) Normalize username filter on Special:Newpages
15609 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
15610 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
15611 * (bug 7305) Proper compare for bot check on RC notify, should fix overrides
15612 that force edits by non-bot users to bot mode
15613 * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user
15614 preferences don't get stuck in proxy caches for other people
15615 * (bug 7324) Fix error message for failure of Database::sourceFile()
15616 * (bug 7309) Plurals: use singular form for zero in French and Brazilian
15617 Portuguese
15618 * Add page_no_title_convert field to support language variant conversion
15619 for page titles which shouldn't be converted on display/linking
15620 * Lazy extraction of text chunks in Revision objects, may reduce hits to
15621 external storage when actual text content is not used
15622 * Added experimental $wgRevisionCacheExpiry to cache extracted revision text
15623 in $wgMemc, to further reduce hits to external storage.
15624 Set to 0 (disabled) by default.
15625 * Minor changes to the installer.
15626 * Remove ":" for 'youremail' and 'yourrealname' in
15627 includes/templates/Userlogin.php so that ":" could be used in i18n for
15628 Special:Preferences (like 'username' and 'uid').
15629 * Fix layout for Special:Preferences->Date and Time (position for
15630 'timezonetext').
15631 * Updates to language variant code for Serbian et al
15632 * (bug 6756) Enabling RTL direction for kk-cn
15633 * (bug 6701) Kazakh language variants in MessagesEn.php
15634 * (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy
15635 * (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby'
15636 with 'lastmodifiedatby' with separated parameters for date and time to allow
15637 better localisation. Updated all message files to display the old format for
15638 compatibility.
15639 * (bug 7357) Make supposedly static methods of Skin actually static
15640 * Added info text to Special:Deadendpages and Special:Lonelypages
15641 * Fix regression in cachability of generated CSS and JS for MonoBook skin,
15642 while avoiding clobbering of different users' cached data
15643 * (bug 6849) Block @ from usernames; interferes with multi-database tools and
15644 was meant to be banned years ago... For now existing accounts will not be
15645 prevented fromm login.
15646 * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2},
15647 {{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}}
15648 * (bug 7425) Preceeding whitespace in [[...]] breaks subpages
15649 * Try to reconnect after transitory database errors in dumpTextPass.php
15650 * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now
15651 notification mails are working after 'Mark all pages visited' button on
15652 Special:Watchlist is clicked
15653 * Made {{INT:}} a core parser function instead of a special case. The syntax
15654 and behavior is largely unchanged.
15655 * (bug 7448) Fixing the native name for Ewe (ee)
15656 * (bug 6864) Replace message 'editing' with new message 'editinguser' in
15657 Special:Userrights to allow better localisation
15658 * Add '*-summary' for special pages to MessagesEn.php to allow
15659 customizing/translation directly through Special:Allmessages
15660 * (bug 6130, bug 5818) Replaced message 'go' with the new message
15661 'searcharticle' in skins to allow better localisation
15662 * Add + to $wgLegalTitleChars by default. Some sites may have occasional
15663 problems with hard-to-reach pages, but it should be less trouble than
15664 "I can't import dumps from Wikipedia" complaints
15665 * (bug 7460) Revert broken patch for bug 7226 which slows down
15666 Special:Allmessages by a factor of 16
15667 * Committed a bunch of live hacks from Wikimedia servers
15668 * (bug 6889) PHP notices in thumb.php with missing params
15669 * Cleaner error behavior on thumb.php with invalid page selection
15670 * (bug 6617) Validate timestamps on Special:Undelete
15671 * Do fewer unnecessary full writes of user rows; only update user_touched
15672 for watch/unwatch, group membership change, and login operations
15673 * Restructured the languages directory, to avoid problems when people
15674 untar MW 1.8 over the top of a 1.7 installation.
15675 * (bug 6890) SQL query error on bad input to Pager lists
15676 due to negative LIMIT clause, caused by integer wraparound.
15677 * Fixed various bugs related to table prefixes, especially the interaction
15678 between table prefixes and memcached, which was formerly completely broken.
15679 * (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin.
15680 * (bug 6826) Extend pre-save transform context link ("pipe trick")
15681 syntax to pages with commas in title
15682 * Use ImageMagick -thumbnail option instead of -resize to avoid including
15683 excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
15684 * (bug 7499) Corrections to Swedish talk namespace names
15685 * (bug 7508) Added option to compress HTML pages by dumpHTML.php
15686 * (bug 7519) Add plural in SpecialWatchlist
15687 * (bug 7459) Magic word variables are always case sensitive
15688 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
15689 * Fix regression in Special:Watchlist text header
15690 * (bug 7510) Update article counts etc on undelete
15691 * (bug 7520) Update article counts on XML import
15692 * (bug 7526) Make $wgDefaultUserOptions work again
15693 * (bug 7472) Localize Help namespace for Basque
15694 * (bug 7529) Including a non-existent category in an article places that article
15695 in the category
15696 * (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
15697 * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner,
15698 twoheadrightarrow, twoheadleftarrow
15699 * (bug 7367) Hyphens sometimes erroneously appended to equations when not
15700 converted to PNG
15701 * Add "title" to the opensearch link to allow automatic adding of the search
15702 engine in Firefox 2
15703 * (bug 7537) Add php5 to $wgFileBlacklist
15704 * (bug 6929) Restore AutoAuthenticate hook
15705
15706 == Languages updated ==
15707 * Albanian (sq)
15708 * Bashkir (ba)
15709 * Bavarian (bar) stub file
15710 * Belarusian (be)
15711 * Bishnupriya (bpy) stub file
15712 * Brazilian Portuguese (pt-br)
15713 * Cantonese (zh-yue)
15714 * Catalan (ca)
15715 * Czech (cs)
15716 * Dutch (nl)
15717 * English (en)
15718 * Finnish (fi)
15719 * French (fr)
15720 * Georgian (ka)
15721 * German (de)
15722 * Hebrew (he)
15723 * Hungarian (hu)
15724 * Indonesian (id)
15725 * Japanese (ja)
15726 * Korean (ko)
15727 * Latin (la)
15728 * Lojban (jbo)
15729 * Macedonian (mk)
15730 * Mazandarani (mzn)
15731 * Polish (pl)
15732 * Portuguese (pt)
15733 * Ripuarian (ksh)
15734 * Romani (rmy)
15735 * Russian (ru)
15736 * Slovak (sk)
15737 * Spanish (es)
15738 * Tajic (tg)
15739 * Tatar (tt)
15740 * Telugu (te)
15741 * Uzbek (uz)
15742 * Yiddish (yi)
15743
15744 == Compatibility ==
15745 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
15746
15747 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At
15748 this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
15749
15750 == Upgrading ==
15751 Some minor database changes have been made since 1.7:
15752 * new fields and indexes on ipblocks
15753 * index change on recentchanges
15754
15755 Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To
15756 ensure that these tables are filled with data, run refreshLinks.php after the
15757 upgrade.
15758
15759 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
15760 changes are made, and there is a slightly higher chance that things could
15761 break. Don't forget to always back up your database before upgrading!
15762
15763 === Caveats ===
15764 Some output, particularly involving user-supplied inline HTML, may not produce
15765 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
15766 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
15767 recommended on live sites. (This must be set for MathML to display properly in
15768 Mozilla.)
15769
15770 = MediaWiki 1.7=
15771
15772 == MediaWiki 1.7.3 ==
15773
15774 February 20, 2007
15775
15776 This is a security and bug-fix update to the Summer 2006 quarterly release.
15777
15778 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
15779 charset autodetection was located in the AJAX support module, affecting MSIE
15780 users on MediaWiki 1.6.x and up when the optional setting
15781 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
15782
15783 If you are using an extension based on the optional Ajax module, either disable
15784 it or upgrade to a version containing the fix:
15785
15786 * 1.9: fixed in 1.9.3
15787 * 1.8: fixed in 1.8.4
15788 * 1.7: fixed in 1.7.3
15789 * 1.6: fixed in 1.6.10
15790
15791 There is no known danger in the default configuration, with
15792 [[Manual:$wgUseAjax|$wgUseAjax]] off.
15793
15794 * Add 'charset' to Content-Type headers on various HTTP error responses to
15795 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
15796 default when the script didn't specify more details, which some inconsiderate
15797 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
15798 This fixes an issue with the Ajax interface error message on MSIE when
15799 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
15800 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
15801 from BugSec: http://www.bugsec.com/articles.php?Security=24
15802 * Trackback responses now specify XML content type
15803
15804 == MediaWiki 1.7.2 ==
15805
15806 January 9, 2007
15807
15808 * Note about $wgUploadSizeWarning using byte
15809 * Update to German bookstore list (de)
15810 * (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl)
15811 * (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru)
15812 * (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German
15813 translation (de)
15814 * Added direction mark to Special:Listredirects
15815 * XSS fix in AJAX module
15816
15817 An XSS injection vulnerability was located in the AJAX support module,
15818 affecting MediaWiki 1.6.x and up when the optional setting
15819 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
15820
15821 There is no danger in the default configuration, with
15822 [[Manual:$wgUseAjax|$wgUseAjax]] off.
15823
15824 If you are using an extension based on the optional AJAX module, either disable
15825 it or upgrade to a version containing the fix:
15826
15827 * 1.9: fixed in 1.9.0rc2
15828 * 1.8: fixed in 1.8.3
15829 * 1.7: fixed in 1.7.2
15830 * 1.6: fixed in 1.6.9
15831
15832
15833 == MediaWiki 1.7.1 ==
15834
15835 July 8, 2006
15836
15837 MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006
15838 snapshot:
15839
15840 A potential HTML/JavaScript-injection vulnerability in a debugging script has
15841 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
15842 overwrite vulnerability are affected.
15843
15844 As a workaround for existing installs, profileinfo.php may simply be deleted if
15845 it's not being used.
15846
15847 * Fix for 'emailconfirmed' implicit user group
15848 * Fix for upgrades on some versions of MySQL 4.0.x
15849 * Fixed potential XSS in profileinfo.php
15850 * Installer now shows clear error message about old PHP versions rather than a
15851 confusing parse error
15852
15853 == MediaWiki 1.7.0 ==
15854 July 6, 2006
15855
15856 This is the quarterly release snapshot for Summer 2006. While the code
15857 has been running on Wikipedia for some time, installation and upgrade
15858 bits may be less well tested. Bug fix releases may follow in the coming
15859 days or weeks.
15860
15861 MediaWiki is now using a "[[w:en:Continuous_integration|continuous
15862 integration]]" development model with
15863 quarterly snapshot releases. The latest development code is always kept
15864 "ready to run", and in fact runs our own sites on Wikipedia.
15865
15866 Release branches will continue to receive security updates for about a year
15867 from first release, but nonessential bugfixes and feature development happen
15868 will be made on the development trunk and appear in the next quarterly release.
15869
15870 Those wishing to use the latest code instead of a branch release can obtain
15871 it from source control: [[Download from SVN]]
15872
15873 == Changes since 1.6 ==
15874
15875 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
15876 link in block log
15877 * (bug 5462) Bogus missing patch warning in updater
15878 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
15879 * PHP warning when allow_call_time_pass_reference is off
15880 * Update to Finnish localization
15881 * (bug 5467) Link to page histories in watchlist edit mode
15882 * Further additions to Hebrew localisation
15883 * (bug 5476) Invalid xhtml in German localization
15884 * (bug 5479) Id translation for preferences tabs caption
15885 * (bug 5493) Id translation for special pages
15886 * Added skinname and style path parameters to CBT version of MonoBook
15887 * Include subversion revision number in Special:Version if available
15888 * (bug 5344) Fix regression that broke slashes in extension tag parameters
15889 * Improve Special:Log performance on big log sets
15890 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
15891 * (bug 4760) Prevent creation of entries in protection log when protection
15892 levels haven't changed
15893 * (bug 861) Show page protection/unprotection events in histories
15894 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
15895 Fixes regression with use of <ref> in a template breaking <nowiki> etc.
15896 * Minor improvements to English language files
15897 * Display the anon talk page info message on anon talk pages again
15898 (moved outside the parser cache)
15899 * Optional {{DISPLAYTITLE|title with markup}} magic word
15900 Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
15901 to activate
15902 * Cleaned SpecialContributions a bit
15903 * Added a table to track interlanguage links
15904 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
15905 languages
15906 * Replace "doubleredirectsarrow" with a content language check that picks the
15907 appropriate arrow
15908 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
15909 Lithuanian (lt)
15910 * Don't force edit summaries when a user is editing their own user/talk page
15911 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
15912 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
15913 * PersistentObject removed; it doesn't do anything and was broken besides.
15914 All extensions using it have been corrected.
15915 * Propagate ISBN number for Booksources in LanguageNo.php
15916 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
15917 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
15918 for all) magic words
15919 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
15920 * Reject malformed addresses in X-Forwarded-For entries
15921 * (bug 3359) Add hooks on completion of file upload
15922 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
15923 * (bug 5475) New pages feeds ignore "limit" argument
15924 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
15925 conflicting anchor identifiers
15926 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
15927 * Maintenance script to import the contents of a text file into a wiki page
15928 * Add $wgReservedUsernames configuration directive to block account creation/use
15929 * (bug 5576) Remove debugging hack in session check
15930 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
15931 on Special:Log
15932 * Minor improvements to French localisation files
15933 * (bug 5181) Update "nogomatch" for Slovak
15934 * (bug 5594) Id translation up to # Login and logout pages section
15935 * (bug 5536) Use content language for editing help link
15936 * Improvements to German localisation files
15937 * (bug 5570) Problems using <special page>/parameter link form for long titles
15938 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
15939 registrations as well as self-registrations.
15940 * (bug 4327) Report age of cached data sets in query pages
15941 * (bug 4662) Fix Safari check in wikibits.js
15942 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
15943 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
15944 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
15945 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
15946 * Add watchlist clear function to allow quick purging of all items
15947 * (bug 5625) Additional namespace translations for Welsh
15948 * Add meta tag and JavaScript variables to cached special pages which provides
15949 the timestamp of the last update, in YYYYMMDDHHMMSS format.
15950 * (bug 5628) More translations for MessagesHr.php
15951 * (bug 5595) Localisation for Bosnian language (bs)
15952 * (bug 2910) Default view preferences for watchlists
15953 * Add "hide bot edits from the watchlist" user preference
15954 * (bug 5250) Introduce Special:Unusedtemplates
15955 * Add user preference setting for an extended watchlist, showing all recent
15956 edits up to a certain edit, and not just the latest edit..
15957 * Made MessageRo.php more general
15958 * (bug 5640) Indonesian localisation improvements
15959 * (bug 5592) Actions are logged with the default language for the
15960 wiki, not the language of the user performing the operation.
15961 * (bug 5644) Error in LanguageBs.php file
15962 * (bug 5646) Compare for identical types in wfElement()
15963 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
15964 * (bug 5386) LanguageMk.php: updated namespaces translations
15965 * (bug 5422) Stub for Romani (rmy) language which extends ro
15966 * Fix linktrail for LanguageSr
15967 * (bug 5664) Fix Bosnian linktrail
15968 * (bug 3825) Namespace filtering on Special:Newpages
15969 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
15970 which have since been created
15971 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
15972 This sort of special casing should be removed and fixed properly.
15973 * Remove useless whitespace from Special:Brokenredirects header
15974 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
15975 text
15976 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
15977 * (bug 5709) Allow customisation of separator for categories
15978 * (bug 5684) Introduce Special:Randomredirect
15979 * (bug 5611) Add a name attribute to the text box containing source text in
15980 read-only pages
15981 * Indicate when a protected page is an interface message ("protectedinterface")
15982 * (bug 4259) Indicate when a protected page being edited is an interface message
15983 ("editinginterface")
15984 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
15985 * Pass login link to "whitelistedittext" containing 'returnto' parameter
15986 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
15987 miss
15988 * Updated maintenance/transstat.php so it can show duplicate messages
15989 * Improvements to update scripts; print out the version, check for superuser
15990 credentials before attempting a connection, and produce a friendlier error if
15991 the connection fails
15992 * (bug 5005) Fix XHTML <gallery> output.
15993 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
15994 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
15995 * Remove unneeded extra whitespace at top of Special:Categories
15996 * (bug 5679) time units are now using local numerals
15997 * (bug 5751) Updates to Portuguese localisation files
15998 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
15999 * (bug 93) <nowiki> tags and tildes in templates
16000 * The returnto parameter is now actually used by SpecialUserlogin.php
16001 * Parser can now know that it is parsing an interface message
16002 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
16003 * Fix bug in wfMsgExt under PHP 5.1.2
16004 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
16005 * Rewrite reassignEdits script to be more efficient; support optional updates to
16006 recent changes table; add reporting and silent modes
16007 * Cleaned up formatNum usage in langfiles
16008 * (bug 5716) Warn when a user tries to upload a file which was previously
16009 deleted
16010 * (bug 5565) Add a class attribute to the table on Special:Allpages
16011 * "lang=xx" option for parser test cases to set content language
16012 * (bug 5764) Friulian translation updated
16013 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
16014 * (bug 5516) Show appropriate "return to" link on blocked page
16015 * (bug 5377) Do not auto-login when creating an account as another user
16016 * (bug 5284) Special redirect pages should remember parameters
16017 * Suppress 7za output on dumpBackup
16018 * (bug 5338) Reject extra initial colons in title
16019 * (bug 5487) Escape self-closed HTML pair tags
16020 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
16021 will produce a count minus formatting
16022 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
16023 appropriate output format given the scope of the clean
16024 * (bug 5593) Change "bureaucrat log" to "rights log"
16025 * Show a boilerplate "(none)" in place of a blank within the log action text for
16026 user rights
16027 * (bug 137) Commented out translations for copyrightwarning which mention GNU
16028 FDL
16029 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as
16030 "wanted"
16031 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
16032 formatted according to the current user's settings
16033 * (bug 5780) Thousands and decimal separators for Norwegian
16034 * Updated initStats maintenance script
16035 * (bug 5767) Fix date formats in Vietnamese locale
16036 * (bug 361) URL in URL, they were almost fixed. Now they are.
16037 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section"
16038 link/tab to show up on specific pages on demand
16039 * Bidi-aid on list pages
16040 * (bug 5782) Allow entries in the bad image list to use canonical namespace
16041 names
16042 * (bug 5789) Treat "loginreqpagetext" as wikitext
16043 * Sanitizer: now handles nested <li> in <ul> or <ol>
16044 * (bug 5796) We require MySQL >=4.0.14
16045 * Add 'EmailConfirmed' hook
16046 * New findhooks.php script to find undocumented hooks.
16047 * Silently ignore errors on profiling table update.
16048 * (bug 5801) Correct handling of underscores in Special:Listusers
16049 * Clean up Special:Listusers; add an "(all)" label to the group selection box
16050 * (bug 5812) Use appropriate link colour in Special:Mostlinked
16051 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
16052 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the
16053 target page doesn't exist
16054 * Special:Randompage now additionally accepts English namespace name as
16055 parameter
16056 * (bug 2981) Really fixed linktrail for Tamil (ta)
16057 * Disallow substituting Special pages when included into a page
16058 * (bug 5587) Clean up the languages from references to the Groups special page
16059 * Added new group-X and group-X-member messages
16060 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
16061 accounts
16062 * Redirect Special:Userlist to Special:Listusers
16063 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded
16064 files bearing the image/svg MIME type. Disabled by default due to the vast
16065 majority of web servers being hideously misconfigured. See DefaultSettings.php
16066 for more details.
16067 * Changed default LocalSettings.php to append the previous include path when
16068 setting it
16069 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
16070 Special:Wantedcategories and Special:Mostlinkedcategories.
16071 * (bug 3309) Allow comments when undeleting pages
16072 * Clean up Special:Undelete a bit
16073 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
16074 * Clean up Special:Imagelist a bit
16075 * (bug 5838) Namespace names for Nds-NL
16076 * (bug 5749) Added Tyvan language files
16077 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect
16078 data to show
16079 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
16080 * (bug 5853) Update for Portuguese messages (pt)
16081 * (bug 5851) Use Cyrillic for Kirghiz language name
16082 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
16083 * (bug 5846) Link to individual group description pages in Special:Listusers
16084 * (bug 5857) Update for German localisation (de)
16085 * (bug 5858) Update for Russian language (ru)
16086 * (bug 5860) Update for Indonesian language (id)
16087 * (bug 1120) Update for Czech language (Cs)
16088 * Added many missing formatNum calls
16089 * Added grammar function to Belarusian (be)
16090 * (bug 5819) Add 'PersonalUrls' hook
16091 * (bug 5862) Update of Belarusian language (be)
16092 * (bug 5886) Update for Portuguese messages (pt)
16093 * (bug 5586) <gallery> treated text as links
16094 * (bug 5878) Update for Indonesian language (id)
16095 * (bug 5697) Update for Malay language (ms)
16096 * (bug 5890) Update for German language (de)
16097 * (bug 5889) Name for Sindhi language should appear as سنڌي
16098 * --force-normal parameter on dump scripts to force check for ICU extension
16099 * (bug 5895) Update for Dutch language (nl)
16100 * (bug 5891) Linktrail for Polish language (pl)
16101 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
16102 v1.6 now die with a backtrace. They will be removed in v1.8
16103 * dumpTextPass now skips goes to database for entries that were blank in the
16104 previous dump, as this may indicate a broken dump.
16105 * dumpTextPass progress includes percentage of items prefetched
16106 * dumpTextPass can now use 7zip files for prefetch
16107 * (bug 5915) Update to Indonesian localisation (id)
16108 * (bug 5913) Update for German localisation (de)
16109 * (bug 5905) Plural support for Bosnian localisation (bs)
16110 * Groups which won't hit the rate limiter now configurable with
16111 $wgRateLimitsExcludedGroups
16112 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
16113 * (bug 5931) Update for Polish language (pl)
16114 * Ignore the user and user talk namespaces on Special:Wantedpages
16115 * Introduce NUMBEROFPAGES magic word
16116 * (bug 5833) Introduce CURRENTVERSION magic word
16117 * (bug 5370) Allow throttling of password reminder requests with the rate
16118 limiter
16119 * (bug 5683) Respect parser output marked as uncacheable when saving
16120 * (bug 5918) Links autonumbering now work for all defined protocols
16121 * (bug 5935) Improvement to German localisation (de)
16122 * (bug 5937) Register links from gallery captions with the parent parser output
16123 object so that link tables receive those updates too
16124 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
16125 * (bug 5941) Use content language when getting the administrator page title for
16126 Special:Statistics
16127 * (bug 5949) Update to Indonesian localisation (id)
16128 * (bug 5862) Update of Belarusian translation (be)
16129 * (bug 5950) Improvements to French localisation
16130 * (bug 5805) {{plural:}} support for counters in some special pages
16131 * (bug 5952) Improvement to German localisation (de)
16132 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
16133 and treat it as wiki text
16134 * Improve preferences input filtering
16135 * Maintenance script to import multiple files into the wiki
16136 * (bug 5957) Update for Hebrew language (he)
16137 * (bug 5962) Update for Italian language (it)
16138 * (bug 5961) Update for Portuguese localisation (pt)
16139 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
16140 * (bug 5967) Improvement to German localisation (de)
16141 * (bug 5962) Update for Italian language (it)
16142 * Suppress images in galleries which appear on the bad image list (when
16143 rendering for a wiki page; galleries in special pages and categories are
16144 unaffected)
16145 * Maintenance script to remove orphaned revisions from the database
16146 * (bug 5991) Update for Russian language (ru)
16147 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL
16148 magic words
16149 * (bug 5958) Switch Uzbek language name to use latin script
16150 * (bug 839) Add URLENCODE magic word
16151 * (bug 6004) Update for Polish language (pl)
16152 * (bug 5971) Improvement to German localisation (de)
16153 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect
16154 page that isn't current
16155 * (bug 2203) Namespace updates for Thai
16156 * Fix breakage in parser test suite which caused incorrect reporting of the
16157 failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some
16158 dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect
16159 this.
16160 * (bug 6009) Use {{ns:project}} in messages where appropriate
16161 * (bug 6012) Update to Indonesian localisation (id)
16162 * (bug 6017) Update list of bookstores in German localisation files
16163 * (bug 5187) Allow programmatically bypassing username validation, for scripts
16164 * (bug 6025) SpecialImport: wrong message when no file selected
16165 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
16166 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
16167 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
16168 * (bug 6029) Improvement to German localisation (de)
16169 * (bug 5015) Update be: magic words
16170 * (bug 3974) Add parameter for site URL to "passwordremindertext"
16171 * (bug 6039) Update for Portuguese localisation (pt)
16172 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
16173 * Big update to Swedish localisation (sv)
16174 * Use appropriate HTML functions to create the tool links on image pages, so
16175 they don't look garbled when tidy isn't on
16176 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
16177 * (bug 6046) Update to Indonesian localisation (id) #15
16178 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
16179 specially-selected namespaces.
16180 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick
16181 Jenkins)
16182 * Reordered wiki table handling and __TOC__ extraction in the parser to better
16183 handle some overlapping tag cases.
16184 * Only the first __TOC__ is now turned into a TOC
16185 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
16186 changes as patrolled using the diff links there
16187 * Add 'DiffViewHeader' hook called before diff page output
16188 * (bug 6051) Improvement to German localisation (de)
16189 * (bug 6054) Update to Indonesian localisation (id) #16
16190 * Add {{CURRENTTIMESTAMP}} magic word
16191 * (bug 6061) Improper escaping in some html forms
16192 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
16193 * (bug 6074) Correct squid purging of offsite upload URLs
16194 * To simplify the lives of extension developers, the logging type arrays
16195 can now be appended to directly by an extension setup function. It is
16196 no longer necessary to write four separate functions just to add a
16197 custom log type.
16198 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
16199 * Added $wgGrammarForms global
16200 * Fixed hardcoded 'done.' when removing watchlist entries.
16201 * (bug 5962) Update for Italian language (it)
16202 * (bug 6086) Remove vestigial attempt to call Article::validate()
16203 * wfHostname() function for consistent server hostname use in debug messages
16204 * Send thumbnailing error messages to 'thumbnail' log group
16205 * wfShellexec() now accepts an optional parameter to receive the exit code
16206 * Failed, but not zero-length, thumbnail renderings are now removed.
16207 Should help clean up when rsvg fails in weird ways.
16208 * (bug 6081) Change description for Turkmen language
16209 * Increase robustness of parser placeholders; fixes some glitches when
16210 adjacent to identifier-ish constructs such as URLs.
16211 * Shut up the parser test whining about files in a temp directory.
16212 * (bug 6098) Add Aragonese language support (an)
16213 * (bug 6101) Update for Russian language (ru)
16214 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
16215 problems. If errors are transitory, this should reduce annoying messages
16216 making it into cached display.
16217 * (bug 6103) Wrap self-links in a CSS class ("selflink")
16218 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
16219 character entities in URLs, not just ampersands. This allows use of eg
16220 &#61; when making URLs for template parameters.
16221 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
16222 under HTML-compatible browsers.
16223 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
16224 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
16225 * (bug 472) Syndication feeds for the last few edits of page history
16226 * Format edit comments in Recent Changes feed
16227 * Switch incorrectly ordered column headers on Recent Changes feed diffs
16228 * (bug 6117) Use message for history feed description, add German localization
16229 * (bug 1017) fixed thumbnails of animated gifs.
16230 * Add APC as object caching option
16231 * Update to Albanian localization (sq)
16232 * (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an
16233 alias)
16234 * Use optimized php5-only microtime()
16235 * Add possibility to store local message cache as PHP executable script
16236 * Fix profiling table definition
16237 * (bug 6040) Run pre-save transform before calculating the diff. when doing a
16238 "show changes" operation in the editor
16239 * (bug 4033) Respect $wgStyleDirectory when checking available skins
16240 * Remove hideous backslashes from MessagesBr.php
16241 * Fix APC object cache issues, add functionality to installer
16242 * (bug 6133) Update strip state as we work. This mostly fixes extensions
16243 used in Cite.php <ref> tags when Tidy is on.
16244 * (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
16245 * (bug 6136) Update to Catalan language (ca)
16246 * Update to Japanese localization (ja)
16247 * Add /usr/local/bin to the diff3 search paths in the installer
16248 * (bug 6106) Update to Indonesian localisation (id) #17
16249 * (bug 6125) Add links to edit old versions to diff views
16250 * (bug 5127) Auto edit summary when creating/editing redirect page
16251 * (bug 3926) Introduce {{#language:}} magic word
16252 * Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
16253 * (bug 6126) Allow fallback to customized primary language when user language
16254 message contains '-'; fixes licenses selector on Commons configuration after
16255 recent addition of the message to Messages.php
16256 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
16257 of lock contention etc. Duplicates are now removed at pop time instead of
16258 at insert time.
16259 * When showing the "blah has been undeleted" page, make sure it's a blue link
16260 * parserTests.php accepts a --file parameter to run an alternate test sutie
16261 * parser tests can now test extensions using !!hooks sections
16262 * Fix oddity with open tag parameters getting stuck on </li>
16263 * (bug 5384) Fix <!-- comments --> in <ref> extension
16264 * Nesting of different tag extensions and comments should now work more
16265 consistently and more safely. A cleaner, one-pass tag strip lets the
16266 'outer' tag either take source (<nowiki>-style) or pass it down to
16267 further parsing (<ref>-style). There should no longer be surprise
16268 expansion of foreign extensions inside HTML output, or differences
16269 in behavior based on the order tags are loaded.
16270 * (bug 885) Pre-save transform no longer silently appends close tags
16271 * Pre-save transform no longer changes the case of close tags
16272 * (bug 6164) Fix regression with <gallery> resetting <ref> state
16273 * Hackaround for IE 7 wrapping bug in MonoBook footer
16274 * New message sp-newimages-showfrom replaces rclistfrom on special:newimages
16275 * Improve handling of ;: definition list construct with overlapping or
16276 nested HTML tags
16277 * (bug 6171) Fix sanitizing of HTML-elements with an optional closing
16278 tag. The sanitizer still needs to learn how to make well-formed XML
16279 in this case.
16280 * Fix fatal error when specifying illegal name for manual thumbnail
16281 * (bug 6184) Use shinier Linker::userLink() to make user links in
16282 Special:Undelete
16283 * (bug 6170) Update for Kashubian translation (csb)
16284 * (bug 6191) Update to Indonesian translation (id) #18
16285 * (bug 6114) Update to Walloon localization (wa)
16286 * Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a
16287 per-namespace basis.
16288 * Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being
16289 interspersed into your ordered lists.
16290 * (bug 5021) Transcluding the same special page twice now works
16291 * Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks
16292 * (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time
16293 preferences
16294 * (bug 2587) Fix for section editing with comment prefix
16295 * (bug 2607) Fix for section editing with mix of wiki and HTML headings
16296 * (bug 3342) Fix for section editing with headings wrapped in <noinclude>
16297 * (bug 3476) Fix for section editing with faux headings in extensions
16298 * (bug 5272) Fix for section editing with HTML-heading subsections
16299 * Fix for bogus wiki headings improperly detected with following text
16300 * Fix for HTML headings improperly not detected with preceding/following text
16301 * Section extraction and replacement functions merged into one implementation
16302 on the Parser object, so they can't get out of sync with each other.
16303 * Edit security precautions in raw HTML mode, etc
16304 * (bug 6197) Update to Indonesian translation (id) #19
16305 * (bug 6175) Improvement to German translation (de)
16306 * Redirect Special:Logs to Special:Log
16307 * (bug 6206) Linktrail for Swedish localization (se)
16308 * (bug 3202) Attributes now allowed on <pre> tags
16309 * Sanitizer::validateTagAttributes now available to discard illegal/unsafe
16310 attribute values from an array.
16311 * (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
16312 to <div class="center">. <center> is perfectly valid in the target doctype
16313 (XHTML 1.0 Transitional), while the replacement didn't catch all cases and
16314 could even result in invalid output from valid input.
16315 * (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
16316 meta robots tag on diff view and special pages. Should reduce impact of
16317 robots on scrolling special pages, diffs etc on sites where robots.txt
16318 doesn't forbid access.
16319 * Regression fix: suppress warning about session failure when clicking to
16320 edit with 'preview on first edit' enabled.
16321 * (bug 6230) Regression fix: <nowiki> in [URL link text]
16322 * Added AutoLoader.php, which loads classes without need of require_once()
16323 * (bug 5981) Add plural function Slovenian (sl)
16324 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
16325 * {{PLURAL}} can now take up to five forms
16326 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
16327 * Remove a number of needless {{ns:project}}-type transforms from messages
16328 files. These usages already have separate label text. Such transforms are
16329 wasteful on each page view.
16330 * Update to Yiddish localization (yi)
16331 * (bug 6254) Update to Indonesian translation (id) #20
16332 * (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes
16333 * Whitespace now normalized more or less properly in HTML attributes
16334 * Fix regression(?) in behavior of initial-whitespace-pre in <center>
16335 * (bug 6260) Update to Interlingua localization (ia)
16336 * Update to Vlax Romany localization (rmy)
16337 * Update to Latin translation (la)
16338 * Update to Dutch translation (nl)
16339 * Avoid some notices in page history with bad input
16340 * Use double quoted consistently on attributes in linker output; preparing
16341 for new normalization code when tidy not in use
16342 * Replace "nogomatch" with "noexactmatch" and place the magic colon in the
16343 messages themselves. Some minor tweaks to the actual message content.
16344 * Introduce $wgContentNamespaces which allows for articles to exist in
16345 namespaces other than the main namespace, and still be counted as valid
16346 content in the site statistics.
16347 * (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
16348 * Disable $wgAllowExternalImages by default.
16349 * (bug 2700) Nice things like link completion and signatures now work in
16350 <gallery> tags.
16351 * Cancel output buffering in StreamFile; when used inside gzip buffering this
16352 could cause funny timeout behavior as the Content-Length was wrong.
16353 * Return correct content-type header with 304 responses for StreamFile;
16354 it confuses Safari if you let it return "text/html".
16355 * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
16356 * (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
16357 * (bug 6296) Update to Indonesian localisation (id) #21
16358 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
16359 * (bug 4054) Add "boteditletter" to recent changes flags
16360 * Update to Catalan localization (ca)
16361 * (bug 2099) Deleted image files can now be archived and undeleted.
16362 Set $wgSaveDeletedFiles on and an appropriate directory path in
16363 $wgFileStore['deleted']['directory']
16364 * (bug 6324) Fix regression in enhanced RC alignment
16365 * Introduce {{NUMBEROFADMINS}} magic word
16366 * Update to Slovak translation (sk)
16367 * Update to Alemannic localization (gsw)
16368 * (bug 6300) Bug fixes for sr: variants
16369 * namespaceDupes.php can now accept an arbitrary prefix, for checking rogue
16370 interwikis and such. Not yet fully automated.
16371 * (bug 6344) Add Special:Uncategorizedimages page
16372 * (bug 6357) Update to Russian translation (ru)
16373 * Workaround possible bug in Firefox nightlies by properly removing the
16374 Content-Encoding header instead of sending explicit 'identity' value
16375 in StreamFile
16376 * (bug 6304) Show timestamp for current revision in diff pages
16377 * Vertically align current version with old version header in diff display
16378 * (bug 6174) Remove redundant "emailforlost" message
16379 * (bug 6189) Show an error to an unprivileged user trying to create account
16380 * (bug 6365) Show user information in the "old revision" navigation links
16381 * Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information
16382 * (bug 6345) Update to Indonesian localisation (id) #22
16383 * (bug 6279) Add genitive month names to Slovenian localisation
16384 * (bug 6351) Update to German translation (de)
16385 * Respect language directionality when displaying arrow in
16386 Special:Brokenredirects
16387 * Remove unused "validation" table definitions from the schema files
16388 * (bug 6398) Work around apparent PCRE bug breaking section editing when
16389 massively-indented preformatted text immediately followed a header
16390 * (bug 6392) Fix misbehaving <br /> in preferences form
16391 * Add translated magic words to Hebrew localization
16392 * (bug 6396) Change name for Chuvash language
16393 * Introduce optional (off by default) language selector bar for user login
16394 and registration. Customisable via the "loginlanguagelinks" message, the
16395 links will preserve "returnto" values. If the user creates an account while
16396 using such a link, then the language in use will be saved as their language
16397 preference.
16398 * Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference.
16399 * Rename "ipusuccess" to "unblocked", change the format (now wiki text)
16400 * (bug 2316) Add "caption" attribute to <gallery> tag
16401 * Allow setting the skin object that ImageGallery will use; needed during parse
16402 operations (the skin must come from the ParserOptions, not $wgUser)
16403 * Fix notice in MacBinary detection debug data for files of certain lengths
16404 * (bug 6131) Add type detection for DjVu files, allowing them to be uploaded
16405 with validity checking and size detection. No inline thumbnailing yet,
16406 but could be added in the future.
16407 * (bug 6423) Don't update newtalk flag if page content didn't change (null edits
16408 were causing the newtalk flag to trigger inappropriately)
16409 * Parser functions are now set using magic words.
16410 * (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0
16411 set
16412 * (bug 4990) Show page source to blocked users on edits, or their modified
16413 version if blocked during an edit
16414 * (bug 5903) When requesting the raw source of a non-existent message page,
16415 return blank content (as opposed to the message key)
16416 * Improve default blank content of MediaWiki:Common.css and
16417 MediaWiki:Monobook.css
16418 * (bug 6434) Allow customisation of submit button text on Special:Export
16419 * (bug 6314) Add user tool links on page histories
16420 * Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
16421 * (bug 6438) Update to Indonesian translation (id) #23
16422 * Adding the language code parameter to the hook "LanguageGetMagic", to allow
16423 localizble extensions magic words.
16424 * Update to Romanian translation (ro)
16425 * Update to Esperanto translation (eo)
16426 * Check for preg_match() existence when installing and die out whining about
16427 PCRE if it's not there, instead of throwing a fatal error
16428 * (bug 672) Add MathAfterTexvc hook
16429 * Update to Piedmontese localization (pms)
16430 * dumpBackup can optionally compress via dbzip2
16431 * (bug 2483) Run link updates on change via XML import
16432 * (bug 2481) List imported pages during Special:Import
16433 * (bug 2482) Log and RC entries for Special:Import events
16434 * Allow fetching all revisions from transwiki Special:Import
16435 * Allow fetching all revisions from Special:Export GET request
16436 * Disable output buffering on Special:Export; should help with streaming
16437 large numbers of history items.
16438 * Allow setting a maximum number of revisions for history Special:Export;
16439 pages with more than $wgExportMaxHistory revisions are excluded from
16440 export when history is requested.
16441 * Fix transwiki import of pages with space in name
16442 * Save null edit when importing pages through Special:Import
16443 * Update to Korean translation (ko)
16444 * Show a more specific message when an anonymous user tries to access
16445 Special:Watchlist
16446 * (bug 3278) Paging links in Special:Prefixindex
16447 * Added Latvian localization (lv)
16448 * (bug 6472) Fix regression in Special:Export with multiple pages
16449 * Update to Macedonian translation (mk)
16450 * Allow page moves over historyless self-redirects. Such are usually created
16451 as part of namespace rearrangements, and it's easier to clean them up if
16452 we can move over them.
16453 * Show some error results in moveBatch.php
16454 * (bug 6479) Allow specification of the skin to use during HTML dumps
16455 * (bug 6461) Link to page histories in Special:Newpages
16456 * (bug 6484) Don't do message transformations when preloading messages for
16457 editing
16458 * (bug 6201) Treat spaces as underscores in parameters to {{ns:}}
16459 * (bug 6006) Allow hiding the password change fields using an authentication
16460 plugin
16461 * (bug 6489) Use appropriate link colour on Special:Shortpages
16462 * Added formatnum magic word
16463 * Added Javanese localization (jv)
16464 * (bug 6491) Apply bad image list in category galleries
16465 * (bug 6488) Show relevant log fragment in Special:Movepage
16466 * Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
16467 * Use mysql_real_escape_string instead of addslashes for string escaping in
16468 the MySQL Database class. This may fix some rare breakage with binary fields.
16469 Note that MediaWiki does not support the multibyte character sets where a
16470 "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
16471 in this regard due to the bit patterns which make head and tail bytes
16472 distinct.
16473 * (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
16474 * (bug 6498) Use localized forms for image size in Special:Undelete
16475 * (bug 6485) Update to Indonesian translation (id) #24
16476 * Extension messages translation is now possible.
16477 * Add target namespace override selector for transwiki imports.
16478 $wgImportTargetNamespace specifies the default, to be used for
16479 Wiktionary's 'Transwiki:' namespace etc.
16480 * (bug 6506) Update to German localisation (de)
16481 * (bug 502) Avoid silly tabs on bad title by using virtual special page
16482 * (bug 6511) Add diff links to old revision navigation bar
16483 * (bug 6511) Replace 'oldrevisionnavigation' message with
16484 'old-revision-navigation'
16485 * Fix regression in Polish genitive month forms
16486 * (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
16487 more consistent: Accept just a namespace prefix and a colon, reject input
16488 with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.
16489 * (bug 6516) Update to Russian translation
16490 * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'.
16491 * Rename "searchquery" to "searchsubtitle" and support wiki text in it
16492 * Introduce updateArticleCount maintenance script which uses a better check that
16493 reflects what Article::isCountable() tests for
16494 * Introduce 'BadImage' hook; see docs/hooks.txt for more information
16495 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
16496 * (bug 5962) Update to Italian localisation
16497 * (bug 6530) Update to Indonesian localisation (id) #25
16498 * (bug 6523) Fix SVG issue in rebuildImages.php
16499 * (bug 6512) Link to page-specific logs on page histories
16500 * (bug 6504) Allow configuring session name with $wgSessionName
16501 * (bug 6185) Add standard user tool links to log page views
16502 * Update to Venetian translation (vec)
16503 * Update to Slovenian translation (sl)
16504 * Add standard user tool links to deleted revision list
16505 * Separate out EditPage's getContent bits from regular Article getContent.
16506 Cleans up read-only-mode warning on empty pages and neats up some code.
16507 * (bug 6565) Strict JavaScript writing
16508 * (bug 6570) Update to Indonesian localisation (id) #26
16509 * Added Telugu translation (te)
16510 * Update to Catalan translation (ca)
16511 * (bug 6560) Avoid PHP notice when trimming ISBN whitespace
16512 * Added namespace translation to Kannada (ka)
16513 * (bug 6566) Improve input validation on timestamp conversion
16514 * Implicit group "emailconfirmed" for all users whose email addresses are
16515 confirmed
16516 * (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute
16517 * (bug 6771) Make old revisions of MediaWiki pages available with action=raw
16518
16519
16520 == Compatibility ==
16521 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
16522
16523 If you are unable to run PHP 5, you may have to stick with 1.6 for now.
16524
16525 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
16526 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
16527
16528 Experimental Oracle support has been dropped as it is unmaintained.
16529
16530 == Upgrading ==
16531 Several changes to the database have been made from 1.6:
16532
16533 * A new "langlinks" table tracks interlanguage links
16534 * A new "filearchive" table stores information on deleted files
16535 * A new "querycache_info" table stores information on query page updates
16536
16537 To ensure that these tables are filled with data, run refreshLinks.php after
16538 the upgrade.
16539
16540 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
16541 changes are made, and there is a slightly higher chance that things could
16542 break. Don't forget to always back up your database before upgrading!
16543
16544 == Configuration changes ==
16545
16546 Some configuration options have changed:
16547 * $wgAllowExternalImages now defaults to off for increased security.
16548 * $wgLocalTZoffset was in hours, it is now using minutes.
16549 * Extensions may register special pages via the $wgSpecialPages array without
16550 forcing an early load of the SpecialPage.php class file.
16551
16552 == Major new features ==
16553
16554 * Deleted files can now be archived and undeleted, if you set up an appropriate
16555 non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate
16556 directory path in $wgFileStore['deleted']['directory']
16557 * Experimental PostgreSQL support has been updated. It may or may not be in
16558 usable shape; those interested in PostgreSQL are encouraged to follow 1.8
16559 development.
16560
16561 === Caveats ===
16562 Some output, particularly involving user-supplied inline HTML, may not
16563 produce 100% valid or well-formed XHTML output. Testers are welcome to
16564 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
16565 cases, but this is not recommended on live sites. (This must be set for
16566 MathML to display properly in Mozilla.)
16567
16568 = MediaWiki 1.6 =
16569
16570 == MediaWiki 1.6.12 ==
16571
16572 February 7, 2009
16573
16574 This is a security update to the Spring 2006 quarterly release.
16575
16576 A number of cross-site scripting (XSS) security vulnerabilities were discovered
16577 in the web-based installer (config/index.php). These vulnerabilities all
16578 require a live installer -- once the installer has been used to install a
16579 wiki, it is deactivated.
16580
16581 Note that cross-site scripting vulnerabilities can be used to attack any
16582 website in the same cookie domain. So if you have an uninstalled copy of
16583 MediaWiki on the same site as an active web service, MediaWiki could be used to
16584 attack the active service.
16585
16586 If you are hosting an old copy of MediaWiki that you have never installed, you
16587 are advised to remove it from the web.
16588
16589 == MediaWiki 1.6.11 ==
16590
16591 December 15, 2008
16592
16593 This is a security update to the Spring 2006 quarterly release.
16594
16595 David Remahl of Apple's Product Security team has identified a number of
16596 security issues in previous releases of MediaWiki. Subsequent analysis by the
16597 MediaWiki development team expanded the scope of these vulnerabilities. The
16598 issues with a significant impact are as follows:
16599
16600 * An XSS vulnerability affecting Internet Explorer clients for all MediaWiki
16601 installations with uploads enabled. [CVE-2008-5250]
16602 * An XSS vulnerability affecting clients with SVG scripting capability (such as
16603 Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled.
16604 [CVE-2008-5250]
16605 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
16606 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
16607
16608 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
16609 authorised user's login session, and to act as that user on the wiki. The
16610 authorised user must visit a web page controlled by the attacker in order to
16611 activate the attack. Intranet wikis are vulnerable if the attacker can
16612 determine the intranet URL, even if the attacker cannot access it.
16613
16614 CSRF vulnerabilities allow an attacker to act as an authorised user on the
16615 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
16616 a specific and restricted way. The present CSRF vulnerability allows pages to
16617 be edited, with forged revision histories. Like an XSS vulnerability, the
16618 authorised user must visit the malicious web page to activate the attack.
16619
16620 Rather than backport our SVG validation code to this ancient branch, we have
16621 instead disabled SVG uploads. To enable SVG uploads, please upgrade to
16622 MediaWiki 1.13.3 or later.
16623
16624 The other two issues have been fixed.
16625
16626 == MediaWiki 1.6.10 ==
16627
16628 February 20, 2007
16629
16630 This is a security and bug-fix update to the Spring 2006 quarterly release.
16631
16632 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
16633 charset autodetection was located in the AJAX support module, affecting MSIE
16634 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
16635
16636 If you are using an extension based on the optional Ajax module, either disable
16637 it or upgrade to a version containing the fix:
16638
16639 * 1.9: fixed in 1.9.3
16640 * 1.8: fixed in 1.8.4
16641 * 1.7: fixed in 1.7.3
16642 * 1.6: fixed in 1.6.10
16643
16644 There is no known danger in the default configuration, with $wgUseAjax off.
16645
16646 * ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins
16647 dependencies
16648 * Add 'charset' to Content-Type headers on various HTTP error responses to
16649 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
16650 default when the script didn't specify more details, which some inconsiderate
16651 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
16652 This fixes an issue with the Ajax interface error message on MSIE when
16653 $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a
16654 previously fixed attack vector was discovered by Moshe BA from BugSec:
16655 http://www.bugsec.com/articles.php?Security=24
16656 * Trackback responses now specify XML content type
16657
16658 == MediaWiki 1.6.9 ==
16659
16660 January 9, 2007
16661
16662 * ([[mediazilla:6621|bug 6621]]) Backported German translation for
16663 'eauthentsent'
16664
16665 * ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list
16666 (nl)
16667 * ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in
16668 German translation (de)
16669 * XSS fix in AJAX module
16670
16671 An XSS injection vulnerability was located in the AJAX support module,
16672 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
16673 enabled.
16674
16675 There is no danger in the default configuration, with $wgUseAjax off.
16676
16677 If you are using an extension based on the optional AJAX module, either disable
16678 it or upgrade to a version containing the fix:
16679
16680 * 1.9: fixed in 1.9.0rc2
16681 * 1.8: fixed in 1.8.3
16682 * 1.7: fixed in 1.7.2
16683 * 1.6: fixed in 1.6.9
16684
16685 == MediaWiki 1.6.8 ==
16686
16687 July 8, 2006
16688
16689 MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006
16690 snapshot:
16691
16692 A potential HTML/JavaScript-injection vulnerability in a debugging script has
16693 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
16694 overwrite vulnerability are affected.
16695
16696 As a workaround for existing installs, profileinfo.php may simply be deleted if
16697 it's not being used.
16698
16699 * ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he)
16700 * Respect language directionality when displaying arrow in
16701 Special:Brokenredirects
16702 * ([[mediazilla:6415|bug 6415]]) Typo in Parser.php
16703 * Fixed potential XSS in profileinfo.php
16704
16705 == MediaWiki 1.6.7 ==
16706
16707 June 6, 2006
16708
16709 MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006
16710 snapshot:
16711
16712 An HTML/JavaScript-injection vulnerability in the edit form has been closed.
16713 This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are
16714 not affected.
16715
16716 Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in
16717 a one-pass way which is more reliable and safer. Under earlier versions of
16718 MediaWiki, certain extensions could be abused to inject HTML/JavaScript into
16719 the page.
16720
16721 Additional precautions are made against offsite form submissions when the
16722 restricted raw HTML mode is enabled.
16723
16724 Some small localization and user interface updates are also included.
16725
16726 *([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de)
16727 *([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de)
16728 *([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink"
16729 *([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
16730 *Increase robustness of parser placeholders; fixes some glitches when adjacent
16731 to identifier-ish constructs such as URLs.
16732 *([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki>
16733 extension
16734 *Nesting of different tag extensions and comments should now work more
16735 consistently and more safely. A cleaner, one-pass tag strip lets the 'outer'
16736 tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to
16737 further parsing (<nowiki><ref></nowiki>-style). There should no longer be
16738 surprise expansion of foreign extensions inside HTML output, or differences in
16739 behavior based on the order tags are loaded.
16740 *([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends
16741 close tags
16742 *Pre-save transform no longer changes the case of close tags
16743 *Edit security precautions in raw HTML mode, etc
16744
16745 == MediaWiki 1.6.6 ==
16746
16747 May 23, 2006
16748
16749 MediaWiki 1.6.6 is a security and bugfix maintenance release.
16750
16751 An XSS injection vector in brace replacement has been fixed, as have some
16752 potential problems with table parsing. Upgrading is strongly recommended for
16753 all users of 1.6. MediaWiki versions 1.5 and earlier are not affected.
16754
16755 Additionally some localization and user interface updates are included.
16756
16757 * Correct "revertpage" message in English
16758 * ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup
16759 * (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German
16760 localisation (de)
16761 * ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as
16762 links
16763 * ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
16764 * ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file
16765 selected
16766 * ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is
16767 minor" and "watch this"
16768 * ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified
16769 ('nouserspecified')
16770 * ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable
16771 handler (found by Nick Jenkins)
16772 * Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the
16773 parser to better handle some overlapping tag cases.
16774 * Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC.
16775 * ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are.
16776
16777 == MediaWiki 1.6.5 ==
16778
16779 May 2, 2006
16780
16781 * Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]].
16782
16783 == MediaWiki 1.6.4 ==
16784
16785 May 2, 2006
16786
16787 * Further improvements to Hebrew localisation
16788 * ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects
16789 for right-to-left languages
16790 * Replace "doubleredirectsarrow" with a content language check that picks the
16791 appropriate arrow
16792 * Remove live debugging hack which caused errors with certain database names
16793 * ([[MediaZilla:5510|bug 5510]]) Warning produced when using
16794 <nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces
16795 * ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation
16796 [patch: Ivan Lanin]
16797 * ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds
16798 * ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload
16799 * ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in
16800 Special:Allmessages due to conflicting anchor identifiers
16801 * ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it
16802 by default.
16803 * Add $wgReservedUsernames configuration directive to block account creation/use
16804 * ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check
16805 * ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak
16806 * ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout
16807 pages' section
16808 * ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link
16809 * Minor improvements to English language files
16810 * Improvements to German localisation files
16811 * ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php
16812 * (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for
16813 Bosnian language (bs)
16814 * ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language
16815 for the wiki, not the language of the user performing the operation.
16816 * ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement()
16817 * Fix for concurrency problem in job queue (image description page invalidation)
16818 * ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6
16819 (unclosed <nowiki><li>,<dd>,<dt></nowiki>)
16820 * ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories
16821 * ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel
16822 * Improvements to update scripts; print out the version, check for superuser
16823 credentials before attempting a connection, and produce a friendlier error if
16824 the connection fails
16825 * ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output.
16826 * ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid
16827 (using 1970 date).
16828 * ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling'
16829 table creation
16830 * Remove unneeded extra whitespace at top of Special:Categories
16831 * Rewrite reassignEdits script to be more efficient; support optional updates
16832 to recent changes table; add reporting and silent modes
16833 * Updated initStats maintenance script
16834 * ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki
16835 namespace as "wanted"
16836 * ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext
16837 * ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14
16838
16839 == MediaWiki 1.6.3 ==
16840
16841 April 10, 2006
16842
16843 * Fix disappearing red-linked items in the watchlist editing view
16844 * ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion
16845 warning
16846 * ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to
16847 TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work
16848 * Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change
16849
16850 == MediaWiki 1.6.2 ==
16851
16852 April 8, 2006
16853
16854 * Further improvements to Hebrew localisation
16855 * Fix 'copyright' message for Romanian
16856 * ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization
16857 * ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption
16858 * ([[MediaZilla:5493|bug 5493]]) Id translation for special pages
16859 * Additional path fixes in the updater
16860 * ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension
16861 tag parameters
16862
16863 == MediaWiki 1.6.1 ==
16864
16865 April 5, 2006
16866
16867 Some minor issues in the 1.6.0 release have been corrected:
16868 * ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in
16869 contribs and contribs link in block log
16870 * ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater
16871 * ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in
16872 Special:Recentchangeslinked
16873 * PHP warning when allow_call_time_pass_reference is off
16874 * Update to Finnish localization
16875
16876 == MediaWiki 1.6.0 ==
16877
16878 April 5, 2006
16879
16880 MediaWiki is now using a "continuous integration" development model with
16881 quarterly snapshot releases. The latest development code is always kept "ready
16882 to run", and in fact runs our own sites on Wikipedia.
16883
16884 Release branches will continue to receive security updates for about a year
16885 from first release, but nonessential bugfixes and feature development will take
16886 place on the development trunk and will appear in the next quarterly release.
16887
16888 Those wishing to use the latest code instead of a branch release can [[Download
16889 from SVN|obtain it from source control]].
16890
16891 === What's new in 1.6 ===
16892
16893 '''User interface:'''
16894 * The account creation form has been separated from the user login form.
16895 * Page protection/unprotection uses a new, expanded form
16896
16897 '''Templates:'''
16898 * Categories and "what links here" now update as expected when adding or
16899 removing links in a template.
16900 * Template parameters can now have default values, as <nowiki>{{{name|default
16901 value}}}</nowiki>
16902
16903 '''Uploads:'''
16904 * Optional support for rasterizing SVG images to PNG for inline display
16905
16906 '''Feeds:'''
16907 * Feed generation upgraded to Atom 1.0
16908 * Diffs in RSS and Atom feeds are now colored for improved readability.
16909
16910 '''Database:'''
16911 * MySQL 3.23.x support dropped; 4.0 or later required
16912 * Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested)
16913 * Experimental Oracle support (not well tested!)
16914
16915 '''Anti-spam extension support:'''
16916 * [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for
16917 automated cleanup.
16918 * Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict
16919 automated spam edits.
16920
16921 Numerous bug fixes and other behind-the-scenes changes have been made; see the
16922 file HISTORY for a complete change list.
16923
16924 == Changes since 1.5 ==
16925
16926 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
16927
16928 Code quality:
16929 * Use strval() to make sure we don't accidentally get null on bad revision
16930 text loads or other fields mucking up XML export output
16931 * Clean up duplicate code for selection of changeslist style
16932 * Correct blob caching to reduce redundant blob loads on backups
16933 * (bug 3182) Clear link cache during import to prevent memory leak
16934 * Fixed possible infinite loop in formatComment
16935 * Wrap message page insertions in a transaction to speed up installation
16936 * Avoid notice warning on edit with no User-Agent header
16937 * (bug 3649) Remove obsolete, broken moveCustomMessages script
16938 * Avoid numerous redundant latest-revision lookups in history
16939 * Require PHP 4.3.2 or higher strictly now.
16940 * Tweak infinite-template-handling loop for PHP 5.1.1 string handling change
16941 * Remove unused OutputPage::addCookie()
16942 * Fix for short_open_tag off again; please don't break this, guys
16943 * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
16944 * (bug 5302) Merge the two #p-search .pBody statements in monobook css.
16945
16946 Database:
16947 * Finally dropped MySQL 3.23.x support
16948 * Oracle support
16949 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
16950 * Update all stats fields on recount.sql
16951 * (bug 3227) Fix SQL injection introduced in experimental code
16952 * Fix table prefix usage in Block::enumBlocks
16953 * (bug 3448) Set page_len on undelete
16954 * (bug 3506) Avoid MySQL error when Listusers returns no results
16955 * Skip update of disused 'rc_cur_time' field (todo: discard the field)
16956 * (bug 3735) Fix to run under MySQL 5's strict mode
16957 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
16958 NOTE: Enabling this may break existing wikis, and still doesn't
16959 work for all Unicode characters due to MySQL limitations.
16960 * MySQL 5.0 strict mode fix for moving unwatched pages
16961 * Ability to set the table name for external storage servers
16962 * Update ipblocks table in MySQL 5 table defs
16963 * Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround)
16964 * Added templatelinks table, to track template inclusions. User-visible effects
16965 will be:
16966 * (inclusion) tag for inclusions in Special:Whatlinkshere
16967 * More accurate list of used templates on the edit page
16968 * More reliable cache invalidation when templates outside the template
16969 namespace are changed
16970 * Respect database prefix in dumpHTML.inc
16971 * Removed read-only check from Database::query()
16972 * Added externallinks table, to track links to arbitrary URLs
16973 * Added job table, for deferred processing of jobs. The immediate application is
16974 to complete the link table refresh operation when templates are changed.
16975 * Don't change the password of the MySQL root user.
16976
16977 Documentation:
16978 * (bug 3306) Document $wgLocalTZoffset
16979
16980 Hooks:
16981 (list not complete)
16982 * Move ArticleSave hook execution into Article insert/update functions,
16983 so they get called on non-EditPage actions that use these functions
16984 to create or update pages.
16985 * Added EditFilter hook, and output callback on EditPage::showEditForm()
16986 for a place to add in captcha-type extensions in the edit flow
16987 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
16988 * Fix for hook callbacks on objects containing no fields
16989 * Add a hook for additional user creation throttle / limiter extensions
16990 * Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
16991 instance. This allows use of extension hooks if required.
16992 * Added AutoAuthenticate hook for external User object suppliers
16993 * Added 'PageRenderingHash' hook for changing the parser cache hash key
16994 from an extension that changes rendering based on nonstandard options.
16995 * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones
16996 * (bug 4456) Add hook for marking article patrolled
16997 * Add UserRights hook, fires after a user's group memberships are changed
16998
16999 Images:
17000 * Support SVG rendering with rsvg
17001 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
17002 * (bug 3127) Render large SVGs at image page size correctly
17003 * Fix scaling of non-integer SVG unit sizes
17004 * (bug 2800) Don't scale up small images on |thumb| without explicit size
17005 * Use the real file link instead of the default-size rasterized version for
17006 large SVG images on image description page
17007 * Include the file name/type/size line for non-resized images
17008 * (bug 3489) PHP 5.1 compat problem with captioned images
17009 * (bug 3643) Fix image page display of large images with resizing disabled
17010 * Added a limit to the size of image files which can be thumbnailed
17011 * (bug 3806) Gracefully fall back to client-side scaling on |thumb| image
17012 that passes $wgMaxImageArea
17013 * (bug 153) Adjust thumbnail size calculations to match consistently;
17014 patch by David Benbennick
17015 * (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
17016 be rerendered on demand, sitewide
17017 * (bug 1850) Additional fixes so existing local and remote images
17018 get a blue link even if there's no local description page
17019 * Avoid FATAL ERROR when creating thumbnail of non-existing image
17020 * (bug 4207) Wrong image size when using 100x200px syntax to scale image up
17021 patch by David Benbennick
17022 * Don't delete thumbnails when refreshing exif metadata. This caused thumbs
17023 to vanish mysteriously from time to time for files that didn't have metadata.
17024 * (bug 4426) Add link to user_talk page on image pages
17025 * Support a custom convert command for thumbnailing. See DefaultSettings.php
17026 and the comments for $wgCustomConvertCommand, for more information.
17027 * UserCan hook now allows advisory return values, rather than mandatory ones.
17028
17029 Installer:
17030 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
17031 Why do people invent these crazy options that change language semantics?
17032 * Fixed installer bugs 921 and 3914 (issues with using root and so forth)
17033 * (bug 4258) Use ugly urls for ISAPI by default
17034 patch by Rob Church
17035 * Improve installer
17036 * Use a superuser account (such as root), if specifed, to create tables
17037 * Don't overwrite conservative permissions on the mySQL user with ALL
17038 permissions, if said user exists
17039 * Changes to some of the wording of explanations for fields
17040 * (bug 1734) granting db permissions failed with db usernames containg '-'
17041 * Add basic check for session support in PHP and die if not present
17042
17043 Maintenance:
17044 * Fix problem reported on mailing list where re-initialising stats didn't work
17045 (can't insert duplicate rows with the same id field)
17046 * Added --conf option to command line scripts, allowing the user to specify a
17047 different LocalSettings.php.
17048 * Maintenance script to delete unused text records
17049 * Maintenance script to delete non-current revisions
17050 * Maintenance script to wipe a page and all revisions from the database
17051 * Maintenance script to reassign edits from one user to another
17052 * Maintenance script to find and remove links to a given domain
17053 (cleanupSpam.php)
17054 * Fix --report interval option for dumpTextPass
17055
17056 i18n / Languages:
17057 * Partial support for Basque language (from wikipedia and meta)
17058 * (bug 3141) Partial support for Breton language (thanks Fulup).
17059 * Support for venitian language
17060 * (bug 1334) LanguageGa.php update
17061 * Finnish date format was hardcoded, now implemented properly
17062 * (bug 3190) Added some date format choices for language sr
17063 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
17064 * (bug 3204) Fix typo breaking special pages in fy localization
17065 * (bug 3177) Estonian date formats not implemented in LanguageEt.php
17066 * (bug 1020) Changing user interface language does not work immediately
17067 * (bug 3271) Updated LanguageNn.php for HEAD
17068 * Experimental feature to allow translation of block expiry times
17069 Implementation only for Finnish currently
17070 * (bug 3304) Language file for Croatian (LanguageHr.php)
17071 * (bug 2143) Update Vietnamese interface
17072 * (bug 3063) Remove some hardcodings from Hebrew localisation
17073 * (bug 3408) Bulgarian formatNum corrected
17074 * (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
17075 harm than good under current system by breaking incoming URLs with "ux".
17076 (Editing is not affected, just URLs.)
17077 * (bug 1423) LanguageJa.php update
17078 * Fix language name for dv
17079 * (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages
17080 * (bug 3629) Fix date & time format for Frisian
17081 * (bug 3334) Namespace changes for Polish
17082 * (bug 3580) Change default Dutch language file to more neutral
17083 * (bug 3656) LanguageHr.php - added convertPlural
17084 * (bug 3414) LanguageBe.php - added convertPlural
17085 * (bug 3163) Full translation of LanguageBr
17086 * (bug 3617) Update for portuguese language (pt)
17087 * Namespaces hacks on LanguagePl
17088 * (bug 3682) LanguageSr.php - added convertPlural
17089 * (bug 3694) LanguageTr.php update
17090 * (bug 3711) Removed invisible unicode characters from LanguageHu
17091 * (bug 2981) Linktrail for Tamil (ta)
17092 * (bug 3722) Update of Arabic language (ar) Namespace changes
17093 * Removed hardcoded Norwegian (no) project namespaces
17094 * (bug 2324) image for redirects should be without text and oriented according
17095 to content language
17096 * (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
17097 * (bug 3817) Use localized date formats in preferences; 'no preference' option
17098 localizable as 'datedefault' message. Tweaked lots of languages files...
17099 * (bug 2721) Regression: Use European number separators for vi: wikis
17100 * (bug 3961) minor languageDe changes
17101 * (bug 1984) LanguageKo.php (Korean) update
17102 * (bug 3804) update of LanguageWa.php file
17103 * (bug 3886) Update for Portuguese language (pt)
17104 * (bug 4020) Update namespaces for ms
17105 * (bug 3922) bidi embedding overrides on category links
17106 * (bug 4061) Update of Slovene namespace names (LanguageSl.php)
17107 * (bug 4064) LanguageDe comma changes
17108 * (bug 3922) Further tweaks to bidi overrides in category list for old
17109 versions of Safari and Konqueror
17110 * Fix custom namespaces on wikis set for Portuguese
17111 * (bug 4153) Fix block length localizations in Greek
17112 * (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php
17113 ii: & za: now inherit from LanguageZn_cn.php
17114 * (bug 4165) Correct validation for user language selection (data taint)
17115 * (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle
17116 * Use content-lang for sitenotice
17117 * (bug 4233) Update LanguageJa.php
17118 * (bug 4279) Small correction to LanguageDa.php
17119 * (bug 4108, 4336) Remove trailing whitespace from various messages, which
17120 mucks up message updating to create dupe entries
17121 * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
17122 * (bug 4392) Update of LanguageSr.php
17123 * (bug 4382) Frisian numeric format
17124 * (bug 4424) Update for Spanish language (es) 100% messages translated
17125 * (bug 4425) Typos in Polish translation
17126 * (bug 4436) Update for Turkish language (tr)
17127 * (bug 4413) Update of Farsi language file (LanguageFa.php)
17128 * Update for LanguageSr (Serbian): magic words
17129 * (bug 137) MediaWiki:Copyrightwarning hardcoding
17130 * (bug 4457) Update for Portuguese language (pt)
17131 * convertPlural breakage fixed a little
17132 * (bug 4144) Support for Sudanese language (Basa Sunda)
17133 * Big cleanup:
17134 - Removed obsolote, badly or untranslated messages
17135 - Removed references to wikipedia/wikimedia etc in messages
17136 - Other cleanup, like removing html and javascript and extension calls
17137 - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
17138 - Removed some useless backwards compatibility hacks
17139 - Fixed formatnum on many languages
17140 * wgAmericanDates check produced incorrect results in languages that don't have
17141 a such distinction
17142 * (bug 4548) Update for Portuguese language (pt): time format
17143 * (bug 4530) Use consistent name for Kurdish
17144 * Tweak default "upload disabled" text
17145 * (bug 4504) Use site language for namespace name resolution
17146 * (bug 4510) Correct Barnes & Noble bookstore URLs
17147 * (bug 3991) Allow the operation of wikicode on Protect move only text
17148 * (bug 4267) Switch dv sd ug ks arc languages to RTL
17149 * Default main page content improved per bug 4690
17150 * (bug 4615) Update for Portuguese language (pt)
17151 * Separated MessagesSl.php as the other languages.
17152 * (bug 4960) Add additional namespaces variants to Yiddish for compatibility
17153 * (bug 4805) Removed more wikipedia-references from MessagesUk.php
17154 * (bug 5015) Update magic words translation in LanguageBe.php
17155 * (bug 4859) Update for Portuguese messages (pt)
17156 * (bug 4788) One string for MessagesPl
17157 * Restriction types now use restriction-* messages instead of ui messages
17158 * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace
17159 * (bug 5097) Fix Hungarian language (hu): thousands separator
17160 * (bug 5098) Update for Portuguese messages (pt)
17161 * (bug 5113) Spelling error in French language file
17162 * (bug 5105) Magic words for LanguageAr.php
17163 * (bug 3993) Variants for Serbian language
17164 * Typo in English messages file
17165 * (bug 4114) Spacing in watchlist rows (in editing mode)
17166 * Update default "exporttext" to reflect that Special:Import exists
17167 * (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews
17168 fix
17169 * (bug 5357) Add the icon near the user name also in RTL interfaces
17170 * (bug 5156) Update for Hebrew language (he)
17171 * (bug 4497,4704,5010) Added some new language codes.
17172 * (bug 5362) Piedmontese added
17173 * (bug 5349) Update for Portuguese messages (pt)
17174 * (bug 3573) Finished full Greek translation: namespaces
17175 * (bug 5288) Initial localisation for Az
17176 * (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting
17177 page
17178 * Tweak wording of "allmessagesnotsupporteddb"
17179
17180 Parser:
17181 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
17182 * (bug 3210) Fix Media: links with remote image URL path
17183 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
17184 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
17185 format as designed. Documentation comments updated.
17186 * Fix Parser::unstrip on PHP 5.1.0RC4
17187 * (bug 3797) Don't expand variables and sigs in comments
17188 * Allow parser cache on redirect targets
17189 * Run wikitext-escaping on plaintext sigs (no wiki markup, just name)
17190 * Check for unbalanced HTML tags on raw sigs (markup allowed, but show
17191 a warning in prefs and use default sig if not balanced)
17192 * Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
17193 ordinary templates.
17194 * Support <includeonly> in templates loaded through preload= parameter
17195 * (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
17196 * Substitute {{REVISIONID}} correctly in diff display
17197 * (bug 1850) Allow red-links on image pages linked with [[:image:foo]]
17198 * Fix XML validity checks in parser tests on PHP 5.1
17199 * (bug 4377) "[" is not valid in URLs
17200 * (bug 4453) fix for __TOC__ dollar-number breakage
17201 * Convert unnecessary URL escape codes in external links to their equivalent
17202 character before doing anything with them. This prevents certain kinds of
17203 spam filter evasion.
17204 * (bug 4783) : Fix for "{{ns:0}} does not render"
17205 * Improved support for interwiki transclusion
17206 * (bug 1850) Image link to nonexistent file fixed.
17207 * (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables
17208 * (bug 4949) Missing : in "addedwatchtext" for English and Spanish
17209 * Allow user-defined functions, which work in a similar way to {{GRAMMAR:}}
17210 etc. Registered via an interface similar to tag hooks.
17211
17212 Upload:
17213 * (bug 2527) Always set destination filename when new file is selected
17214 * (bug 3076) Support MacBinary-encoded uploads from IE/Mac
17215 * (bug 2554) Tell users they are uploading too large file
17216 * Support for a license selection box on Special:Upload, configurable from
17217 MediaWiki:Licenses
17218 * Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads
17219 overwriting existing files; default is the old behavior (allowed).
17220
17221 Security:
17222 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
17223 * (bug 3280) Respect 'move' group permission on page moves
17224 * (bug 2613) Clear saved passwords from the form
17225 * IP privacy fix for blocklist search on autoblocks
17226 * Security fix for <math>
17227 * Security fix for tables
17228 * Security fix for Special:Upload license selection list
17229 * Add UploadVerification hook for custom file upload validation/security checks
17230 * Blacklist additional MSIE CSS safety tricks
17231 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
17232 versions for convenient harvesting by automated worms
17233 * Sanitizer CSS comment processing order fix
17234 * Forbid usernames that can be interpreted as titles with namespaces, as that
17235 leads to hard-to-manage names.
17236 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
17237 * Add createpage and createtalk permission keys, allowing a quick
17238 switch to disable page creation for anonymous users.
17239 * (bug 675) Add page protection level for unregistered/new accounts
17240 * User::isNewbie now uses the registration date and $wgAutoconfirmAge
17241 * Add 'deletedhistory' permission key for ability to view deleted history
17242 list via Special:Undelete. Default is off, replicating the 1.5 behavior,
17243 but it can be turned back on for random users to replicate the previous
17244 1.6 dev behavior.
17245 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
17246 * (bug 4371) Disallow tilde character in signatures
17247 * Removed broken wgAllowAnonymousMinor and added new group right minoredit
17248 * Added detection for WMF files (application/x-msmetafile), added this
17249 MIME type to the default blacklist. Prevented inline display of images
17250 which are not of known image types. This is in response to
17251 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
17252 * Blocked users can no longer roll back, change the protection of, or
17253 delete/undelete pages
17254 * Protect against spoofing of X-Forwarded-For header
17255 * XSS issue : now sanitize search query input (fixed in 1.5rc3)
17256 * Remove deprecated $wgOnlySysopsCanPatrol references; use
17257 User::isAllowed( 'patrol' )
17258 per bug 5282. Patch by Alan Harder.
17259 * Prevent registration/login with the username "MediaWiki default"
17260
17261 Special Pages:
17262 * Rearranged Special:Movepage form to reduce confusion between destination
17263 title and reason input boxes
17264 * (bug 1956) Hide bot uploads from Special:Newimages
17265 * (bug 3220) Fix escaping of block URLs in Recentchanges
17266 * (bug 3284) Ipblocklist paging, substring search
17267 * Allow filtering of robot edits in Special:Watchlist by setting
17268 $wgFilterRobotsWL = true.
17269 * Fix interlanguage links on special pages when extra namespaces configured
17270 * (bug 3475) anon contrib links on Special:Newpages
17271 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
17272 * (bug 2369) Add separate message for input box on Special:Prefixindex
17273 * (bug 3798) DoubleRedirects no longer has hard coded arrows
17274 * (bug 3803) Fix links on Special:Wantedcategories with miser mode off
17275 * Fix Special:BrokenRedirects on MySQL 5.0
17276 * (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc
17277 * Fail gracefully on invalid namespace in Special:Newpages
17278 * (bug 3762) Define missing Special:Import UI messages
17279 * (bug 3761) Avoid deprecation warnings in Special:Import
17280 * (bug 2894) Enhanced Recent Changes link fixes
17281 * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
17282 * (bug 146) List number of category members in Special:Categories
17283 (patch by Joel Nothman)
17284 * (bug 4090) Fix diff links in Special:Recentchangeslinked
17285 * (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
17286 * Fix display of old recentchanges records for page moves
17287 * (bug 360) Let Whatlinkshere track [[:image:foo]] links
17288 * (bug 3073) Keep search parameter on paging in Special:Newimages
17289 * Removed Special:Validate, it's been superseded by the Review extension
17290 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
17291 * (bug 1996) Special page to list redirects
17292 * (bug 4334) Add "watch" links to Special:Unwatchedpages
17293 * Generate target user page links in Special:Ipblocklist where appropriate
17294 (i.e. not an autoblock)
17295 * Generate link to talk page of the blocker in Special:Ipblocklist, move
17296 contribs. link of the target next to their name
17297 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
17298 * Move parentheses out of <a> link in Special:Contributions
17299 * (bug 3192): properly check 'limit' parameter on Special:Contributions
17300 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
17301 * Add block, block log and general log links to Special:Contributions
17302 * Add contributions link to block log items
17303 * Added optional "hide own edits" feature to Special:Recentchanges
17304 * (bug 5018) Anchors for each message in Special:Allmessages
17305 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
17306 list pages with less than this number of links. Defaults to 1.
17307 * (bug 4319) Don't show a "create account" link on the login form when
17308 account creation is disabled.
17309 * JavaScript filter for Special:Allmessages
17310 * (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
17311 * Show links to user page, talk page and contributions page on Special:Newpages
17312 * Special:Export can now export a list of all contributors to an article (off by
17313 default)
17314 * (bug 5372) Add number of files to Special:Statistics
17315 * (bug 2871) Links to talk pages in watchlist editing view
17316 * (bug 5385) Allow hiding anonymous edits on Special:Recentchanges
17317 * (bug 2544) Illogical error reporting order in Special:Userlogin
17318 * (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if
17319 patrolling is disabled
17320 * (bug 5447) Convert first letter of username to uppercase before searching in
17321 Special:Listusers
17322 * (bug 759) Wrap redirects on the watchlist editing page in a span, class
17323 "watchlistredir"
17324 * (bug 1862) Namespace filtering in watchlists
17325
17326 Misc.:
17327 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
17328 if running prior to 4.2.0 as it causes the call to fail
17329 * (bug 3117) Fix display of upload size and type with tidy on
17330 * (bug 2323) Remove "last" tabindex from history page
17331 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
17332 * Fix display of read-only lockfile message
17333 * Include software-visible client IP address in Special:Version comment
17334 as a proxy debugging aid
17335 * (bug 3170) Page Title failed to obey MediaWiki:Pagetitle.
17336 wikititlesuffix was removed
17337 * Add ability to break off certain debug topics into additional log files;
17338 use $wgDebugLogGroups to configure and wfDebugLog() to log.
17339 * Edit conflict on recreation of deleted page
17340 * (bug 3216) Don't show empty warning page when no warnings.
17341 * (bug 3218) Use proper quoting on history Compare Revisions button
17342 * Fix upgrade from 1.4 due to version number check breakage [for rc future]
17343 * Fix upgrade from 1.4 with no old revisions
17344 * Remove "info" editing toolbar that was shown in browsers which do not
17345 fully support the editing toolbar, but was found to be too confusing.
17346 * Don't override edit conflict suppression on section edits; section merging
17347 should provide the expected transparency here and fits usage patterns better.
17348 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
17349 * (bug 2078) Don't hide watch tab on preview
17350 * Fix regressions in ChangesList traditional layout
17351 * Fix edit on double-click for move-protected pages in Classic skin
17352 * (bug 3485) Fix bogus warning about filename capitalization when off
17353 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
17354 by default when 'watchdefault' option is on
17355 * Add options to dumpBackup.php for making split/partial dumps by page id
17356 * Added filter options, compression piping, and multiple output streams for
17357 dumpBackup.php
17358 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
17359 * (bug 3598) Update message cache on message page deletion, patch by Tietew
17360 * Added separate noarticletext and newarticletext messages for logged in and
17361 anon users.
17362 * (bug 3332) Installation now uses Monobook, validates, plus usability
17363 improvements.
17364 * (bug 3660) Update diff3 detection to work with Windows/Cygwin
17365 * (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext
17366 * Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php)
17367 * Data dump 'prefetch' mode to read normalized text from a prior dump
17368 (requires PHP 5, XMLReader extension)
17369 * (bug 2773) Print style sheet no longer overrides RTL text direction
17370 * (bug 2938) Update MediaWiki:Exporttext to be more general
17371 * Various fixes
17372 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
17373 * Added @import for [[MediaWiki:Common.css]] to all skins
17374 * Edit box now remembers scrollbar position on preview
17375 * (bug 3816) Throw edit conflict instead of fatal error when a page is
17376 moved or deleted during section edit
17377 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
17378 * (bug 3291) 'last' diff link for last history line when not at end
17379 * (bug 3667) Add missing global in page move code
17380 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
17381 talk notification on PHP 5.0.5
17382 * (bug 3852) "Redirected from" link no longer obscured on double-redirects
17383 * changed directory hierarchy in images/math/. System upgrades from old to
17384 new hierarchy on the fly.
17385 * (bug 3487) Fix category edit preview with preview-on-bottom
17386 * (bug 918) Search index incorrectly joined words at == headings ==
17387 * (bug 3877) Render math images into temp directory, then move to hashed
17388 subdir so you can render new math images and have them work
17389 * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
17390 * Allow $wgFeedCacheTimeout of 0 to disable feed caching
17391 * Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
17392 * Require POST for action=purge, to stop bots from purging the cache
17393 * Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth
17394 requirements to the memcached server.
17395 * (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
17396 * (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
17397 DIRECTORY_SEPARATOR (was wrong on NetWare)
17398 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
17399 * (bug 3939) Don't try to load text for interwiki redirect target
17400 * (bug 3948) Avoid notice warning in debug statement in bad search
17401 * Recognize Special:Search consistently so read whitelist works
17402 * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to
17403 unclear language in the spec. Now using the URL, same as the permalink,
17404 which someone else will probably whine about because it's not 'perma'
17405 enough or something.
17406 * (bug 4014) Fix include mode for Allpages on small page sets
17407 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
17408 * (bug 3065) Update both watched namespaces when renaming pages
17409 * Changed mail form to have a bigger message entry box (like for editing
17410 a page
17411 * Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
17412 * (bug 2111) Collapsable exif metadata table, clean up display
17413 * Reduce fractions in display of exif exposure time
17414 * (bug 4048) Optional footer link to site privacy policy
17415 * Don't die() when update.php reaches the end of the warning count
17416 * (bug 1915) Fix edit links when 'direction' used with 'oldid';
17417 using revision ID reported via OutputPage; Skin::editUrlOptions()
17418 * Remove obsolete 'redirect=no' on some edit links
17419 * Include oldid for the second revision on edit link on diff view
17420 * (bug 4035) Fix prev/next revision links on edit page
17421 * (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it
17422 on Special:Upload as well as edit, rearrange edit page pieces a bit.
17423 Copyright warning now above the buttons to ensure it's visible,
17424 template list at the bottom so it can grow.
17425 * Optional summary parameter to action=rollback, for user javascript
17426 * (bug 4167) Fix regression caused by patch for bug 153
17427 * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
17428 * (bug 4170) Decode HTML character escapes in sort key
17429 * (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
17430 * (bug 4214) Skip redundant action text inserts into the HTML <title>
17431 * (bug 4212) Skip redundant meta-robots tag for default settings
17432 * Fix regression: old version missing from edit links in Nostalgia skin
17433 * (bug 1600) Trigger edit conflict on duplicate section=new submissions
17434 * (bug 4001) Use local variables properly in wikibits.js akeytt()
17435 * Fix regression: old version missing from edit links on CSS/JS pages
17436 * (bug 3211) Include Date, To mail headers when using PEAR::Mail
17437 * (bug 3407) Fix encoding of subject and from/to headers on notification
17438 mails; userMailer() now takes a MailAddress wrapper object instead of
17439 a raw string to abstract things a level.
17440 * Fixed --server override on dumpTextPass.php
17441 * Added plugin interface for dumpBackup, so additional filters and output
17442 sink types can be registered at runtime from an extension
17443 * (bug 349) Fix for some numeric differences not being highlighted
17444 patch by Andrius Ramanauskas
17445 * (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling
17446 * Did some refactoring on ChangesList.php merging dupe code
17447 * (bug 1586) Fix interwiki generator for wikimedia obscure domains
17448 * (bug 3493) Mark edits patrolled when they are reverted
17449 patch by Leon Planken
17450 * Removed experimental Amethyst skin from default set
17451 * Upgrade old skin preferences properly at Special:Preferences
17452 (used to spontaneously switch to Classic skin for old numeric pref records)
17453 * (bug 3424) Update page_touched for category members on category page creation
17454 * Log views show message when no matches
17455 * Fix raw sitenotice display on database error
17456 * Fix autoconfirm check for old accounts
17457 * (bug 4368) Don't show useless empty preview on new section creation
17458 * Don't show useless empty preview on new page creation
17459 * (bug 4411) Fix messages diff link for classic skin
17460 * (bug 4385) Separate parser cache entries for non-editing users, so section
17461 edit links don't vanish / appear unwanted on protected pages
17462 * (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render
17463 * (bug 4419) Remove obsolete magnify.png.old
17464 * Removed $wgUseCategoryMagic option, categories are now enabled unconditionally
17465 * (bug 3318) UI workarounds for disabled items in license selector
17466 MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
17467 Safari: JS will revert to 'non selected' if clicked (but not gray)
17468 MSIE/Mac: indented items now visible (JS hack)
17469 * (bug 714) "plainlinks" class issues in IE, Opera
17470 * (bug 4317) Inconsistent "broken redirects" messages
17471 * Default interface text for "selflinks" tweaked
17472 * (bug 3194) default implementation of translateBlockExpiry
17473 which uses ipboptions
17474 * (bug 4446) $wgExportAllowHistory option to explicitly disable history in
17475 Special:Export form, 'exportnohistory' message to translate live hack.
17476 * Maintenance script to delete unused user accounts
17477 * (bug 912) Search box easier to reach in text browsers (lynx, links)
17478 * $wgParserCacheExpireTime added
17479 * Skip loading of RecentChange.php except where needed
17480 * Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source
17481 size. This is necessary to limit server memory usage.
17482 * Cleanup and error checking on Special:Listredirects
17483 * Clear up some instances of old OutputPage::sysopRequired() function usage
17484 * Improve "upload disabled" notice
17485 * Move parts of index.php to include/Wiki.php in an attempt to both cleanup
17486 index.php and create a MediaWiki-class mediaWiki base object
17487 * (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output
17488 HTML on final output (cached or not)
17489 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
17490 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
17491 * (bug 3502) Bowtie symbol for TeX
17492 * (bug 4000) Support for \textstyle et al. in <math>
17493 * (bug 1663) support color in TeX formulas
17494 * (bug 2026) missing glue around \not= (TeX)
17495 * (bug 4576) Missing '>' broke license selector's first option in IE, Opera
17496 * Override $wgLocaltimezone in parser tests for us outside Iceland and UK
17497 * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
17498 * Remove redundant 'echo' statements from MonoBook.php
17499 * (bug 1103) Fix up redirect handling for images, categories
17500 Redirects are now followed from the top-level, outside of the Article
17501 content loading and viewing, for clarity and consistency.
17502 * (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
17503 page view (comes after parser cache, if used). Patch by ThomasV.
17504 * Linker::formatComment corrupted the passed title object on PHP 5
17505 if the comment included a section link. Use clone() to make a safe copy.
17506 * Add wfClone() wrapper since we're still using PHP 4 on some servers.
17507 * Remove obsolete killthread.php
17508 * Added wfDie() wrapper, and some manual die(-1), to force the return code
17509 to the shell to return nonzero when we crap out with an error.
17510 * Allow input of the stub from a compressed file instead of stdin
17511 for dumpTextPass.php; easier to get errors back on the shell
17512 * Added an attractive space on the namespace selector on contribs
17513 * Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
17514 Fixes use of named entities in sigs on PHP 5
17515 * (bug 4482) Include move comment on the null edit as well as the redirect
17516 * (bug 3990) Use existing session name if session.auto_start is on
17517 Fixes checks for open sessions, such as the cookie warning on login.
17518 Patch by Zbigniew Braniecki.
17519 * Add cache-safe alternate sitenotice for anonymous users.
17520 (MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice,
17521 if it exists. If not, the regular sitenotice shows. If that doesn't exist,
17522 the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
17523 * Spit the generated LocalSettings code out during the installer as an aid
17524 to debugging issues. (Keep this?)
17525 * Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
17526 when the directory is relocated for typical usage.
17527 * Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
17528 For typical usage this will be a light burden and should reduce confusion
17529 when the configuration is edited.
17530 * Fix $wgCacheEpoch's effect on client-side caching.
17531 * (bug 1122) gray out 'older revision' when viewing first article revision.
17532 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
17533 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
17534 name attribute)
17535 * (bug 3350) Missing label for move talk page checkbox.
17536 * (bug 2108) Sort entries when using category browser
17537 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
17538 * Add ".deps.php" include-file preloaders for some dynamically-loaded
17539 language and skin classes. Should help with the broken base-class
17540 problem under PHP 5 with APC as opcode cache. See details:
17541 http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
17542 * Small changes to tabs in Monobook skin c/o Chris Ware
17543 * (bug 4679) Work around buggy basename() function in PHP5, which breaks
17544 uploads of files starting with multibyte characters on Linux.
17545 wfBaseName() doesn't suffer this bug, and understands backslash on
17546 both Unix and Windows.
17547 * (bug 3603) headscripts variable not hooked up to MonoBook skin
17548 * Allow local cdb-based interwiki cache
17549 * Use the "block", not the "protect" permission, when determining whether to
17550 show a "block user" link in the toolbox
17551 * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
17552 * Suppress useless percentage indicator on output from 7za during dumps
17553 * (bug 4633) Add (previous 200) (next 200) also above catlinks
17554 * (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
17555 pages with only one revision. Fixes message diff link on first edit.
17556 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
17557 * Do not check lag on external storage servers
17558 * Do not tidy interface messages (unless full tidy is set)
17559 * Do not trust equality propagation and give more hints to MySQL
17560 optimizer for revision fetches (avoids index scans)
17561 * Use revision rate for ETA in dump generation; it tends to be more stable
17562 than the per-page count for full-history dumps.
17563 * Include timestamp in wfDebugLog breakouts
17564 * (bug 4469) Namespace-specific notice to be displayed below site-notice
17565 Edit messages like "MediaWiki:Namespacenotice-" plus namespace name
17566 which is blank for main namespace, or like e.g. "User_talk"
17567 * Adjust user login/creation form hooks to work with a captcha plugin
17568 * (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
17569 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
17570 and seems to work ok with other bits. No longer including the IE
17571 workarounds JavaScript for IE 7 and above.
17572 * Fix extra namespace for Bulgarian
17573 * (bug 4303) Add $wgFavicon to change the shorticon icon link from
17574 the default /favicon.ico or disable it (if set to false)
17575 * (bug 3347) strip linebreaks in math error source
17576 * (bug 4841) Warning for non-logged-in edits
17577 * (bug 4867) Leave invalid EXIF date fields unformatted instead of
17578 showing a bogus current timestamp
17579 * Reset $wgActionPaths during parser test; corrects some false failures
17580 in the automated test report.
17581 * (bug 4875) Define a div containing the shared image description
17582 * (bug 4860) Expose Title->userCan() as Hooks
17583 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
17584 * (bug 4842) Fix 'show number of watching users' with enhanced RC
17585 * (bug 4889) Fix image talk namespace for Tamil
17586 * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries
17587 * (partial bug 3456) Disable auto redirect to Main Page after account creation
17588 * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
17589 * Added support for wikidiff2 and similar external diff engines.
17590 * Allow cookies to be shared between multiple wikis with a shared user database
17591 * Blocking some Unicode whitespace characters in usernames. Should check
17592 if some or all should be blocked from all page titles.
17593 * Unknown log types no longer throw notices everywhere in RecentChanges
17594 * (bug 4502, 5017) Don't render potentially hostile deleted page contents
17595 on Special:Undelete by default; show source, with an optional preview.
17596 The revisions list no longer shows the latest text by default, so it can
17597 still be operated if the text is hostile.
17598 * (bug 5013) Check for existence on "return to" links
17599 * Removed trailing whitespace on a bunch more messages.
17600 * Fix missing bad title check in Special:Booksources
17601 * Remove empty booksources string in fy
17602 * Avoid corrupting <gallery> inside <!-- comment -->
17603 * Remove legacy PHPTal code, hasn't been maintained in ages.
17604 * Tweak Userlogin include order for APC issue
17605 * Don't try to link to current page on protection tab
17606 * More exact checking in Title::equals() to fox moves of numerically similar
17607 page titles. (Odd hex title bug on 64-bit.)
17608 * Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
17609 generated stylesheets... hopefully...
17610 * (bug 4685) More fixes for Slovenian project namespace
17611 * Fixed and enhanced a little the Live Preview, which had been broken for some
17612 time
17613 * Added article size limit, $wgMaxArticleSize
17614 * (bug 4974) Don't follow redirected talk page on "new messages" link
17615 * (bug 4970) Make category paging limits configurable
17616 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't
17617 exist
17618 * Make Live Preview an user preference, still controllable by the global
17619 variable
17620 * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow
17621 updated language code assignments
17622 * (bug 5081) Remove bogus fix for invalid characters in links which simply
17623 broke use of legitimate multiple whitespace characters in bracketed link.
17624 * (bug 4838) Add relative oldids (prev, next, cur) for raw pages
17625 Patch by Lupin
17626 * (bug 5086) Force image resize dimensions on ImageMagick, as for instance
17627 "-resize 100x35!"; some thumbs were off due to differences in rounding and
17628 would be generated smaller than expected.
17629 * (bug 5062) Width sometimes one pixel short when using maximum heights
17630 * Purge thumbnails and metadata cache for action=purge on an image page
17631 * (bug 4273) Bounce back with a message when attempting to submit a new comment
17632 with an empty main textbox (user probably hit Enter in subject field)
17633 * (bug 5141) Gracefully handle the new account link when createaccount off
17634 * (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
17635 * (bug 5152) Proper HTML escaping on subpage breadcrumbs
17636 * (bug 4855) Section edit links now have the section name in the title
17637 attribute.
17638 * (bug 2115) Support shift-selecting multiple checkboxes with JavaScript.
17639 * (bug 5161) Don't try to load template list for nonexistent pages
17640 * (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
17641 unnecessary hidden UI work when watch/unwatch is performed on edit
17642 * Fixed bogus master fallback in external storage
17643 * (bug 5246) Add speak:none to "hiddenStructure" class in main.css
17644 * Further work on rev_deleted; changed to a bitfield with several data-hiding
17645 options. Not yet ready for production use; Special:Revisiondelete is
17646 incomplete, and the flags are not preserved across page deletion/undeletion.
17647 To try it; add the 'deleterevision' permission to a privileged group.
17648 * (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
17649 * Add a clickable contribs link in user tool links (rc, watchlist, diff view)
17650 to see how people like it. (There was one in the old hacked-up diff view.)
17651 * (bug 5236) Load wikibits.js before site-customized javascript
17652 * (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
17653 from linktrail, as they're not used anywhere else.
17654 * (bug 4781) Output links with the percent-encoding they're supplied with;
17655 save the normalization for internal link storage. The normalization is a bit
17656 buggy and can make incorrect foldings in the query string and such, so isn't
17657 reliable beyond the hostname where it's used for the spam bulk checker.
17658 * Don't URL-decode in the title attribute for URL links; it can produce false
17659 results that don't code back to their original values.
17660 * (bug 4611) Add user preference (default on) to add new pages to creators's
17661 watchlist
17662 * (bug 5286) Fix regression in display of missing/bad revision IDs
17663 * (bug 4729) Add user preference that marks a user's edits as patrolled if user
17664 is able to
17665 * (bug 4630) Add user preference to prompt users when entering blank edit
17666 summaries
17667 * Added optional suggest feature for the search box. Set wgUseAjax to true to
17668 enable it.
17669 * (bug 5277) Use audio/midi rather that audio/mid
17670 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is
17671 nonexistent
17672 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
17673 * Additional protections against HTML breakage in table parsing
17674 * (bug 5355) Include skin name and style JS settings in page source;
17675 fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
17676 when wikibits.js was moved up before user JS inclusion.
17677 * Added $wgColorErrors: if set, database error messages will be highlighted
17678 when running command-line scripts in a Unix terminal.
17679 * (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now
17680 has a parameter for select options.
17681 * Fix updateSearchIndex.php for new schema
17682 * Fix bogus "filename too short" error when uploading files with a period in the
17683 base name, e.g. "Mr. Zee.png"
17684 * (bug 2139) Show page title in subtitle when viewing "read only" page
17685 * (bug 5452) Update language name for Cree
17686
17687 == Compatibility ==
17688
17689 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must
17690 upgrade to 4.3 or later.
17691
17692 MediaWiki 1.6 is the last major version to support PHP 4; future versions will
17693 require PHP 5.
17694
17695 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
17696 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
17697
17698 == Upgrading ==
17699
17700 Several changes to the database have been made from 1.5; these are relatively
17701 minor but do require that the update process be run before the new code will
17702 work properly:
17703
17704 * A new "templatelinks" table tracks template inclusions.
17705 * A new "externallinks" table tracks URL links; this can be used by a mass
17706 spam-cleanup tool in the SpamBlacklist extension.
17707 * A new "jobs" table stores a queue of pages to update in the background; this
17708 is used to update links in including pages when templates are edited.
17709
17710 To ensure that these tables are filled with data, run refreshLinks.php after
17711 the upgrade.
17712
17713 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
17714 changes are made, and there is a slightly higher chance that things could
17715 break. Don't forget to always back up your database before upgrading!
17716
17717 === Caveats ===
17718
17719 Some output, particularly involving user-supplied inline HTML, may not produce
17720 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
17721 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
17722 recommended on live sites. (This must be set for MathML to display properly in
17723 Mozilla.)
17724
17725
17726 = MediaWiki 1.5 =
17727
17728 == MediaWiki 1.5.9 ==
17729 * (bug 3359) Add hooks on completion of file upload
17730
17731 == MediaWiki 1.5.8 ==
17732
17733 March 26, 2006
17734
17735 MediaWiki 1.5.8 is a security and bugfix maintenance release.
17736
17737 A bug in decoding of certain encoded links could allow injection of raw
17738 HTML into page output; this could potentially lead to XSS attacks.
17739
17740 Some minor UI fixes were also made, see the change log at the bottom of
17741 this file.
17742
17743
17744 == MediaWiki 1.5.7 ==
17745
17746 March 2, 2006
17747
17748 MediaWiki 1.5.7 is a bugfix maintenance release.
17749
17750 Most importantly, a security issue in the installer has been fixed. The bug
17751 affects new installations of 1.5.6 only. If the user specified the MySQL root
17752 password, to allow the installer to create an unprivileged account, the
17753 installer would not only create the new account but also change the root
17754 password to be equal to the password of the new account.
17755
17756 Anyone affected by this bug will need to change the root password back
17757 manually. For information about how to change passwords in MySQL please see:
17758 http://dev.mysql.com/doc/refman/5.1/en/passwords.html
17759
17760 This version includes fixes for compatibility with Internet Explorer 7
17761 beta 2, and various other bugs; see the full changelog at the end of
17762 the release notes.
17763
17764
17765 == MediaWiki 1.5.6 ==
17766
17767 January 19, 2006
17768
17769 MediaWiki 1.5.6 is a security and bugfix maintenance release.
17770
17771 A bug in edit comment formatting could send PHP into an infinite loop
17772 if certain malformed links were included. In most installations, this
17773 would cause the script to fail after PHP's 30-second failsafe timeout.
17774
17775 Some improvements have been made to the installer which should make
17776 installation possible on a system with a broken MySQL "root" account.
17777
17778 For several other minor fixes, see the complete changelog at the end
17779 of this file.
17780
17781
17782 == MediaWiki 1.5.5 ==
17783
17784 January 5, 2006
17785
17786 MediaWiki 1.5.5 is a security and bugfix maintenance release.
17787
17788 Detection for uploads of Windows Metafile (.wmf) images has been added
17789 to help protect against a client-side vulnerability in unpatched Microsoft
17790 Windows operating systems.
17791
17792 Sites which have enabled uploads and added non-standard file types
17793 (such as .ogg, .doc, or .pdf) should upgrade to this release to ensure
17794 that malicious .wmf files can't be uploaded with a fake extension;
17795 such files could put visitors to the site at risk.
17796
17797 For more details on this, see:
17798 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
17799
17800 Additionally, a maintenance script removeUnusedAccounts.php has been added;
17801 this replaces an older Perl script which had not been updated for the new
17802 schema in 1.5.
17803
17804
17805 == MediaWiki 1.5.4 ==
17806
17807 December 21, 2005
17808
17809 MediaWiki 1.5.4 is a security and bugfix maintenance release.
17810
17811 A hardcoded internal placeholder string has been replaced with a random
17812 one. This closes a hole where security checks in inline style attributes
17813 could be bypassed, injecting JavaScript code that could execute in
17814 Microsoft Internet Explorer.
17815
17816 Other browsers would not be vulnerable.
17817
17818 Several minor fixes are included in this release, most notably a fix
17819 to clear the "you have new messages" flag properly for usernames
17820 containing spaces when e-mail notification is enabled.
17821
17822 See the changelog at the end of the release notes for a full list of
17823 fixes.
17824
17825
17826 == MediaWiki 1.5.3 ==
17827
17828 December 4, 2005
17829
17830 MediaWiki 1.5.3 is a security and bugfix maintenance release.
17831
17832 Validation of the user language option was broken by a code change in
17833 May 2005, opening the possibility of remote code execution as this
17834 parameter is used in forming a class name dynamically created with
17835 eval().
17836
17837 The validation has been corrected in this version. All prior 1.5 release
17838 and prelease versions are affected; 1.4 and earlier and not affected.
17839
17840 Additionally several bugs have been fixed; see the changelog later in
17841 this file for a complete list.
17842
17843
17844 == MediaWiki 1.5.2 ==
17845
17846 November 2, 2005
17847
17848 MediaWiki 1.5.2 is a bugfix maintenance release.
17849
17850 A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and
17851 <pre> sections, causing garbage data to be inserted in output and saved
17852 edits. This version works around the change.
17853
17854 Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed;
17855 see the change log below for a complete list.
17856
17857
17858 == MediaWiki 1.5.1 ==
17859
17860 October 26, 2005
17861
17862 MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a
17863 recommended upgrade for all installations.
17864
17865 This release includes further corrections to the inline CSS style sanitation
17866 which works around a JavaScript "feature" on Microsoft Internet Explorer.
17867 Users of Microsoft Internet Explorer for Windows may be vulnerable to
17868 XSS injections on prior versions; users of standards-compliant browsers
17869 are not vulnerable.
17870
17871 Major fixes include:
17872 * Image pages work again with resizing disabled
17873 * Works in MySQL 5.0 strict mode
17874
17875 There is experimental support in this release for explicitly declaring
17876 the UTF-8 charset in the database; this has been tested with MySQL 5.0.15
17877 but should work on 4.1 as well.
17878
17879 IMPORTANT: Changing this setting on an existing wiki may produce interesting
17880 data corruption, depending on server configuration. Page contents should,
17881 usually, be unaffected, but page titles and other items may be. Limitations
17882 in MySQL's Unicode support mean that characters outside the BMP cannot be used
17883 in page titles or various other fields when using this mode.
17884
17885 Table definitions are in maintenance/mysql5/tables.sql, and the runtime
17886 option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true.
17887
17888 (MySQL 3.23.x and 4.0.x do not support character set declarations; on these
17889 versions MediaWiki simply works with UTF-8 data and MySQL is blissfully
17890 unaware of it.)
17891
17892
17893
17894 == MediaWiki 1.5.0 final ==
17895
17896 October 5, 2005
17897
17898 MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is
17899 recommended for all new installations.
17900
17901 Any wikis running a 1.5 beta or release candidate are strongly recommended
17902 to upgrade to the final release, which includes a number of bug fixes and
17903 a security fix for CSS bugs in Microsoft Internet Explorer.
17904
17905 IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet?
17906 Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions
17907 prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is
17908 triggered by a spambot known to operate in the wild.
17909
17910
17911 === What's new in 1.5? ===
17912
17913 Schema:
17914 The core table schema has changed significantly. This should make better
17915 use of the database's cache and disk I/O, and make significantly speed up
17916 rename and delete operations on pages with very long edit histories.
17917
17918 Unfortunately this does mean upgrading a wiki of size from 1.4 will require
17919 some downtime for the schema restructuring, but future storage backend
17920 changes should be able to integrate into the new system more easily.
17921
17922 Permalinks:
17923 The current revision of a page now has a permanent 'oldid' number assigned
17924 immediately, and the id numbers are now preserved across deletion/undeletion.
17925 A permanent reference to the current revision of a page is now just a matter
17926 of going to the 'history' tab and copying the first link in the list.
17927
17928 Page move log:
17929 Renames of pages are now recorded in Special:Log and the page history.
17930 A handy revert link is available from the log for sysops.
17931
17932 Editing diff:
17933 Ever lost track of what you'd done so far during an edit? A 'Show diff'
17934 button on the edit page now makes it easy to remember.
17935
17936 Uploads:
17937 It's now possible to specify the final filename of an upload distinct
17938 from the original filename on your disk.
17939
17940 An image link for a missing file will now take you straight to the upload
17941 page.
17942
17943 More metadata is pre-extracted from uploaded images, which will ease pressure
17944 on disk or NFS volumes used to store images. EXIF metadata is displayed on
17945 the image description page if PHP is configured with the necessary module.
17946
17947 If .svg files are added to the upload whitelist, you can choose to render
17948 them to rasterized .png images for inline display using one of several
17949 external helper programs. See DefaultSettings.php for SVG options.
17950
17951 User accounts:
17952 There are some changes to the user permissions system, with assignable
17953 groups. Note that this does *not* allow you to make pages which are only
17954 accessible to certain groups.
17955
17956 For details see: https://www.mediawiki.org/wiki/Manual:User_rights
17957
17958 E-mail:
17959 User-to-user e-mail can now be restricted to require a mail-back confirmation
17960 first to reduce potential for abuse with false addresses.
17961
17962 Updates to user talk pages and watchlist entries can optionally send e-mail
17963 notifications.
17964
17965 External hooks:
17966 A somewhat experimental interface for hooking in an external editor
17967 application is included.
17968
17969 And...
17970 A bunch of stuff we forgot to mention.
17971
17972
17973 === What's gone? ===
17974
17975 Latin-1:
17976 Wikis must now be encoded in Unicode UTF-8; this has been the default for
17977 some time, but some languages could optionally be installed in Latin-1 mode.
17978 This is no longer supported.
17979
17980 You can check if your current wiki is in Latin-1 mode by using your browser's
17981 "view source"; look for a line like this:
17982
17983 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
17984
17985 If it says charset=utf-8, you're ready. If it says charset=iso8859-1,
17986 you may need to convert your data. (English-language wikis avoiding
17987 any accented characters may be able to get away without conversion.)
17988
17989 MySQL 3.x:
17990 Some optimization hacks for MySQL 3.x have been removed as part of the schema
17991 clean-up (specifically, the inverse_timestamp fields).
17992
17993 MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should
17994 very seriously consider upgrading to a more modern release. MySQL 3.x support
17995 will probably be entirely dropped in the next major release.
17996
17997 Special:Maintenance
17998 These tools were, ironically enough, not really maintained. This special
17999 page has been removed; insofar as some of its pieces were useful and haven't
18000 already been supplanted by other special pages they should be rewritten in
18001 an efficient and safe manner in the future.
18002
18003
18004 === Caveats ===
18005
18006 Upgrade:
18007 Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
18008 A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
18009 old page text entries, but other metadata fields (titles, comments etc) need
18010 to be pre-converted. The standard upgrade process does not yet fully automate
18011 this, but you can try the alternate partial-upgrader in upgrade1_5.php.
18012
18013 The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so
18014 it's possible you may experience problems in some combinations.
18015
18016 Backups:
18017 The text entries of deleted pages are no longer removed from the main
18018 text table on deletion. If you provide public backup dumps of your databases,
18019 you will probably want to use the new XML-format dump generator, available
18020 as maintenance/dumpBackup.php.
18021
18022 For more information on how we run our own public data dumps at Wikimedia,
18023 see http://meta.wikimedia.org/wiki/Data_dumps
18024
18025 PostgreSQL:
18026 The table definitions for PostgreSQL install are out of date. PostgreSQL
18027 support may return in later releases, pending appropriate patches.
18028
18029 MySQL 4.1+:
18030 Some users may encounter installation problems with MySQL 4.1 or higher
18031 due to strange charset encoding / collation configurations. Try setting
18032 to 'latin1' or 'utf8' if you encounter problems.
18033
18034
18035
18036 == MediaWiki 1.5 release candidate 4 ==
18037
18038 August 29, 2005
18039
18040 MediaWiki 1.5rc4 is a preview release of the new 1.5 release series.
18041 It fixes compatibility with PHP 5.1, and corrects two cross-site scripting
18042 security bugs:
18043
18044 * <math> tags were handled incorrectly when TeX rendering support is off,
18045 as in the default configuration.
18046 * Extension or <nowiki> sections in Wiki table syntax could bypass HTML
18047 style attribute restrictions for cross-site scripting attacks against
18048 Microsoft Internet Explorer
18049
18050 Wikis where the optional math support has been *enabled* are not vulnerable
18051 to the first, but are vulnerable to the second.
18052
18053
18054
18055 == MediaWiki 1.5 release candidate 3 ==
18056
18057 August 24, 2005
18058
18059 MediaWiki 1.5rc3 is a preview release of the new 1.5 release series.
18060 It fixes several major problems in 1.5rc2:
18061
18062 * Fixed a cross-site scripting injection in the search form
18063 (broken since 1.5beta1)
18064
18065 * Fixed upgrades from 1.4 database schema
18066 (broken since 1.5rc2)
18067
18068 1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone
18069 running an earlier 1.5 beta or release candidate should upgrade
18070 immediately.
18071
18072
18073 == MediaWiki 1.5 release candidate 2 ==
18074
18075 August 23, 2005
18076
18077 MediaWiki 1.5rc2 is a preview release of the new 1.5 release series.
18078 Numerous bug fixes since last beta, plus a security fix; see change
18079 log below for full details.
18080
18081 A flaw in the interaction between extensions and HTML attribute
18082 sanitization was discovered which could allow unauthorized use
18083 of offsite resources in style sheets, and possible exploitation
18084 of a JavaScript injection feature on Microsoft Internet Explorer.
18085
18086 This version expands the returned text and properly checks it
18087 before output.
18088
18089 A 1.5rc1 release was mistakenly made from the incorrect source code
18090 branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control
18091 except for version number.
18092
18093
18094 == MediaWiki 1.5 beta 4 ==
18095
18096 July 30, 2005
18097
18098 MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series.
18099 A number of bugs have been fixed since beta 3; see the full changelist below.
18100
18101
18102 == MediaWiki 1.5 beta 3 ==
18103
18104 July 7, 2005
18105
18106 MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
18107 series, with a security update over beta 2.
18108
18109 Incorrect escaping of a parameter in the page move template could
18110 be used to inject JavaScript code by getting a victim to visit a
18111 maliciously constructed URL. Users of vulnerable releases are
18112 recommended to upgrade to this release.
18113
18114 Vulnerable versions:
18115 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
18116 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
18117 * 1.3 legacy series: not vulnerable
18118
18119 This release also includes several bug fixes and localization updates.
18120 See the changelog at the end of this file for a detailed list.
18121
18122
18123
18124 == MediaWiki 1.5 beta 2 ==
18125
18126 July 5, 2005
18127
18128 MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series.
18129 While most exciting new bugs should have been ironed out at this point,
18130 third-party wiki operators should probably not run this beta release
18131 on a public site without closely following additional development.
18132
18133 Anyone who _has_ been running beta 1 is very very strongly advised to
18134 upgrade to beta 2, as it fixes many bugs from the previous beta including
18135 a couple of HTML and SQL injections.
18136
18137 This release should be followed by one or two release candidates and
18138 a 1.5.0 final within the next few weeks.
18139
18140 Beta upgraders, note there are some minor database changes. For upgrades
18141 from 1.4, see the file UPGRADE for details on significant database and
18142 configuration file changes.
18143
18144 Beta 2 includes a preliminary command-line XML wiki dump importer tool,
18145 maintenance/importDump.php, paired with maintenance/dumpBackup.php.
18146 These use the same format as Special:Export and Special:Import, able
18147 to package a wiki's entire page set independent of the backend database
18148 and compression format.
18149
18150
18151 == MediaWiki 1.5 beta 1 ==
18152
18153 June 26, 2005
18154
18155 MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete,
18156 of the new 1.5 release series. There are several known and likely a number
18157 of unknown bugs; it is not recommended to use this release in a production
18158 environment but would be recommended for testing in mind of an upcoming
18159 deployment.
18160
18161 A number of significant changes have been made since the alpha releases,
18162 including database changes and a reworking of the user permissions settings.
18163 See the file UPGRADE for details of upgrading and changing your prior
18164 configuration settings for the new system.
18165
18166
18167
18168 == MediaWiki 1.5 alpha 2 ==
18169
18170 June 3, 2005
18171
18172 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
18173 and a security update.
18174
18175 Incorrect handling of page template inclusions made it possible to
18176 inject JavaScript code into HTML attributes, which could lead to
18177 cross-site scripting attacks on a publicly editable wiki.
18178
18179 Vulnerable releases and fix:
18180 * 1.5 prerelease: fixed in 1.5alpha2
18181 * 1.4 stable series: fixed in 1.4.5
18182 * 1.3 legacy series: fixed in 1.3.13
18183 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
18184
18185
18186 == MediaWiki 1.5 alpha 1 ==
18187
18188 May 3, 2005
18189
18190 This is a testing preview release, being put out mainly to aid testers in
18191 finding installation bugs and other major problems. It is strongly recommended
18192 NOT to run a live production web site on this alpha release.
18193
18194 ** WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH **
18195 ** TERMITES, ROT YOUR TEETH, GROW HAIR ON YOUR PALMS, AND PASTE **
18196 ** INNUENDO INTO YOUR C.V. RIGHT BEFORE A JOB INTERVIEW! **
18197 ** DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE. **
18198
18199
18200 === Smaller changes since 1.4 ===
18201
18202 Various bugfixes, small features, and a few experimental things:
18203
18204 * 'live preview' reduces preview reload burden on supported browsers
18205 * support for external editors for files and wiki pages:
18206 https://www.mediawiki.org/wiki/Manual:External_editors
18207 * Schema reworking:
18208 https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004
18209 * (bug 15) Allow editors to view diff of their change before actually submitting
18210 an edit
18211 * (bug 190) Hide your own edits on the watchlist
18212 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
18213 * (bug 1015) support for the full wikisyntax in <gallery> captions.
18214 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
18215 * (bug 1352) Images on description pages now get thumbnailed regardless of
18216 whether the thumbnail is larger than the original.
18217 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of
18218 the current month
18219 * (bug 1668) 'Date format' supported for other languages than English, see:
18220 http://mail.wikipedia.org/pipermail/wikitech-l/2005-March/028364.html
18221 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff
18222 database revision id, useful for proper citation.
18223 * (bug 1998) Updated the Russian translation.
18224 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
18225 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting
18226 invalid syntax like #REDIRECT [[foo] in redirects
18227 * It's now possible to invert the namespace selection at Special:Allpages and
18228 Special:Contributions
18229 * No longer using sorbs.net to check for open proxies by default.
18230 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true
18231 if one wishes to enable uploads.
18232 * Supplying a reason for a block is no longer mandatory
18233 * Language conversion support for category pages
18234 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
18235 * Special:Movepage can now take parameters like Special:Movepage/Page_to_move
18236 (used to just be able to take parameters via a GET request like
18237 index.php?title=Special:Movepage&target=Page_to_move)
18238 * (bug 2151) The delete summary now includes editor name, if only one has edited
18239 the article.
18240 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space
18241 could prevent sending mail with some versions of sendmail.
18242 * (bug 2228) Updated the Slovak translation
18243 * ...and more!
18244
18245
18246 === Changes since 1.5alpha1 ===
18247
18248 * (bug 73) Category sort key is set to file name when adding category to
18249 file description from upload page (previously it would be set to
18250 "Special:Upload", causing problems with category paging)
18251 * (bug 419) The contents of the navigation toolbar are now editable through
18252 the MediaWiki namespace on the MediaWiki:navbar page.
18253 * (bug 498) The Views heading in MonoBook.php is now localizable
18254 * (bug 898) The wiki can now do advanced sanity check on uploaded files
18255 including virus checks using external programs.
18256 * (bug 1692) Fix margin on unwatch tab
18257 * (bug 1906) Generalize project namespace for Latin localization, update
18258 namespaces
18259 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
18260 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
18261 to preserve the correct flow of text on RTL wikis.
18262 * (bug 2067) Fixed crash on empty quoted HTML attribute
18263 * (bug 2075) Corrected namespace definitions in Tamil localization
18264 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
18265 * (bug 2094) Multiple use of a template produced wrong results in some cases
18266 * (bug 2095) Triple-closing-bracket thing partly fixed
18267 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload"
18268 media
18269 * (bug 2150) Fix tab indexes on edit form
18270 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
18271 * (bug 2176) Section edit 'show changes' button works correctly now
18272 * (bug 2178) Use temp dir from environment in parser tests
18273 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
18274 * (bug 2234) allow special chars in database passwords during install
18275 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
18276 now the wikisyntax representation of wfMsgForContent()
18277 * Fix for reading incorrectly re-gzipped HistoryBlob entries
18278 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
18279 multiple-revision pulls
18280 * Add $wgLegacySchemaConversion update-time option to reduce amount of
18281 copying during the schema upgrade: creates HistoryBlobCurStub reference
18282 records in text instead of copying all the cur_text fields. Requires
18283 that the cur table be left in place until/unless such fields are migrated
18284 into the main text store.
18285 * Special:Export now includes page, revision, and user id numbers by
18286 default (previously this was disabled for no particular reason)
18287 * dumpBackup.php can dump the full database to Export XML, with current
18288 revisions only or complete histories.
18289 * The group table was renamed to groups because "group" is a reserved word in
18290 SQL which caused some inconveniances.
18291 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
18292 ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
18293 crystalsvg theme.
18294 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
18295 * Added language variant support for Icelandic, now supports "Íslenzka"
18296 * The #p-nav id in MonoBook is now #p-navigation
18297 * Putting $4 in msg:userstatstext will now give the percentage of
18298 admnistrators out of normal users.
18299 * links and brokenlinks tables merged to pagelinks; this will reduce pain
18300 dealing with moves and deletes of widely-linked pages.
18301 * Add validate table and val_ip column through the updater.
18302 * Simple rate limiter for edits and page moves; set $wgRateLimits
18303 (somewhat experimental; currently needs memcached)
18304 * (bug 2262) Hide math preferences when TeX is not enabled
18305 * (bug 2267) Don't generate thumbnail at the same size as the source image.
18306 * Fix rebuildtextindex.inc for new schema
18307 * Remove linkscc table code, no longer used.
18308 * (bug 2271) Use faster text-only link replacement in image alt text
18309 instead of rerunning expensive link lookup and HTML generation.
18310 * Only build the HTML attribute whitelist tree once.
18311 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
18312 that does both numeric and named chars: Sanitizer::decodeCharReferences
18313 * Removed some obsolete UTF-8 converter functions
18314 * Fix function comment in debug dump of SQL statements
18315 * (bug 2275) Update search index more or less right on page move
18316 * (bug 2053) Move comment whitespace trimming from edit page to save;
18317 leaves the whitespace from the section comment there on preview.
18318 * (bug 2274) Respect stub threshold in category page list
18319 * (bug 2173) Fatal error when removing an article with an empty title from the
18320 watchlist
18321 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
18322 * (bug 2130) Fixed interwiki links with fragments
18323 * (bug 684) Accept an attribute parameter array on parser hook tags
18324 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
18325 LDAP authentication plugin
18326 * (bug 2034) Armor HTML attributes against template inclusion and links munging
18327
18328 === Changes since 1.5alpha2 ===
18329
18330 * (bug 2319) Fix parse hook tag matching
18331 * (bug 2329) Fix title formatting in several special pages
18332 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
18333 * (bug 1976) fix shared user database with a table prefix set
18334 * (bug 2334) Accept null for attribs in wfElement without PHP warning
18335 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
18336 with proper validation checks. (regression from fix for 2304)
18337 * Disallow close tags and enforce empty tags for <hr> and <br>
18338 * Changed user_groups format quite a bit.
18339 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
18340 * (bug 2367) Insert correct redirect link record on page move
18341 * (bug 2372) Fix rendering of empty-title inline interwiki links
18342 * (bug 2384) Fix typo in regex for IP address checking
18343 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
18344 version conflict is detected
18345 * (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes
18346 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
18347 when the default charset is set to utf8
18348 * (bug 2400) don't send confirmation mail on account creation if
18349 $wgEmailAuthentication is false.
18350 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
18351 when a template with a gallery was used.
18352 * Guard Special:Userrights against form submission forgery
18353 * (bug 2408) page_is_new was inverted (whoops!)
18354 * Added wfMsgHtml() function for escaping messages and leaving params intact
18355 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
18356 when searching for a specific group and can't be split across pages
18357 * (bug 1702) Display a handy upload link instead of a useless blank link
18358 for [[media:]] links to nonexistent files.
18359 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
18360 * (bug 1805) Initialise $wgContLang before $wgUser
18361 * (bug 2277) Added Friulian language file
18362 * (bug 2457) The "Special page" href now links to the current special page
18363 rather than to "".
18364 * (bug 1120) Updated the Czech translation
18365 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
18366 * A new magic word, {{SERVERNAME}}, returns $wgServerName
18367 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image
18368 table
18369 * Special:Imagelist displays titles with " " instead of "_"
18370 * Less gratuitous munging of content sample in delete summary
18371 * badaccess/badaccesstext to supercede sysop*, developer* messages
18372 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
18373 * 'developer' group deprecated by default
18374 * Special:Upload now uses 'upload' permission instead of hardcoding login check
18375 * Add 'importupload' permission to disable direct uploads to Special:Import
18376 * (bug 2459) Correct escaping in Special:Log prev/next links
18377 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
18378 things for the current parser to handle cleanly
18379 * (bug 2467) Added a Turkish language file
18380 * Fixed a bug in Special:Contributions that caused the namespace selection to
18381 be forgotten between submits
18382 * Special:Watchlist/edit now has namespace subheadings
18383 * (bug 1714) the "Save page" button now has right margin to separate it from
18384 "Show preview" and "Show changes"
18385 * Special:Statistics now supports action=raw, useful for bots designed to
18386 harwest e.g. article counts from multiple wikis.
18387 * The copyright confirmation box at Special:Upload is now turned off by default
18388 and can be turned back on by setting $wgCopyrightAffirmation to a true value.
18389 * Restored prior text for password reminder button and e-mail, replacing
18390 the factually inaccurate text that was there.
18391 * (bug 2178) Fix temp dir check again
18392 * (bug 2488) Format 'deletedtext' message as wikitext
18393 * (bug 750) Keep line endings consistent in LocalSettings.php
18394 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
18395 realize you can just hit print to get a nicely formatted printable page.
18396 * Trim whitespace from option values to weather line-ending corruption problems
18397 * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA)
18398 * (bug 2504) Updated the Finnish translation
18399 * (bug 2506, 2512) Updated the Nynorsk translation
18400 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE
18401 documentation about edit and read whitelists.
18402 * (bug 2515) Fix incremental link table update
18403 * Removed some wikipedia-specifica from LanguageXx.php's
18404 * (bug 2496) Allow MediaWiki:edithelppage to point to external page
18405 * Added a versionRequired() function to OutputPage, useful for extension
18406 writers that want to control what version of MediaWiki their extension
18407 can be used with.
18408 * Serialized user objects now checked for versioning
18409 * Fix for interwiki link regression
18410 * Printable link shorter in monobook
18411 * Experimental Latin-1-and-replication-friendly upgrader script
18412 * (bug 2520) Don't show enotif options when disabled
18413
18414 == Changes since 1.5beta1 ==
18415
18416 * (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
18417 Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
18418 * Nonzero return code for command-line scripts on wfDebugDieBacktrace()
18419 * Conversion fix for empty old table in upgrade1_5.php
18420 * Try reading revisions from master if no result on slave
18421 * (bug 2538) Suppress notice on user serialized checks
18422 * Fix paging on Special:Contributions
18423 * (bug 2541) Fix unprotect tab
18424 * (bug 1242) category list now show on edit page
18425 * Skip sidebar entries where link text is '-'
18426 * Convert non-UTF-8 URL parameters even if referer is local
18427 * (bug 2460) <img> width & height properly filled when resizing image
18428 * (bug 2273) deletion log comment used user interface language
18429 * Try reading revision _text_ from master if no result on slave
18430 * Use content-language message cache for raw view of message pages
18431 * (bug 2530) Not displaying talk pages on Special:Watchlist/edit
18432 * Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
18433 agent could create a username that began with a lower case letter that was
18434 not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
18435 PHP ucfirst() )
18436 * Moved the user name / password validity checking from
18437 LoginForm::addNewAccountInternal() to two new functions,
18438 User::isValidUserName() and User::isValidPassword(), extensions can now do
18439 these checks without rewriting code.
18440 * Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
18441 * Fixed a bug where the watchlist count without talk pages would be off by a
18442 factor of two.
18443 * upgrade1_5.php uses insert ignore, allows to skip image info initialization
18444 * Fix namespaces in category list.
18445 * Add rebuildImages.php to update image metadata fields
18446 * Special:Ancientpages is expensive in new schema for now
18447 * (bug 2568) Fixed a logic error in the Special:Statistics code which caused
18448 the displayed percentage of admins to be totally off.
18449 * (bug 2560) Don't show blank width/height attributes for missing size
18450 * Don't show bogus messages about watchlist notifications when disabled
18451 * Don't show old debug messages in watchlist
18452 * (bug 2576) Fix recording of transclusion links
18453 * (bug 2577) Allow sysops to enter non-standard block times
18454 * Fixed a bug where Special:Contributions wouldn't remember the 'invert'
18455 status between next/previous buttons.
18456 * Move MonoBook printable link from tab to sidebar
18457 * (bug 2567) Fix HTML escaping on category titles in list
18458 * (bug 2562) Show rollback link for current revisions on diff pages
18459 * (bug 2583) Add --missinig option on rebuildImages.php to add db entries
18460 for uploaded files that don't have them
18461 * (bug 2572) Fix edit conflict handling
18462 * (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last
18463 page in the article history pager.
18464 * Don't show empty-page text in 'Show changes' on new page
18465 * (bug 2591) Check for end, fix limits on Whatlinkshere
18466 * (bug 2584) Fix output of subcategory list
18467 * (bug 2597) Don't crash when undeleting an image description page
18468 * (bug 2564) Don't show "editingold" warning for recent revision
18469 * Various code cleanup and HTML escaping fixlets
18470 * Copy IRC-over-UDP update option from REL1_4
18471 * (bug 2548) Keep summary on 'show changes' of section edit
18472 * Move center on toc to title part to avoid breaking .toc style usage
18473 * HTML sanitizer: correct multiple attributes by keeping last, not first
18474 * (bug 2614) Fix section edit links on diff-to-current with oldid set
18475 Also fix navigation links on current-with-oldid view.
18476 * (bug 2620) Return to prior behavior for some more things (such as
18477 subpage parent links) on current-diff view.
18478 * (bug 2618) Fix regression from another fix; show initial preview for
18479 categories only if the page does not exist.
18480 * (bug 2625) Keep group & user settings when paging in Listusers
18481 * (bug 2627) Fix regression: diff radio button initial selection
18482 * Copy fix for old search URLs with Lucene search plugin from REL1_4
18483 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems.
18484 * (bug 2631) Fix Hebrew namespaces.
18485 * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list
18486 * (bug 2644, 2645) "cur" diff links in page history, watchlist and
18487 recentchanges should specify current ID explicitly.
18488 * (bug 2609) Fix text justification preferenced with MonoBook skin.
18489 * (bug 2594) Display article tab as red for non-existent articles.
18490 * (bug 2656) Fix regression: prevent blocked users from reverting images
18491 * (bug 2629) Automatically capitalize usernames again instead of
18492 rejecting lowercase with a useless error message
18493 * (bug 2661) Fix link generation in contribs
18494 * Add support for &preload=Page_name (load text of an existing page into
18495 edit area) and &editintro=Page_name (load text of an existing page instead
18496 of MediaWiki:Newpagetext) to &action=edit, if page is new.
18497 * (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and
18498 Spanish numeric formatting
18499 * Fixed Swedish numeric formatting
18500 * (bug 2658) Fix signature time, localtime to match timezone offset again
18501 * Files from shared repositories (e.g. commons) now display with their
18502 image description pages when viewed on local wikis.
18503 * Restore compatibility namespace aliases for French Wikipedia
18504 * Fix diff order on Enhanced RC 'changes' link
18505 * (bug 2650) Fix national date type display on wikis that don't support
18506 dynamic date conversion.
18507 * FiveUpgrade: large table hacks, install iw_trans update before links
18508 * (bug 2648) Rename namespaces in Afrikaanse
18509 * Special:Booksources checks if custom list page exists before using it
18510 * (bug 1170) Fixed linktrail for da: and ru:
18511 * (bug 2683) Really fix apostrophe escaping for toolbox tips
18512 * (bug 923) Fix title and subtitle for rclinked special page
18513 * (bug 2642) watchdetails message in several languages used <a></a> instead of
18514 [ ]
18515 * (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for
18516 the patch)
18517 * Fix correct use of escaping in edit toolbar bits
18518 * Removed language conversion support from Icelandic
18519 * (bug 2616) Fix proportional image scaling, giving correct height
18520 * (bug 2640) Include width and height attributes on unscaled images
18521 * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
18522 * (bug 1109) Suppress compressed output on 304 responses
18523 * (bug 2674) Include some site configuration info in export data:
18524 namespaces definitions, case-sensitivity, site name, version.
18525 * Use xml:space="preserve" hint on export <text> elements
18526 * Make language variant selection work again for zh
18527
18528 == Changes since 1.5beta2 ==
18529
18530 * Escaped & correctly in Special:Contributions
18531 * (bug 2534) Hide edit sections with CSS to make right click to edit section
18532 work
18533 * (bug 2708) Avoid undefined notice on cookieless login attempt
18534 * (bug 2188) Correct template namespace for Greek localization
18535 * Fixed number formatting for Dutch
18536 * (bug 1355) add class noprint to commonPrint.css
18537 * (bug 2350) Massive update for Limburgish (li) language using Wikipédia
18538 * Massive update for Arab (ar) language using Wikipédia
18539 * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia
18540 * (bug 2709) Some messages were not read from database
18541 * (bug 2416) Don't allow search engine robots to index or follow nonexisting
18542 articles
18543 * Fix escaping in page move template.
18544 * (bug 153) Discrepancy between thumbnail size and <img> height attribute
18545
18546 == Changes since 1.5beta3 ==
18547
18548 * Fix talk page move handling
18549 * (bug 2721) New language file for Vietnamese with the Vietnamese number
18550 notation
18551 * (bug 2749) &nbsp; would appear as a literal in image galleries for Cs, Fr,
18552 Fur, Pl and Sv
18553 * (bug 787) external links being rendered when they only have one slash
18554 * Fixed a missing typecast in Language::dateFormat() that would cause some
18555 interesting errors with signitures.
18556 * (bug 2764) Number format for Nds
18557 * (bug 1553) Stop forcing lowercase in Monobook skin for German language.
18558 * (bug 1064) Implements Special:Unusedcategories
18559 * (bug 2311) New language file for Macedonian
18560 * Fix nohistory message on empty page history
18561 * Fix fatal error in history when validation on
18562 * Cleaned up email notification message formatting
18563 * Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK
18564 * (bug 2761) fix capitalization of "i" in Turkish
18565 * (bug 2789) memcached image metadata now cleared after deletion
18566 * Add serialized version number to image metadata cache records
18567 * (bug 2780) Fix thumbnail generation with GD for new image schema
18568 * (bug 2791) Slovene numeric format
18569 * (bug 655) Provide empty search form when searching for nothing
18570 * Nynorsk numeric format fix
18571 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
18572 * (bug 2833) Fix bug in previous fix
18573 * With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match
18574 * Optional parameters for [[Special:Listusers]]
18575 * (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]]
18576 * (bug 785) Parser did not get out of <pre> with list elements
18577 * Some shared upload fixes
18578 * (bug 2768) section=new on nonexistent talk page does not add heading
18579 * support preload= parameter for section=new
18580 * show comment subject in preview when using section=new
18581 * use comment form when creating a new talk page
18582 * (bug 460) Properly handle <center> tags as a block.
18583 * Undo inconsistent editing behavior change
18584 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
18585 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
18586 * (bug 2901) Number format for Catalan
18587 * Special:Allpages performance hacks: index memcached caching, removed
18588 inverse checkbox, use friendlier relative offsets in index build
18589 * Bring back "Chick" skin for mobile devices. It needs testing.
18590 * Fix spelling of $wgForwardSearchUrl in DefaultSettings.php
18591 * Specify USE INDEX on Allpages chunk queries, sometimes gets lost
18592 due to bogus optimization
18593 * (bug 275) Section duplication fix
18594 * Remove unused use of undefined variable in UserMailer
18595 * Fix notice on search index update due to non-array
18596 * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
18597 * (bug 2931) Fix additional notices on reference use in PHP 4.4.0
18598 * (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add
18599 their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an
18600 example of this.
18601 * (bug 740) Messages from extensions now appear in Special:Allmessages
18602 * (bug 2857) fixed parsing of lists in <pre> sections
18603 * (bug 796) Trackback support
18604 * Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC
18605 are now suppressed as before.
18606 * New skin: Simple
18607 * "uselang" and "useskin" URL parameters can now be used in the URL when
18608 viewing a page, to change the language and skin of a page respectively.
18609 * Skins can now be previewed in preferences
18610 * (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook,
18611 patch from robla
18612 * Wrap revision insert & page update in a transaction, rollback on late
18613 edit conflict.
18614 * (bug 2953) 'other' didn't work in Special:Blockip when localized
18615 * (bug 2958) Rollback and delete auto-summary should be in the project's
18616 content language
18617 * Removed useless protectreason message
18618 * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols
18619 * Switch Moldovan local name to cyrillic
18620 * Fix typo in undefined array index access prevention
18621 * (bug 2947) Update namespaces for sr localization
18622 * (bug 2952) Added Asturian language file with translated namespaces
18623 * (bug 2676) Apply a protective transformation on editing input/output
18624 for browsers that hit the Unicode blacklist. Patch by plugwash.
18625 * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php
18626 * compressOld.php disabled, as it's known to be broken.
18627
18628
18629 === Changes since 1.5beta4 ===
18630
18631 * Fix Special:Allmessages under PHP 5
18632 * (bug 2911) Special:Watchlist allowed only one type of limit at a time
18633 * (bug 693) Special:Allmessages is excessively wide and redundant
18634 * (bug 3001) Updated and applied live hack for recentchanges-based watchlist
18635 * (bug 145) Finish 'exclude redirect' implementation in search form
18636 * Rearranged Special:Movepage form to reduce confusion between destination
18637 title and reason input boxes
18638 * (bug 2527) Always set destination filename when new file is selected
18639 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
18640 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
18641 if running prior to 4.2.0 as it causes the call to fail
18642 * (bug 3117) Fix display of upload size and type with tidy on
18643 * (bug 1487) invalid html on empty list in banlist
18644 * (bug 3017) Hotkey conflict for delete and show changes
18645 * made pixel unit translateable and blocklistline now eats infiniteblock
18646 and expiringblock
18647 * (bug 3092) Wrong numerical separator for big numbers in Serbian.
18648 * (bug 2855) Credit for a uniq author showed its realname even with
18649 $wgAllowRealName=false.
18650 * New special page: SpecialMostlinked
18651 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
18652 * Fix display of read-only lockfile message
18653 * Added a new hook, 'AddNewAccount', which is run after account creation
18654 * Update all stats fields on recount.sql
18655 * Include software-visible client IP address in Special:Version comment
18656 as a proxy debugging aid
18657 * (bug 3162) Fix 'undefined property page_is_new' error on watchlist
18658 * (bug 1734) granting db permissions failed with db usernames containg '-'
18659 * (bug 3170) wikititlesuffix was removed, use pagetitle instead
18660 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
18661 * (bug 3190) Added some date format choices for language sr
18662 * (bug 1334) LanguageGa.php update
18663 * (bug 1020) Changing user interface language does not work immediately
18664 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
18665 * (bug 3204) Fix typo breaking special pages in fy localization
18666 * (bug 3210) Fix Media: links with remote image URL path
18667 * (bug 3220) Fix escaping of block URLs in Recentchanges
18668 * (bug 3238): Updated LanguageNn.php for 1_5 branch
18669 * (bug 3192): properly check 'limit' parameter on Special:Contributions
18670 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
18671 * Fix URL sanitization in HTML attributes, which broke in this branch
18672 * (bug 3475) anon contrib links on Special:Newpages
18673
18674
18675 === Changes since 1.5rc2 ===
18676
18677 * Fix upgrade from 1.4 due to version number check breakage
18678 * Fix upgrade from 1.4 with no old revisions
18679 * (bug 2108) Sort entries when using category browser
18680 * XSS issue : now sanitize search query input
18681
18682
18683 === Changes since 1.5rc3 ===
18684
18685 * (bug 3280) Respect 'move' group permission on page moves
18686 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
18687 * Security fix for <math>
18688 * Security fix for tables
18689
18690
18691 === Changes since 1.5rc4 ===
18692
18693 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
18694 * (bug 2078) Don't hide watch tab on preview
18695 * (bug 3306) Document $wgLocalTZoffset
18696 * Support SVG rendering with rsvg
18697 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
18698 * (bug 3127) Render large SVGs at image page size correctly
18699 * (bug 3448) Set page_len on undelete
18700 * (bug 2800) Don't scale up small iamges on |thumb| without explicit size
18701 * Use the real file link instead of the default-size rasterized version for
18702 large SVG images on image description page
18703 * Include the file name/type/size line for non-resized images
18704 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
18705 format as designed. Documentation comments updated.
18706 * (bug 1423) LanguageJa.php update
18707 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
18708 * (bug 3485) Fix bogus warning about filename capitalization when off
18709 * (bug 2792) Update rebuildrecentchanges.inc for new schema
18710 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
18711 * (bug 3489) PHP 5.1 compat problem with captioned images
18712 * (bug 3350) Missing label for move talk page checkbox.
18713 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
18714 by default when 'watchdefault' option is on
18715 * (bug 3182) Clear link cache during import to prevent memory leak
18716 * (bug 3573) Full Greek Translation
18717 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
18718 * (bug 3598) Update message cache on message page deletion, patch by Tietew
18719 * Blacklist additional MSIE CSS safety tricks
18720
18721
18722 === Changes since 1.5.0 ===
18723
18724 * (bug 3629) Fix date & time format for Frisian
18725 * (bug 3641) Fix handling of unrecognized file uploads with known extensions
18726 * (bug 3643) Fix image page display of large images with resizing disabled
18727 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
18728 versions for convenient harvesting by automated worms
18729 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
18730 * Backport fix for reference usage notice in Special:Search on PHP 4.4.0
18731 * Backport database connect error display fix from HEAD
18732 * (bug 2773) Print style sheet no longer overrides RTL text direction
18733 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
18734 name attribute)
18735 * Wrap message page insertions in a transaction to speed up installation
18736 * Fix Special:MovePage invalid HTML attribute for reason textarea
18737 * Avoid notice warning on edit with no User-Agent header
18738 * (bug 3734) Swapped out obsolete recount.sql with initStats.php
18739 * (bug 3735) Fix to run under MySQL 5's strict mode
18740 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
18741 NOTE: Enabling this may break existing wikis, and still doesn't
18742 work for all Unicode characters due to MySQL limitations.
18743 * Sanitizer CSS comment processing order fix
18744
18745
18746 === Changes since 1.5.1 ===
18747
18748 * Fix Special:BrokenRedirects on MySQL 5.0
18749 * (bug 3809) Backport fix for detecting diff3 failure
18750 * MySQL 5.0 strict mode fix for moving unwatched pages
18751 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
18752 Why do people invent these crazy options that change language semantics?
18753 * (bug 3762) Define missing Special:Import UI messages
18754 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
18755 * (bug 3649) Remove obsolete, broken moveCustomMessages script
18756 * (bug 3667) Add missing global in page move code
18757 * (bug 3761) Avoid deprecation warnings in Special:Import
18758 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
18759 talk notification on PHP 5.0.5
18760 * (bug 3845) Update attribute.php for 1.5 schema
18761 * Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4
18762
18763
18764 === Changes since 1.5.2 ===
18765
18766 * (bug 3612) Remove old broken version of maintenance/compressOld.php
18767 The working version is in maintenance/storage/compressOld.php
18768 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
18769 * (bug 3933) specify XML namespace for Atom 0.3 feeds
18770 * (bug 3939) Don't try to load text for interwiki redirect target
18771 * (bug 3948) Avoid notice warning in debug statement in bad search
18772 * Recognize Special:Search consistently so read whitelist works
18773 * (bug 4013) typo in fr
18774 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
18775 * (bug 2894) Enhanced Recent Changes link fixes
18776 * (bug 3065) Update both watched namespaces when renaming pages
18777 * Move parentheses out of <a> link in Special:Contributions
18778 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
18779 * (bug 4035) Fix prev/next revision links on edit page
18780 * (bug 4165) Correct validation for user language selection (data taint)
18781 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
18782
18783
18784 === Changes since 1.5.3 ===
18785
18786 * (bug 3805) Clear 'new messages' flag properly in enotif mode
18787 for usernames containing spaces
18788 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
18789 * (bug 4249) Typo in entities2literals.pl
18790 * (bug 4233) Update for japanese language
18791 * (bug 4279) Small correction to LanguageDa.php
18792 * (bug 4267) Switch dv sd ug ks arc languages to RTL
18793 * (bug 3991) Allow the operation of wikicode on Protect move only text
18794 * Added AutoAuthenticate hook for external User object suppliers
18795 * Parser internal placeholder string now fully randomized for safety
18796
18797 === Changes since 1.5.4 ===
18798
18799 * Maintenance script to delete unused user accounts
18800 * Added detection for WMF files (application/x-msmetafile), added this
18801 MIME type to the default blacklist. Prevented inline display of images
18802 which are not of known image types. This is in response to
18803 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
18804
18805 === Changes since 1.5.5 ===
18806
18807 * (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1"
18808 should be set
18809 * (bug 4510) Correct Barnes & Noble bookstore URLs
18810 * (bug 4504) Use site language for namespace name resolution
18811 * Installer fixes from HEAD backported; now uses a more sensible method of
18812 establishing which mySQL user to use, which clears up bug 921 et al. Minor
18813 changes to installer.
18814 * Fix problem reported on mailing list where re-initialising stats didn't work
18815 (can't insert duplicate rows with the same id field)
18816 * (bug 1122) gray out 'older revision' when viewing first article revision.
18817 * Respect database prefix in dumpHTML.inc
18818 * Minor improvements to removeUnusedAccounts.php maintenance script
18819 * Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1
18820 * Removed read-only check from Database::query()
18821 * Added --conf option to command line scripts, allowing the user to specify a
18822 different LocalSettings.php.
18823
18824 === Changes since 1.5.6 ===
18825
18826 * Default main page content improved per bug 4690
18827 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
18828 * Fixed Special:Unlockdb
18829 * Maintenance script to delete unused text records
18830 * Maintenance script to delete non-current revisions
18831 * Maintenance script to wipe a page and all revisions from the database
18832 * (bug 4768) Wrong Russian translation (typo)
18833 * Performance bugfix: propagate equality manually for Revision fetches
18834 * (bug 4773) PHP fatal error when invalid title passed to Special:Export
18835 * Added missing table defs. for transcache to installer schemas
18836 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
18837 and seems to work ok with other bits. No longer including the IE
18838 workarounds JavaScript for IE 7 and above.
18839 * (bug 2532) Image directory structure migration bug
18840 * (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks'
18841 message at the end of the list even if there were blocks.
18842 * (bug 4805) Removed more wikipedia-references from LanguageUk.php
18843 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
18844 list pages with less than this number of links. Defaults to 1.
18845 * Allow customisation of paging limits for items in categories using the
18846 $wgCategoryPagingLimit global, per bug 4970.
18847 * Improve "nogomatch" text to make it more obvious that a page can be created.
18848 * (bug 5113) Spelling error in French language file
18849 * Don't change the password of the MySQL root user.
18850
18851 === Changes since 1.5.7 ===
18852
18853 * (bug 5180) User login page shows inappropriate email blurb
18854 * Add the "AbortNewAccount" hook on account creation; see hooks.txt for more
18855 info.
18856 * Update default "exporttext" to reflect that Special:Import exists
18857 * Add links to useful material to the default main page content
18858 * Fix fragment HTML injection
18859
18860 === Changes since 1.5.8 ===
18861
18862 * Fixed obvious mistakes in Finnish (fi) translation
18863 * Fixed obvious mistakes in Kurdish (ku) translation
18864 * Merge two #p-search .pBody statements i monobook/main.css
18865 * (bug 5156) Update for Hebrew language (he) translation
18866 * Add the "UserRights" hook on user group changes; see hooks.txt for more info.
18867 * Translated "listingcontinuesabbrev" for German
18868
18869 === Caveats ===
18870
18871 Some output, particularly involving user-supplied inline HTML, may not
18872 produce 100% valid or well-formed XHTML output. Testers are welcome to
18873 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
18874 cases, but this is not recommended on live sites. (This must be set for
18875 MathML to display properly in Mozilla.)
18876
18877 = MediaWiki 1.4 =
18878
18879 == MediaWiki 1.4.15 ==
18880
18881 (released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A
18882 bug in decoding of certain encoded links could allow injection of raw HTML into
18883 page output; this could potentially lead to XSS attacks. Additionally, this
18884 release may display more correctly in IE7 betas.
18885
18886 == MediaWiki 1.4.14 ==
18887 (released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix
18888 maintenance release. A bug in edit comment formatting could send PHP into an
18889 infinite loop if certain malformed links were included. In most installations,
18890 this would cause the script to fail after PHP's 30-second failsafe timeout. For
18891 several other minor fixes, see the complete changelog at the end of this file.
18892
18893 == MediaWiki 1.4.13 ==
18894 (released January 5, 2006) MediaWiki 1.4.13 is a security maintenance
18895 release.Detection for uploads of Windows Metafile (.wmf) images has been added
18896 to help protect against a client-side vulnerability in unpatched Microsoft
18897 Windows operating systems. Sites which have enabled uploads and added
18898 non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this
18899 release to ensure that malicious .wmf files can't be uploaded with a fake
18900 extension; such files could put visitors to the site at risk. For more details
18901 on this, see: http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
18902
18903 == MediaWiki 1.4.12 ==
18904 (released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance
18905 release. A change in PHP 4.4.1 broke handling of extension and
18906 <nowiki><pre></nowiki> sections, causing garbage data to be inserted in output
18907 and saved edits. This version works around the change. This release includes
18908 further corrections to the inline CSS style sanitation which works around a
18909 JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft
18910 Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4
18911 releases; users of standards-compliant browsers are not vulnerable.
18912
18913 == MediaWiki 1.4.11 ==
18914 (released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release.
18915 Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to
18916 produce cross-site scripting attacks by JavaScript injection to clients running
18917 that browser. This release blacklists several additional variants from use in
18918 HTML inline style attributes. All publicly accessible wikis are recommended to
18919 upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the
18920 MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to
18921 the 1.5.0 release if you require this version of PHP 5.
18922
18923 == MediaWiki 1.4.10 ==
18924 (released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug
18925 in edit submission handling could cause corruption of the previous revision in
18926 the database if an abnormal URL was used, such as those used by some spambots.
18927 Affected releases:
18928 * 1.4.x <= 1.4.9; fixed in 1.4.10
18929 * 1.3.x <= 1.3.15; fixed in 1.3.16
18930 1.5 release candidates are not affected by this problem. All publicly editable
18931 wikis are strongly recommended to upgrade immediately.
18932 1.4 releases can be manually patched by changing this bit in EditPage.php:
18933
18934 <syntaxhighlight lang="php">
18935 function importFormData( &$request ) {
18936 if( $request->wasPosted() ) {
18937 </syntaxhighlight>
18938 to:
18939 <syntaxhighlight lang="php">
18940 function importFormData( &$request ) {
18941 if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() )
18942 {
18943 </syntaxhighlight>
18944 == MediaWiki 1.4.9 ==
18945 (released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It
18946 corrects two cross-site scripting security bugs:
18947 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
18948 support is off, as in the default configuration.
18949 * Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could
18950 bypass HTML style attribute restrictions for cross-site scripting attacks
18951 against Microsoft Internet Explorer Wikis where the optional math support has
18952 been *enabled* are not vulnerable to the first, but are vulnerable to the
18953 second.
18954
18955 == MediaWiki 1.4.8 ==
18956 (released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance
18957 release. A flaw in the interaction between extensions and HTML attribute
18958 sanitization was discovered which could allow unauthorized use of offsite
18959 resources in style sheets, and possible exploitation of a JavaScript injection
18960 feature on Microsoft Internet Explorer. This version expands the returned text
18961 and properly checks it before output. Additionally, an update to
18962 skins/MonoBook.php ensures that sites using the default MonoBook skin will
18963 display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not
18964 affected by this bug.)
18965
18966 == MediaWiki 1.4.7 ==
18967 (released 2005-07-16)
18968 MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems
18969 in 1.4.6 should upgrade:
18970 * Watchlist breakage on MySQL 3.23.x and with table prefix enabled
18971 * Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6
18972 included a fix for a cross-site scripting vulnerability, so anyone running
18973 older 1.4 releases is very strongly encouraged to upgrade as well. Note to
18974 upgraders: this version of MediaWiki is known to produce a large number of
18975 notice-level warnings under the newly released PHP 4.4.0. These appear however
18976 to be harmless; if you encounter them add this to your LocalSettings.php to
18977 suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is
18978 known to be incompatible at this time.
18979
18980 == MediaWiki 1.4.6 ==
18981 (released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release.
18982 Incorrect escaping of a parameter in the page move template could
18983 be used to inject JavaScript code by getting a victim to visit a maliciously
18984 constructed URL. Users of vulnerable releases are recommended to upgrade to
18985 this release. Vulnerable versions:
18986 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
18987 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
18988 * 1.3 legacy series: not vulnerable This release also includes fixes for some
18989 rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some
18990 template limitations introduced in 1.4.5. See the changelog at the end of this
18991 file for a detailed list of bugs fixed.
18992
18993 == MediaWiki 1.4.5 ==
18994 (released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release.
18995 Incorrect handling of page template inclusions made it possible to inject
18996 JavaScript code into HTML attributes, which could lead to cross-site scripting
18997 attacks on a publicly editable wiki. Vulnerable releases and fix:
18998 * 1.5 prerelease: fixed in 1.5alpha2
18999 * 1.4 stable series: fixed in 1.4.5
19000 * 1.3 legacy series: fixed in 1.3.13
19001 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This
19002 release also includes a number of bug fixes (see changelog below) and merges
19003 some large-server load balancing patches from Wikipedia. An experimental rate
19004 limiter for page edits and moves can be enabled with global, per-IP,
19005 per-subnet, or per-user bases. See configuration options in
19006 includes/DefaultSettings.php
19007
19008 == MediaWiki 1.4.4 ==
19009 (released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable
19010 release series. Some bugs in the installer/updater and refreshLinks maintenance
19011 script were introduced in the last release and have been corrected.
19012
19013 == MediaWiki 1.4.3 ==
19014
19015 (released 2005-04-28)
19016
19017 MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series.
19018
19019 Chiefly, this fixes a compatibility problem with PHP 5 and a minor link
19020 table corruption bug on initial page save.
19021
19022
19023 == MediaWiki 1.4.2 ==
19024
19025 (released 2005-04-20)
19026
19027 MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release
19028 series.
19029
19030 A cross-site scripting injection vulnerability was discovered, which
19031 affects only MSIE clients and is only open if MediaWiki has been
19032 manually configured to run output through HTML Tidy ($wgUseTidy).
19033
19034 Several other bugs are fixed in this release, see the changelog below.
19035
19036 All new installations are highly recommended to use 1.4.2 instead of
19037 1.3.x; 1.3.x users should consider upgrading for bug fixes and new
19038 features. Ealier 1.4.x release and beta users should upgrade to this
19039 release for relevant bug fixes; see the changelog later in this file.
19040
19041
19042 If you have trouble, remember to read this whole file and the online FAQ page
19043 before asking for help:
19044
19045 https://www.mediawiki.org/wiki/Manual:FAQ
19046
19047
19048 === READ THIS FIRST: Upgrading ===
19049
19050 If upgrading from an older release, see the notes in the file UPGRADE.
19051 There are a couple of minor database changes from the beta releases,
19052 and somewhat larger changes from 1.3.x.
19053
19054 Upgrading from a previous 1.4.x stable release installation should
19055 generally only require copying the new files over the old ones.
19056
19057
19058 ==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ====
19059
19060 MySQL 5.0 is a beta release, not yet ready for production use. If you
19061 are using it, the notes below about 4.1 apply to you too.
19062
19063 If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for
19064 some other application, you should consider sticking with 4.0 for the
19065 moment. 4.1 may require you to do extra fiddling to get things to work
19066 due to changes that aren't fully backwards-compatible.
19067
19068 MySQL 4.1 has changed the authentication protocol in an incompatible
19069 way; many PHP installations still use the older client libraries and
19070 CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes.
19071
19072 See: http://dev.mysql.com/doc/mysql/en/Old_client.html
19073
19074 If MySQL is set with utf-8 as the default character set, installation
19075 may fail with "key too long" errors. Set the default charset to 'latin1'
19076 for installation and it should work.
19077
19078 The mysqldump backup generator now applies an automatic conversion to
19079 UTF-8, which may irretrivably corrupt your data. Pass the -charset option
19080 with the original default charset (eg 'latin1') to skip the conversion.
19081
19082
19083 ==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ====
19084
19085 MediaWiki is tested and deployed primarily under the Apache web server
19086 on Linux Unix systems. There are known to be problems running on
19087 Microsoft's IIS which are not fully resolved. If you have a choice,
19088 try running under Apache on Windows, or on a Unix/Linux box instead.
19089
19090 If you're having trouble with blank pages on IIS and can't switch,
19091 try the workaround suggested in this bug report:
19092 http://bugzilla.wikimedia.org/show_bug.cgi?id=1763
19093
19094
19095 === New features ===
19096
19097 * 'Recentchanges Patrol' to mark new edits that haven't yet been viewed.
19098 * New, searchable deletion/upload/protection logs
19099 * Image gallery generation (Special:Newimages and <gallery> tag)
19100 * SVG rasterization support (requires external support tools)
19101 * Users can select from the available localizations to override the
19102 default user interface language.
19103 * Traditional/Simplified Chinese conversion support
19104 * rel="nofollow" support to combat linkspam
19105
19106 The current implementation adds this attribute to _all_ external URL
19107 links in wiki text (but not internal [[wiki links]] or interwiki links).
19108 To disable the attribute for _all_ external links, add this line to your
19109 LocalSettings.php:
19110
19111 $wgNoFollowLinks = false
19112
19113 For background information on nofollow see:
19114
19115 http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
19116
19117
19118 === Installation and compatibility ===
19119
19120 * The default MonoBook theme now works with PHP 5.0
19121 * Installation on systems with PHP's safe mode or other oddities
19122 should work more reliably, as MonoBook no longer needs to
19123 create a compiled template file for the wiki to run.
19124 * A table prefix may be specified, to avoid conflicts with other
19125 web applications forced to share a database.
19126 * More thorough UTF-8 input validation; fixes non-ASCII uploaded
19127 filenames from Safari.
19128 * Command-line database upgrade script.
19129
19130
19131 === Customizability ===
19132
19133 * Default user options can now be overridden in LocalSettings.
19134 * Skins system more modular: templates and CSS are now in /skins/
19135 New skins can be dropped into this directory and used immediately.
19136 * More extension hooks have been added.
19137 * Authentication plugin hook.
19138 * More internal code documentation, generated with phpdoc:
19139 https://doc.wikimedia.org/mediawiki-core/master/php/html/
19140
19141
19142 === Optimization ===
19143
19144 * For many operations, MediaWiki 1.4 should run faster and use
19145 less memory than MediaWiki 1.3. Page rendering is up to twice
19146 as fast. (Use a PHP accelerator such as Turck MMCache for best
19147 results with any PHP application, though!)
19148 * The parser cache no longer requires memcached, and is enabled
19149 by default. This avoids a lot of re-rendering of pages that
19150 have been shown recently, greatly speeding longer page views.
19151 * Support for compiled PHP modules to speed up page diff and
19152 Unicode validation/normalization. (Requires ability to compile
19153 and load PHP extensions).
19154
19155
19156 === What isn't ready yet ===
19157
19158 * A new user/groups permissions scheme has been held back to 1.5.
19159 * An experimental SOAP interface will be made available as an extension
19160 * PostgreSQL support is largely working, minus search and the installer.
19161 You can perform a manual installation.
19162 * E-mail notification of watched page changes and verification of
19163 user-submitted e-mail addresses is not yet included.
19164 * Log pages are not automatically imported into the new log table
19165 at upgrade time. A script to import old text log entries is
19166 incomplete, but may be available in later point releases.
19167 * Some localizations are still incomplete.
19168
19169
19170
19171 == Changelog ==
19172
19173 === Important security updates ===
19174
19175 A security audit found and fixed a number of problems. Users of MediaWiki
19176 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases
19177 prior to 1.4rc1 should upgrade immediately.
19178
19179 ==== Cross-site scripting vulnerability ====
19180
19181 XSS injection points can be used to hijack session and authentication
19182 cookies as well as more serious attacks.
19183
19184 * Media: links output raw text into an attribute value, potentially
19185 abusable for JavaScript injection. This has been corrected.
19186 * Additional checks added to file upload to protect against MSIE and
19187 Safari MIME-type autodetection bugs.
19188
19189 As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled
19190 by default as a general precaution. Sites which want this ability may set
19191 $wgAllowUserCss and $wgAllowUserJs in LocalSettings.php.
19192
19193
19194 ==== Cross-site request forgery ====
19195
19196 An attacker could use JavaScript-submitted forms to perform various
19197 restricted actions by tricking an authenticated user into visiting
19198 a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has
19199 been expanded in this release to other forms and functions.
19200
19201 Authors of bot tools may need to update their code to include the
19202 additional fields.
19203
19204
19205 ==== Directory traversal ====
19206
19207 An unchecked parameter in image deletion could allow an authenticated
19208 administrator to delete arbitary files in directories writable by the
19209 web server, and confirm existence of files not deletable.
19210
19211
19212 ==== Older issues ====
19213
19214 Note that 1.4 beta releases prior to beta 5 include an input validation
19215 error which could lead to execution of arbitrary PHP code on the server.
19216 Users of older betas should upgrade immediately to the current version.
19217
19218
19219 Beta 6 also introduces the use of rel="nofollow" attributes on external
19220 links in wiki pages to reduce the effectiveness of wiki spam. This will
19221 cause participating search engines to ignore external URL links from wiki
19222 pages for purposes of page relevancy ranking.
19223
19224
19225 === Misc bugs fixed in beta 1 ===
19226
19227 * (bug 95) Templates no longer limited to 5 inclusions per page
19228 * New user preference for limiting the image size for images on image
19229 description pages
19230 * (bug 530) Allow user to preview article on first edit
19231 * (bug 479) [[RFC 1234]] will now make an internal link
19232 * (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages
19233 * (bug 770) Adding filter and username exact search match for Special:Listusers
19234 * (bug 733) Installer die if it can not write LocalSettings.php
19235 * (bug 705) Various special pages no more show the rss/atom feed links
19236 * (bug 114) use category backlinks in Special:Recentchangeslinked
19237
19238 === Beta 2 fixes ===
19239
19240 * (bug 987) Reverted bogus fix for bug 502
19241 * (bug 992) Fix enhanced recent changes in PHP5
19242 * (bug 1009) Fix Special:Makesysop when using table prefixes
19243 * (bug 1010) fix broken Commons image link on Classic & Cologne Blue
19244 * (bug 985) Fix auto-summary for section edits
19245 * (bug 995) Close <a> tag
19246 * (bug 1004) renamed norsk language links (twice)
19247 * Login works again when using an old-style default skin
19248 * Fix for load balancing mode, notify if using old settings format
19249 * (bug 1014) Missing image size option on old accounts handled gracefully
19250 * (bug 1027) Fix page moves with table prefix
19251 * (bug 1018) Some pages fail with stub threshold enabled
19252 * (bug 1024) Fix link to high-res image version on Image: pages
19253 * (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
19254 * security fix for image galleries
19255 * (bug 1039) Avoid error message in certain message cache failure modes
19256 * Fix string escaping with PostgreSQL
19257 * (bug 1015) [partial] -- use comment formatter on image gallery text
19258 * Allow customization of all UI languages
19259 * use $wgForceUIMsgAsContentMsg to make regular UI messages act as content
19260 * new user option for zh users to disable language conversion
19261 * Defer message cache initialization, shaving a few ms off file cache hits
19262 * Fixed Special:Allmessages when using table prefixes
19263 * (bug 996) Fix $wgWhitelistRead to work again
19264 * (bug 1028) fix page move over redirect to not fail on the unique index
19265
19266 === Beta 3 fixes ===
19267
19268 * Hide RC patrol markers when patrol is disabled or not allowed to patrol.
19269 * Fix language selection for upgraded accounts
19270 * (bug 1076) navigation links in QueryPage should be translated by wgContLang.
19271 * (bug 922) bogus DOS line endings in LanguageEl.php
19272 * Fix index usage in contribs
19273 * Caching and load limiting options for Recentchanges RSS/Atom feed
19274 * (bug 1074) Add stock icons for non-image files in gallery/Newimages
19275 * Add width and height attributes on thumbs in gallery/Newimages
19276 * Enhance upload extension blacklist to protect against vulnerable
19277 Apache configurations
19278
19279 === Beta 4 fixes ===
19280
19281 * (bug 1090) Fix sitesupport links in CB/classic skins
19282 * Gracefully ignore non-legal titles in a <gallery>
19283 * Fix message page caching behavior when $wgCapitalLinks is turned off
19284 after installation and the wiki is subsequently upgraded
19285 * Database error messages include the database server name/address
19286 * Paging support for large categories
19287 * Fix image page scaling when thumbnail generation is disabled
19288 * Select the content language in prefs when bogus interface language is set
19289 * Fix interwiki links in edit comments
19290 * Fix crash on banned user visit
19291 * Avoid PHP warning messages when thumbnail not generated
19292 * (bug 1157) List unblocks correctly in Special:Log
19293 * Fix fatal errors in LanguageLi.php
19294 * Undo overly bright, difficult to read colors in Cologne Blue
19295 * (bug 1162) fix five-tilde date inserter
19296 * Add raw signatures option for those who simply must have cute sigs
19297 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
19298 * Add the dreaded <span> to the HTML whitelist
19299 * (bug 1170) Fix Russian linktrail
19300 * (bug 1168) Missing text on the bureaucrat log
19301 * (bug 1180) Fix Makesysop on shared-user-table sites
19302 * (bug 1178) Fix previous diff link when using 'oldid=0'
19303 * (bug 1173) Stop blocked accounts from reverting/deleting images
19304 * Keep generated stylesheets cache-separated for each user
19305 * (bug 1175) Fix "preview on first edit" mode
19306 * Fix revert bug caused by bug 1175 fix
19307 * Fix CSS classes on minor, new, unpatrolled markers in enhanced RC
19308 * Set MySQL 4 boolean search back to 'and' mode by default
19309 * (bug 1193) Fix move-only page protection mode
19310 * Fix zhtable Makefile to include the traditional manual table
19311 * Add memcache timeout for the zh conversion tables
19312 * Allow user customization of the zh conversion tables through
19313 Mediawiki:zhconversiontable
19314 * Add zh-min-man (back) to language names list
19315 * Ported $wgCopyrightIcon setting from REL1_3A
19316 * (bug 1218) Show the original image on image pages if the thumbnail would be
19317 bigger than the original image
19318 * (bug 1213) i18n of Special:Log labels
19319 * (bug 1013) Fix jbo, minnan in language names list
19320 * Added magic word MAG_NOTITLECONVERT to indicate that the title of the page
19321 do not need to be converted. Useful in zh:
19322 * (bug 1224) Use proper date messages for date reformatter
19323 * (bug 1241) Don't show 'cont.' for first entry of the category list
19324 * (bug 1240) Special:Preferences was broken in Slovenian locale when
19325 $wgUseDynamicDates is enabled
19326 * Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
19327 content of an article. Useful in zh:
19328 * write-lock for updating the zh conversion tables in memcache
19329 * recursively parse subpages of MediaWiki:Zhconversiontable
19330 * (bug 1144) Fix export for fy language
19331 * make removal of an entry from zhconversiontable work
19332 * (bug 752) Don't insert newline in link title for url with %0a
19333 * Fix missing search box contents in MonoBook skin
19334 * Add option to forward search directly to an external URL (eg google)
19335 * Correctly highlight the fallback language variant when the selected
19336 variant is disabled. Used in zh: only for now.
19337
19338 === Beta 5 fixes ===
19339
19340 * (bug 1124) Fix ImageGallery XHTML compliance
19341 * (bug 1186) news: in the middle of a word
19342 * (bug 1283) Use underlining and borders to highlight additions/deletions
19343 in diff-view
19344 * Use user's local timezone in Special:Log display
19345 * Show filename for images in gallery by default (restore beta 3 behavior)
19346 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks,
19347 searchindex
19348 * When using squid reverse proxy, cache the redirect to the Main_Page
19349 * (bug 1302) Fix Norwegian language file
19350 * (bug 1205) Fix broken article saving in PHP 5.1
19351 * (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give
19352 number of the week and number of the day).
19353 * (bug 1204) Blocks do not expire automatically
19354 * (bug 1184) expiry time of indefinite blocks shown as the current time
19355 * (bug 1317) Fix external links in image captions
19356 * (bug 1084) Fix logo not rendering centrally in IE
19357 * (bug 288) Fix tabs wrapping in IE6
19358 * (bug 119) Fix full-width tabs with RTL text in IE
19359 * (bug 1323) Fix logo rendering off-screen in IE with RTL language
19360 * Show "block" link in Special:Recentchanges for logged in users, too, if
19361 wgUserSysopBans is true.
19362 * (bug 1326) Use content language for '1movedto2' in edit history
19363 * zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set
19364 * zh: Fix double conversion for zh-sg and zh-hk
19365 * (bug 1132) Fix concatenation of link lists in refreshLinks
19366 * (bug 1101) Fix memory leak in refreshLinks
19367 * (bug 1339) Fix order of @imports in Cologne Blue CSS
19368 * Don't try to create links without namespaces ([[Category:]] link bug)
19369 * Memcached data compression fixes
19370 * Several valid XHTML fixes
19371 * (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook
19372 * (bug 211) Fix tabbed preferences with XHTML MIME type
19373 * Fix for script execution vulnerability.
19374
19375 === Beta 6 fixes ===
19376
19377 * (bug 1335) implement 'tooltip-watch' in Language.php
19378 * Fix linktrail for nn: language
19379 * (bug 1214) Fix prev/next links in Special:Log
19380 * (bug 1354) Fix linktrail for fo: language
19381 * (bug 512) Reload generated CSS on preference change
19382 * (bug 63) Fix displaying as if logged in after logout
19383 * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
19384 * Skip message cache initialization on raw page view (quick hack)
19385 * Fix notice errors in wfDebugDieBacktrace() in XML callbacks
19386 * Suppress notice error on bogus timestamp input (returns epoch as before)
19387 * Remove unnecessary initialization and double-caching of parser variables
19388 * Call-tree output mode for profiling
19389 * (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
19390 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
19391 (on by default)
19392 * (bug 1130) Show actual title when moving page instead of encoded one.
19393 * (bug 925) Fix headings containing <math>
19394 * (bug 1131) Fix headings containing interwiki links
19395 * (bug 1380) Update Nynorsk language file
19396 * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
19397 * (bug 1217) Image within an image caption broke rendering
19398 * (bug 1384) Make patrol signs have the same width for page moves as for edits
19399 * (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit
19400 * (bug 1389) i18n for proxyblocker message
19401 * Add fur/Furlan/Friulian to language names list
19402 * Add TitleMoveComplete hook on page renames
19403 * Allow simple comments for each translation rules in MW:Zhconversiontable
19404 * (bug 1402) Make link color of tab subject page link on talk page indicate
19405 whether article exists
19406 * (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x
19407 * Translated Hebrew namespace names
19408 * (bug 1429) Stop double-escaping of block comments; fix formatting
19409 * (bug 829) Fix URL-escaping on block success
19410 * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
19411 * (bug 1435) Fixed many CSS errors
19412 * (bug 1457) Fix XHTML validation on category column list
19413 * (bug 1458) Don't save if edit form submission is incomplete
19414 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
19415 * Per-user CSS and JavaScript subpage customizations now disabled by default.
19416 They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss.
19417 * Removed .ogg from the default uploads whitelist as an extra precaution.
19418 If your web server is configured to serve Ogg files with the correct
19419 Content-Type header, you can re-add it in LocalSettings.php:
19420 $wgFileExtensions[] = 'ogg';
19421
19422 === RC1 fixes ===
19423
19424 * Fix notice error on nonexistent template in wikitext system message
19425 * (bug 1469) add missing <ul> tags on Special:Log
19426 * (bug 1470) remove extra <ul> tags from Danish log messages
19427 * Fix notice on purge w/ squid mode off
19428 * (bug 1477) hide details of SQL error messages by default
19429 Set $wgShowSQLErrors = true for debugging.
19430 * (bug 1430) Don't check for template data when editing page that doesn't exist
19431 * Recentchanges table purging fixed when using table prefix
19432 * (bug 1431) Avoid redundant objectcache garbage collection
19433 * (bug 1474) Switch to better-cached index for statistics page count
19434 * Run Unicode normalization on all input fields
19435 * Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw
19436 * Block image revert without valid login
19437 * (bug 1446) stub Bambara (bm) language file using French messages
19438 * (bug 1432) Update Estonian localization
19439 * (bug 1471) unclosed <p> tag in Danish messages
19440 * convertLinks script fixes
19441 * Corrections to template loop detection
19442 * XHTML encoding fix for usernames containing & in Special:Emailuser
19443 * (for zh) Search for variant links even when conversion is turned off,
19444 to help prevent duplicate articles.
19445 * Disallow ISO 8859-1 C1 characters and "no-break space" in user names
19446 on Latin-1 wikis.
19447 * Correct the name of the main page it LanguageIt
19448 * Allow Special:Makesysop to work for usernames containing SQL special
19449 characters.
19450 * Fix annoying blue line in Safari on scaled-down images on description page
19451 * Increase upload sanity checks
19452 * Fix XSS bug in Media: links
19453 * Add cross-site form submission protection to various actions
19454 * Fix fatal error on some dubious page titles
19455 * Stub threshold displays correctly again
19456
19457
19458 === 1.4.0 final fixes ===
19459
19460 * (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8
19461 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis
19462 * (bug 1536) Fix page info
19463 * Support os (Ossetic) as language code, using Russian localization base
19464 * (bug 1610) Support non (Old Norse) as language code, using Icelandic
19465 localization base
19466 * (bug 1618) Properly list custom namespaces in Special:Allpages
19467 * (bug 1622) Remove trailing' >' when using category browser
19468 * (bug 1570) Fix php 4.2.x error on conflict merging
19469 * (bug 1585) Fix page title on post-login redirection page
19470 * Run UTF-8 validation on old text in Recentchanges RSS diffs
19471 * (bug 1642) fix a mime type typo in img_auth.php
19472 * Automated interwiki redirects only for local interwikis
19473 * Respect read-only mode on block removals
19474 * Trim old illegal characters from syndication feeds
19475 * Reduce message cache outage recovery delay from 1 day to 5 minutes
19476 * (bug 1403) Update Finnish localization
19477 * (bug 1478) Punjabi localization
19478 * (bug 1667) Update script 5 second countdown.
19479 * (bug 1057) Fix logging table encoding (error on MySQL 4.1)
19480 * (bug 1680) Fix linktrail for fo
19481 * (bug 1653) Removing hardcoded messages in Special:Allmessages
19482 * (bug 1594) Render a hyphen in a formula as &minus; in HTML
19483 * (bug 1495) Fall back to default language MediaWiki: for custom messages
19484 * (bug 1617) Show different error messages for "user does not
19485 exist" and "wrong password" when using AuthPlugin
19486 * (bug 1532), (bug 1544) Changed language names for
19487 'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si',
19488 'ti', 've'
19489 * Fix editing on non-Esperanto wiki with user language pref set to Esperanto
19490 * Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
19491 * Fix PHP notice in MonoBook when counters disabled
19492 * (bug 1696) Update namespaces, dates in uk localization
19493 * (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase
19494 instead of trying to install with corrupt table files
19495 * Installer no longer tries to move non-default MediaWiki: pages into Template:
19496 * User-to-user email disabled by default ($wgEnableUserEmail)
19497
19498
19499 === 1.4.1 fixes ===
19500
19501 * (bug 1720) fix genitive month names for uk
19502 * (bug 1704) fixed untranslateable string in Special:Log
19503 * (bug 1638) Added Belrusian language file
19504 * (bug 1736) typo in SpecialValidate.php
19505 * (bug 73) Upload doesn't run edit updates on description page (links,
19506 search index and categories)
19507 * (bug 646) <math> fails to recognize \ll and \gg
19508 * (bug 926) \div element from TeX not supported in <math> element
19509 * (bug 1147) add \checkmark to whitelist in texutil.ml
19510 * (bug 937) \limits function from LaTeX not supported in <math> element
19511 * Support for manually converting article title to different Chinese
19512 variants (for zh)
19513 * (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode
19514 * (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension
19515 * Fix code typo that broke article credits display
19516 * Installation fixes for running under IIS
19517 * (bug 1556) login page tab order. "remember" checkbox now come after password.
19518 * SQL debug log fixlets
19519 * (bug 1815) Fix namespace in old revision display with mismatched title
19520 * (bug 1788) Fix link duplication when edit/upload comment includes newlines
19521 * Change default on $wgSysopUserBans and $wgSysopRangeBans to true
19522 * Fix link conversion for URL request
19523 * (bug 1851) Updated download URL for the SCIM packages used by zhtable
19524 * (bug 1853) Try stripping quotes from term for 'go' title match
19525 * Fix missing function in Latin1 mode
19526 * (bug 1860) Anchors of interwiki links did not get normalized
19527 * (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z
19528 * Fix link conversion for URL request, hopefully without breaking the wiki
19529 * (bug 1849) New option allows to consider categorized images as used on
19530 Special:Unusedimages
19531 * Localized category namespace for ka (Georgian)
19532 * (bug 1107) Work around includes problem in installer when parent dir is not
19533 readable by the web server
19534 * (bug 1927) Incorrect escaping on wikitext message in Blockip
19535
19536
19537 === 1.4.2 fixes ===
19538
19539 * Fix math options in Finnish localization
19540 * Use in-process Tidy extension if available when $wgUseTidy is on
19541 * (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module
19542 * (bug 1188) <nowiki> in {{subst:}} includes fixed
19543 * (bug 1936) <!-- comments --> in {{subst:}} includes fixed
19544 * Fix a potential MSIE JavaScript injection vector in Tidy mode
19545
19546
19547 === 1.4.3 fixes ===
19548
19549 * (bug 1636) Refs like &#0355; were misinterpreted as octal in some places
19550 * (bug 1163) Special:Undelete showed oldest revision instead of newest
19551 * (bug 1938) Fix escaping of illegal character references in link text
19552 * (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5
19553 * (bug 1949) Profiling typo in rare error case
19554 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
19555 * (bug 1970) Don't show move tab for immobile pages
19556 * (bug 1770) Page creation recorded links from the 'newarticletext' message
19557 * Optional change to the site_stats table. When applied, this removes the need
19558 for expensive queries in Special:Statistics.
19559
19560
19561 === 1.4.4 fixes ===
19562
19563 * (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages
19564 * (bug 2024) Skip JavaScript error for custom skins where .js message not set
19565 * (bug 2025) Updated Indonesian localization
19566 * (bug 2039) Updated Lithuanian localization
19567
19568
19569 === Caveats ===
19570
19571 Some output, particularly involving user-supplied inline HTML, may not
19572 produce 100% valid or well-formed XHTML output. Testers are welcome to
19573 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
19574 cases, but this is not recommended on live sites. (This must be set for
19575 MathML to display properly in Mozilla.)
19576
19577
19578 For notes on 1.3.x and older releases, see HISTORY.
19579
19580
19581 === Online documentation ===
19582
19583 Documentation for both end-users and site administrators is currently being
19584 built up on MediaWiki.org, and is covered under the GNU Free Documentation
19585 License:
19586
19587 https://www.mediawiki.org/
19588
19589
19590 === Mailing list ===
19591
19592 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
19593 wikitech-l list:
19594
19595 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
19596
19597 A low-traffic announcements-only list is also available:
19598 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
19599
19600 It's highly recommended that you sign up for one of these lists if you're
19601 going to run a public MediaWiki, so you can be notified of security fixes.
19602
19603
19604 === IRC help ===
19605
19606 There's usually someone online in #mediawiki on irc.freenode.net
19607
19608 =MediaWiki 1.3=
19609
19610 == MediaWiki 1.3.18 ==
19611 (released 2005-11-02)
19612 MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP
19613 4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing
19614 garbage data to be inserted in output and saved edits. This version works
19615 around the change. This release includes further corrections to the inline CSS
19616 style sanitation which works around a JavaScript "feature" on Microsoft
19617 Internet Explorer. Users of Microsoft Internet Explorer for Windows may be
19618 vulnerable to XSS injections on prior 1.3 releases; users of
19619 standards-compliant browsers are not vulnerable.
19620
19621 == MediaWiki 1.3.17 ==
19622 (released 2005-10-05)
19623 MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by
19624 Microsoft Internet Explorer could be exploited to produce cross-site scripting
19625 attacks by JavaScript injection to clients running that browser. This release
19626 blacklists several additional variants from use in HTML inline style
19627 attributes. All publicly accessible wikis are recommended to upgrade to reduce
19628 the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x
19629 series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release
19630 if you require this version of PHP 5.
19631
19632 == MediaWiki 1.3.16 ==
19633 (released 2005-09-21)
19634 MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission
19635 handling could cause corruption of the previous revision in the database if an
19636 abnormal URL was used, such as those used by some spambots. Affected releases:
19637 * 1.4.x <= 1.4.9; fixed in 1.4.10
19638 * 1.3.x <= 1.3.15; fixed in 1.3.16
19639 1.5 release candidates are not affected by this problem. All publicly editable
19640 wikis are strongly recommended to upgrade immediately.
19641 1.3 releases can be manually patched by changing this bit in
19642 {{manual|EditPage.php}}:
19643 <syntaxhighlight lang="php">
19644 if( $this->tokenOk( $request ) ) {
19645 $this->save = $request->wasPosted() && !$this->preview;
19646 } else {
19647 </syntaxhighlight>
19648 to:
19649 <syntaxhighlight lang="php">
19650 if( $this->tokenOk( $request ) ) {
19651 $this->save = $request->getVal( 'action' ) == 'submit' &&
19652 $request->wasPosted() && !$this->preview;
19653 } else {
19654 </syntaxhighlight>
19655
19656 == MediaWiki 1.3.15, 2005-08-29 ==
19657 MediaWiki 1.3.15 is a security maintenance release. It corrects across-site
19658 scripting security bug:
19659 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
19660 support is off, as in the default configuration. Wikis where the optional math
19661 support has been *enabled* are not vulnerable. The 1.3.x series is no longer
19662 maintained except for security fixes; new users and those seeking bug fixes
19663 should upgrade to 1.4.9 or 1.5.0.
19664
19665 == MediaWiki 1.3.14, 2005-08-23 ==
19666 MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction
19667 between extensions and HTML attribute sanitization was discovered which could
19668 allow unauthorized use of offsite resources in style sheets, and possible
19669 exploitation of a JavaScript injection feature on Microsoft Internet Explorer.
19670 The 1.3.x series is no longer maintained except for security fixes; new users
19671 and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x
19672 installations not willing to upgrade to the current stable release should apply
19673 the change manually:
19674 In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}}
19675 add:
19676 <syntaxhighlight lang="php">
19677 # Any placeholder items should have been unstripped already before
19678 # we got to this point. Raw text inserted later could be dangerous.
19679 if( strpos( $t, UNIQ_PREFIX ) !== false ) {
19680 wfDebug( "Parser::fixTagAttributes found stripped data placeholder;
19681 dropping attributes\n" );
19682 $t = '';
19683 }
19684 </syntaxhighlight>
19685 If you are actively using extensions to generate HTML attribute values, upgrade
19686 to 1.4 or 1.5 for a more thorough fix.
19687
19688 == MediaWiki 1.3.13, 2005-06-03 ==
19689 MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page
19690 template inclusions made it possible to inject JavaScript code into HTML
19691 attributes, which could lead to cross-site scripting attacks on a publicly
19692 editable wiki. Vulnerable releases and fix:
19693 * 1.5 prerelease: fixed in 1.5alpha2
19694 * 1.4 stable series: fixed in 1.4.5
19695 * 1.3 legacy series: fixed in 1.3.13
19696 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The
19697 1.3.x series is no longer maintained except for security fixes; new users and
19698 those seeking general bug fixes should install 1.4.5. Existing 1.3.x
19699 installations not willing or able to upgrade to the current stable relase
19700 should update the installation to 1.3.13; only includes/Parser.php has changed
19701 from 1.3.12.
19702
19703 == MediaWiki 1.3.12, 2005-02-20 ==
19704 MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting
19705 injection vulnerability was discovered, which affects only MSIE clients and is
19706 only open if MediaWiki has been manually configured to run output through HTML
19707 Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security
19708 fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing
19709 1.3.x installations using Tidy not willing to upgrade to the current stable
19710 relase should either turn off Tidy or update the installation to 1.3.12.
19711
19712 == MediaWiki 1.3.11, 2005-02-20 ==
19713 MediaWiki 1.3.11 is a security release.
19714 A security audit found and fixed a number of problems. Users of MediaWiki
19715 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should
19716 upgrade to 1.4rc1.
19717
19718 === Cross-site scripting vulnerability ===
19719 XSS injection points can be used to hijack session and authentication cookies
19720 as well as more serious attacks.
19721 * Media: links output raw text into an attribute value, potentially abusable
19722 for JavaScript injection. This has been corrected.
19723 * Additional checks added to file upload to protect against MSIE and Safari
19724 MIME-type autodetection bugs.
19725 As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is
19726 disabled by default as a general precaution. Sites which want this ability may
19727 set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php.
19728
19729 === Cross-site request forgery ===
19730 An attacker could use JavaScript-submitted forms to perform various restricted
19731 actions by tricking an authenticated user into visiting a malicious web page. A
19732 fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to
19733 other forms and functions. Authors of bot tools may need to update their code
19734 to include the additional fields.
19735
19736 === Directory traversal ===
19737 An unchecked parameter in image deletion could allow an authenticated
19738 administrator to delete arbitary files in directories writable by the web
19739 server, and confirm existence of files not deletable.
19740
19741 == MediaWiki 1.3.10, 2005-02-03 ==
19742 MediaWiki 1.3.10 is a security release.
19743 An attacker could craft a URL which, when visited by a particular logged-in
19744 user, would execute arbitrary JavaScript code on the user's browser in the
19745 wiki's site context. This attack has been blocked, and as an extra precaution
19746 the user CSS and JavaScript subpage support is now disabled by default. Sites
19747 which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in
19748 {{manual|LocalSettings.php}}. Additional protections have been added against
19749 off-site form submissions
19750 hijacking user credentials. Authors of bot tools may need to update their code
19751 to include additional fields. All wikis running 1.3.x are strongly urged to
19752 upgrade to 1.3.10.
19753 Changes from 1.3.9:
19754 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
19755 * Per-user CSS and JavaScript subpage customizations now disabled by default.
19756 They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}.
19757 * Removed .ogg from the default uploads whitelist as an extra precaution. If
19758 your web server is configured to serve Ogg files with the correct Content-Type
19759 header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] =
19760 'ogg'</code>
19761
19762 == MediaWiki 1.3.9, 2004-12-12 ==
19763 MediaWiki 1.3.9 is a security and bug fix release.
19764 A flaw in upload handling has been found which may allow upload and execution
19765 of arbitrary scripts with the permissions of the web server. Only wikis that
19766 have enabled uploads and have a vulnerable Apache configuration will be
19767 affected, but to be safe all wikis should upgrade. Wikis with uploads available
19768 should either disable uploads or upgrade to 1.3.9 immediately; if other files
19769 are customized and require merging changes,
19770 includes/{{manual|SpecialUpload.php}} may be replaced individually to add the
19771 fix. (It is also recommended to configure your web server to disable script
19772 execution in the 'images' subdirectory where uploads are placed, which prevents
19773 most attacks even if the wiki fails.)
19774 Changes from 1.3.8:
19775 * Backported "Templates used in this page"-feature of EditPage
19776 * Allow "MySkin" as a default skin.
19777 * ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links
19778 * ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]]
19779 & [[Skin:Cologne Blue|Cologne Blue]]
19780 * ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan
19781 language name changed
19782 * Enhance upload extension blacklist to protect against vulnerable Apache
19783 configurations
19784
19785 == MediaWiki 1.3.8, 2004-11-15 ==
19786 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled
19787 are strongly recommended to upgrade as this fixes several problems with
19788 overwriting previously-uploaded files.
19789 Changes from 1.3.7:
19790 * ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning
19791 for IIS servers using ISAPI mode
19792 * ({{bugzilla|718}}) fix bad charset in (file) cached pages
19793 * use local numerals in category page (for Hindi et al)
19794 * alias month abbreviations to month names in Hindi
19795 * add localized numerals for Gujarati and Kannada
19796 * fix Category and project namespaces for Hindi
19797 * Don't output bogus timestamp on [[Special:RecentChanges]] if no entries
19798 * Correct template include path which broke some but not all Windows installs
19799 * Fix edit form submission problem with some PHP versions
19800 * Disallow unreachable titles with %XX hex codes
19801 * Allow page [[0]] to be renamed
19802 * ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the
19803 anchor as with existing numbered section edits
19804 * Experimental shared upload overlay area (disabled by default)
19805 * ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization
19806 * User option localization fix for some extensions
19807 * ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded
19808 * ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom
19809 feeds
19810 * ({{bugzilla|26}}) fix cache headers on anon talk page notification
19811 * ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}}
19812 * ({{bugzilla|862}}) localize date and time format for Finnish
19813 * ({{bugzilla|548}}) Don't overwrite images until the user confirms it
19814
19815 == MediaWiki 1.3.7, 2004-10-18 ==
19816 Changes from 1.3.6:
19817 * Fix protected-page related security issue.
19818
19819 == MediaWiki 1.3.6, 2004-10-14 ==
19820 Changes from 1.3.5:
19821 * ({{bugzilla|296}}) Variables in user interface messages are no longer
19822 substituted at install time, so changes to the site name etc should be easier
19823 to make
19824 * ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves
19825 limit
19826 * ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly
19827 * ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected
19828 pages
19829 * ({{bugzilla|484}}) graceful deletion of images where the actual file is
19830 missing
19831 * ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization
19832 * Fixed potential HTML/JavaScript injection attack in the
19833 [[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is
19834 not enabled by default.)
19835 * Fixed potential HTML/JavaScript injection attack via raw page views to a
19836 maliciously crafted wiki page.
19837 * ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using
19838 {{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}.
19839 * catch MySQL error 2000 during installation.
19840 * ({{bugzilla|704}}) Removed misleading LocalSettings.sample
19841 * Fix cross site scripting bugs in [[Special:Ipblocklist]],
19842 [[Special:EmailUser]]
19843 * Fix SQL injection and cross site scripting bugs in Special:Maintenance
19844 * Fix cross site scripting bugs and possible filename validation vulnerability
19845 in ImagePage.
19846 * and more of that sort
19847
19848 == MediaWiki 1.3.5, 2004-09-30 ==
19849 Changes from 1.3.4:
19850 * Clean up input validation in 'raw' page output mode which was a potential
19851 cross-site scripting opportunity.
19852
19853 == MediaWiki 1.3.4, 2004-09-28 ==
19854 === SECURITY NOTE ===
19855 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
19856 validity. (Some) corrupt image files, and HTML files mistakenly or maliciously
19857 masquerading as images, should now be rejected. These checks protect against
19858 Internet Explorer security holes relating to type autodetection which are a
19859 potential cross-site scripting attack vector, and also rejects at least one
19860 known version of the "JPEG virus" which might attack unpatched clients. If you
19861 already have invalid files uploaded this will not protect against them. If you
19862 have expanded the <code>filetype</code> whitelist or disabled the strict type
19863 checking, other dangerous file types may still get through. You should always
19864 be careful when allowing uploads!
19865 Changes from 1.3.3:
19866 * Fixed lots of template-related bugs, esp. for cases where template variables
19867 are used for links, images, etc.
19868 * Fixed transformation of page messages when viewing [[Special:Allmessages]]
19869 * Handle "ISBN ISBN 1234" correctly
19870 * Fixed warning on Category pages
19871 * Fixed some bad error messages on login page
19872 * Fixed history entry for initial main page on install
19873 * Removed problematic <code>{</code> and <code>}</code> from legal title
19874 characters
19875 * Strip leading blank from output in preformatted text.
19876 * Fixed problem when moving pages to titles with '#' in
19877 * Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections.
19878 Use only on limited- participation 'trusted' wikis, as it does not protect
19879 against cross-site scripting attacks. For security, this option can only be
19880 enabled if in {{wg|WhitelistEdit}} mode.
19881 * Fixed problem where pages which were created as a redirect following a move
19882 never showed on [[Special:Randompage]].
19883 * Fixed line spacing on printed table of contents
19884 * Allow links to pages with names of the form [[RFC 1234]]
19885 * Fixed broken edit links being shown for sections from included templates
19886 * Verify that uploaded image files are of the claimed type.
19887
19888 == MediaWiki 1.3.3, 2004-09-09 ==
19889 Changes from 1.3.2:
19890 * Fix for long numeric page titles
19891 * Fix Go search for "0", numeric almost-self-links
19892 * Avoid caching of pages with "You have new messages" headers
19893 * Fix for upgrades as non-root users from 1.2 command-line installs.
19894 * Fix for {{wg|DebugDumpSql}} debug mode.
19895 * {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see
19896 note in {{manual|DefaultSettings.php}})
19897 * 'recache' on query pages now disabled when miser mode is on; special case the
19898 global settings in your {{manual|LocalSettings.php}} to do automatic updates.
19899 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
19900 * Watch/unwatch tabs now shown on edit pages in MonoBook.
19901 * Fix default skin in Irish localization (ga)
19902 * Add Traditional Chinese localization (zh-tw)
19903 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
19904 any longer
19905 * More helpful info on spam catcher.
19906 * Allow larger offsets for queries such as [[Special:Listusers]]
19907 * Semicolon (;) added to French non-break space rules
19908 * Possible fix for some install errors with path names permission problems.
19909 * Removed [[Project:All system messages]], which has been superseded by the
19910 much faster [[Special:Allmessages]]. This speeds up installation considerably.
19911
19912 == MediaWiki 1.3.2, 2004-08-30 ==
19913 Changes from 1.3.1:
19914 * Fix namespaced page creation links when no go match
19915 * When cookies are disabled, don't show login screen twice
19916 * Install should no longer die when PHP is pre-configured to compress output
19917 * Fixed bug that caused long Japanese pages to time out with Tidy active
19918 * When session.handler is set incorrectly, try automatic override to 'files'
19919 * Watch/Unwatch links back to the affected page instead of Main Page
19920 * Upload link no longer displayed on Monobook if uploading is disabled
19921 * Special:Allmessages faster, shows correct original text, works in safe mode
19922
19923 == MediaWiki 1.3.1, 2004-08-14 ==
19924 Changes from 1.3.0:
19925 * Watchlist parameters now work with register_globals off
19926 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
19927 * Special:Allpages display is more sensible on smaller wikis
19928 * Fixed XHTML parsing error in classic skins
19929 * Moved pages update watchlist correctly
19930 * Fixed rebuildall.php on case-sensitive Unix filesystems
19931 * Disabled file cache compression by default due to incompatibility with output
19932 buffer compression (ob_gzhandler)
19933 * New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of
19934 {{code|inline=y|PAGENAME}})
19935 * Installation avoids blank username; better message on missing XML module
19936 * {{wg|WhitelistAccount}} no longer breaks all logins.
19937
19938 == MediaWiki 1.3.0, 2004-08-11 ==
19939 Look & layout:
19940 * New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only
19941 currently)
19942 * Print stylesheet now built-in to every page
19943 * More or less correct XHTML 1.0 (served as text/html by default)
19944 Wiki features:
19945 * Image captions can now include links and other basic formatting
19946 * Image bounding box can be specified instead of width, e.g. as 100x100px,
19947 making the image not wider than 100px and not higher than 100px, keeping aspect
19948 ratio.
19949 * Templates have been expanded with parameters, and separated from the
19950 MediaWiki: localization scheme.
19951 * Categories more or less work
19952 * added a special page for listing users with sysop rights.
19953 Editing:
19954 * Automatic merging of edit conflicts that don't directly interfere
19955 * Edit summaries can now include basic formatting and links
19956 Metadata and output:
19957 * Linked Creative Commons copyright metadata (optional)
19958 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
19959 Optional modules:
19960 * WikiHiero hieroglyphic module can be added (separate download)
19961 * Timeline module can be added (separate download). Requires ploticus.
19962 * TeX now has an experimental MathML output mode (incomplete!)
19963 Installation and upgrading:
19964 * The old install.php and update.php have been removed. In-place installation
19965 introduced in 1.2 is now the standard installation and upgrade method, see
19966 INSTALL and UPGRADE for directions.
19967 Database:
19968 * The links table has been changed to use a cur_id for l_from. The link tables
19969 must be converted on upgrade, which may entail some downtime.
19970 Code and compatibility:
19971 * Should now run clean with error reporting set to E_ALL.
19972 * register_globals hack from 1.2 has been replaced with safer code
19973 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches)
19974 * Most image-related code moved to Image.php
19975 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
19976 * URL encoding fix for anchors
19977 * All languages now available in UTF-8 mode
19978 * Various other fixes
19979
19980 === Caveats ===
19981 Some output, particularly involving user-supplied inline HTML, may not produce
19982 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
19983 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
19984 recommended on live sites. (This must be set for MathML to display properly in
19985 Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in
19986 the underlying PHPTAL library. It will be automatically disabled when running
19987 on PHP5; the older look and feel will be used instead.