Remove support for StartProfiler.php
Bug: T201782 Bug: T189966 Change-Id: I6ef5af969b1d74a04d5d89370e6ac800c20be1ad
This commit is contained in:
parent
cb647dd722
commit
ebec274f17
6 changed files with 2 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -43,7 +43,6 @@ sftp-config.json
|
|||
/maintenance/dev/data
|
||||
/AdminSettings.php
|
||||
/LocalSettings.php
|
||||
/StartProfiler.php
|
||||
|
||||
# Building & testing
|
||||
npm-debug.log
|
||||
|
|
|
|||
|
|
@ -354,5 +354,4 @@
|
|||
<exclude-pattern type="relative">^skins/</exclude-pattern>
|
||||
<exclude-pattern>AdminSettings\.php</exclude-pattern>
|
||||
<exclude-pattern>LocalSettings\.php</exclude-pattern>
|
||||
<exclude-pattern>StartProfiler\.php</exclude-pattern>
|
||||
</ruleset>
|
||||
|
|
|
|||
|
|
@ -276,10 +276,10 @@ because of Phabricator reports.
|
|||
a no-op function since 1.30.
|
||||
* SpecialPageFactory::resetList() is a no-op. Call overrideMwServices()
|
||||
instead.
|
||||
* MediaWiki no longer supports a StartProfiler.php file.
|
||||
Define $wgProfiler via LocalSettings.php instead.
|
||||
|
||||
=== Deprecations in 1.32 ===
|
||||
* Use of a StartProfiler.php file is deprecated in favour of placing
|
||||
configuration in LocalSettings.php.
|
||||
* HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
|
||||
button is already marked as progressive.
|
||||
* Skin::setupSkinUserCss() is deprecated. Adding of modules to load
|
||||
|
|
|
|||
|
|
@ -6348,8 +6348,6 @@ $wgDeprecationReleaseLimit = false;
|
|||
* Profiler configuration.
|
||||
*
|
||||
* To use a profiler, set $wgProfiler in LocalSetings.php.
|
||||
* For backwards-compatibility, it is also allowed to set the variable from
|
||||
* a separate file called StartProfiler.php, which MediaWiki will include.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
|
|
|
|||
|
|
@ -86,11 +86,6 @@ MediaWiki\HeaderCallback::register();
|
|||
* Load LocalSettings.php
|
||||
*/
|
||||
|
||||
if ( is_readable( "$IP/StartProfiler.php" ) ) {
|
||||
// @deprecated since 1.32: Use LocalSettings.php instead.
|
||||
require "$IP/StartProfiler.php";
|
||||
}
|
||||
|
||||
if ( defined( 'MW_CONFIG_CALLBACK' ) ) {
|
||||
call_user_func( MW_CONFIG_CALLBACK );
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -177,7 +177,6 @@ EXCLUDE = {{EXCLUDE}}
|
|||
EXCLUDE_SYMLINKS = YES
|
||||
EXCLUDE_PATTERNS = LocalSettings.php \
|
||||
AdminSettings.php \
|
||||
StartProfiler.php \
|
||||
.svn \
|
||||
*/.git/* \
|
||||
{{EXCLUDE_PATTERNS}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue