Why: - New users will appreciate having easy access to MediaWiki logs; in order to make that easier, we need to have a directory to write to and set an environment variable to use that directory What: - Set MW_LOG_DIR for the `serve` command - Add a `logs` directory at the root of MW, and gitignore it - Create the `logs` directory via DevelopmentSettings, if MW_LOG_DIR is defined but does not exist I considered the `cache` directory for the log location as it already exists, but it seemed preferable to not conflate cache and logs. Bug: T347347 Change-Id: Ic3ddb0203df07a0c93df9f431b25a2a5d9ecc407
95 lines
1.3 KiB
Text
95 lines
1.3 KiB
Text
# Repository management
|
|
.svn
|
|
|
|
# git-deploy status file:
|
|
/.deploy
|
|
|
|
# Editors
|
|
*.kate-swp
|
|
*~
|
|
\#*#
|
|
.#*
|
|
.*.swp
|
|
.project
|
|
cscope.files
|
|
cscope.out
|
|
*.orig
|
|
## NetBeans
|
|
nbproject*
|
|
project.index
|
|
## Sublime
|
|
sublime-*
|
|
sftp-config.json
|
|
## Visual Studio Code
|
|
*.vscode/
|
|
|
|
# MediaWiki install & usage
|
|
/cache
|
|
/logs
|
|
/docs/coverage
|
|
/docs/js
|
|
/docs/latex
|
|
/images/[0-9a-f]
|
|
/images/archive
|
|
/images/cache
|
|
/images/deleted
|
|
/images/lockdir
|
|
/images/temp
|
|
/images/thumb
|
|
## Extension:EasyTimeline
|
|
/images/timeline
|
|
## Extension:Score
|
|
/images/lilypond
|
|
## Extension:Phonos
|
|
/images/phonos-render
|
|
## Extension:TimedMediaHandler
|
|
/images/transcoded
|
|
/images/tmp
|
|
/maintenance/.mweval_history
|
|
/maintenance/.mwsql_history
|
|
/maintenance/dev/data
|
|
/LocalSettings.php
|
|
/includes/PlatformSettings.php
|
|
|
|
# Building & testing
|
|
npm-debug.log
|
|
node_modules/
|
|
/resources/lib/.foreign
|
|
/tests/phpunit/phpunit.phar
|
|
.phpunit.result.cache
|
|
/tests/phpunit/.phpunit.result.cache
|
|
phpunit.xml
|
|
/tests/selenium/log
|
|
.eslintcache
|
|
.api-testing.config.json
|
|
.phan/local-config.php
|
|
|
|
# Composer
|
|
/vendor
|
|
/composer.lock
|
|
/composer.local.json
|
|
/composer.phar
|
|
|
|
# Operating systems
|
|
## Mac OS X
|
|
.DS_Store
|
|
## Windows
|
|
Thumbs.db
|
|
|
|
# Misc
|
|
.buildpath
|
|
.classpath
|
|
.idea
|
|
*.iml
|
|
.metadata*
|
|
.settings
|
|
/favicon.ico
|
|
/static*
|
|
/tags
|
|
/.htaccess
|
|
/.htpasswd
|
|
*.rej
|
|
|
|
# Docker
|
|
docker-compose.override.yml
|
|
.env
|