Extension:CheckUser
![]() Sürüm durumu: kararlı |
|
---|---|
![]() |
|
Uygulama | Özel sayfa , Kullanıcı kimliği , API , Kanca , Veritabanı |
Açıklama | CheckUser işlevi, izinleri olan bir kullanıcının, belirli bir kullanıcı adı tarafından hangi IP'lerin kullanıldığını ve belirli bir IP tarafından hangi kullanıcı adlarının kullanıldığını, sorguları doğrudan veritabanında el ile çalıştırmak zorunda kalmadan denetlemesine olanak tanır. |
Yazar(lar) | Tim Starling, Aaron Schulz, Dreamy Jazz |
En son sürüm | 2.5 (continuous updates) |
Uyumluluk politikası | MediaWiki ile birlikte anlık görüntüler yayımlanır. Master geriye dönük olarak uyumlu değil. |
PHP | 7.4.3+ |
Veritabanı değişiklikleri | Evet |
Virtual domain | virtual-checkuser-global |
Tablolar | cu_changes cu_log_event cu_private_event cu_log cu_useragent_clienthints cu_useragent_clienthints_map cu_useragent cuci_wiki_map cuci_temp_edit cuci_user |
Lisans | GNU Genel Kamu Lisansı 2.0 veya üstü |
İndir | |
|
|
|
|
|
|
Quarterly downloads | 195 (Ranked 30th) |
Public wikis using | 9,118 (Ranked 13th) |
Translatewiki.net adresinde mevcutsa, CheckUser uzantısını çevirin | |
Sorunlar | Açık görevler · Hata bildir |
CheckUser, bir kullanıcının (checkuser
iznine sahip), belirli bir kullanıcı adı tarafından hangi IP'lerin kullanıldığını ve hangi kullanıcı adlarının belirli bir IP tarafından kullanıldığını kontrol etmesini sağlayan bir uzantıdır.
Uzantı tüm Wikimedia vikilerinde canlı olarak çalışıyor.
Güncellemeler, Wikimedia vikilerinin ihtiyaçlarına göre yapılacaktır; veya kritik açıkların bulunduğu yerlerde. Details on how to use the tools provided by the extension are at Help:Extension:CheckUser .
Kurulum
- Dosyaları indirin ve
extensions/
klasörünüzdekiCheckUser
adlı dizine yerleştirin.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser - Yalnızca git dizininden yüklerken, PHP bağımlılıklarını uzantı dizinine
composer install --no-dev
vererek yüklemek için Composer komutunu çalıştırın. (Potansiyel komplikasyonlar için T173141 sayfasına bakınız.) - LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
wfLoadExtension( 'CheckUser' );
- Bu uzantının ihtiyaç duyduğu gerekli veritabanı tablolarını otomatik olarak oluşturacak betik güncelleme komutunu çalıştırın.
- Configure as required.
Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.
Using MediaWiki-Docker
Follow the steps in MediaWiki-Docker/Extension/CheckUser to install this extension inside a MediaWiki Docker instance.
Yapılandırma
Bu araç, son değişiklik verilerini ayrı bir $changes tablosuna taşır ve yeni girişler eklendiğinde buna ekler.
$wgPutIPinRC
önceden false
olarak ayarlanmışsa, aranacak başlangıç verileri olmayacak, ancak uzantı kurulur kurulmaz yeni düzenlemeler doldurulacaktır.
However, entries added after installation of this extension will contain the IP address.
Sorguları çalıştırdıktan sonra, denetçi etkilemeden son değişiklikleri kısaltmak için $wgRCMaxAge
azaltabilirsiniz.
Kullanıcı verilerinin saniyeler içinde ne kadar geriye gidebileceğini ayarlamak için $wgCUDMaxAge
kullanın.
MediaWiki 1.22 ve sonraki sürümlerde, Denetçi'ye özgü $wgCheckUserCIDRLimit ayarı, tek bir denetimde kontrol edilebilecek en büyük aralığı belirler.
Biçimi $wgBlockCIDRLimit ile aynıdır.
Aksi takdirde, varsayılan sınır (tüm sürümler için) $2 çekler için /19
ve $4 kontrolleri için /16
.
To allow this tool to log successful and failed login attempts as well as logouts, set $wgCheckUserLogLogins
to true
.
If you have bot accounts on your wiki, setting $wgCheckUserLogSuccessfulBotLogins
to false
will skip logging successful login attempts to bot accounts.
MediaWiki sürümü: | ≥ 1.43 |
If the extension is installed on a multi-wiki install, then you should set $wgVirtualDomainsMapping for the virtual-checkuser-global
to point to a central database table.
Setting this will ensure that the central index tables are actually on a central DB, and therefore the GlobalBlocking global autoblocks and GUC work.
After doing this, you will need to run update.php
to create the tables on the central wiki.
Troubleshooting Special:GlobalContributions functionality
If Special:GlobalContributions is not returning revisions as expected (e.g. you have revisions on another wiki that you can view on that wiki), a misconfiguration may be causing an internal failure that isn't user-facing (as it cannot be user resolved). Check that:
- Your user has a central account and that their accounts on the affected wiki are linked. This can be checked at Special:MergeAccount.
- The affected wiki is known to the wiki farm. This is defined in the
sites
table and wikis can be added to this table via theaddSite
maintenance script. You'll need to ensure that the optional parameterspagepath
andfilepath
are filled out (eg.php ./maintenance/run.php addSite $wikiName wiki --pagepath https://hostname/wiki/\$1 --filepath https://hostname/w/\$1
), as Special:GlobalContributions uses these to generate API queries and links. - The central database is set with
virtual-checkuser-global
(eg.$wgVirtualDomainsMapping['virtual-checkuser-global'] = [ 'db' => $wiki ];
) and that thecuci_temp_edit
table is recording revisions from the affected wiki. - If necessary, cross-domain cookies should be enabled as the
centralauth
token must work across both wikis.
Denetçi kullanma hakkı verme
Denetçi işlevini kullanma hakkı vermek için, kullanıcı hakları yönetimi olan bir kullanıcının Special:UserRights gitmesi ve kutuya kullanıcının adını girmesi ve ardından "Denetçi" seçeneğini seçmesi gerekir. Bu yapıldıktan sonra, o kullanıcı için Special:SpecialPages sayfasında $2 ve $3 görünecektir.
To allow users to access the IP addresses of temporary accounts , they should be granted the checkuser-temporary-account right.
Hizmetliler için kullanıcı hakları yönetimini açmak için aşağıdakileri LocalSettings.php
ile koyun:
$wgGroupPermissions['sysop']['checkuser'] = true;
$wgGroupPermissions['sysop']['checkuser-log'] = true;
$wgGroupPermissions['sysop']['investigate'] = true;
$wgGroupPermissions['sysop']['checkuser-temporary-account'] = true;
Yalnızca checkuser
izninin eklenmesine ve kaldırılmasına izin vermek için, bunun yerine aşağıdakileri kullanın:
$wgAddGroups['sysop'][] = 'checkuser';
$wgRemoveGroups['sysop'][] = 'checkuser';
Yapılandırma
A selected number of the configuration values are shown below.
These configuration values are useful for administrators of wikis to modify.
Configuration values which are usually left as their default value are not specified here to keep the list concise, but details for these configuration values are present in the extension.json
file.
Configuration name | varsayılan | Detail |
---|---|---|
$wgCUDMaxAge
|
7776000
|
CU verilerini ne kadar süreyle saklar (saniye cinsinden)? (varsayılan = 3 ay) |
$wgCheckUserMaxBlocks
|
200
|
Maximum number of users that can be mass blocked simultaneously on Special:Investigate
|
$wgCheckUserForceSummary
|
false
|
Denetçileri Special:CheckUser üzerinden yaptıkları her kontrol için bir neden belirtmeye zorlamak istiyorsanız bunu true olarak ayarlayın. (Kontrol kullanıcılarının basitçe "kontrol edilmeleri gerekiyor" veya "öyle hissediyorum" gibi bir özet verebildikleri ve yazılımın bilmeyeceği düşünüldüğünde pek kullanışlı değil.) |
$wgCheckUserCIDRLimit
|
[ 'IPv4' => 16, 'IPv6' => 19 ]
|
Herhangi bir bireysel aralık kontrolünde kontrol edilebilen en kısa CIDR sınırları |
$wgCUPublicKey
|
''
|
Daha sonra okunması gerekebilecek özel verileri şifrelemek için genel anahtar. Şunun gibi bir şeyle bir genel anahtar oluşturun:
CU'lara gösterilmeyen ancak cu_changes tablosunda saklanan belirli verileri şifrelemek için ilişkili bir özel anahtarla birlikte kullanılır. Şu anda bu yalnızca e-postaların alıcılarıdır. Geçerli bir ortak anahtar olmadan veriler saklanmayacaktır. |
$wgCheckUserCAMultiLock
|
false
|
Bu, Special:CheckUser sayfasının toplu engel formuna CentralAuth tarafından Special:MultiLock ile bir bağlantı eklemek için kullanılabilir. Bu, CentralAuth uzantısının vikiye yüklenmesini gerektirir. Bunu etkinleştirmek için, bunu merkezi bir vikinin veritabanı adına sahip bir diziye ve bağlantının ekleneceği küresel grubun adlarına sahip bir diziye ayarlayın. Örneğin:
$wgCheckUserCAMultiLock = [
'centralDB' => 'metawiki',
'groups' => [ 'steward' ]
];
|
$wgCheckUserCAtoollink
|
false
|
77360f1cf1d2 hatasından beri. Bu, merkezi viki Special:CentralAuth ile, Special:CheckUser "Kullanıcıları al" sonuçlarına bir bağlantı ekler. Bu, CentralAuth uzantısının vikiye yüklenmesini gerektirir. Bunu etkinleştirmek için, bunu merkezi bir vikinin veritabanı adıyla ayarlayın. Örneğin:
$wgCheckUserCAtoollink = 'metawiki';
|
$wgCheckUserGBtoollink
|
false
|
77360f1cf1d2 hatasından beri. Bu, yerel veya merkezi viki Special:GlobalBlock ile, Special:CheckUser "Kullanıcıları al" sonuçlarına bir bağlantı ekler. Bu, GlobalBlocking uzantısının vikiye yüklenmesini gerektirir. Bunu etkinleştirmek için, bir $wgConf yapılandırılmışsa, bunu merkezi bir vikinin veritabanı adına sahip bir diziye ve bağlantıyı eklemek için yerel (veya CentralAuth yüklüyse global) grupların adlarını içeren bir diziye ayarlayın. Örneğin:
$wgCheckUserGBtoollink = [
'centralDB' => 'metawiki',
'groups' => [ 'steward', 'staff' ]
];
|
$wgCheckUserEnableSpecialInvestigate (1.35-1.43)
|
false (<=1.39)true (1.40+)
|
57dcfe46d2e4 beri. Bu, tek bir araştırmada birden çok kullanıcı hesabını ve IP adresini kontrol etmeye izin veren güncellenmiş bir Special:CheckUser sürümü olan Special:Investigate etkinleştirir. |
$wgCheckUserLogLogins
|
false
|
Denetçi'nin $1 tablosunda oturum açma girişimlerini (hem başarılı hem de değil) günlüğe kaydetmesi gerekip gerekmediği. |
$wgCheckUserLogSuccessfulBotLogins
|
true
|
$wgCheckUserLogLogins, true olarak ayarlanmışsa, Denetçi'nin bot kullanıcı grubuyla hesaplara başarılı oturum açma girişimlerini depolaması gerekip gerekmediği. Yalnızca $wgCheckUserLogLogins, true ise kullanılır
|
$wgCheckUserMaximumRowCount
|
5000
|
Special:CheckUser ile döndürülebilecek maksimum sonuç sayısı. MediaWiki 1.39'dan önce, 'Düzenlemeleri al' ve 'IP'leri al' sonuçlarında 5000'den fazla sonuca sahip olmak, sonuçları farklı bir biçimde döndürürdü. MediaWiki 1.39'dan bu, sayfaya göre gösterilecek maksimum sonuç sayısıdır ve sayfalama bağlantıları kullanılarak daha fazlası oluşturulabilir. |
$wgCheckUserInvestigateMaximumRowCount
|
25000
|
$wgCheckUserMaximumRowCount ile benzer, ancak Araştırma için |
$wgCheckUserCollapseCheckUserHelperByDefault (1.41+)
|
2500
|
Controls when the "CheckUser helper" summary table on Special:CheckUser . Specify true to always collapse by default, false to never collapse by default, and a number to collapse when more than that number of results are displayed on the page.
|
$wgCheckUserMaximumIPsToAutoblock (1.43+)
|
1
|
The maximum number of IP addresses to retroactively autoblock when a block is created with autoblocking enabled. |
$wgCheckUserClientHintsEnabled (1.41+)
|
true
|
Used to control whether client hints should be collected and displayed in results by CheckUser. |
$wgCheckUserClientHintsSpecialPages (1.41+)
|
{ "CreateAccount": "header", "Emailuser": "js", "PasswordReset": "js", "Userlogin": [ "js", "header" ], "Userlogout": "header" }
|
The list of SpecialPages where CheckUser will request client hints if $wgCheckUserClientHintsEnabled is true .
|
$wgCheckUserClientHintsHeaders (1.41+)
|
{ "Sec-CH-UA": "brands", "Sec-CH-UA-Arch": "architecture", "Sec-CH-UA-Bitness": "bitness", "Sec-CH-UA-Form-Factor": "", "Sec-CH-UA-Full-Version-List": "fullVersionList", "Sec-CH-UA-Mobile": "mobile", "Sec-CH-UA-Model": "model", "Sec-CH-UA-Platform": "platform", "Sec-CH-UA-Platform-Version": "platformVersion", "Sec-CH-UA-WoW64": "" }
|
The list of client hint types that will be requested. Keys represent the client hint values requested using the Accept-CH header. Values represent the equivalent name when requesting them from the JS client side client hints API. |
$wgCheckUserClientHintsForDisplay (1.41+)
|
[ "model", "fullVersionList", "platformVersion", "platform", "brands", "formFactor", "architecture", "mobile", "bitness", "woW64" ]
|
The list of Client Hints data to display in CheckUser results. The order of the array is used to determine what order to display the data. |
$wgCheckUserClientHintsValuesToHide (1.41+)
|
{ "architecture": [ "x86" ], "bitness": [ "64" ], "woW64": [ false ] }
|
Specifies Client Hint data values which should be hidden in the CheckUser results. This is done to hide commonly seen Client Hint data values in the cases where it's not useful to see this information unless it's a rare value. |
$wgCheckUserTemporaryAccountMaxAge (1.40+)
|
86400
|
The number of seconds for which the temporary account API response is fresh. |
$wgCheckUserSpecialPagesWithoutIPRevealButtons (1.40+)
|
[ "Investigate", "InvestigateBlock", "CheckUser", "CheckUserLog", "Activeusers", "Listusers", "BlockList" ]
|
A list of special page names where "Show IP" buttons are disabled, because they are not useful. The special page names are case sensitive and do not always match their appearance in the URL. For example, e.g. Special:ListUsers is called Listusers in this array.
|
$wgCheckUserClientHintsUnsetHeaderWhenPossible (1.41+)
|
true
|
If true , the server will send an empty Accept-CH header when the user is viewing a page which does not need client hints data.
|
$wgCheckUserGlobalContributionsCentralWikiId (1.44+)
|
null
|
A string representing the name of the wiki to designate as the "central" wiki for Special:GlobalContributions. Setting this will redirect all other wiki's Special:GlobalContributions page to the central wiki's instead. |
$wgCheckUserWriteToCentralIndex (1.43+)
|
true
|
Used to prevent adding entries to the CheckUser central index tables on the wiki. Use this when the wiki is not part of a larger wiki farm unified account system. |
$wgCheckUserCentralIndexGroupsToExclude (1.43+)
|
[ "bot" ]
|
Users in any of the groups specified in this configuration value will not have their actions stored in the central index tables. Used to reduce the rate of writes to the central index tables for high activity users where there is no need to run CheckUser checks on these users. |
Using the extension
Detail about how to use the extension can be viewed at the extension help page . This information is not included here to keep this page manageable in size, and to focus this page on installation and administration of the extension.
There are several special pages and a few APIs provided by the extension. The special pages are:
- Special:CheckUser - Used to look up CheckUser data about accounts and anonymous users. Described at Help:Extension:CheckUser#Special:CheckUser usage .
- Special:Investigate - Alternative tool used to look up CheckUser data about accounts and anonymous users, with information displayed using a single-page format. Described at Help:Special Investigate .
- Special:CheckUserLog - Used to list the checks performed using either Special:CheckUser, Special:Investigate, or the CheckUser API. Described at Help:Extension:CheckUser#Special:Investigate usage .
- Special:IPContributions - Used to lookup edits performed by temporary accounts on a given IP address or range. Described at Help:Extension:CheckUser#Special:IPContributions_usage .
- Special:GlobalContributions - Used to lookup edits performed by accounts, or temporary accounts on a given IP address or range. Described at Help:Extension:CheckUser#Special:GlobalContributions usage .
The extension also provides the ability to reveal the IP address used by a temporary account. Described at Help:Extension:CheckUser#Showing IPs for temporary accounts .
![]() | Bu uzantı bir veya daha fazla Wikimedia projelerinde kullanılıyor. Bu, muhtemelen uzantının kararlı olduğu ve bu tür yüksek trafikli web siteleri tarafından kullanılacak kadar iyi çalıştığı anlamına gelir. Nerede kurulduğunu görmek için bu uzantının adını Wikimedia'nın CommonSettings.php ve InitialiseSettings.php yapılandırma dosyalarında arayın. Belirli bir vikide yüklü olan uzantılar listesinin tamamı vikinin Special:Version sayfasında görülebilir. |
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/tr
- Special page extensions/tr
- User identity extensions/tr
- API extensions/tr
- Hook extensions/tr
- Database extensions/tr
- GPL licensed extensions/tr
- Extensions in Wikimedia version control/tr
- Extensions which add rights/tr
- APIGetAllowedParams extensions/tr
- AuthManagerLoginAuthenticateAudit extensions/tr
- BeforePageDisplay extensions/tr
- ChangesListInsertLogEntry extensions/tr
- ContributionsToolLinks extensions/tr
- EmailUser extensions/tr
- GetPreferences extensions/tr
- GlobalBlockingGetRetroactiveAutoblockIPs extensions/tr
- GlobalPreferencesSetGlobalPreferences extensions/tr
- LoadExtensionSchemaUpdates extensions/tr
- LocalUserCreated extensions/tr
- LogEventsListLineEnding extensions/tr
- PerformRetroactiveAutoblock extensions/tr
- RecentChange save extensions/tr
- RenameUserSQL extensions/tr
- ResourceLoaderRegisterModules extensions/tr
- SaveUserOptions extensions/tr
- SidebarBeforeOutput extensions/tr
- SpecialContributionsBeforeMainOutput extensions/tr
- SpecialPageBeforeExecute extensions/tr
- SpecialPage initList extensions/tr
- User::mailPasswordInternal extensions/tr
- UserLogoutComplete extensions/tr
- UserMergeAccountFields extensions/tr
- UserToolLinksEdit extensions/tr
- All extensions/tr
- Extensions requiring Composer with git/tr
- Extensions used on Wikimedia/tr
- Extensions included in Canasta/tr
- Extensions included in Fandom/tr
- Extensions included in Miraheze/tr
- Extensions included in ShoutWiki/tr
- Extensions included in Telepedia/tr
- Extensions included in WikiForge/tr
- Log extensions/tr