Add option for sharing info about this MediaWiki install via pingback
authorOri Livneh <ori@wikimedia.org>
Thu, 30 Jun 2016 09:29:10 +0000 (02:29 -0700)
committerReedy <reedy@wikimedia.org>
Thu, 21 Jul 2016 21:00:28 +0000 (21:00 +0000)
commitf181cdec56fb2bd6b85f39ed31ac22609bd83777
treea63a0268b687a85006c826925ccdd6e4be037acc
parent22e2a2a2d1f699090174bad3849b75527e72e876
Add option for sharing info about this MediaWiki install via pingback

When $wgPingback is true, MediaWiki will periodically ping
https://www.mediawiki.org/beacon with basic information about the local
MediaWiki installation.  This data includes, for example, the type of system,
PHP version, and chosen database backend.

The pingback is sent via a deferred (post-send) update whenever $wgVersion
changes, using the updatelog table to ensure we don't send duplicate pingbacks.
A database lock ensures only one thread attempts to send the pingback, and a
cache key throttles attempts to no more than once per hour.

$wgPingback is false by default. The web installer has a checkbox for
controlling this option, and it is checked by default. This nudges new installs
to turn on pingbacks, but does not sneak this decision past sysops of existing
installs.

Change-Id: Ie43a6b46a07ebd9ccc1b9c3001f2ea02435d826b
RELEASE-NOTES-1.28
autoload.php
includes/DefaultSettings.php
includes/Pingback.php [new file with mode: 0644]
includes/Setup.php
includes/installer/Installer.php
includes/installer/LocalSettingsGenerator.php
includes/installer/WebInstallerName.php
includes/installer/i18n/en.json
includes/installer/i18n/qqq.json