User talk:Enterprisey/short-tab-titles.js

Category and Category Talk
Can I suggest that the Category namespace be shortened to "CAT" and that the Category Talk namespace be shortened to "CAT-T" or "CAT Talk" or "CATT" or something? This would then become:

Just a thought. --DannyS712 (talk) 02:56, 16 December 2018 (UTC)
 * Yes, that sounds like a great idea! Thanks for the patch. Enterprisey (talk!) 05:59, 20 December 2018 (UTC)
 * I just tested it - the CAT shortening works, but the category talk doesn't work at all... Are you okay with me forking this and doing some testing? --DannyS712 (talk) 07:16, 20 December 2018 (UTC)
 * I think I figured it out - "Category Talk:" should be "Category talk:" (talk is lowercase). Sorry for the mistake --DannyS712 (talk) 07:18, 20 December 2018 (UTC)
 * Yup, fixed. Thanks for noticing it! Enterprisey (talk!) 07:18, 20 December 2018 (UTC)
 * It works!!! Thank you so much. If I write up the code for some other longer namespaces (MediaWiki comes to mind), would you be willing to include that too? I know I'm not the only person who uses this script, but I think it could be useful. --DannyS712 (talk) 07:22, 20 December 2018 (UTC)
 * Sure, sounds fine to me. I'm sure the performance cost of a few more if statements won't be too bad. Enterprisey (talk!) 07:26, 20 December 2018 (UTC)

Update on my fork
Hey. Take a look at User:DannyS712 test/short-tabs.js. I kind of got lost down a rabbit-hole. All namespaces have associated -T for talk, regardless of if they are shortened or not; a bunch of big wp pages (afd, cfd, rfd, mos, etc) are shortened, the " - Wikipedia" at the end of the title is stripped, and I still planning on adding some more stuff. What do you think? --DannyS712 (talk) 19:37, 21 December 2018 (UTC)
 * , looks awesome so far! Excited to see where this idea will go. Enterprisey (talk!) 08:58, 22 December 2018 (UTC)
 * I have published version 1.0, available at User:DannyS712/short-tabs.js. Take a look --DannyS712 (talk) 04:16, 24 December 2018 (UTC)