Thread:Project:Support desk/How to disable Special:Categories/reply (14)

Haha thanks guys!!

I loved reading all of that! That was entertaining/informative.

I guess I should elaborate more on what I am trying to do. I have been using dumpHTML to convert my wiki to a static html output. Unfortunately not everything coverts perfectly (all of the special pages e.g, Special:Categories) So i was just trying to find a shortcut to removing it in the wiki so I don't have to deal with it in the output.

Instead of altering the wiki, I decided to take a different approach (probably safer, less kitten killing, and better) and alter the dumpHTML code.

In case anyone is curious, I just added a jquery script (see below) that deleted the href and replaced it with the word "Categories"

$("#mw-normal-catlinks a[href='../../../../articles/c/a/t/Special%7ECategories_101d.html']").replaceWith('Categories');

I appreciate all your help and all the input you put in!