Pustaka Taratsa

Baca teks (EPUB): Mediawiki create and Promote user

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Mediawiki create and Promote user
  2. Usage
  3. Example
  4. Referensi

Mediawiki create and Promote user

Sumber: https://onnocenter.or.id/wiki/index.php/Mediawiki_create_and_Promote_user

createAndPromote.php is a script that creates a new user and auto-promotes them to sysop and/or bureaucrat status. There is also an option to promote a user who already exists. If you still use MediaWiki 1.16 or older, you may need to create

Usage

Option/Parameter

Description

--help

Display help information for the script

--bureaucrat

Add the account to the bureaucrat group

--sysop

Add the account to the sysop group

--bot since 1.22

Add the account to the bot group

--force

If account exists already, just grant it rights or change password.

<username>

The name of the user you want to create or promote. The --force flag is required if a user with this name already exists.

<password>

The password for the user. Not required if --force is used.

Example

php createAndPromote.php --bureaucrat --sysop WikiSysop mypassword
php createAndPromote.php --force --sysop --bureaucrat useranda passanda

Referensi