Podręcznik:profileinfo.php
Ta funkcja została całkowicie usunięta z jądra MediaWiki w wersji 1.35. |
Plik MediaWiki: profileinfo.php | |
---|---|
Lokalizacja: | / |
Kod źródłowy: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klasy: | profile_point |
Szczegóły
Allow users to see the profiling information that are stored in the database.
To save the profiling information in the database (required to use this script), you have to modify StartProfiler.php to use the Profiler class and not the stub profiler which is enabled by default.
You will also need to set $wgProfiler
correctly in LocalSettings.php to force the profiler to save the information in the database and apply the maintenance/archives/patch-profiling.sql patch to the database.
To enable the profileinfo.php
itself, you'll need to set $wgEnableProfileInfo
to true in LocalSettings.php
.
See also the help on profiling.