MediaWiki/Benutzer: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
== E-Mail Benachrichtigung deaktivieren == | |||
<syntaxhighlight lang="php" highlight="" copy> | |||
$wgEnableUserEmail = false; | |||
</syntaxhighlight> | |||
== "@" sign is not allowed in user names == | |||
<syntaxhighlight lang="php" highlight="" copy> | |||
$wgInvalidUsernameCharacters = ''; | |||
</syntaxhighlight> | |||
== resetUserEmail.php == | |||
Resets a user's email | |||
<syntaxhighlight lang="bash" highlight="1"> | |||
php mediawiki/maintenance/run resetUserEmail.php [OPTION]... <user> <email> | |||
</syntaxhighlight> | |||
; Script runner options | |||
{| class="wikitable options big" | |||
|- | |||
! Unix !! GNU !! Parameter !! Beschreibung | |||
|- | |||
|- | |||
| --conf <CONF> || Location of LocalSettings.php, if not default | |||
|- | |||
| --globals || Output globals at the end of processing for debugging | |||
|- | |||
| --help (-h) || 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") | |||
|- | |||
| --quiet (-q) || 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 | |||
{| class="wikitable options big" | |||
|- | |||
| --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 | |||
{| class="wikitable options big" | |||
|- | |||
| --email-password || Send a temporary password to the user's new email address | |||
|- | |||
| --no-reset-password || Don't reset the user's password | |||
|} | |||
; Arguments | |||
{| class="wikitable options big" | |||
|- | |||
| <user> || Username or user ID (if starts with #) | |||
|- | |||
|- | |||
| <email> || Email to assign | |||
|} | |||
[[Kategorie:MediaWiki/Benutzer]] | [[Kategorie:MediaWiki/Benutzer]] | ||
Version vom 14. Oktober 2025, 08:13 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 | ||
| --help (-h) | 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") | ||
| --quiet (-q) | 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 |