Open main menu
This page is a translated version of a page Help:Gadget-Cat-a-lot and the translation is 65% 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.

Other languages:
Deutsch • ‎English • ‎Tiếng Việt • ‎dansk • ‎español • ‎euskara • ‎français • ‎galego • ‎italiano • ‎polski • ‎português do Brasil • ‎Ελληνικά • ‎беларуская (тарашкевіца)‎ • ‎українська • ‎العربية • ‎فارسی • ‎हिन्दी • ‎বাংলা • ‎മലയാളം • ‎中文 • ‎日本語 • ‎한국어
الشكل 1: خطوات معدل التصنيفات:
1) حدد الملفات
2) حدد تصيف الوجهة
3) قم بتنفيذ العملية
فيديو مقدمة لاستخدام معدل التصنيفات (الإنجليزية)
الشكل 2: المربع الأولي
الشكل 3: صندوق معدل التصنيفات
الشكل 4: صندوق معدل التصنيفات بعد تحديد تصنيف

معدل التصنيفات هي أداة جافا سكريبت تساعد في نقل الصور (أو التصنيفات الفرعية) بين التصنيفاتأو إضافة تصنيفات إلى نتائج البحث.

Contents

التنشيط مرة واحدة

To activate the gadget
In "Preferences" : "gadgets" tab, "Tools for categories" section: click "Cat-a-lot" and hit "Save" at bottom of page. Or click here and follow the instructions. (For users of the English Wikipedia, see instructions here.)

نقل الملفات بين التصنيفات، وإزالة الملفات من تصنيف

  • Turn on the gadget on category page: after activation, you will see a little post-it-note labeled "cat-a-lot" in the lower-right corner of every category page, as seen in Figure 2. This box will stay in that corner, independent of your position on the page. If the note doesn't appear, try to purge the cache of your browser. Click it to start the tool. This will show a box like the one in the Figure 3.
  • Select files: You can select individual image thumbnails by clicking in the white space of the thumbnail description. The description background will turn green to indicate that this image is now selected. Another click will de-select it, turning the background white again. You can also select/de-select all visible images by clicking select all / none in the cat-a-lot box. To select/de-select 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 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: 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).

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 will indicate what was done to that image.

  • Revert, if you have made a mistake, you can stop (cancel) and reverse your last action, by clicking the button on the lower-right corner of the box.

التفضيلات

 
تفضيلات معدل التصنيفات

There is a Preferences menu in Cat-a-lot:

  • Watchlist
  • Whether to mark edits as minor
  • Whether to allow editing pages that aren't files or in gallery boxes
  • Whether to do clean up
  • Numbers of sub-categories to show

عرض الصندوق

يمكن تبديل شاشة صندوق معدل التصنيفات بالنقر فوق Cat-a-lot في الجزء السفلي من الصندوق.

أثناء خطوة اختيار الملفات، يمكن تغيير حجم نافذة صندوق معدل التصنيفات بسحب الحافة العليا من النافذة.

فتح الأخطاء والميزات

يمكنك الإبلاغ عن الأخطاء أو طلب ميزات جديدة في هذه الصفحة: Help:Gadget-Cat-a-lot/Open bugs & features.

الترجمات

English phrases from MediaWiki:Gadget-Cat-a-lot.js/translating can be translated and saved in MediaWiki:Gadget-Cat-a-lot.js/de (for example).

التثبيت في مشاريع أخرى

كأداة مستخدم خاصة بك

If Cat-a-lot is not present as gadget in your local Wikimedia project (like Wikipedia), you can install it manually in your user JavaScript settings with following code:

//<nowiki>
/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui.resizable', '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>

The semi-automatic preferences are not loaded with this example, so you need to set this also manually (because it supports only Commons, although it is theoretically possible, if you load all the local needed extra modules).

كأداة مشروع

1. انسخ الرمز التالي إلى MediaWiki:Gadget-Cat-a-lot.js المحلية:

/**
 * 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.resizable', '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');
	});
}
ملاحظة: الخطوط المعلمة اختيارية.

2. احفظ وصفا في القيمة MediaWiki:Gadget-Cat-a-lot (يمكنك ترجمة هذه، أو إحدى الصفحات الموجود):

Cat-a-lot: A tool that helps with moving multiple files between categories or adding categories to search results.

3. أضف تعريفا إلى def$ المحلية:

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


المزيد من التكوين المحلي

To use the solving of soft-redirects (since version 4.0) on your project, you need to put this category name in the preferences manually (on Commons this is "Category redirects", ideally on your MediaWiki:Gadget-Cat-a-lot.js). The example shows the category for the English Wikipedia:

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