Help:Gadget-Cat-a-lot/id

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Help:Gadget-Cat-a-lot and the translation is 63% complete. Changes to the translation template, respectively the source language can be submitted through Help:Gadget-Cat-a-lot and have to be approved by a translation administrator.
Outdated translations are marked like this.
Gambar 1: Tahapan menggunakan Cat-a-lot:
1) Pilih berkas
2) Pilih kategori tujuan
3) Jalankan operasinya
Video pengantar penggunaan Cat-a-lot (bahasa Inggris)
Gambar 2: Kotak awal
Gambar 3: Kotak Cat-a-lot
Gambar 4: Kotak Cat-a-lot setelah memilih kategori

Cat-a-lot adalah perkakas JavaScript yang membantu memindahkan, menghapus, dan menambah berkas (atau subkategori) di antara, dari, dan menuju kategori.

Aktivasi satu kali

Untuk mengaktifkan gawai
Di tab "Perkakas" di preferensi, bagian "Tools for categories": klik "Cat-a-lot" dan tekan "Simpan" di bagian bawah halaman. Atau klik di sini dan ikuti instruksinya. (Untuk pengguna Wikipedia bahasa Inggris, lihat instruksinya di sini.)

Memindahkan berkas di antara dua kategori dan menghapus berkas dari sebuah kategori

Video. Lihat video bantuan di bilah sebelah kanan. Ini dapat membantu dengan baik untuk mengerti info di bawah ini.

  • Hidupkan gawai di halaman kategori: setelah aktivasi, Anda akan melihat post-it-note kecil berlabel "cat-a-lot" di sudut kanan bawah dari setiap halaman kategori, seperti yang dapat dilihat di Gambar 2. Kotak ini akan tetap berada di sudut, independen dari posisi Anda di halaman. Jika note tersebut tidak muncul, coba hapus singgahan browser Anda. Klik kotak tersebut untuk memulai perkakasnya. Ini akan menunjukkan kotak seperti yang dapat dilihat di Gambar 3.
  • Select files: You can select individual image thumbnails by clicking on the thumbnail description. The description background will turn green to indicate that this image is now selected. Another click will deselect it, turning the background white again. You can also select/deselect all visible images by clicking select all / none in the cat-a-lot box. To select/deselect multiple files "in a row" (Fig. 1), first select file A, then hold down  Shift and select file B. The state of file B will be toggled (selected if it was not previously and vice-versa) and then assigned to all files from A through B.
  • Select categories: Open the Cat-a-lot box. Click on the preferences link in the box. Enable "Allow categorising pages (including categories) that are not files". Then you can select individual categories on the page (not in the box). Click on a category name (or the arrow in front of it), and that category name will then have a green background. Select as many as you want. Deselect by clicking them again. If the box is in the way, you can grab its top edge and pull down to shrink it. Pull back up when needed. If you want to select all the categories, click on the select categories link at the bottom of the box. All the categories will now have a green background.
  • Select destination category: Initially, the tool loads the current category (→), its parents (↑) (categories with which it is tagged) and subcategories (↓) (categories that are tagged with it). You can navigate through the category tree by clicking on a category name. Only the category list in the box will change, you will stay on the original page. Instead of navigating through clicking, you can also type a category name (e.g., "Lions", not "Category:Lions") in the white text field above the list and press  Enter. The named category will then show up in the middle of the tree below, with its parents and children.
  • If necessary, create destination category: The cat-a-lot box only shows categories that already exist. So create one if necessary. Reload the category that contains the files you want to categorize better. The cat-a-lot box will now show the newly created category. Or it will when you type the new category name (e.g. "Lions", not "Category:Lions") in the white text field at the top of the box and press  Enter.
  • Perform the Operation: To the right of the destination category there are three possibilities:
  • Copy (Add)(+), which adds the specified category to the highlighted objects (if not already present).
  • Remove (Delete)(-), which removes the specified category from the highlighted objects (if present).
  • Move (Modify)(→), which does both, removing the current category from the objects and adding the specified category to them (if not already present). The move function is only shown if you are on a category page. You can hence not make a search for a few files and move them from a category to another using this tool.

In each case, all of the other categories which might be associated with any of the objects remain unchanged. A progress indicator will be shown. After all images were processed, a report is shown including possible problems, and the whitespace area below each image or category will indicate what was done to that image or category. If the action is not correct, then immediately click the "Revert" button before leaving the page. Otherwise your opportunity to mass revert is gone. An admin may be able to help later.

  • Revert, if you have made a mistake, you can stop (cancel) and reverse your last action, by clicking the "Revert" button on the lower-right corner of the box. It may be below the box if you have zoomed the text to a large size.

Preferensi

Preferensi Cat-a-lot

Ada menu Preferensi di Cat-a-lot:

  • Daftar pantauan
  • Tandai sebagai suntingan kecil
  • Bolehkan menyunting halaman bukan berkas atau tidak ada di kotak galeri
  • Opsi melakukan pembersihan
  • Jumlah subkategori yang ingin ditampilkan

Tampilan kotak

Kotak Cat-a-lot dapat diseret.

Tampilan kotak Cat-a-lot dapat dialihkan dengan mengeklik "Cat-a-lot" di bagian bawah kotak tersebut.

Ketika masih dalam tahap memilih berkas, jendela kotak Cat-a-lot dapat diubah ukurannya dengan menarik sudut atas jendelanya. Ini juga dapat diseret di bagian berbeda di layarnya.

Open bugs & features

You can report bugs or request new features on this page:

Help:Gadget-Cat-a-lot/Open bugs & features.

Terjemahan

Frasa bahasa Inggris dari MediaWiki:Gadget-Cat-a-lot.js/translating dapat diterjemahkan dan disimpan di MediaWiki:Gadget-Cat-a-lot.js/de (sebagai contoh).

Memasang di proyek lain

Sebagai perkakas pengguna

Jika Cat-a-lot tidak muncul sebagai perkakas di proyek lokal Wikimedia Anda (seperti Wikipedia), Anda dapat memasangnya secara manual di pengaturan JavaScript pengguna dengan kode berikut:

//<nowiki>
/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
});
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"watchlist":"preferences","minor":true,"editpages":true,"docleanup":false,"subcatcount":10};
////////////////////////////////////catALotEnd//
//</nowiki>

Preferensi semiotomatis tidak dimuat dalam contoh ini, sehingga Anda perlu mengaturnya secara manual juga (karena ini mendukung Commons saja, meskipun secara teori memungkinkan, jika Anda memuat semua lokalnya maka membutuhkan modul-modul tambahan).

Sebagai perkakas proyek

1. Salin kode ini ke MediaWiki:Gadget-Cat-a-lot.js lokal:

/**
 * Cat-a-lot - changes category of multiple files
**/
if (mw.config.get('wgNamespaceNumber') === 14) {
	window.catALotPrefs = { editpages: true, subcatcount: 100 };
	mw.loader.using(['jquery.ui', 'mediawiki.util']).done(function () {
		mw.util.addCSS("#cat_a_lot_settings { display:none !important;}"); // Preferences depend on some Commons gadgets, not available locally
		mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-Cat-a-lot.js&action=raw&ctype=text/javascript');
		mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-Cat-a-lot.css&action=raw&ctype=text/css', 'text/css');
	});
}
Catatan: Garis yang ditandai merupakan opsional.

2. Simpan sebuah deskripsi ke MediaWiki:Gadget-Cat-a-lot lokal (Anda dapat menerjemahkan yang satu ini, atau salah satu yang telah tersedia):

'''[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]''': A tool that helps with moving multiple files between categories or adding categories to search results.

3. Tambahkan definisi ke MediaWiki:Gadgets-definition lokal

Cat-a-lot[ResourceLoader|dependencies=mediawiki.util]|Cat-a-lot.js


Konfigurasi lokal lanjutan

Untuk menggunakan penyelesaian pengalihan lunak (sejak versi 4.0) di proyek Anda, Anda perlu menempatkan nama kategori ini secara manual di preferensi (di Commons ini adalah "Category redirects", idealnya di MediaWiki:Gadget-Cat-a-lot.js Anda). Contoh-contoh tersebut menampilkan kategori untuk Wikipedia bahasa Inggris.

window.catALotPrefs = { "redir_category": "Wikipedia soft redirected categories" };

Notes