Zum Inhalt springen

MediaWiki/Benutzer: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 27: Zeile 27:
| -h || --help || || 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 || <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")

Version vom 14. Oktober 2025, 08:17 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 <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