Extension talk:CategoryTree

Jump to navigation Jump to search

About this board

Archives 

1 (2006/2007) - 2 (2008) - 3 (2009) - 4 (2010) - 5 (2011)

could we change "►" as "+" sign and "▼" as "-" sign?

6
Summary by Alexandroslee

已經解決

Alexandroslee (talkcontribs)

could we change "►" as "+" sign and "▼" as "-" sign?

use unicode or utf8 the define "►" and "▼" ?

Alexandroslee (talkcontribs)

read this but please telling me how to do ( modify which file ? )

https://www.mediawiki.org/wiki/User:CoolCornucopia#Tips:_Change_collapse/expand/empty_images_in_the_CategoryTree

User:CoolCornucopia#Tips: Change collapse/expand/empty images in the CategoryTree

Tips: Change collapse/expand/empty images in the CategoryTree

MediaWiki:categorytree-collapse-bullet

4 5 9 10 <![if !IE]> 11 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9QTFRFeXl53d3dmpqasbG 12 x////GU0iEgAAAAV0Uk5T/////wD7tg5TAAAAK0lEQVQI12NwgQIG0hhCDAwMTCJAhqMCA4MiWEoIJABiOCooQhULi5BqMgB2bh4svs8t+QAAAABJRU5ErkJggg==" width="16" height="16""/> 13 <![endif]>


MediaWiki:categorytree-expand-bullet

4 5 9 10 <![if !IE]> 11 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF3d3deXl5////nZ2 12 dQA6SoAAAAAN0Uk5T//8A18oNQQAAADNJREFUeNpiYEIDDMQKMKALMDOgCTDCRWACcBG4AEwEIcDITEAFuhnotmC4g4EEzwEEGAADqgHmQSPJKgAAAABJRU5ErkJggg==" width="16" height="16"/> 13 <![endif]>


MediaWiki:categorytree-empty-bullet

4 5 10 11 <![if !IE]> 12 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAAAXNSR0IArs4c6QAAAAxQTFRFeXl53d3dmpqasbGxwe9qYQAAAAF0Uk5TAE 13 Dm2GYAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AQaDSEvTJrcJgAAA 14 AxJREFUCNdjYKAuAAAAUAABIhPodQAAAABJRU5ErkJggg==" alt="[x]" width="16" height="16"/> 15 <![endif]>

Alexandroslee (talkcontribs)

MediaWiki:categorytree-empty-bullet

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAErSURBVDhP7ZRNTsMwEIWfbZRQtQkXQIJVOQnskIrKDSoWFXfICrgiG7gBP01iGie2Y8ZuQUXKIpAVUj9rMtbYeTPJ4rEif3HjyRj5KgdjDH8lTRO0ToDpRrrzi0tMp2ewrd0e94fRqqoKpyfHuLt/AJ6fHl2WZc7TWuWsWf8qHL3jmc2uQuYEtDGwpoKUH2DikNrGvYKLEYpS0pwNhBBhYh6eW/wf9J/gm/SJLrqrA9gLDmcvOJx/Ivjtgjt2SMbxI77oqu3C/YExFuJghAkZrVI5VLUi7YYMV1OuQzZaolYF7X19E3A10qOUZCLyRBUEmbVrt1jc4u31HaUskSQpXQa0NiSgyKJ4mCaO49CYVGCtDbUoikLNaI3l8gbz67kXNGSKGy8binMtPgGY9M3PJissMgAAAABJRU5ErkJggg==" alt="" />

Alexandroslee (talkcontribs)

MediaWiki:categorytree-collapse-bullet

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAZiS0dEAAAAAAAA+UO7fwAAAAl2cEFnAAACWAAAAlYAjfUIBgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMC0xMi0wM1QyMDozMjoxMC0wNTowMBM2t6oAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMTItMDNUMjA6MzI6MTAtMDU6MDBiaw8WAAABsUlEQVQ4T+1TTW/UMBB94zhK2e6FItoeOCAO/CIO/BjEP4A7EhL8A34MRRw5AIsqito0H042sc0be7sCBHthT4j3NIntjCfPM2OJBPYIs3nvDf8D/j1Slc/rc7i5hxZ8nEeIGIQQUNkKhRQQOmovGK7r2AePmaZz9ZmwxoEc4OToFPLs7fN4cu8US7vE5Cd4oTPptwyYZeamGX3kT3VOi+QkE5qiRSst3q3f4+HHB5BXH17H7v5ABero0UkP5UA6WsfxFdly1PCpvESd6HBNvWs9KWFQvClhgg/J6VNc4TNW+BovcBmvtlbHGkMYMYY1pqA6PY8tsCj5rBjokLYE5lsIFGVc0P80aChbVWQNXVKW6dBTtVNKVp3p0vG3kIAj3Iap7TXFN9k52fjTeEhzmslrN6mYSEbZGFEIjLWQJ2dP44v2JYYLl6oXNOEFU16wmibAR+bI+LxPb71auXkrtPFUKE/9yD7ObfPl2wouOizsAlVRwUqJYaYK5kxE0E8dFuUhnbV12EY3wX4E1+7eOc4BN0t7wT92l/V2KHdhZ8Dfbdam3oWdRUkBf/mqVf8zgO+7gBCePjBGDQAAAABJRU5ErkJggg==" alt="" />

Alexandroslee (talkcontribs)

MediaWiki:categorytree-expand-bullet

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZEsRAUVLA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ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAktJREFUOE+tk8tqFEEUhv/udi46aiaIkpCFFzSu48atKxFd5RXcCz6NLyDiyp0LQQTdiBC3QsTbOJmZZCbTM32d6e7qrvLv6pEISSoK/nCo26mvzjlVZSkK/1EnAkXowZ1nun+x1YTTOq/7x8kI/NHr4ZnfwtXTdUip8PbbEE9ut9FoX1h4HJa9aI+UyFL0ZwpbowgfBjFGcYFCpIvVo2UE2paFYZxhGOXYizKMQgHHNm4xA1kR7Ic53EjAJWwSZjiBZwYyQIwJ8RhhEOeImbJtc9KgP4A5oASNbdmHQp1jkUjWskA4STDseHDqUnuX6wd2IH3LwnOx+dHDRquGPOeGgk4FQeRu7Rb4/N2HYA0vNU9hY9WG5JoShW4dPpLXW7sYP78Lq9GugJ2fHdz7VMeaJVFkEpIRgWBvkmJvEEKlhTabELrALjjmaZJjRb/xToTtp7dw88Z6lbKUEulcYMrie1EKPxboDiIMeiFQwhdWpp7MUkT0icLfbcI1pkJGKQ1cPVNDQNgkVpjGICxBr58g4htUSRWdjoYWBAUiL0PsCcynAgkN0xDX1toaWP0UJfHy3XskmdAnCKZRc2zsez4evVrGWatKzw9mePGQ1XDOcQsjYqnLH9Rs1LB5/06JM3+9br+Ly4+3sdTkmUIiGE6h3jxgXksLj8MyvsNU105UN1rWia2+eoOMQC1Cy3RlXsJoTMukvwDmOkINKyM288xAFph/z0c8zjCjwQ04aSYaL0XJAu7gC77ujMsR1q+sYHnlOpnHQ43AfxfwC1TbkG75lI7IAAAAAElFTkSuQmCC" alt="" />

Alexandroslee (talkcontribs)

such like this how can I do ?

MediaWiki:categorytree-empty-bullet

data:image/png;base64,iVBORw0KGgoAAAANSUhEUg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h4HJa9aI+UyFL0ZwpbowgfBjFGcYFCpIvVo2UE2paFYZxhGOXYizKMQgHHNm4xA1kR7Ic53EjAJWwSZjiBZwYyQIwJ8RhhEOeImbJtc9KgP4A5oASNbdmHQp1jkUjWskA4STDseHDqUnuX6wd2IH3LwnOx+dHDRquGPOeGgk4FQeRu7Rb4/N2HYA0vNU9hY9WG5JoShW4dPpLXW7sYP78Lq9GugJ2fHdz7VMeaJVFkEpIRgWBvkmJvEEKlhTabELrALjjmaZJjRb/xToTtp7dw88Z6lbKUEulcYMrie1EKPxboDiIMeiFQwhdWpp7MUkT0icLfbcI1pkJGKQ1cPVNDQNgkVpjGICxBr58g4htUSRWdjoYWBAUiL0PsCcynAgkN0xDX1toaWP0UJfHy3XskmdAnCKZRc2zsez4evVrGWatKzw9mePGQ1XDOcQsjYqnLH9Rs1LB5/06JM3+9br+Ly4+3sdTkmUIiGE6h3jxgXksLj8MyvsNU105UN1rWia2+eoOMQC1Cy3RlXsJoTMukvwDmOkINKyM288xAFph/z0c8zjCjwQ04aSYaL0XJAu7gC77ujMsR1q+sYHnlOpnHQ43AfxfwC1TbkG75lI7IAAAAAElFTkSuQmCC

How to define the tree node? ( Rookie stupid problem )

17
Summary by Alexandroslee

Thanks a lot, I got it!

Alexandroslee (talkcontribs)

Hi,

I don't know how to define the tree node?

I had install Extension:CategoryTree https://www.mediawiki.org/wiki/Extension:CategoryTree

and had activated

but I don's know how to define the tree node ?

such as

<categorytree mode="pages">abc</categorytree>

<categorytree mode="pages">def</categorytree>

means I would create a page abc this a tree node

and I

<categorytree mode="categories">xyz</categorytree> this is parent node?

<categorytree mode="pages">abc</categorytree>

<categorytree mode="pages">def</categorytree>

Please help me

this is a Rookie stupid problem

-- Alexandroslee (talk) 07:41, 14 August 2018 (UTC)

Alexandroslee (talkcontribs)

copy the code and I creat a category Manual

<categorytree mode="Category" style="float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;">Manual</categorytree>

but won't work?!

Alexandroslee (talkcontribs)

I had create a Category:Manual

the content like this

[[category:AAA]]
[[category:BBB]]
[[category:CCC]]

BUT WON'T WORK

Tacsipacsi (talkcontribs)

Could you please share more details? What does “not working” mean? There is no output? You get some error message? The raw wikitext is displayed? Something else? Have you verified that the extension is installed (i.e. it shows up on Special:Version)? Can you share an exact URL where the problem occurs (if the wiki is public)?

Alexandroslee (talkcontribs)

I am useing version 1.26.3

I had successfully use to show the tree,

But how could I use the "custom tag " ?

Alexandroslee (talkcontribs)

Would you mind providing some examples for

The {{#categorytree}} parser function and

The Special:CategoryTree page for me?

I try to control the sequence of the tree items

Alexandroslee (talkcontribs)

and I can't hide the prefix

<categorytree mode="all" hideprefix="always">Job:jobcategory</categorytree>

but won't work !

please help!

Alexandroslee (talkcontribs)

now I use the wiki category , and I try the namespace ( such as "Job:FEE" )

and I wish I could hide the Job (prefix ? ) only left "FEE"

how should I do?

Alexandroslee (talkcontribs)

I am useing zh-tw and the syntax seem change to traditional Chinese

it make me very Confuse

suck as the category been to "分類" so I have to add the category like 分類:jobcategory

but when I try to create the namespace like "jobs" and the category like 分類:jobs:jobcategory

and when I setup the category tree like

<categorytree mode="all" hideprefix="always">Job:jobcategory</categorytree>

but the prefix "jobs" still show at each item !

I am frustrated , please help, Tanks a lot!

Alexandroslee (talkcontribs)

I try the Category:Manual

and the sub is Manual:Contents

that meas the namespace is a Category

so I have to set a Category such as "jobs"

then I create jobs:FEE and jobs:BED and jobs:FED

the put the

in each page jobs:FEE and jobs:BED and jobs:FED

then how can I use the category tree and hide the prefix "jobs"

that is my question

Alexandroslee (talkcontribs)

I use the mode="all' and expected the pages is show off

but only categoris show !

what's worng I made?

Alexandroslee (talkcontribs)

so I would like to know

how to

as a "custom tag" (or "parser function") to show a category structure in-line on a wiki page,

or

and as a special page.

Is there some examples ?

Tacsipacsi (talkcontribs)

Your messages are a bit messy for me, I answer what I understand:

  • Items are ordered by type (category, page, file, in this order), and by sort key within each type. This behavior cannot be changed, but the sort keys can be, of course.
  • hideprefix hides namespace prefix. For Category:Jobs:Jobcategory it’s Category:. For Jobs:Jobcategory it may be Jobs: if it’s a real namespace registered in MediaWiki, or nothing otherwise. Pages can’t have more than one namespace, so a category’s namespace will always be Category.
  • mode=all should show all pages in the category, i.e. the ones that show up in the category listing (not the ones that are manually linked from the category page). If it’s not the case, you’ve found a bug.
  • <categorytree> is a custom tag which shows a category structure on a wiki page, and Special:CategoryTree is a special page. Why aren’t they good?
Alexandroslee (talkcontribs)

Thank you very much ! I had show the category tree now, but only the order

how about the " sort keys " you mention ?

Alexandroslee (talkcontribs)

Thanks , now I got the meaning of Special:CategoryTree is a special page,

cause I think maybe I could edit the special page to defind the items and order

Tacsipacsi (talkcontribs)
Alexandroslee (talkcontribs)

Thanks a lot, I got it and done!

List page in category only if its not already listed in another category

1
Kaziekama (talkcontribs)

Say I have a page tagged with two categories, AAA and BBB, is there a way to not show the page in a categorytree for AAA if it is also tagged in BBB? Or is there another way to categorize pages with multiple categories?

Reply to "List page in category only if its not already listed in another category"

Suggestion: CategoryTree enhancement for touch screens

2
Dennis J au (talkcontribs)

Touch Problem:

On tablet touch devices I do not have the fine finger control necessary to 'touch' activate the '+' and '-' signs to show or reveal the items contained by a category. I usually end up touching the category name itself, which takes me away from the page I'm on, to the category page. This is not what I want to happen. What I'm interested in is to 'show' items in the category while staying on my current page, and then 'touch' linking to one of the pages in the category, not to the category page itself.

Suggestion:

Make the category names themselves, in the hierarchical tree, 'link' to showing beneath them the list of items in the category, rather than taking users off to a separate page devoted to that category.

This behaviour could be controlled by a parameter, users could set it to do things the way the extension currently works, or to do things the way I am suggesting here, i.e. to have clicking or finger tapping on category names showing the items under that category while keeping the user on the page they were already viewing.

Urfiner (talkcontribs)

I wrote a pretty stupid script to fix it. You should add it to Mediawiki:Common.js I am not a js developer so probably it is bad written but it works.

User:Urfiner#Fix category links

Reply to "Suggestion: CategoryTree enhancement for touch screens"

Suppress links to categories, only link to pages.

5
Pbsouthwood (talkcontribs)

On Wikivoyage we are using category trees to display related travel topic pages in articles. However, we would like to only display links to pages, we don't want the readers to link to sub-categories. We use mode=pages, but that only affects the bottom level, all the subcategory titles are displayed as links to the category namespace pages.

  • Is there a way to display the category names in the tree without links to the categories?
  • Ideally clicking on the category name would have the same effect as [+] or [-], but that would be a bonus.
Dennis J au (talkcontribs)

Your suggestion is almost identical to the suggestion I made last May. I 'dragged my post to a new location' (using the menu item under the 'More' menu) to place it directly under your post, to give both postings more emphasis.

Pbsouthwood (talkcontribs)

How long should one expect to wait for a response here?

Nemo bis (talkcontribs)

From one minute to one decade; it's the WikiNow.

Urfiner (talkcontribs)

I wrote a pretty stupid script to fix it. You should add it to Mediawiki:Common.js I am not a js developer so probably it is bad written but it works.

User:Urfiner#Fix category links

Reply to "Suppress links to categories, only link to pages."
Skontakt (talkcontribs)

Is it possible to make Category and Subcategory link with expand functions. And disable link to category page.

Dennis J au (talkcontribs)
Urfiner (talkcontribs)

I wrote a pretty stupid script to fix it. You should add it to Mediawiki:Common.js

I am not a js developer so probably it is bad written but it works.

User:Urfiner#Fix category links

Reply to "Category link to expand functions"

Is there a "folder icon" alternative format for CategoryTree

2
GregRundlett (talkcontribs)

I'd like to use "folder" icons for categories, and mime-type "page" icons to mimic a file browser instead of the small triangles of CategoryTree. Does such an option exist, or does anyone know of an implementation that does so? Something like this jQuery plugin

87.190.56.226 (talkcontribs)
Reply to "Is there a "folder icon" alternative format for CategoryTree"

Split a long list into Multi-Column Lists

3
Samuel Goujon (talkcontribs)

Hi all,

Would it be possible to split a long list into multiple horizontal columns?

For example, every 50 categories, a new list is created on the right (keeping the alphabetical order)

Thanks for your help!

Cmjohannes (talkcontribs)

I would also like to know if this functionality is possible. I have a category with 300 member pages, which I would like to display on my main page. Currently, the CategoryTree extension displays one page per line. I would like to use a four or five column table to improve site aesthetics and make the list more readable.

Something like:

<table>

<tr><td>Page A</td><td>Page B</td><td>Page C</td><td>Page D</td></tr>

<tr><td>Page E</td><td>Page F</td><td>Page G</td><td>Page H</td></tr>

</table>

Where/how could/should such display output be implemented?

5.29.23.15 (talkcontribs)

Use template:columns from wikipedia. Just put the categorytree inside the template:columns.

Reply to "Split a long list into Multi-Column Lists"

Download list of subcategories without explicit implementation?

1
137.44.100.2 (talkcontribs)

Hi, I apologise if this may sound silly but I have just come across this category tree which seems very handy but I need just lists of categories and subcategories (like an xml/ json file) as opposed to a visual API of the tree. I realise I could use this API and gradually construct my own list but would ideally like to not have to spend time implementing this if there is a faster route.

I have also come across pywikibot which is suggested below for downloading pages with specific categories, but I am needing to download a lot of pages that fall under the categories "science" and "technology" so a bot is not the best option (I am currently working with the wikidump data: enwiki-20170820-pages-meta-current.xml.bz2 (25.86gb))

Reply to "Download list of subcategories without explicit implementation?"

New Instructions are Confusing and Unclear

3
Johnywhy (talkcontribs)

this instruction is incomplete and confusing:

"if [when??], then mode=pages will be used. It means that if the site configuration hasn't been changed [changed in what way?], the following are equivalent (site configuration may affect the third one)"

Extension:CategoryTree#Notes on the 'namespaces' parameter

Previously, the notes said "otherwise... otherwise... otherwise". Three "otherwise" in sequence is confusing. I attempted to improve with bullets. Meaning is still unclear.

Tacsipacsi (talkcontribs)

I found only one otherwise, which means, as always in English, “if none of the above are true”. Of course it’s incomplete if you change it to “if [when??]”. I tried to clarify the site configuration change.

Johnywhy (talkcontribs)

Thx.

Reply to "New Instructions are Confusing and Unclear"