Extension:Create User Page

From mediawiki.org
This page is a translated version of the page Extension:Create User Page and the translation is 55% complete.
この?張機能は MediaWiki 利害?係者グル?プ のメンバ?が保守しています。
MediaWiki ?張機能マニュアル
Create User Page
リリ?スの?態: 安定
?? 利用者アクティビティ
?明 The Create User Page extension checks on login whether the user has a user page and, if not, creates it.
作者 Cindy Cicalese ( cindy.cicalese ト?ク )
最新バ?ジョン 3.1.0 (2023-06-21)
互換性の方針 MediaWiki とともにリリ?スされるスナップショット。 master には後方互換性がありません。
MediaWiki >= 1.35.0
ライセンス MIT ライセンス
ダウンロ?ド
  • $wgCreateUserPage_PageContent
  • $wgCreateUserPage_OnLogin
  • $wgCreateUserPage_CreateRedirect
translatewiki.net で??を利用できる場合は、 Create User Page ?張機能の??にご協力ください
問題点 未解決のタスク · バグを報告

The Create User Page extension checks whether the user has a user page and, if not, creates it with the content as specified in $wgCreateUserPage_PageContent . The check is done when the user logs in if $wgCreateUserPage_OnLogin is set to true (the default), otherwise the check is done on every page load. The user account to be used for user page creation can be set with $wgCreateUserPage_AutoCreateUser which is by default the user itself for whom the page is being created.

インスト?ル

  • ダウンロ?ド して、ファイルを extensions/ フォルダ??の CreateUserPage という名前のディレクトリ?に配置します。
    開?者とコ?ド寄稿者は、上記の代わりに以下を使用して Gitから インスト?ルします: cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CreateUserPage
  • 以下のコ?ドを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension
    (
     'CreateUserPage'
     );
    
    
  • 必要に?じて設定します。
  • Yes  完了 ? ウィキの「 Special:Version 」に移動して、?張機能が正しくインスト?ルされたことを確認します。

設定

$wgCreateUserPage_PageContent
The content to put on the user page when it is created. Defaults to {{User}} .
$wgCreateUserPage_OnLogin
Check for the existence of the user page whenever the user logs in if true . If false , check on every page load. Defaults to true .
$wgCreateUserPage_AutoCreateUser
Defines the user account that should be used to create the user's page. If unset the respective user will be attributed to the edit for whom the page is being created. Defaults to null (unset).
$wgCreateUserPage_CreateRedirect
In addition to creating the user page, if a page of the same name does not yet exist in the main namespace, create it as a redirect to the user page.

バ?ジョン履?

Version 3.1.0
  • add $wgCreateUserPage_CreateRedirect option to create redirect from main namespace to user page ( T313132 )
Version 3.0
  • Fix bug where user pages were being created for anonymous users
  • Dropped support for MediaWiki 1.34-
Version 2.0
  • Added $wgCreateUserPage_AutoCreateUser
Version 1.2
  • Added $wgCreateUserPage_OnLogin
Version 1.1.1
  • Really corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
Version 1.1
  • Corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
Version 1.0
  • Initial version

?連項目