Test Wiki:Request for permissions: Difference between revisions

From Test Wiki
→‎想舞花: Questions
(→‎想舞花: Questions)
Line 32: Line 32:
'''Other comments:I can edit js and css so i need Interface Administrator--[[User:想舞花|想舞花]] ([[User talk:想舞花|talk]]) 09:41, 2 May 2022 (UTC)''' <!-- You may use this space to insert other comments relevant to your request -->
'''Other comments:I can edit js and css so i need Interface Administrator--[[User:想舞花|想舞花]] ([[User talk:想舞花|talk]]) 09:41, 2 May 2022 (UTC)''' <!-- You may use this space to insert other comments relevant to your request -->
{{ping|MacFan4000}} and {{ping|Dmehus}} seen as they need to review the request. [[User:Zippybonzo|Zippybonzo]] ([[User talk:Zippybonzo|talk]]) 10:20, 2 May 2022 (UTC)
{{ping|MacFan4000}} and {{ping|Dmehus}} seen as they need to review the request. [[User:Zippybonzo|Zippybonzo]] ([[User talk:Zippybonzo|talk]]) 10:20, 2 May 2022 (UTC)
:{{ping|想舞花}} Can you please answer the following questions? This is just to know that <em>we</em> are giving tools to a technically competent user.
:# How do you query for all users who have edited this wiki in the last 30 days and group them into three arrays of stewards, admins and normal users/IPs respectively using MediaWiki API?
:# Can you explain what this function do? ([[MediaWiki:Gadget-markblocked.js|Gadget-markblocked.js]], from line 188 to 209)
<pre>
switch ( mw.config.get( 'wgAction' ) ) {
case 'edit':
case 'submit':
case 'delete':
break;
case 'view':
if ( $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 0, 10 ] ) !== -1 ) {
break;
}
// otherwise continue with default
default: // 'history', 'purge'
// In case if the gadget is loaded directly by URL
mw.loader.using( 'mediawiki.util' ).done( function () {
if ( window.mbNoAutoStart ) {
mw.util.addPortletLink( 'p-cactions', 'javascript:markBlocked()', 'XX', 'ca-showblocks' );
} else {
mw.hook( 'wikipage.content' ).add( function () {
markBlocked();
  } );
}
} );
}
</pre>
:[[User:NguoiDungKhongDinhDanh|NguoiDungKhongDinhDanh]] ([[User talk:NguoiDungKhongDinhDanh|talk]]) 03:25, 3 May 2022 (UTC)


== Sierpnia ==
== Sierpnia ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.