CINXE.COM
Help:Gadget-HotCat/fr - Wikimedia Commons
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:Gadget-HotCat/fr - Wikimedia Commons</title> <script>(function(){var className="client-js";var cookie=document.cookie.match(/(?:^|; )commonswikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t."," \t,"],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"wgRequestId":"313f7102-d6aa-413a-9849-28e59eb68a13","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Gadget-HotCat/fr","wgTitle":"Gadget-HotCat/fr","wgCurRevisionId":948724272,"wgRevisionId":948724272,"wgArticleId":115037424,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null, "wgUserGroups":["*"],"wgCategories":["Gadget script documentation","Commons help/fr","HotCat/Translations","Commons gadgets enabled by default/Translations","Commons categories/Translations"],"wgPageViewLanguage":"fr","wgPageContentLanguage":"fr","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Gadget-HotCat/fr","wgRelevantArticleId":115037424,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"commons","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":false,"wgVisualEditor":{"pageLanguageCode":"fr","pageLanguageDir":"ltr","pageVariantFallbacks":"fr"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":60000,"wgTranslatePageTranslation":"translation","wgCentralAuthMobileDomain":false,"upwizPropertyTitles":{"P180": "Main subjects visible in this work"},"upwizPropertyPlaceholders":{"P180":"e.g., Angolan giraffe"},"upwizPropertyCopyLabels":{"P180":"Main subjects"},"wgVisualEditorDisabledByHook":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wbmiDefaultProperties":["P180"],"wbmiPropertyTitles":{"P180":"Items portrayed in this file"},"wbmiPropertyTypes":{"P180":"wikibase-item"},"wbmiRepoApiUrl":"/w/api.php","wbmiHelpUrls":{"P180":"https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Depicts"},"wbmiExternalEntitySearchBaseUri":"https://www.wikidata.org/w/api.php","wbmiSupportedDataTypes":["wikibase-item","string", "quantity","time","monolingualtext","external-id","globe-coordinate","url"],"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.gadget.Long-Image-Names-in-Categories":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.pygments":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.styles.legacy":"ready","ext.translate":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","ext.centralNotice.geoIP", "ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.gadget.Slideshow","ext.gadget.ZoomViewer","ext.gadget.CollapsibleTemplates","ext.gadget.fastcci","ext.gadget.Stockphoto","ext.gadget.WatchlistNotice","ext.gadget.AjaxQuickDelete","ext.gadget.WikiMiniAtlas","ext.gadget.LanguageSelect","ext.gadget.PictureOfTheYearEnhancements","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=codex-search-styles%7Cext.discussionTools.init.styles%7Cext.pygments%2Ctranslate%2CwikimediaBadges%7Cext.translate.tag.languages%7Cext.uls.pt%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy%7Cwikibase.client.init&only=styles&skin=vector"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.gadget.Long-Image-Names-in-Categories&only=styles&skin=vector"> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Help:Gadget-HotCat/fr - Wikimedia Commons"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//commons.m.wikimedia.org/wiki/Help:Gadget-HotCat/fr"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Help:Gadget-HotCat/fr&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/commons.png"> <link rel="icon" href="/static/favicon/commons.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikimedia Commons"> <link rel="EditURI" type="application/rsd+xml" href="//commons.wikimedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://commons.wikimedia.org/wiki/Help:Gadget-HotCat/fr"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="Wikimedia Commons Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_Gadget-HotCat_fr rootpage-Help_Gadget-HotCat skin-vector action-view"><div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice"><!-- CentralNotice --></div> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Gadget-HotCat/fr</span></h1> <div id="bodyContent" class="vector-body"> <div id="siteSub" class="noprint">From Wikimedia Commons, the free media repository</div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint" dir="ltr" lang="en">This page is a <span class="plainlinks"><a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Special:Translate&group=page-Help%3AGadget-HotCat&action=page&filter=&language=fr">translated version</a></span> of a page <a href="/wiki/Help:Gadget-HotCat" title="Help:Gadget-HotCat">Help:Gadget-HotCat</a> and the translation is 9% complete. Changes to the translation template, respectively the source language can be submitted through <a href="/wiki/Help:Gadget-HotCat" title="Help:Gadget-HotCat">Help:Gadget-HotCat</a> and have to be approved by a <a href="/wiki/Special:MyLanguage/Commons:Translation_administrators" title="Special:MyLanguage/Commons:Translation administrators">translation administrator</a>.</div><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Other languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Help:Gadget-HotCat/id" class="mw-pt-progress mw-pt-progress--med" title="Bantuan:Gadget-HotCat (16% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Help:Gadget-HotCat/de" class="mw-pt-progress mw-pt-progress--complete" title="Help:Gadget-HotCat (100% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><a href="/wiki/Help:Gadget-HotCat" class="mw-pt-languages-ui mw-pt-progress mw-pt-progress--complete" title="Help:Gadget-HotCat (100% translated)" lang="en" dir="ltr">English</a></li> <li><a href="/wiki/Help:Gadget-HotCat/es" class="mw-pt-progress mw-pt-progress--med" title="Ayuda:Accesorio-HotCat (30% translated)" lang="es" dir="ltr">español</a></li> <li><span class="mw-pt-languages-selected mw-pt-progress mw-pt-progress--low" lang="fr" dir="ltr">français</span></li> <li><a href="/wiki/Help:Gadget-HotCat/zh" class="mw-pt-progress mw-pt-progress--low" title="幫助:小工具-HotCat (14% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Help:Gadget-HotCat/ja" class="mw-pt-progress mw-pt-progress--med" title="Help:ガジェット-HotCat (32% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Help:Gadget-HotCat/ko" class="mw-pt-progress mw-pt-progress--low" title="Help:소도구-HotCat (8% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <div class="toccolours noprint" style="clear:both; margin:0 0 1em; line-height:1;"><b style="color:#888; vertical-align:top; font-size:x-small;"><span lang="en" dir="ltr" class="mw-content-ltr">This page in other languages:</span></b> <div style="line-height:1.3"><span lang="en" dir="ltr" class="mw-content-ltr">For basic (not specific to Commons) help on HotCat in your language see the interwiki links in the sidebar.</span></div> </div> <div class="gadget-help-header" lang="en" dir="en"> <style data-mw-deduplicate="TemplateStyles:r959666440">.mw-parser-output .gadget-help-header .tmbox{margin:1px 10%}.mw-parser-output .gadget-help-header p{margin:0}.mw-parser-output .gadget-help-header-colorbox{margin-top:2px;padding:.4em 1em .5em;border:1px solid #d4cfa4;background-color:var(--background-color-warning-subtle,#fdf2d5);color:inherit}</style> <style data-mw-deduplicate="TemplateStyles:r958166081">.mw-parser-output .tmbox{margin:4px 0;border-collapse:collapse;border:2px solid #c0c090;background-color:#f8eaba;box-sizing:border-box}.mw-parser-output .tmbox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .tmbox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .tmbox-delete{border:2px solid #b32424}.mw-parser-output .tmbox-content{border:2px solid #f28500}.mw-parser-output .tmbox-style{border:2px solid #fc3}.mw-parser-output .tmbox-move{border:2px solid #9932cc}.mw-parser-output .tmbox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .tmbox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .tmbox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .tmbox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .tmbox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .tmbox{margin:4px 10%}.mw-parser-output .tmbox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .tmbox{background-color:#2e2505}html.skin-theme-clientpref-night .mw-parser-output .tmbox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .tmbox{background-color:#2e2505}html.skin-theme-clientpref-os .mw-parser-output .tmbox-speedy{background-color:#310402}}body.skin--responsive .mw-parser-output table.tmbox img{max-width:none!important}</style><table class="plainlinks tmbox tmbox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/40px-Information_icon4.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Information_icon4.svg/80px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></td><td class="mbox-text">This is the documentation for <i><b>HotCat</b></i>, a JavaScript gadget which can be enabled or disabled in <a href="/wiki/Special:Preferences#mw-prefsection-gadgets-Gadget-HotCat" title="Special:Preferences">your Preferences</a>. The script itself is located at <a href="/wiki/MediaWiki:Gadget-HotCat.js" title="MediaWiki:Gadget-HotCat.js">MediaWiki:Gadget-HotCat.js</a>.</td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r958166081"><table class="plainlinks tmbox tmbox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><a href="/wiki/File:OOjs_UI_icon_book-ltr-progressive.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/OOjs_UI_icon_book-ltr-progressive.svg/34px-OOjs_UI_icon_book-ltr-progressive.svg.png" decoding="async" width="34" height="34" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/OOjs_UI_icon_book-ltr-progressive.svg/51px-OOjs_UI_icon_book-ltr-progressive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/OOjs_UI_icon_book-ltr-progressive.svg/68px-OOjs_UI_icon_book-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20"/></a></span></td><td class="mbox-text"><div class="gadget-help-header-colorbox"> <p>If you need more help, please ask at <a href="/wiki/MediaWiki_talk:Gadget-HotCat.js" title="MediaWiki talk:Gadget-HotCat.js">the discussion page</a> or at <a href="/wiki/Commons:Help_desk" title="Commons:Help desk">Commons:Help desk</a>. </p><p>Documentation: <span class="plainlinks" style="font-size:small;line-height:1.4"><a href="/wiki/Help:Gadget-HotCat/de" title="Help:Gadget-HotCat/de"><bdi lang="de">Deutsch</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/en" title="Help:Gadget-HotCat/en"><bdi lang="en">English</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/es" title="Help:Gadget-HotCat/es"><bdi lang="es">español</bdi></a> <b>∙</b> <a class="mw-selflink selflink"><bdi lang="fr">français</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/id" title="Help:Gadget-HotCat/id"><bdi lang="id">Bahasa Indonesia</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/ja" title="Help:Gadget-HotCat/ja"><bdi lang="ja">日本語</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/ko" title="Help:Gadget-HotCat/ko"><bdi lang="ko">한국어</bdi></a> <b>∙</b> <a href="/wiki/Help:Gadget-HotCat/zh" title="Help:Gadget-HotCat/zh"><bdi lang="zh">中文</bdi></a></span> </p> </div></td></tr></tbody></table> </div> <style data-mw-deduplicate="TemplateStyles:r905769005">.mw-parser-output .ubx-floatdefault[dir="ltr"],.mw-parser-output .ubx-floatopposite[dir="rtl"],.mw-parser-output .ubx-floatleft{float:left}.mw-parser-output .ubx-floatdefault[dir="rtl"],.mw-parser-output .ubx-floatopposite[dir="ltr"],.mw-parser-output .ubx-floatright{float:right}.mw-parser-output .ubx-floatnone{float:none}</style> <div class="ubx ubx-floatright" dir="ltr" lang="en"><div class="commonsuserbox coolest-tool-award" style="float:right;border:1px solid #BD00FF;margin:1px;width:238px"><table role="presentation" style="border-collapse:collapse;width:238px;margin-bottom:0;margin-top:0;background:#C7C7C7;color:inherit"><tbody><tr><td style="border:0;width:45px;height:120px;background:black;text-align:center;font-size:14pt;font-weight:bold;color:black;padding:0 1px 0 0;line-height:1.25em;vertical-align:middle;padding: 3px; box-sizing:border-box;"><span typeof="mw:File"><a href="/wiki/File:Eggbeater_stencil_narrow.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Eggbeater_stencil_narrow.svg/42px-Eggbeater_stencil_narrow.svg.png" decoding="async" width="42" height="109" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Eggbeater_stencil_narrow.svg/63px-Eggbeater_stencil_narrow.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Eggbeater_stencil_narrow.svg/84px-Eggbeater_stencil_narrow.svg.png 2x" data-file-width="1000" data-file-height="2600"/></a></span></td><td style="border:0;text-align:left;font-size:10pt;padding:0 4px 0 4px;height:120px;line-height:1.25em;color:black;vertical-align:middle;text-align:center; line-height: 2.2;"><div>HotCat</div><div style="font-family: Impact, Charcoal, sans-serif;"><span style="color: #BD00FF">2019</span> Coolest Tool Award Winner</div><div style="line-height:1"><span style="font-size:smaller">in the category</span><br/><a href="https://meta.wikimedia.org/wiki/Coolest_Tool_Award/2019" class="extiw" title="meta:Coolest Tool Award/2019"><span style="font-weight:normal;text-align:center;color:#BD00FF;">Tiny</span></a></div></td></tr></tbody></table></div></div> <div style="float:right; border:1px solid #88A; background:#FFC; padding:0.2em;"> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The Commons is running </p> <dl><dd><b>Version 2.43</b></dd></dl> <p>of this gadget. </p> </div> <div style="font-size:smaller; text-align:right;"><span lang="en" dir="ltr" class="mw-content-ltr">See the <a href="/wiki/Help:Gadget-HotCat/Version_history" title="Help:Gadget-HotCat/Version history">version history</a>.</span></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p><b><a href="/wiki/MediaWiki:Gadget-HotCat.js" title="MediaWiki:Gadget-HotCat.js">HotCat</a></b> is a JavaScript extension of the MediaWiki user interface. It augments the category bar with quick links to remove, change, or add categories. It can be activated in the <a href="/wiki/Special:Preferences#mw-prefsection-gadgets" title="Special:Preferences">"Gadgets" tab of Special:Preferences</a>. </p> </div> <p><span id="Browser_compatibility"></span> </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Compatibilité_des_navigateurs"><span class="tocnumber">1</span> <span class="toctext">Compatibilité des navigateurs</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#Anciennes_versions"><span class="tocnumber">1.1</span> <span class="toctext">Anciennes versions</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-3"><a href="#How_to_enable"><span class="tocnumber">2</span> <span class="toctext">How to enable</span></a></li> <li class="toclevel-1 tocsection-4"><a href="#Tracking"><span class="tocnumber">3</span> <span class="toctext">Tracking</span></a></li> <li class="toclevel-1 tocsection-5"><a href="#Interface_utilisateur"><span class="tocnumber">4</span> <span class="toctext">Interface utilisateur</span></a> <ul> <li class="toclevel-2 tocsection-6"><a href="#Supprimer_une_catégorie_unique"><span class="tocnumber">4.1</span> <span class="toctext">Supprimer une catégorie unique</span></a></li> <li class="toclevel-2 tocsection-7"><a href="#Modifier_un_répertoire"><span class="tocnumber">4.2</span> <span class="toctext">Modifier un répertoire</span></a></li> <li class="toclevel-2 tocsection-8"><a href="#Ajouter_une_catégorie"><span class="tocnumber">4.3</span> <span class="toctext">Ajouter une catégorie</span></a></li> <li class="toclevel-2 tocsection-9"><a href="#Input_box"><span class="tocnumber">4.4</span> <span class="toctext">Input box</span></a> <ul> <li class="toclevel-3 tocsection-10"><a href="#Clés_de_tri"><span class="tocnumber">4.4.1</span> <span class="toctext">Clés de tri</span></a></li> </ul> </li> <li class="toclevel-2 tocsection-11"><a href="#Moteurs_de_recherche"><span class="tocnumber">4.5</span> <span class="toctext">Moteurs de recherche</span></a></li> <li class="toclevel-2 tocsection-12"><a href="#Category_redirects_and_disambiguations"><span class="tocnumber">4.6</span> <span class="toctext">Category redirects and disambiguations</span></a></li> <li class="toclevel-2 tocsection-13"><a href="#Ecrans_Diff"><span class="tocnumber">4.7</span> <span class="toctext">Ecrans Diff</span></a></li> <li class="toclevel-2 tocsection-14"><a href="#Modifier_plus_d'une_catégorie"><span class="tocnumber">4.8</span> <span class="toctext">Modifier plus d'une catégorie</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-15"><a href="#Configuration_utilisateur"><span class="tocnumber">5</span> <span class="toctext">Configuration utilisateur</span></a></li> <li class="toclevel-1 tocsection-16"><a href="#Raccourcis"><span class="tocnumber">6</span> <span class="toctext">Raccourcis</span></a> <ul> <li class="toclevel-2 tocsection-17"><a href="#Définir_des_raccourcis"><span class="tocnumber">6.1</span> <span class="toctext">Définir des raccourcis</span></a></li> <li class="toclevel-2 tocsection-18"><a href="#Utiliser_les_raccourcis"><span class="tocnumber">6.2</span> <span class="toctext">Utiliser les raccourcis</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-19"><a href="#Internationalisation"><span class="tocnumber">7</span> <span class="toctext">Internationalisation</span></a></li> <li class="toclevel-1 tocsection-20"><a href="#Installing_HotCat_on_another_wiki"><span class="tocnumber">8</span> <span class="toctext">Installing HotCat on another wiki</span></a> <ul> <li class="toclevel-2 tocsection-21"><a href="#Copying_HotCat"><span class="tocnumber">8.1</span> <span class="toctext">Copying HotCat</span></a></li> <li class="toclevel-2 tocsection-22"><a href="#Using_the_Commons_version_of_HotCat_on_another_wiki"><span class="tocnumber">8.2</span> <span class="toctext">Using the Commons version of HotCat on another wiki</span></a> <ul> <li class="toclevel-3 tocsection-23"><a href="#Traductions"><span class="tocnumber">8.2.1</span> <span class="toctext">Traductions</span></a></li> <li class="toclevel-3 tocsection-24"><a href="#Formulaire_de_téléversement"><span class="tocnumber">8.2.2</span> <span class="toctext">Formulaire de téléversement</span></a></li> <li class="toclevel-3 tocsection-25"><a href="#Liste_noire"><span class="tocnumber">8.2.3</span> <span class="toctext">Liste noire</span></a></li> </ul> </li> <li class="toclevel-2 tocsection-26"><a href="#Running_code_once_HotCat_is_fully_initialized"><span class="tocnumber">8.3</span> <span class="toctext">Running code once HotCat is fully initialized</span></a></li> <li class="toclevel-2 tocsection-27"><a href="#Intercepting_the_page_edit_HotCat_will_make"><span class="tocnumber">8.4</span> <span class="toctext">Intercepting the page edit HotCat will make</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-28"><a href="#Des_problèmes_?"><span class="tocnumber">9</span> <span class="toctext">Des problèmes ?</span></a></li> </ul> </div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Compatibilité_des_navigateurs" data-mw-thread-id="h-Compatibilité_des_navigateurs"><span id="Compatibilit.C3.A9_des_navigateurs"></span><span data-mw-comment-start="" id="h-Compatibilité_des_navigateurs"></span>Compatibilité des navigateurs<span data-mw-comment-end="h-Compatibilité_des_navigateurs"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Compatibilit\u00e9_des_navigateurs","replies":["h-Anciennes_versions-Compatibilit\u00e9_des_navigateurs"]}}--></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The current version should work in all of <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Compatibility#Browser_support_matrix" class="extiw" title="mw:Special:MyLanguage/Compatibility">MediaWiki’s JavaScript-supported browsers</a>. </p> </div> <p><span id="Older_versions"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Anciennes_versions" data-mw-thread-id="h-Anciennes_versions-Compatibilité_des_navigateurs"><span data-mw-comment-start="" id="h-Anciennes_versions-Compatibilité_des_navigateurs"></span>Anciennes versions<span data-mw-comment-end="h-Anciennes_versions-Compatibilité_des_navigateurs"></span></h3></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>For older versions of MediaWiki, version 2.34 of <a href="/wiki/MediaWiki:Gadget-HotCat.js" title="MediaWiki:Gadget-HotCat.js">HotCat</a> has been tested and is known to work on the following browsers: </p> </div> <table class="wikitable"> <tbody><tr> <td>Firefox 2 and later</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Internet Explorer 8</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Internet Explorer 7</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Internet Explorer 6</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td>Win XP Pro, SP2. IE6 sometimes "forgets" to redraw the<br/> category list when editors are closed. Resizing the window a<br/> little bit makes it redraw the contents correctly. </td></tr> <tr> <td>Konqueror</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Chrome</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Opera 9.50 and later</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td>Opera 9.50 on Win XP, SP2. Opera 9.50 sometimes does not<br/> redraw the suggestion list correctly. Resizing the window a<br/> little bit makes it update its display correctly.<br/>Not OK on earlier Opera versions(severe bugs in the rendering<br/> make at least the suggestion list completely unusable). </td></tr> <tr> <td>Safari 5/Mac</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td>Safari 5.0.4 (6533.20.27) on Mac OS X 10.6.2 </td></tr> <tr> <td>Safari 4/Mac</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr> <tr> <td>Safari 3/Mac</td> <td><span typeof="mw:File"><a href="/wiki/File:Symbol_question.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/15px-Symbol_question.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/23px-Symbol_question.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/30px-Symbol_question.svg.png 2x" data-file-width="180" data-file-height="185"/></a></span> unknown</td> <td>presumed <span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b> </td></tr> <tr> <td>Safari 2/Mac</td> <td><span typeof="mw:File"><a href="/wiki/File:Symbol_question.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/15px-Symbol_question.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/23px-Symbol_question.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/30px-Symbol_question.svg.png 2x" data-file-width="180" data-file-height="185"/></a></span> unknown</td> <td> </td></tr> <tr> <td>Safari 3/Win</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td>Safari 3.0.4 & 3.1.1 on Win XP Pro, SP2 </td></tr> <tr> <td>Safari 2/Win</td> <td><span typeof="mw:File"><a href="/wiki/File:Symbol_neutral_vote.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/15px-Symbol_neutral_vote.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/23px-Symbol_neutral_vote.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/30px-Symbol_neutral_vote.svg.png 2x" data-file-width="180" data-file-height="185"/></a></span> <b>don't care</b></td> <td>Early Safari versions for Windows are known to be buggy.<br/> We don't cater to broken browsers (well, except IE :-)<br/> Users should upgrade their browsers to Safari 3. </td></tr> <tr> <td>Firefox 1.5</td> <td><span typeof="mw:File"><a href="/wiki/File:Symbol_question.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/15px-Symbol_question.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/23px-Symbol_question.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/30px-Symbol_question.svg.png 2x" data-file-width="180" data-file-height="185"/></a></span> unknown</td> <td>needed? </td></tr> <tr> <td>IE/Mac</td> <td><span typeof="mw:File"><a href="/wiki/File:Symbol_neutral_vote.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/15px-Symbol_neutral_vote.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/23px-Symbol_neutral_vote.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/30px-Symbol_neutral_vote.svg.png 2x" data-file-width="180" data-file-height="185"/></a></span> <b>don't care</b></td> <td>IE for the Mac is obsolete. Use Safari instead. </td></tr> <tr> <td>Internet Explorer 5.5</td> <td><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/20px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/40px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span> <b><bdi>OK</bdi></b></td> <td> </td></tr></tbody></table> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If JavaScript is disabled, the script will of course not do anything. If JavaScript is enabled, but Ajax is disabled, HotCat can still be used to add, change or remove single categories, but it won't be able to propose suggestions for categories, and the multi-change mode won't work. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="How_to_enable" data-mw-thread-id="h-How_to_enable"><span data-mw-comment-start="" id="h-How_to_enable"></span>How to enable<span data-mw-comment-end="h-How_to_enable"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-How_to_enable","replies":[]}}--></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>To turn HotCat on or off, go to your user preferences. To do so, make sure you are logged in, and then click on "<a href="/wiki/Special:Preferences" title="Special:Preferences">preferences</a>" in the upper-right hand corner. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Once you are viewing your preferences, go to the "<a href="/wiki/Special:Preferences#mw-prefsection-gadgets" title="Special:Preferences">Gadgets</a>" tab, and scroll down to the "Editing" section. Click the checkbox for "HotCat" near the top of the list: checked means the gadget is on, unchecked means it is off. Scroll down to the bottom of the page and click "save". You will get a green "your preferences have been saved" message. You can now navigate back to the page you started from. You may need to reload the page you were viewing. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Tracking" data-mw-thread-id="h-Tracking"><span data-mw-comment-start="" id="h-Tracking"></span>Tracking<span data-mw-comment-end="h-Tracking"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Tracking","replies":[]}}--></div> </div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.38</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Edits made on Wikimedia Commons are <a href="/wiki/Special:Tags" title="Special:Tags">tagged</a> in the recent changes <span class="mw-tag-markers">(<a href="/wiki/Special:Tags" title="Special:Tags">Tag</a>: <a href="/wiki/Special:MyLanguage/Help:Gadget-HotCat" title="Special:MyLanguage/Help:Gadget-HotCat">HotCat</a>)</span>, they can be <a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Special:RecentChanges&tagfilter=HotCat">filtered</a>. Please note that for unverified edits (for example if the file description page has been afterwards manually edited) no tag will be applied, to prevent abuse (adding additionally a manual change-tag to such edits is currently not possible). In such cases the (previous) ordinary text tag "<code>using HotCat</code>" is added to the summary. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Other wikis may use other tags or ordinary tracking methods. The German language Wikipedia uses e.g. "<code>HC: %change%</code>" (prefixed). </p> </div> <p><span id="User_interface"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Interface_utilisateur" data-mw-thread-id="h-Interface_utilisateur"><span data-mw-comment-start="" id="h-Interface_utilisateur"></span>Interface utilisateur<span data-mw-comment-end="h-Interface_utilisateur"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Interface_utilisateur","replies":["h-Supprimer_une_cat\u00e9gorie_unique-Interface_utilisateur","h-Modifier_un_r\u00e9pertoire-Interface_utilisateur","h-Ajouter_une_cat\u00e9gorie-Interface_utilisateur","h-Input_box-Interface_utilisateur","h-Moteurs_de_recherche-Interface_utilisateur","h-Category_redirects_and_disambiguations-Interface_utilisateur","h-Ecrans_Diff-Interface_utilisateur","h-Modifier_plus_d'une_cat\u00e9gorie-Interface_utilisateur"]}}--></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Whenever a page is loaded, HotCat looks for the category bar. If there are visible categories, it adds links to easily remove, change or add categories. Due to space constraints (and also to avoid internationalization issues), these links use symbols instead of text: </p> </div> <p><span typeof="mw:File"><a href="/wiki/File:HotCat_category_bar.png" class="mw-file-description" title="A category bar as modified by HotCat"><img alt="A category bar as modified by HotCat" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/HotCat_category_bar.png/800px-HotCat_category_bar.png" decoding="async" width="800" height="70" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/2/2c/HotCat_category_bar.png 1.5x" data-file-width="1087" data-file-height="95"/></a></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The new links are: </p> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">"(−)" after a category: when clicked, the category is automatically <a href="#Removing_a_single_category">removed</a>.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">"(±)" after a category: when clicked, an input field to <a href="#Changing_a_category">change this category</a> is opened.</span></li> <li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.2</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">"(↓)" after a category: when clicked, the input field is opened, and a list of available subcategories is displayed.</span> </p> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.2</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">"(↑)" after a category: when clicked, the input field is opened, and a list of available parent categories is shown.</span> </p> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">"(+)" at the end of the list of categories: when clicked, an input field to <a href="#Adding_a_category">add a category</a> is opened.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">"(+<sup>+</sup>)" at the front: when clicked, enters <a href="#Making_more_than_one_category_change">multi-change mode</a>, allowing modifying more than one category.</span></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that the "(↓)" and "(↑)" links are shown only for existing categories. Red-linked categories, i.e. non-existing categories, can have neither parent nor subcategories, and thus showing these links wouldn't make sense. Also note that it is possible that only the input box is shown when these links are clicked, but no list. That indicates that this category does not have parent categories or subcategories, respectively. See also "<a href="#Search_engines">Search engines</a>" below. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If HotCat can detect that a certain category is not in the page text itself but was transcluded onto the page from a template or other transclusion, it will <i>not</i> add these links. Only categories that <i>are</i> present in the wikitext of the page itself can be modified through HotCat. </p> </div> <p><span id="Removing_a_single_category"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Supprimer_une_catégorie_unique" data-mw-thread-id="h-Supprimer_une_catégorie_unique-Interface_utilisateur"><span id="Supprimer_une_cat.C3.A9gorie_unique"></span><span data-mw-comment-start="" id="h-Supprimer_une_catégorie_unique-Interface_utilisateur"></span>Supprimer une catégorie unique<span data-mw-comment-end="h-Supprimer_une_catégorie_unique-Interface_utilisateur"></span></h3></div> <p><span id="Removing_a_single_category"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>To remove a category, simply click the "(−)" link next to the category name. If the page does indeed contain this category, HotCat will remove it automatically. It will: </p> </div> <ol><li><span lang="en" dir="ltr" class="mw-content-ltr">open a new window or tab in your browser with the current page opened for editing,</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr"><i>hide</i> the whole edit form, so that you cannot edit,</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">edit the page to remove the category, and</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">save the page.</span></li></ol> <p><span id="Changing_a_category"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Modifier_un_répertoire" data-mw-thread-id="h-Modifier_un_répertoire-Interface_utilisateur"><span id="Modifier_un_r.C3.A9pertoire"></span><span data-mw-comment-start="" id="h-Modifier_un_répertoire-Interface_utilisateur"></span>Modifier un répertoire<span data-mw-comment-end="h-Modifier_un_répertoire-Interface_utilisateur"></span></h3></div> <p><span id="Changing_a_category"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>To change a category, click the "(±)" link next to the category name. This will open the <a href="#Input_box">input box</a> where you can enter a new category name. </p> </div> <p><span id="Adding_a_category"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Ajouter_une_catégorie" data-mw-thread-id="h-Ajouter_une_catégorie-Interface_utilisateur"><span id="Ajouter_une_cat.C3.A9gorie"></span><span data-mw-comment-start="" id="h-Ajouter_une_catégorie-Interface_utilisateur"></span>Ajouter une catégorie<span data-mw-comment-end="h-Ajouter_une_catégorie-Interface_utilisateur"></span></h3></div> <p><span id="Adding_a_category"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>To add a category, click the "(+)" link at the end of the category line. This will open the <a href="#Input_box">input box</a> where you can enter a new category name. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Input_box" data-mw-thread-id="h-Input_box-Interface_utilisateur"><span data-mw-comment-start="" id="h-Input_box-Interface_utilisateur"></span>Input box<span data-mw-comment-end="h-Input_box-Interface_utilisateur"></span></h3></div> </div> <p><span id="Input_box"></span> </p> <figure class="mw-default-size mw-halign-right" typeof="mw:File"><a href="/wiki/File:HotCat_Input_Box_plain.png" class="mw-file-description" title="The input box of HotCat"><img alt="The input box of HotCat" src="https://upload.wikimedia.org/wikipedia/commons/a/a4/HotCat_Input_Box_plain.png" decoding="async" width="339" height="23" class="mw-file-element" data-file-width="339" data-file-height="23"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">The input box of HotCat</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The input box of HotCat is very simple: a text field to enter the new category name, an indicator icon, and an "OK" and a "Cancel" button. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The indicator icon tells you whether or not the category name you've entered exists. A <span typeof="mw:File"><a href="/wiki/File:P_no.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/P_no.svg/20px-P_no.svg.png" decoding="async" width="20" height="18" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/P_no.svg/30px-P_no.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/P_no.svg/40px-P_no.svg.png 2x" data-file-width="400" data-file-height="360"/></a></span> icon means that there is no such category yet. You can still add the category, but it will show up as a red link, and you should, after having added the category, click that red link and enter a brief description and parent categories to this new category. A <span typeof="mw:File"><a href="/wiki/File:P_yes.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/20px-P_yes.svg.png" decoding="async" width="20" height="18" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/30px-P_yes.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/40px-P_yes.svg.png 2x" data-file-width="400" data-file-height="360"/></a></span> icon shows that there already is a category with the name you've entered. </p> </div> <figure class="mw-default-size mw-halign-right" typeof="mw:File"><a href="/wiki/File:HotCat_suggestions.png" class="mw-file-description" title="HotCat’s input box with a suggestion list"><img alt="HotCat’s input box with a suggestion list" src="https://upload.wikimedia.org/wikipedia/commons/e/e6/HotCat_suggestions.png" decoding="async" width="408" height="122" class="mw-file-element" data-file-width="408" data-file-height="122"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">HotCat’s input box with a suggestion list</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>When you start typing, HotCat will display a list of suggestions above or below the text input field. Clicking one of these suggestions will copy it into the text field. Double-clicking a suggestion is the same as clicking once and then clicking the "OK" button: HotCat will add the double-clicked suggestion automatically. The suggestion list is populated by the <a href="#Search_engines">search engine</a> chosen in the selector between the list and the text input field. </p> </div> <figure class="mw-default-size mw-halign-right" typeof="mw:File"><a href="/wiki/File:HotCat_suggestions_2.png" class="mw-file-description" title="HotCat’s input box with a suggestion list"><img alt="HotCat’s input box with a suggestion list" src="https://upload.wikimedia.org/wikipedia/commons/3/31/HotCat_suggestions_2.png" decoding="async" width="409" height="82" class="mw-file-element" data-file-width="409" data-file-height="82"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">HotCat’s input box with a suggestion list</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>In the example shown here, we've entered "Alps of", and HotCat presents us with a list of possible completions. The first suggestion has already been copied into the text box, but the added text is selected, so that it will be overwritten when we keep on typing. Entering " S" reduces the suggestion list accordingly. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Clicking on "Alps of Switzerland" will then copy that into the text field and close the suggestion list (since there are no more suggestions, i.e., categories beginning with "Alps of Switzerland" as a prefix). </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Clicking the "Cancel"-button would now abort the operation, clicking "OK" would tell HotCat to go on and add the chosen category. </p> </div> <p><span id="Sort_keys"></span> </p> <div class="mw-heading mw-heading4"><h4 id="Clés_de_tri" data-mw-thread-id="h-Clés_de_tri-Input_box"><span id="Cl.C3.A9s_de_tri"></span><span data-mw-comment-start="" id="h-Clés_de_tri-Input_box"></span>Clés de tri<span data-mw-comment-end="h-Clés_de_tri-Input_box"></span></h4></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can even give a sort key together with the category. Just write after the category name a vertical bar ("|"), followed by the sort key under which the page shall be sorted within that category’s list. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If no sort key is given, HotCat will preserve an already existing key if a category is changed. </p> </div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.2</span></span> : <span lang="en" dir="ltr" class="mw-content-ltr">To explicitly remove a sort key, just write a vertical bar ("|") without anything following it:</span> </p> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">Input "Foo" will add a new category "Foo" without sort key, or change an existing category to "Foo", preserving the sort key.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Input "Foo|Key" will add a new category "Foo" or change an existing category to "Foo", using the given sort key "Key" in both cases.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Input "Foo|" (with a trailing vertical bar) will add a new category "Foo" without sort key, or change an existing category to "Foo", removing any sort key the changed category might have had.</span></li></ul> <p><span id="Search_engines"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Moteurs_de_recherche" data-mw-thread-id="h-Moteurs_de_recherche-Interface_utilisateur"><span data-mw-comment-start="" id="h-Moteurs_de_recherche-Interface_utilisateur"></span>Moteurs de recherche<span data-mw-comment-end="h-Moteurs_de_recherche-Interface_utilisateur"></span></h3></div> <p><span id="Search_engines"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Between the suggestion list and the text input field, there is a search engine selector to select the search method which populates the suggestion list. HotCat supports any number of search engines. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The MediaWiki servers offer two general ways to search for categories. The first is through the page list of the wiki. This list is always up to date, but is strictly alphabetic and also case-sensitive, so "similar" suggestions (for instance, suggesting "<a href="/wiki/Category:Bl%C3%A1hnj%C3%BAkur" title="Category:Bláhnjúkur">Bláhnjúkur</a>" when "Blahn" was entered) are not shown. The second search engine is the search <i>index</i> that is also used by the "search" box on all pages. It does find "similar" suggestions and is not case-sensitive, but as its index is updated only at intervals, it may not show newly created categories. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat by default combines these two search engines to get the best of both worlds: similar suggestions <i>and</i> newly created categories. However, to do so, it must make two requests to the server. Normally, that’s not a problem, but if it turns out to be too slow on a slow connection, you can use the engine selector to choose which search engine you want to use. It is also possible to <a href="#User_configuration">configure</a> which search engine HotCat should use by default. </p> </div> <p><br/> <span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.2</span></span> : <span lang="en" dir="ltr" class="mw-content-ltr">In addition to these general searches, HotCat also provides two additional, more specialized search engines. A first one can be used to search for subcategories of the category given by the current input. A second one returns the parent categories of the category given by the current input. Both engines may return empty results, in which case no suggestion list is shown. (For instance, if the current input is a name of a non-existing category, or if a category has no subcategories). In this case, the search engine is automatically reset to the default search engine after the first non-deleting input.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that there is no way to "page" through a list of subcategories. The script just tries to get as many subcategories as it can (normally at most 500, the limits for administrators are somewhat higher). Subcategory queries can also be slow if a category contains many items (not just many subcategories), and the input field is made non-editable for the time of the request. If it doesn't become editable in reasonable time, just click cancel. </p> </div> <dl><dd><small><span lang="en" dir="ltr" class="mw-content-ltr">For the technically inclined: the problem is that subcategory continuation queries appear not to work in the MediaWiki API. On the (hidden) category <a href="/wiki/Category:Media_with_locations" title="Category:Media with locations">Category:Media with locations</a>, the API returns (with a limit of 5000) only the first 1540 subcategories of more than 4800 that exist, and continuation queries seem to return no further subcategories at all. Related bug reports on this are <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=1211" class="extiw" title="bugzilla:1211">bugzilla:1211</a> and <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=23682" class="extiw" title="bugzilla:23682">bugzilla:23682</a>. Until this is fixed, there will be no paging through subcategories in HotCat.</span></small></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Category_redirects_and_disambiguations" data-mw-thread-id="h-Category_redirects_and_disambiguations-Interface_utilisateur"><span data-mw-comment-start="" id="h-Category_redirects_and_disambiguations-Interface_utilisateur"></span>Category redirects and disambiguations<span data-mw-comment-end="h-Category_redirects_and_disambiguations-Interface_utilisateur"></span></h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat tries to automatically resolve redirects between categories when the "OK"-button is clicked (or when a suggestion is double-clicked). If the selected category X is a redirect to another category Y, HotCat will automatically add the category Y instead of X. </p> </div> <figure class="mw-default-size mw-halign-right" typeof="mw:File"><a href="/wiki/File:HotCat_disambig.png" class="mw-file-description" title="HotCat’s input box with a suggestion list from a disambiguation page"><img alt="HotCat’s input box with a suggestion list from a disambiguation page" src="https://upload.wikimedia.org/wikipedia/commons/f/f0/HotCat_disambig.png" decoding="async" width="409" height="104" class="mw-file-element" data-file-width="409" data-file-height="104"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">HotCat’s input box with a suggestion list from a disambiguation page</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Similar processing is done for disambiguation categories. If HotCat detects that the chosen category is actually a disambiguation category, it will present again a suggestion list, this time filled from the categories being disambiguated. If, for instance, you entered "Buzet" as the category and then clicked "OK", you would see the suggestion list shown here, as these are all the categories mentioned at <a href="/wiki/Category:Buzet" class="mw-disambig" title="Category:Buzet">Category:Buzet</a>. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that this suggestion list has no search engine selector, as it is not the result of a search. The suggestions are taken directly from the links on the disambiguation category <a href="/wiki/Category:Buzet" class="mw-disambig" title="Category:Buzet">Category:Buzet</a>. </p> </div> <p><span id="Diff_screens"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Ecrans_Diff" data-mw-thread-id="h-Ecrans_Diff-Interface_utilisateur"><span data-mw-comment-start="" id="h-Ecrans_Diff-Interface_utilisateur"></span>Ecrans Diff<span data-mw-comment-end="h-Ecrans_Diff-Interface_utilisateur"></span></h3></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you change only a single category HotCat will—in its default configuration—perform the edit immediately. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Sometimes you might still want to check what HotCat does before saving the modified page. To do so, use "control-clicking". Hold down the Control key (marked <kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em">Ctrl</kbd> on many keyboards; on German keyboards, it’s often <kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em">Strg</kbd>; on the Mac, use the <kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em"><span class="Unicode">⌘</span> Cmd</kbd> key) while clicking with the mouse on the "(−)" link, or on the "OK" button, or while double-clicking a suggestion from the list. Or submit the edit by typing <kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em">Ctrl</kbd>+<kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em"><span class="Unicode">↵</span> Enter</kbd> (<kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em"><span class="Unicode">⌘</span> Cmd</kbd>+<kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em"><span class="Unicode">↵</span> Enter</kbd> on a Mac). In that case, HotCat will show you a diff screen instead of saving the edit automatically. Examine the changes at your leisure, and then click "Save page" to commit the changes. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat can be configured such that it present a diff screen for <i>all</i> edits it makes; see <code>hotcat_no_autocommit</code> in the section on <a href="#User_configuration">user configuration</a>. Additionally, it can be configured such that even if that setting is <code>false</code> and thus single-category changes are executed immediately, it still presents a diff screen for single category <i>deletions</i> (a click on the "(–)" link). That may be a useful setting to avoid that mis-clicks suddenly make changes the user maybe didn't intend. See <code>hotcat_del_needs_diff</code> in the <a href="#User_configuration">user configuration</a> section. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>In <a href="#Making_more_than_one_category_change">multi-change mode</a>, submitting category changes through HotCat always presents you with a diff screen, where you can see exactly what will be changed if you submit the edit. </p> </div> <p><span id="Making_more_than_one_category_change"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Modifier_plus_d'une_catégorie" data-mw-thread-id="h-Modifier_plus_d'une_catégorie-Interface_utilisateur"><span id="Modifier_plus_d.27une_cat.C3.A9gorie"></span><span data-mw-comment-start="" id="h-Modifier_plus_d'une_catégorie-Interface_utilisateur"></span>Modifier plus d'une catégorie<span data-mw-comment-end="h-Modifier_plus_d'une_catégorie-Interface_utilisateur"></span></h3></div> <p><span id="Making_more_than_one_category_change"></span> </p> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:HotCat_save_button.png" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/c/c0/HotCat_save_button.png" decoding="async" width="194" height="49" class="mw-file-element" data-file-width="194" data-file-height="49"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">In multi-change mode, category changes are saved only when the "save" button is clicked.</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The user interface of HotCat is minimalistic on purpose and geared towards making interactions simple and fast. When you just click on a "(−)" link to remove a category, the edit is—in the default setting of HotCat—executed right away, and likewise when you submit a single category addition or change. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Still HotCat fully supports changing more than one category at once. If you click the "(+<sup>+</sup>)" link at the beginning of the category line, HotCat will enter its multi-change mode. The "(+<sup>+</sup>)" link is replaced by a "save" button, and all changes you make from now on will be written to the page only when that button is clicked. Initially, this button may appear disabled. It is enabled only when there are indeed category changes that need saving. </p> </div> <div style="clear:both;"></div> <p><span typeof="mw:File"><a href="/wiki/File:HotCat_multimode.png" class="mw-file-description" title="In multi-change mode, changes are reflected on the page view, but are saved only when the "save" button is clicked."><img alt="In multi-change mode, changes are reflected on the page view, but are saved only when the "save" button is clicked." src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/HotCat_multimode.png/800px-HotCat_multimode.png" decoding="async" width="800" height="38" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/3/37/HotCat_multimode.png 1.5x" data-file-width="1022" data-file-height="49"/></a></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>This multi-change mode is also entered automatically if you have one category input box open and, while it is still open, add, change, or remove another category. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>In multi-change mode, submitting a category change or removal will <i>not</i> perform the edit immediately. Instead, the change will only be reflected on the screen, allowing you to make more category changes. HotCat will add "(×)" links after each changed category. This is an "undo" link; it'll undo the last action on that category. Category removals are indicated by <s>striking through</s> the category name. </p> </div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.2</span></span> : <span lang="en" dir="ltr" class="mw-content-ltr">Unless overridden by a <a href="#User_configuration">user configuration</a>, HotCat will also highlight unsaved category changes by changing the background of the category link.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Once the "save" button is clicked, HotCat will make all the changes, and then opens the page in a diff screen, showing the changes made. The changes are at that point not yet saved! Review the changes to make sure that the script did what you intended it to do, and the submit the edit like any other edit you'd make. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that while HotCat normally automatically submits single category changes, it will never do so when operating in multi-change mode. It will always open a screen showing the changes made, which you should review before submitting the edit manually. </p> </div> <p><span id="User_configuration"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Configuration_utilisateur" data-mw-thread-id="h-Configuration_utilisateur"><span data-mw-comment-start="" id="h-Configuration_utilisateur"></span>Configuration utilisateur<span data-mw-comment-end="h-Configuration_utilisateur"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Configuration_utilisateur","replies":[]}}--></div> <p><span id="User_configuration"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Some aspects of HotCat can be configured by the user. All of these configurations can be done by adding a few lines to your <a href="/wiki/Special:MyPage/common.js" title="Special:MyPage/common.js">common.js</a> allowing the gadget to work independently of the skin selected. </p> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The user may change the behavior of HotCat when making a single category change. By default, HotCat automatically saves such edits. If you'd rather not have that and prefer to see the edit screen after HotCat has made it changes, add the following to your skin-specific user JS:</span></li></ul> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatNoAutoCommit'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_no_autocommit</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> </pre></div> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The user may set the timeout between a keypress and the refresh of the suggestion list. The default is 100 milliseconds. This can be changed as follows:</span></li></ul> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatDelay'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">200</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or whatever other value you prefer</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_suggestion_delay</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">200</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or whatever other value you prefer</span> </pre></div> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The user may change the width of the edit box. The default (and minimum size) is 40 characters. If you find that too small, add the following to your skin-specific user JS:</span></li></ul> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatEditBoxWidth'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">80</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or whatever other value you prefer</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_editbox_width</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">80</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or whatever other value you prefer</span> </pre></div> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The user may define the default search engine that HotCat shall use to display the suggestions. Possible values are "pagelist", "searchindex", or "combined", corresponding to the three implemented search engines.</span></li></ul> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatSuggestions'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">"pagelist"</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or "searchindex", or "combined" (the default)</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_suggestions</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">"pagelist"</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or "searchindex", or "combined" (the default)</span> </pre></div> </div> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The user may suppress the search engine selector altogether to always use a particular search engine (the one defined by the setting above).</span></li></ul> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatFixedSuggestions'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_suggestions_fixed</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> </pre></div> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.2</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">The user may determine the background color HotCat uses to visually mark unsaved category changes in multi-change mode.</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatChangedBackground'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">'yellow'</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or any other valid color specification.</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_changed_background</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">'yellow'</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or any other valid color specification.</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">The default is <code>'#F8CCB0'</code>, a light salmon pink that was chosen because it isn't used in any of the skins deployed at WMF sites and thus really stands out. If you don't want any background highlighting, set it to <code>'transparent'</code>.</span> </p> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.2</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">The user may suppress the "(↓)" and "(↑)" links. Most of the time, these are not needed because the suggestion list is shown automatically when a category is modified, and the subcategories or parent categories can then be obtained via the search engine selector. However, there’s a caveat: if there are no suggestions, the list and the selector may not be shown after all.</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatUseCategoryLinks'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span><span class="p">;</span><span class="w"> </span><span class="c1">// Default is true.</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_use_category_links</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span><span class="p">;</span><span class="w"> </span><span class="c1">// Default is true.</span> </pre></div> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.3</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">The size of the suggestion list is configurable from 5 to 30 lines:</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatListSize'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">20</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or any integer value from 5 to 30; default is 10.</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_list_size</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">20</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or any integer value from 5 to 30; default is 10.</span> </pre></div> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.4</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">HotCat can be configured whether or not single-category changes should be marked as minor edit. Up to version 2.3, all single-category changes were automatically marked as minor. As of version 2.4, there is a configuration setting for this. It can be set site-wide by setting <code>HotCat.single_minor</code>, for instance in the <code>/local_defaults</code> configuration file (see <a href="#Installing_HotCat_on_another_wiki">below</a>). Users can configure this setting for themselves, possibly overriding the site-wide default configuration setting for this.</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatMinorSingleChanges'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or true</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_single_changes_are_minor</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or true</span> </pre></div> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.7</span> (2011-05-30)</span> <span lang="en" dir="ltr" class="mw-content-ltr">Normally, HotCat respects the user’s watchlist preferences. In particular, if the user has set the "Add pages I edit to my watchlist" preference, categorizing a page through HotCat will put the page on the user’s watchlist. If a user wants to use this preference in general, but have it <i>not</i> apply to categorizations made through HotCat, the user can do so by defining a configuration setting:</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatDontAddToWatchlist'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span><span class="w"> </span><span class="c1">// Default is false</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_dont_add_to_watchlist</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span><span class="w"> </span><span class="c1">// Default is false</span> </pre></div> </div> <dl><dd><span lang="en" dir="ltr" class="mw-content-ltr">If this setting is <code>false</code> (the default), HotCat will respect the preference settings for adding pages to the watchlist. If this HotCat setting is <code>true</code>, it will never add pages to the user’s watchlist.</span></dd></dl> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.20</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">Users can define whether or not HotCat presents a diff screen when the "(–)" link is clicked to remove a single category. A diff screen may be useful for this case because it helps prevent accidental category removal through mis-clicks.</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">JSconfig</span><span class="p">.</span><span class="nx">keys</span><span class="p">[</span><span class="s1">'HotCatDelNeedsDiff'</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or false</span> </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">or</span> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_del_needs_diff</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span><span class="w"> </span><span class="c1">// Or false</span> </pre></div> </div> <dl><dd><span lang="en" dir="ltr" class="mw-content-ltr">If this setting is <code>true</code>, HotCat will not submit such changes immediately but will always present a diff screen. If it is <code>false</code>, it will not do so but will submit the category removal immediately.</span></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The user may also change some aspects of the display of the interface using <a href="/wiki/Special:MyPage/monobook.css" title="Special:MyPage/monobook.css">monobook.css</a> or other skin-specific CSS (e.g. <a href="/wiki/Special:MyPage/vector.css" title="Special:MyPage/vector.css">vector.css</a>). </p> </div> <ul><li class="mw-empty-elt"></li></ul> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">as of Version 2.2</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">The links to modify categories (i.e., "(+)", "(−)", etc.) are enclosed in a <span> with a CSS class named "hotcatlink". Users can use this class to style the links as they like. For instance, to reduce the font size of these links to make them smaller, one could use the following CSS code:</span> </p> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-css mw-content-ltr" dir="ltr"><pre><span></span><span class="p">.</span><span class="nc">hotcatlink</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">font-size</span><span class="p">:</span><span class="w"> </span><span class="mi">80</span><span class="kt">%</span><span class="p">;</span><span class="w"> </span><span class="c">/* Or some other value */</span> <span class="p">}</span> </pre></div> </div> <dl><dd><span lang="en" dir="ltr" class="mw-content-ltr">To change the color or these links, one might use something like</span></dd></dl> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-css mw-content-ltr" dir="ltr"><pre><span></span><span class="p">.</span><span class="nc">hotcatlink</span><span class="w"> </span><span class="nt">a</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">color</span><span class="p">:</span><span class="w"> </span><span class="kc">brown</span><span class="p">;</span><span class="w"> </span><span class="c">/* Or any other color specification */</span> <span class="p">}</span> </pre></div> </div> <dl><dd><span lang="en" dir="ltr" class="mw-content-ltr">Or one could highlight these links when the mouse hovers over them:</span></dd></dl> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-css mw-content-ltr" dir="ltr"><pre><span></span><span class="p">.</span><span class="nc">hotcatlink</span><span class="w"> </span><span class="nt">a</span><span class="p">:</span><span class="nd">hover</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">background-color</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="mh">#87CEFA</span><span class="p">;</span><span class="w"> </span><span class="c">/* A light blue */</span> <span class="p">}</span> </pre></div> </div> <p><span id="Shortcuts"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Raccourcis" data-mw-thread-id="h-Raccourcis"><span data-mw-comment-start="" id="h-Raccourcis"></span>Raccourcis<span data-mw-comment-end="h-Raccourcis"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Raccourcis","replies":["h-D\u00e9finir_des_raccourcis-Raccourcis","h-Utiliser_les_raccourcis-Raccourcis"]}}--></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.22</span></span> <span lang="en" dir="ltr" class="mw-content-ltr">HotCat provides editors with the ability to define shortcuts. Shortcuts are supposed to be short character sequences that are to be replaced by long category names or parts of category names.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Shortcuts can be defined by any logged-in user to their own liking. There are no default shortcuts. </p> </div> <p><span id="Defining_shortcuts"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Définir_des_raccourcis" data-mw-thread-id="h-Définir_des_raccourcis-Raccourcis"><span id="D.C3.A9finir_des_raccourcis"></span><span data-mw-comment-start="" id="h-Définir_des_raccourcis-Raccourcis"></span>Définir des raccourcis<span data-mw-comment-end="h-Définir_des_raccourcis-Raccourcis"></span></h3></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can define shortcuts in your own <a href="/wiki/Special:MyPage/common.js" title="Special:MyPage/common.js">common.js</a> user script page. To do so, copy the following block to the beginning of your <a href="/wiki/Special:MyPage/common.js" title="Special:MyPage/common.js">common.js</a>: </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span><span class="kd">function</span><span class="w"> </span><span class="nx">setShortCuts</span><span class="p">(){</span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">addShortcuts</span><span class="p">)</span><span class="w"> </span><span class="k">return</span><span class="p">;</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">addShortcuts</span><span class="p">({</span> <span class="w"> </span><span class="c1">// Do not modify above. Add your shortcuts below</span> <span class="w"> </span><span class="c1">// Shortcut : Replacement, both inside single quotes. If the replacement shall contain a single quote, write it as \'</span> <span class="w"> </span><span class="c1">// ADD YOUR SHORTCUTS HERE. DO NOT FORGET THE COMMA AT THE END OF EACH LINE.</span> <span class="w"> </span><span class="c1">// Do not modify below</span> <span class="s1">' '</span><span class="o">:</span><span class="s2">""</span><span class="p">});}</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="w"> </span><span class="o">&&</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">runWhenReady</span><span class="p">)</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">runWhenReady</span><span class="p">(</span><span class="nx">setShortCuts</span><span class="p">);</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="nx">$</span><span class="p">(</span><span class="s1">'body'</span><span class="p">).</span><span class="nx">on</span><span class="p">(</span><span class="s1">'hotcatSetupCompleted'</span><span class="p">,</span><span class="nx">setShortCuts</span><span class="p">);})();</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Ignore all the cryptic stuff at the beginning and at the end. It’s just some magic incantations to make your shortcuts known to HotCat. Below the line saying "ADD YOUR SHORTCUTS HERE", you can add your own shortcuts. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Each shortcut definition is one line: first the shortcut, in single quotes. Then a colon (":"), and then the replacement, again in single quotes. Finally, a comma. If either the shortcut or the replacement shall contain a single quote, write it as \'. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>For instance, adding the following two lines </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="w"> </span><span class="s1">'ppl'</span><span class="o">:</span><span class="s1">'people'</span><span class="p">,</span> <span class="w"> </span><span class="s1">'tpp'</span><span class="o">:</span><span class="s1">'Template:Painting possible'</span><span class="p">,</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>defines two shortcuts: the shortcut "ppl" will be replaced by "people", and the shortcut "tpp" will be replaced by "Template:Painting possible". </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you add these two example shortcuts, the whole block that you insert in <a href="/wiki/Special:MyPage/common.js" title="Special:MyPage/common.js">common.js</a> looks like this: </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span><span class="kd">function</span><span class="w"> </span><span class="nx">setShortCuts</span><span class="p">(){</span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">addShortcuts</span><span class="p">)</span><span class="w"> </span><span class="k">return</span><span class="p">;</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">addShortcuts</span><span class="p">({</span> <span class="w"> </span><span class="c1">// Do not modify above. Add your shortcuts below</span> <span class="w"> </span><span class="c1">// Shortcut : Replacement, both inside single quotes. If the replacement shall contain a single quote, write it as \'</span> <span class="w"> </span><span class="c1">// ADD YOUR SHORTCUTS HERE. DO NOT FORGET THE COMMA AT THE END OF EACH LINE.</span> <span class="w"> </span><span class="s1">'ppl'</span><span class="o">:</span><span class="s1">'people'</span><span class="p">,</span> <span class="w"> </span><span class="s1">'tpp'</span><span class="o">:</span><span class="s1">'Template:Painting possible'</span><span class="p">,</span> <span class="w"> </span><span class="c1">// Do not modify below</span> <span class="s1">' '</span><span class="o">:</span><span class="s2">""</span><span class="p">});}</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="w"> </span><span class="o">&&</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">runWhenReady</span><span class="p">)</span><span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">runWhenReady</span><span class="p">(</span><span class="nx">setShortCuts</span><span class="p">);</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="nx">$</span><span class="p">(</span><span class="s1">'body'</span><span class="p">).</span><span class="nx">on</span><span class="p">(</span><span class="s1">'hotcatSetupCompleted'</span><span class="p">,</span><span class="nx">setShortCuts</span><span class="p">);})();</span> </pre></div> <p><span id="Using_shortcuts"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Utiliser_les_raccourcis" data-mw-thread-id="h-Utiliser_les_raccourcis-Raccourcis"><span data-mw-comment-start="" id="h-Utiliser_les_raccourcis-Raccourcis"></span>Utiliser les raccourcis<span data-mw-comment-end="h-Utiliser_les_raccourcis-Raccourcis"></span></h3></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:HotCat_shortcut.png" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/HotCat_shortcut.png/220px-HotCat_shortcut.png" decoding="async" width="220" height="46" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/HotCat_shortcut.png/330px-HotCat_shortcut.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/b/b5/HotCat_shortcut.png 2x" data-file-width="432" data-file-height="91"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">User entered "#pnc", a shortcut defined to be replaced by "Paintings not categorised by year"…</span></figcaption></figure> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:HotCat_shortcut_replaced.png" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/HotCat_shortcut_replaced.png/220px-HotCat_shortcut_replaced.png" decoding="async" width="220" height="52" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/HotCat_shortcut_replaced.png/330px-HotCat_shortcut_replaced.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/f/f8/HotCat_shortcut_replaced.png 2x" data-file-width="373" data-file-height="89"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">… and then clicked "OK". If the edit is saved now, HotCat will insert <a href="/wiki/Category:Paintings_not_categorised_by_year" title="Category:Paintings not categorised by year">Category:Paintings not categorised by year</a>.</span></figcaption></figure> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:HotCat_shortcut2.png" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/HotCat_shortcut2.png/220px-HotCat_shortcut2.png" decoding="async" width="220" height="63" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/HotCat_shortcut2.png/330px-HotCat_shortcut2.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/c/c6/HotCat_shortcut2.png 2x" data-file-width="430" data-file-height="124"/></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">Shortcut "#ppl", defined as "people", displays suggestions starting with "People…"</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Wherever HotCat asks you for a category name, you can now use such shortcuts. However, you have to tell HotCat that the next few characters will be a shortcut. To do so, type a hash character ("#"). The hash was chosen because it cannot appear in category names. So, instead of entering "people", you can now just write "#ppl“. HotCat will replace that automatically by "people" when you save the new category. Shortcuts can be used anywhere in a category name. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can also use shortcuts as parts of words. If you wanted to write "Peoples", you could now use the shortcut and write "#[ppl]s". Here, the name of the shortcut must be inside square brackets, because if you wrote "#ppls", HotCat would go look for a shortcut "ppls", and since that doesn't exist, would not change anything. If you write "#[ppl]s", HotCat knows that the shortcut is just the part between the square brackets, and can replace the shortcut correctly, yielding "peoples". </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Unknown shortcuts are not replaced at all. If you type "#foo", that will be left unchanged (with these two example shortcuts). </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat generally tries to leave your input as it is. It will do the replacements for its suggestion list, and when you save the category editor. So, if you type "#ppl“, you'll have "#ppl" in the category input box, but you'll be shown category suggestions starting with "People…". If you now select one of these suggestions, it'll replace whatever you had typed. To get back your input, hit the escape key (normally <kbd class="keyboard-key nowrap" style="border:1px solid #aaa;border-radius:.2em;-moz-box-shadow:.1em .1em .2em rgba(0,0,0,.1);-webkit-box-shadow:.1em .1em .2em rgba(0,0,0,.1);box-shadow:.1em .1em .2em rgba(0,0,0,.1);background:#f9f9f9;background-image:-moz-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-o-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:-webkit-linear-gradient(top,#eee,#f9f9f9,#eee);background-image:linear-gradient(to bottom,#eee,#f9f9f9,#eee);padding:.1em .3em;font-family:inherit;font-size:.85em">esc</kbd> on your keyboard, typically in the upper left corner of the keyboard). </p> </div> <p><span id="Localization"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Internationalisation" data-mw-thread-id="h-Internationalisation"><span data-mw-comment-start="" id="h-Internationalisation"></span>Internationalisation<span data-mw-comment-end="h-Internationalisation"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Internationalisation","replies":[]}}--></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat uses only a few texts for some of its buttons, plus a few other texts for its edit summaries. The button texts can be localized by placing the localizations in appropriate subpages of <a href="/wiki/MediaWiki:Gadget-HotCat.js" title="MediaWiki:Gadget-HotCat.js">MediaWiki:Gadget-HotCat.js</a>; for instance, the German texts can be found at <a href="/wiki/MediaWiki:Gadget-HotCat.js/de" title="MediaWiki:Gadget-HotCat.js/de">MediaWiki:Gadget-HotCat.js/de</a>. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Put only the messages that you see translated in <a href="/wiki/MediaWiki:Gadget-HotCat.js/de" title="MediaWiki:Gadget-HotCat.js/de">MediaWiki:Gadget-HotCat.js/de</a> in a localization file here at the Commons. Other messages for edit summaries and so on belong into the <code>/local_defaults</code> file at your wiki (see <a href="#Using_the_Commons_version_of_HotCat_on_another_wiki">below</a>). Edit summaries should <i>always</i> be in the wiki’s main language, even if the user’s interface language is set to something else, so that other contributors have a chance to understand what the summaries mean. By putting translations for the edit summaries in <code>/local_defaults</code> at a foreign wiki, that wiki can customize the edit summaries in any way without changing the English default messages here at the Commons. </p> </div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.17</span></span> , <span lang="en" dir="ltr" class="mw-content-ltr">HotCat supports complex plural forms in its <code>HotCat.messages.multi_change</code> message. (That is one of those that belongs in <code>/local_defaults</code>, as it is used in edit summaries.) Its default value (in English) is <code>"$1 categories"</code>; the "<code>HotCat.messages.multi_change</code>" is replaced by a number strictly greater than 1. For most languages, simply translating this string will be good enough. However, for languages that have several plural forms such as the <a href="https://en.wikipedia.org/wiki/Dual_(grammatical_number)" class="extiw" title="en:Dual (grammatical number)">dual</a>, this may be insufficient. If your language <i>has</i> several plural forms, you can set <code>HotCat.messages.multi_change</code> to an array containing the various forms as strings (don't forget to include the "<code>HotCat.messages.multi_change</code>" as appropriate in each form). The array must be set up as is appropriate for your language’s implementation of <code>mw.language.convertPlural()</code>. You can check that e.g. in <a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/mediawiki.language/languages/">the MediaWiki source code</a>. On older MediaWiki installations that do not have <code>mw.language.convertPlural()</code>, HotCat will simply use the last element of the array.</span> </p> <dl><dd><span lang="en" dir="ltr" class="mw-content-ltr">Note that if you want to be sure that <code>mw.language.convertPlural()</code> exists, you should make sure that the "mediawiki.language" module is loaded (it doesn't appear to be a default module in MediaWiki 1.19). To do so, set up your gadget definition for HotCat in <a href="/wiki/MediaWiki:Gadgets-definition" title="MediaWiki:Gadgets-definition">MediaWiki:Gadgets-definition</a> <i>on your wiki</i> as follows:</span> <dl><dd>*HotCat[ResourceLoader|dependencies=mediawiki.language]|HotCat.js</dd></dl></dd> <dd><span lang="en" dir="ltr" class="mw-content-ltr">If you already had an entry for HotCat, you may then need to <b><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Purge" class="extiw" title="mw:Special:MyLanguage/Manual:Purge">purge</a></b> the <a href="/wiki/MediaWiki:Gadgets-definition" title="MediaWiki:Gadgets-definition">MediaWiki:Gadgets-definition</a> page to make that work.</span></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Installing_HotCat_on_another_wiki" data-mw-thread-id="h-Installing_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Installing_HotCat_on_another_wiki"></span>Installing HotCat on another wiki<span data-mw-comment-end="h-Installing_HotCat_on_another_wiki"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Installing_HotCat_on_another_wiki","replies":["h-Copying_HotCat-Installing_HotCat_on_another_wiki","h-Using_the_Commons_version_of_HotCat_on_another_wiki-Installing_HotCat_on_another_wiki","h-Running_code_once_HotCat_is_fully_initialized-Installing_HotCat_on_another_wiki","h-Intercepting_the_page_edit_HotCat_will_make-Installing_HotCat_on_another_wiki"]}}--></div> </div> <p><span id="Installing_HotCat_on_another_wiki"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>There are two ways to use HotCat on another wiki: either copy the file and install it locally or hotlink to the Commons version and only do localizations locally. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you <a href="#Copying_HotCat">copy</a> HotCat, you have the advantage that all code resides locally, and no script imports from other domains will occur. Also, you can modify your HotCat as you see fit. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you include HotCat via <a href="#Using_the_Commons_version_of_HotCat_on_another_wiki">hotlinking</a>, you can be sure to always have the most recent version of the gadget, but the script will be loaded from a <code>*.wikimedia.org</code> domain (that is, you have to enable <a href="https://en.wikipedia.org/wiki/cross-origin_resource_sharing" class="extiw" title="w:cross-origin resource sharing">cross-origin resource sharing</a> in your server for it to work). Also note that HotCat has been developed and tested on WMF sites. If your wiki uses a skin that significantly differs from the WMF skins, HotCat may not work out of the box. In that case, copying HotCat and modifying it locally as needed would be the preferred method. But for WMF sites, hotlinking to the Commons version is certainly a viable approach. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat should work in all skins that are part of MediaWiki and that are in use on the WMF projects. It may or may not work properly on other custom skins. HotCat does not depend on jQuery. It also does not depend on the JSconfig stuff from our <a href="/wiki/MediaWiki:Common.js" title="MediaWiki:Common.js">MediaWiki:Common.js</a>; that is completely optional, and HotCat can be used and configured without it. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Copying_HotCat" data-mw-thread-id="h-Copying_HotCat-Installing_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Copying_HotCat-Installing_HotCat_on_another_wiki"></span>Copying HotCat<span data-mw-comment-end="h-Copying_HotCat-Installing_HotCat_on_another_wiki"></span></h3></div> </div> <p><span id="Copying_HotCat"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you want to install HotCat as a copy on another Wiki, follow the procedure outlined here. </p> </div> <ol><li><span lang="en" dir="ltr" class="mw-content-ltr">Enable the <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page" class="extiw" title="mw:Special:MyLanguage/API:Main page">API</a> on your wiki. You don't need to enable the write API. <code>$wgGroupPermissions["*"]["read"]</code> may be set to <code>false</code> if you have a private Wiki (one that allows reading only if logged in).</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure you have the <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Gadgets" class="extiw" title="mw:Special:MyLanguage/Extension:Gadgets">Gadgets extension</a> installed and enabled.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Get HotCat from <a href="/wiki/MediaWiki:Gadget-HotCat.js" title="MediaWiki:Gadget-HotCat.js">MediaWiki:Gadget-HotCat.js</a>.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Localize the message texts in that file (all at the beginning of the file in the HotCat object).</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Install that file, possibly modified as outlined in steps 3 and 4, on your Wiki as MediaWiki:Gadget-HotCat.js.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Write a definition for it in <a href="/wiki/MediaWiki:Gadget-HotCat" title="MediaWiki:Gadget-HotCat">MediaWiki:Gadget-HotCat</a> (on <i>your</i> Wiki), and add it to <a href="/wiki/MediaWiki:Gadgets-definition" title="MediaWiki:Gadgets-definition">MediaWiki:Gadgets-definition</a> (also on <i>your</i> Wiki).</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Go to <a href="/wiki/Special:Preferences" title="Special:Preferences">Special:Preferences</a> on your Wiki and check the gadgets section. HotCat should appear there. Select it and save your preferences.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Done.</span></li></ol> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you want to include HotCat on a public WMF Wiki (Wikipedia, Wikinews, or other WMF project), you may skip steps 1 and 2. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat makes use of jQuery in a few places, but can also run without jQuery being present. To start itself, HotCat uses either <code>jQuery(document).ready()</code> (preferred). If your wiki provides neither, you'll have to change the startup of HotCat as appropriate for your wiki. As of version 2.16, HotCat does not depend on <kbd>ajax.js</kbd> anymore. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Using_the_Commons_version_of_HotCat_on_another_wiki" data-mw-thread-id="h-Using_the_Commons_version_of_HotCat_on_another_wiki-Installing_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Using_the_Commons_version_of_HotCat_on_another_wiki-Installing_HotCat_on_another_wiki"></span>Using the Commons version of HotCat on another wiki<span data-mw-comment-end="h-Using_the_Commons_version_of_HotCat_on_another_wiki-Installing_HotCat_on_another_wiki"></span></h3></div> </div> <p><span id="Using_the_Commons_version_of_HotCat_on_another_wiki"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you want to set up your wiki to use the Commons version of HotCat directly ("hotlinking"), follow these steps: </p> </div> <ol><li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure the server has the appropriate <a href="https://en.wikipedia.org/wiki/Cross-origin_resource_sharing" class="extiw" title="en:Cross-origin resource sharing">cross-origin resource sharing</a> settings enabled</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Create a local page "MediaWiki:Gadget-HotCat.js" on <i>your wiki</i> with the contents of <a href="https://en.wikipedia.org/wiki/MediaWiki:Gadget-HotCat.js" class="extiw" title="en:MediaWiki:Gadget-HotCat.js">en:MediaWiki:Gadget-HotCat.js</a>.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Set up that local "MediaWiki:Gadget-HotCat.js" as a gadget by adding it to the <a href="/wiki/MediaWiki:Gadgets-definition" title="MediaWiki:Gadgets-definition">MediaWiki:Gadgets-definition</a> page.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Write a <i>local</i> file "MediaWiki:Gadget-HotCat.js/local_defaults". In that file, modify the settings and messages in the <code>HotCat</code> object as appropriate. (Translate the messages into the wgContentLanguage of your wiki in that file.)</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Optionally, write <i>local</i> files "MediaWiki:Gadget-HotCat.js/<i>lang</i>", where <i>lang</i> is some language code ("en" for English, "fr" for French, and so on). In those files, localize the messages, tooltips, and search engine names to the appropriate language for users having wgUserLanguage != wgContentLanguage.</span></li></ol> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>That’s it. When you then enable the gadget, you should have a working HotCat. An example installation using this method exists at the German Wikiversity. See file <a href="https://en.wikiversity.org/wiki/de:MediaWiki:Gadget-HotCat.js" class="extiw" title="v:de:MediaWiki:Gadget-HotCat.js">v:de:MediaWiki:Gadget-HotCat.js</a> for the import and <a href="https://en.wikiversity.org/wiki/de:MediaWiki:Gadget-HotCat.js/local_defaults" class="extiw" title="v:de:MediaWiki:Gadget-HotCat.js/local defaults">v:de:MediaWiki:Gadget-HotCat.js/local defaults</a> for the localizations, plus <a href="https://en.wikiversity.org/wiki/de:MediaWiki:Gadget-HotCat" class="extiw" title="v:de:MediaWiki:Gadget-HotCat">v:de:MediaWiki:Gadget-HotCat</a> and <a class="external text" href="https://de.wikiversity.org/w/index.php?title=MediaWiki:Gadgets-definition&diff=222210&oldid=175340">the change here</a> to install it as a gadget. At Wikiversity, there is also a user-language localization for English at <a href="https://en.wikiversity.org/wiki/de:MediaWiki:Gadget-HotCat.js/en" class="extiw" title="v:de:MediaWiki:Gadget-HotCat.js/en">v:de:MediaWiki:Gadget-HotCat.js/en</a>. Use that file as a model for your own localizations; or copy the corresponding localization from the Commons to your wiki. </p> </div> <p><span id="Translations"></span> </p> <div class="mw-heading mw-heading4"><h4 id="Traductions" data-mw-thread-id="h-Traductions-Using_the_Commons_version_of_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Traductions-Using_the_Commons_version_of_HotCat_on_another_wiki"></span>Traductions<span data-mw-comment-end="h-Traductions-Using_the_Commons_version_of_HotCat_on_another_wiki"></span></h4></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.21 (December 2012)</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Translations are loaded from Wikimedia Commons by default. You can disable this if you prefer loading translations from a local sub page. To disable this, set the variable <code>window.hotcat_translations_from_commons</code> to <code>false</code> <i>before</i> importing the HotCat script. The <code>/local_defaults</code> file will always come from the local wiki regardless of this setting. </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">// Load translation from local subpage, not from Commons.</span> <span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_translations_from_commons</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span><span class="p">;</span> </pre></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">Version 2.4 to Version 2.20</span></span> : </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Translations are loaded from a local sub page by default, but you can choose to load translations of the user interface from Commons instead. To do so, set the variable <code>window.hotcat_translations_from_commons</code> to <code>true</code> <i>before</i> importing the HotCat script. The <code>/local_defaults</code> file is, will always come from the local wiki regardless of this setting. </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">hotcat_translations_from_commons</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span><span class="w"> </span><span class="c1">// Make HotCat load its interface from the Commons</span> <span class="c1">// Then import the script from the commons, as in the first step.</span> </pre></div> <p><span id="Upload_form"></span> </p> <div class="mw-heading mw-heading4"><h4 id="Formulaire_de_téléversement" data-mw-thread-id="h-Formulaire_de_téléversement-Using_the_Commons_version_of_HotCat_on_another_wiki"><span id="Formulaire_de_t.C3.A9l.C3.A9versement"></span><span data-mw-comment-start="" id="h-Formulaire_de_téléversement-Using_the_Commons_version_of_HotCat_on_another_wiki"></span>Formulaire de téléversement<span data-mw-comment-end="h-Formulaire_de_téléversement-Using_the_Commons_version_of_HotCat_on_another_wiki"></span></h4></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.4</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can, if you load HotCat from Commons, switch off HotCat for the upload form (by default, it will be active both on pages and on upload form). To switch off HotCat for upload forms, set the following in your local configuration file (<code>/local_defaults</code>): </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">upload_disabled</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> </pre></div> <p><span id="Blacklist"></span> </p> <div class="mw-heading mw-heading4"><h4 id="Liste_noire" data-mw-thread-id="h-Liste_noire-Using_the_Commons_version_of_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Liste_noire-Using_the_Commons_version_of_HotCat_on_another_wiki"></span>Liste noire<span data-mw-comment-end="h-Liste_noire-Using_the_Commons_version_of_HotCat_on_another_wiki"></span></h4></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.5</span></span> , <span lang="en" dir="ltr" class="mw-content-ltr">HotCat incorporates a "blacklist" that can be used to disable certain categories in HotCat altogether. Blacklisted categories cannot be added, removed, or changed through the user interface of HotCat; blacklisted categories do not show up in the suggestion list, and if entered manually, the "OK" button of the editor is disabled. Trying to submit a change from an existing category to a blacklisted category is treated as a cancellation of the edit; i.e., the original category is preserved.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The blacklist is a single regular expression that should match blacklisted category titles. If your wiki has no blacklisted categories, leave <code>HotCat.blacklist</code> set to <code>null</code>. To enable a blacklist, set it to a meaningful regular expression. The <a href="https://en.wikipedia.org/wiki/MediaWiki:Gadget-HotCat.js/local_defaults" class="extiw" title="en:MediaWiki:Gadget-HotCat.js/local defaults">English Wikipedia</a> uses <code>HotCat.blacklist = /\bstubs?$/</code>, blacklisting all categories ending with the word "stub" or "stubs". You can set the blacklist as appropriate in your <code>/local_defaults</code> configuration file. </p> </div> <dl><dd><small><span lang="en" dir="ltr" class="mw-content-ltr">The English Wikipedia blacklists these categories because they are normally added through templates. HotCat already did not allow modifying such categories prior to V2.5, but it was still possible to manually add such categories through HotCat.</span></small></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Running_code_once_HotCat_is_fully_initialized" data-mw-thread-id="h-Running_code_once_HotCat_is_fully_initialized-Installing_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Running_code_once_HotCat_is_fully_initialized-Installing_HotCat_on_another_wiki"></span>Running code once HotCat is fully initialized<span data-mw-comment-end="h-Running_code_once_HotCat_is_fully_initialized-Installing_HotCat_on_another_wiki"></span></h3></div> </div> <p><span id="Running_code_once_HotCat_is_fully_initialized"></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>There may be rare occurrences where you want to add your own JavaScript code to run after HotCat has been loaded and initialized. </p> </div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">As of Version 2.41 (August 2018)</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat fires a hook called <code>hotcat.ready</code> that you can add callback functions to, for executing your own code after HotCat is ready. </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">// Add this to MediaWiki:Gadget-HotCat.js/local_defaults</span> <span class="nx">mw</span><span class="p">.</span><span class="nx">hook</span><span class="p">(</span><span class="s1">'hotcat.ready'</span><span class="p">).</span><span class="nx">add</span><span class="p">(</span><span class="kd">function</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nx">$</span><span class="p">(</span><span class="s1">'#catlinks'</span><span class="p">).</span><span class="nx">css</span><span class="p">({</span><span class="w"> </span><span class="nx">backgroundColor</span><span class="o">:</span><span class="w"> </span><span class="s1">'pink'</span><span class="w"> </span><span class="p">});</span><span class="w"> </span><span class="c1">// Horrid; just as an example.</span> <span class="p">});</span> </pre></div> <p><span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">Version 2.14 to Version 2.40</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>HotCat provides a method <code>runWhenReady</code> to register code a callback once HotCat is ready. The <code>runWhenReady()</code> function is part of the <code>HotCat</code> global object, and takesone parameter, which is a function. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>On pages where HotCat is disabled or has problems, the registered functions will <i>not</i> be called. </p> </div> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">// Add this to MediaWiki:Gadget-HotCat.js/local_defaults</span> <span class="nb">window</span><span class="p">.</span><span class="nx">HotCat</span><span class="p">.</span><span class="nx">runWhenReady</span><span class="p">(</span><span class="kd">function</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nx">$</span><span class="p">(</span><span class="s1">'#catlinks'</span><span class="p">).</span><span class="nx">css</span><span class="p">({</span><span class="w"> </span><span class="nx">backgroundColor</span><span class="o">:</span><span class="w"> </span><span class="s1">'pink'</span><span class="w"> </span><span class="p">});</span><span class="w"> </span><span class="c1">// Horrid; just as an example.</span> <span class="p">});</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>This method requires that the <code>window.HotCat</code> exists and is defined. Therefore, this can only be used from /local_defaults, which loads when <code>window.HotCat</code> is define. </p> </div> <p><br/> <span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;"><span lang="en" dir="ltr" class="mw-content-ltr">Before Version 2.14</span></span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Before Version 2.14, this ability did not exist. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Intercepting_the_page_edit_HotCat_will_make" data-mw-thread-id="h-Intercepting_the_page_edit_HotCat_will_make-Installing_HotCat_on_another_wiki"><span data-mw-comment-start="" id="h-Intercepting_the_page_edit_HotCat_will_make-Installing_HotCat_on_another_wiki"></span>Intercepting the page edit HotCat will make<span data-mw-comment-end="h-Intercepting_the_page_edit_HotCat_will_make-Installing_HotCat_on_another_wiki"></span></h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">HotCat internally uses a form to submit its category edits to the servers.</span> <span style="background-color:#FFC; color:inherit; border:1px solid #88A; padding:0.2em;">{{{1}}}</span> , <span lang="en" dir="ltr" class="mw-content-ltr">HotCat exposes this form such that user code may intercept the edit.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The form has the ID <code>hotcatCommitForm</code>, and by registering an <code>onsubmit</code> event handler on the form, you can intercept the edit and modify it before it is finally sent to the servers. You can even block the edit, if you so wish. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Perhaps the simplest way to register an <code>onsubmit</code> handler is using jQuery: </p> </div> <div style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">// Assuming you have jQuery, and $ referes to window.jQuery:</span> <span class="nx">$</span><span class="p">(</span><span class="s1">'body'</span><span class="p">).</span><span class="nx">on</span><span class="p">(</span><span class="w"> </span><span class="s1">'submit'</span><span class="p">,</span><span class="w"> </span><span class="s1">'#hotcatCommitForm'</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="w"> </span><span class="p">(</span><span class="nx">evt</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nx">alert</span><span class="w"> </span><span class="p">(</span><span class="s2">"HotCat edit hook"</span><span class="p">);</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> <span class="p">});</span> </pre></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If your event handler returns <code>false</code>, the form submission will be aborted; the edit will not be sent to the server. Note that you <i>must</i> use the hotcatCommitForm selector as described: HotCat creates this form dynamically when it starts up, so a simple <code>$('#hotcatCommitForm')</code> might not yet find the form. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you don't have jQuery or don't want to use it, you should install your <code>onsubmit</code> handler inside a <code><a href="#Running_code_once_HotCat_is_fully_initialized">runWhenReady()</a></code> hook. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The <code>hotcatCommitForm</code> has the same structure as a normal edit form: it has a textarea named <code>wpTextbox1</code>, a summary named <code>wpSummary</code>, and so on. Your hook can modify the form in any way it likes, but it can, of course, also break the form completely, causing the form submission to fail. If you use the jQuery method shown above to register your event handler, the variable <code>this</code> will refer to the form itself inside the event handler. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The following example shows a possible use of this: make HotCat auto-save always, even if multiple categories are changed: </p> </div> <div id="auto-save-code" style="margin-left:3em;"> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">mw</span><span class="p">.</span><span class="nx">loader</span><span class="p">.</span><span class="nx">using</span><span class="p">(</span><span class="s2">"mediawiki.user"</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nx">$</span><span class="p">(</span><span class="s1">'body'</span><span class="p">).</span><span class="nx">on</span><span class="p">(</span><span class="w"> </span><span class="s1">'submit'</span><span class="p">,</span><span class="w"> </span><span class="s1">'#hotcatCommitForm'</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="c1">// The variable "this" refers to the form. Its fields can be accessed directly, e.g.</span> <span class="w"> </span><span class="c1">// this.wpTextbox1 gives you the textarea containing the page text of the edit.</span> <span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">submitType</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">wpDiff</span><span class="p">;</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nx">submitType</span><span class="w"> </span><span class="o">&&</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">oldid</span><span class="w"> </span><span class="o">||</span><span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">oldid</span><span class="p">.</span><span class="nx">value</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s1">'0'</span><span class="p">))</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="c1">// Switch form submission from diff to save. Don't do this if "oldid" is set to anything but '0':</span> <span class="w"> </span><span class="c1">// that indicates an edit conflict with yourself, and in that case you really, really do want</span> <span class="w"> </span><span class="c1">// to see the diff!</span> <span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">wpEditToken</span><span class="p">.</span><span class="nx">value</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nx">mw</span><span class="p">.</span><span class="nx">user</span><span class="p">.</span><span class="nx">tokens</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">"csrfToken"</span><span class="p">);</span> <span class="w"> </span><span class="nx">submitType</span><span class="p">.</span><span class="nx">name</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nx">submitType</span><span class="p">.</span><span class="nx">value</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">'wpSave'</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="kc">true</span><span class="p">;</span> <span class="w"> </span><span class="p">});</span> <span class="p">});</span> </pre></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The default implementation of HotCat does not auto-save when multiple categories are changed to give the user a chance to check the edit and back out if it isn't what was intended. With the above event handler installed, edits made through HotCat will always automatically be saved directly, so use this with care! </p> </div> <p><span id="Problems?"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Des_problèmes_?" data-mw-thread-id="h-Des_problèmes_?"><span id="Des_probl.C3.A8mes_.3F"></span><span data-mw-comment-start="" id="h-Des_problèmes_?"></span>Des problèmes ?<span data-mw-comment-end="h-Des_problèmes_?"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Des_probl\u00e8mes_?","replies":[]}}--></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you have any problems with HotCat, report them at <a href="/wiki/MediaWiki_talk:Gadget-HotCat.js" title="MediaWiki talk:Gadget-HotCat.js">MediaWiki talk:Gadget-HotCat.js</a>. Please note that we cannot give, in general, support for installing or running HotCat on other Wikis. </p> </div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐55b5456bcb‐tm2lf Cached time: 20241120211017 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.052 seconds CPU time usage: 0.334 seconds Real time usage: 0.425 seconds Preprocessor visited node count: 1910/1000000 Post‐expand include size: 30637/2097152 bytes Template argument size: 1995/2097152 bytes Highest expansion depth: 10/100 Expensive parser function count: 106/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 32909/5000000 bytes Lua time usage: 0.074/10.000 seconds Lua memory usage: 1716621/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 170.605 1 -total 51.38% 87.652 1 Template:Gadget-help 35.94% 61.311 2 Template:Tmbox 16.38% 27.940 1 Template:Lang_links 15.93% 27.178 1 Template:2019_Coolest_tool_award 14.54% 24.811 1 Template:Userbox 7.83% 13.359 11 Template:Anchor 6.94% 11.837 6 Template:Keypress 5.41% 9.238 1 Help:Gadget-HotCat/Compatibility 4.32% 7.374 8 Template:Key_press/core --> <!-- Saved in parser cache with key commonswiki:pcache:115037424:|#|:idhash:canonical and timestamp 20241120211017 and revision id 948724272. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://commons.wikimedia.org/w/index.php?title=Help:Gadget-HotCat/fr&oldid=948724272">https://commons.wikimedia.org/w/index.php?title=Help:Gadget-HotCat/fr&oldid=948724272</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Commons_help/fr" title="Category:Commons help/fr">Commons help/fr</a></li><li><a href="/w/index.php?title=Category:HotCat/Translations&action=edit&redlink=1" class="new" title="Category:HotCat/Translations (page does not exist)">HotCat/Translations</a></li><li><a href="/w/index.php?title=Category:Commons_gadgets_enabled_by_default/Translations&action=edit&redlink=1" class="new" title="Category:Commons gadgets enabled by default/Translations (page does not exist)">Commons gadgets enabled by default/Translations</a></li><li><a href="/w/index.php?title=Category:Commons_categories/Translations&action=edit&redlink=1" class="new" title="Category:Commons categories/Translations (page does not exist)">Commons categories/Translations</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-user-shown">Hidden category: <ul><li><a href="/wiki/Category:Gadget_script_documentation" title="Category:Gadget script documentation">Gadget script documentation</a></li></ul></div></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" > <h3 id="p-personal-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Personal tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-uls" class="mw-list-item active"><a class="uls-trigger" href="#"><span>English</span></a></li><li id="pt-anonuserpage" class="mw-list-item"><span title="The user page for the IP address you are editing as">Not logged in</span></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li><li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-createaccount" class="mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Help%3AGadget-HotCat%2Ffr" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li><li id="pt-login" class="mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Help%3AGadget-HotCat%2Ffr" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li> </ul> </div> </nav> <div id="left-navigation"> <nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-namespaces-label" > <h3 id="p-namespaces-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Namespaces</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected mw-list-item"><a href="/wiki/Help:Gadget-HotCat/fr" title="View the help page [c]" accesskey="c"><span>Help page</span></a></li><li id="ca-talk" class="new mw-list-item"><a href="/w/index.php?title=Help_talk:Gadget-HotCat/fr&action=edit&redlink=1" rel="discussion" class="new" title="Discussion about the content page (page does not exist) [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" > <label id="p-variants-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">français</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label" > <h3 id="p-views-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Views</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected mw-list-item"><a href="/wiki/Help:Gadget-HotCat/fr"><span>View</span></a></li><li id="ca-edit" class="mw-list-item"><a href="/w/index.php?title=Special:Translate&group=page-Help%3AGadget-HotCat&action=page&filter=&language=fr" title="Edit this page [e]" accesskey="e"><span>Translate</span></a></li><li id="ca-history" class="mw-list-item"><a href="/w/index.php?title=Help:Gadget-HotCat/fr&action=history" title="Past revisions of this page [h]" accesskey="h"><span>History</span></a></li> </ul> </div> </nav> <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-cactions-label" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label" > <label id="p-cactions-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box"> <h3 >Search</h3> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation"> <input class="vector-search-box-input" type="search" name="search" placeholder="Search Wikimedia Commons" aria-label="Search Wikimedia Commons" autocapitalize="sentences" title="Search Wikimedia Commons [f]" accesskey="f" id="searchInput" > <input type="hidden" name="title" value="Special:MediaSearch"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> </div> <div id="mw-panel" class="vector-legacy-sidebar"> <div id="p-logo" role="banner"> <a class="mw-wiki-logo" href="/wiki/Main_Page" title="Visit the main page"></a> </div> <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu-portal portal vector-menu" aria-labelledby="p-navigation-label" > <h3 id="p-navigation-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Navigate</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-welcome" class="mw-list-item"><a href="/wiki/Commons:Welcome"><span>Welcome</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Commons:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-village-pump" class="mw-list-item"><a href="/wiki/Commons:Village_pump"><span>Village pump</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help center</span></a></li> </ul> </div> </nav> <nav id="p-participate" class="mw-portlet mw-portlet-participate vector-menu-portal portal vector-menu" aria-labelledby="p-participate-label" > <h3 id="p-participate-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Participate</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-uploadbtn" class="mw-list-item"><a href="/wiki/Special:UploadWizard"><span>Upload file</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-latestfiles" class="mw-list-item"><a href="/wiki/Special:NewFiles"><span>Latest files</span></a></li><li id="n-randomimage" class="mw-list-item"><a href="/wiki/Special:Random/File" title="Load a random file [x]" accesskey="x"><span>Random file</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Commons:Contact_us"><span>Contact us</span></a></li> </ul> </div> </nav> <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu-portal portal vector-menu" aria-labelledby="p-tb-label" > <h3 id="p-tb-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Help:Gadget-HotCat/fr" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Help:Gadget-HotCat/fr" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:Gadget-HotCat/fr&oldid=948724272" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:Gadget-HotCat/fr&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FHelp%3AGadget-HotCat%2Ffr"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FHelp%3AGadget-HotCat%2Ffr"><span>Download QR code</span></a></li> </ul> </div> </nav> <nav id="p-coll-print_export" class="mw-portlet mw-portlet-coll-print_export vector-menu-portal portal vector-menu" aria-labelledby="p-coll-print_export-label" > <h3 id="p-coll-print_export-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Print/export</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Help%3AGadget-HotCat%2Ffr"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Help%3AGadget-HotCat%2Ffr&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Help:Gadget-HotCat/fr&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label" > <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In other projects</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <nav id="p-lang" class="mw-portlet mw-portlet-lang vector-menu-portal portal vector-menu" aria-labelledby="p-lang-label" > <h3 id="p-lang-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In Wikipedia</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Wikipedia:%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E5%B7%A5%E5%85%B7/HotCat#兼容性" title="Wikipedia:维基百科工具/HotCat – Chinese" lang="zh" hreflang="zh" data-title="Wikipedia:维基百科工具/HotCat" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=commonswiki&page=Help%3AGadget-HotCat%2Ffr" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 24 October 2024, at 05:42.</li> <li id="footer-info-copyright">Files are available under licenses specified on their description page. All structured data from the file namespace is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>; all unstructured text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Commons:Welcome">About Wikimedia Commons</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Commons:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/commons.wikimedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//commons.m.wikimedia.org/w/index.php?title=Help:Gadget-HotCat/fr&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"codex-search-styles\".\n[1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components");mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-rnwnx","wgBackendResponseTime":169,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Compatibilité_des_navigateurs","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Anciennes_versions-Compatibilité_des_navigateurs","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-How_to_enable","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Tracking","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Interface_utilisateur","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Supprimer_une_catégorie_unique-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Modifier_un_répertoire-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Ajouter_une_catégorie-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Input_box-Interface_utilisateur","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Clés_de_tri-Input_box","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Moteurs_de_recherche-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Category_redirects_and_disambiguations-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Ecrans_Diff-Interface_utilisateur","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Modifier_plus_d'une_catégorie-Interface_utilisateur","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Configuration_utilisateur","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Raccourcis","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Définir_des_raccourcis-Raccourcis","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Utiliser_les_raccourcis-Raccourcis","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Internationalisation","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Installing_HotCat_on_another_wiki","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Copying_HotCat-Installing_HotCat_on_another_wiki","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Using_the_Commons_version_of_HotCat_on_another_wiki-Installing_HotCat_on_another_wiki","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Traductions-Using_the_Commons_version_of_HotCat_on_another_wiki","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Formulaire_de_téléversement-Using_the_Commons_version_of_HotCat_on_another_wiki","replies":[]},{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-Liste_noire-Using_the_Commons_version_of_HotCat_on_another_wiki","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Running_code_once_HotCat_is_fully_initialized-Installing_HotCat_on_another_wiki","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Intercepting_the_page_edit_HotCat_will_make-Installing_HotCat_on_another_wiki","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Des_problèmes_?","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.052"},"limitreport":{"cputime":"0.334","walltime":"0.425","ppvisitednodes":{"value":1910,"limit":1000000},"postexpandincludesize":{"value":30637,"limit":2097152},"templateargumentsize":{"value":1995,"limit":2097152},"expansiondepth":{"value":10,"limit":100},"expensivefunctioncount":{"value":106,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":32909,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 170.605 1 -total"," 51.38% 87.652 1 Template:Gadget-help"," 35.94% 61.311 2 Template:Tmbox"," 16.38% 27.940 1 Template:Lang_links"," 15.93% 27.178 1 Template:2019_Coolest_tool_award"," 14.54% 24.811 1 Template:Userbox"," 7.83% 13.359 11 Template:Anchor"," 6.94% 11.837 6 Template:Keypress"," 5.41% 9.238 1 Help:Gadget-HotCat/Compatibility"," 4.32% 7.374 8 Template:Key_press/core"]},"scribunto":{"limitreport-timeusage":{"value":"0.074","limit":"10.000"},"limitreport-memusage":{"value":1716621,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-55b5456bcb-tm2lf","timestamp":"20241120211017","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>