Zum Inhalt springen

MediaWiki/Benutzer: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Zeile 16: Zeile 16:


; Script runner options
; Script runner options
{| class="wikitable options big"
{| class="wikitable options big gnu"
|-
|-
! Unix !! GNU !! Parameter !! Beschreibung
! Unix !! GNU !! Parameter !! Beschreibung
|-
|-
|-
|-
| --conf <CONF> || Location of LocalSettings.php, if not default
| || --conf || <CONF> || Location of LocalSettings.php, if not default
|-
|-
| --globals || Output globals at the end of processing for debugging
| || --globals || || Output globals at the end of processing for debugging
|-
|-
| --help (-h) || Display this help message
| -h || --help || || Display this help message
|-
|-
| --memory-limit <MEMORY-LIMIT> || Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it
| || --memory-limit || <MEMORY-LIMIT> || Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it
|-
|-
| --profiler <PROFILER> || Profiler output format (usually "text")
| || --profiler || <PROFILER> || Profiler output format (usually "text")
|-
|-
| --quiet (-q) || Whether to suppress non-error output
| -q || --quiet || || Whether to suppress non-error output
|-
|-
| --server <SERVER> || The protocol and server name to use in URLs, e.g. https://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts
| || --server || <SERVER> || The protocol and server name to use in URLs, e.g. https://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts
|-
|-
| --wiki <WIKI> || For specifying the wiki ID
| || --wiki || <WIKI> || For specifying the wiki ID
|}
|}



Version vom 14. Oktober 2025, 08:16 Uhr

E-Mail Benachrichtigung deaktivieren

$wgEnableUserEmail = false;

"@" sign is not allowed in user names

$wgInvalidUsernameCharacters = '';

resetUserEmail.php

Resets a user's email

php mediawiki/maintenance/run resetUserEmail.php [OPTION]... <user> <email>
Script runner options
Unix GNU Parameter Beschreibung
--conf <CONF> Location of LocalSettings.php, if not default
--globals Output globals at the end of processing for debugging
-h --help Display this help message
--memory-limit <MEMORY-LIMIT> Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it
--profiler <PROFILER> Profiler output format (usually "text")
-q --quiet Whether to suppress non-error output
--server <SERVER> The protocol and server name to use in URLs, e.g. https://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts
--wiki <WIKI> For specifying the wiki ID
Common options
--dbgroupdefault <DBGROUPDEFAULT> The default DB group to use
--dbpass <DBPASS> The password to use for this script
--dbuser <DBUSER> The DB user to use for this script
Script specific options
--email-password Send a temporary password to the user's new email address
--no-reset-password Don't reset the user's password
Arguments
<user> Username or user ID (if starts with #)
<email> Email to assign