X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=docs%2Fscripts.txt;h=178bb157bbe6cd15d904853f2aac46e3ef37615b;hb=c7d63d70ff4b2eaab2be1cec72e19501b846dec3;hp=4f167093ecfc879c013048531a22629c8b8c1b4c;hpb=c131c00ea5776c986847852314b9305b7738d329;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/scripts.txt b/docs/scripts.txt index 4f167093ec..178bb157bb 100644 --- a/docs/scripts.txt +++ b/docs/scripts.txt @@ -34,13 +34,13 @@ Primary scripts: 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 $wgProfileToDatabase to true in LocalSettings.php + You will also need to set $wgProfiler['output'] to 'db' in LocalSettings.php to force the profiler to save the informations 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 $wgDBadminuser and $wgDBadminpassword in your LocalSettings.php, as well as $wgEnableProfileInfo - See also https://www.mediawiki.org/wiki/How_to_debug#Profiling. + See also https://www.mediawiki.org/wiki/Manual:Profiling . thumb.php Script used to resize images if it is configured to be done when the web