Forum:Editing categories in visual and source editors

__NOWYSIWYG__

Thanks to SpikeToronto for this info ( in a blog comment ). I can now go back to source mode alone to edit, add, and remove categories from pages. The key is checking "Disable Category module" in preferences (editing tab). Previously, I was unable to remove categories when editing in wide-screen mode. Now I can.

Categories (adapted from SpikeToronto info):

In Source Mode, categories are now working like they should if I one does the following:


 * Go to Preferences.
 * Go to the Edit tab.
 * untick: Enable visual editor (where available).
 * tick: Widen the Source mode edit box to fill the entire screen.
 * untick: Do not show link suggest in Source mode.
 * tick: Disable Category module (only applies if editing in visual mode has been disabled).

Then, all the categories that have been manually entered into a page (i.e., not by a template) will appear in the edit window. And, new categories can be added in the usual manner by typing two opening square brackets, the word category plus a colon, and the starting letters. Then, LinkSuggest … er … CategorySuggest … kicks in. Some people do not like LinkSuggest or CategorySuggest. That can be turned off in preferences (see above list).

This also works in wikis with RTE disabled.

Can someone sticky this to the FAQ list (Forum:FAQs - Please read).

There is a way to edit categories without disabling the category module in preferences. Even in source mode the right sidebar can be opened or closed by clicking the arrow icon on the right edge. It is very small, but it is there. The category module can then be seen in the right sidebar. Once the categories are edited one can go back to wide-screen format by closing the right sidebar by clicking the arrow. It is not as straightforward as editing completely in the wide-format, source mode window though. --Timeshifter 06:19, September 9, 2011 (UTC)


 * The "Widen the Source mode edit box to fill the entire screen." and "Do not show link suggest in Source mode." options are separate features and have little to do with controling categories 'the old way'.


 * So the above list can be shortened to the following:
 * Go to Preferences.
 * Go to the Edit tab.
 * untick: Enable visual editor (where available).
 * tick: Disable Category module (only applies if editing in visual mode has been disabled).


 * You can still add categories like you used to in source mode with the category module enabled by typing two opening square brackets, the word category plus a colon etc. The difference is that after a save they will be shown in the category module instead of the edit area. — Sovq 06:31, September 9, 2011 (UTC)


 * Sovq, categories saved will be shown in the edit area if each step in the list at the top of the page is followed. Or, at least that’s how it was working yesterday. We all know how quickly, and without warning, things can change around here! Smiley.png — Spike Toronto  06:44, September 9, 2011 (UTC)


 * It is not necessary to "Widen the Source mode edit box to fill the entire screen". Link suggest is a matter of choice, too, and not necessary for getting category wikitext back into the source mode window. By the way, Spike, please do not change my messages. I adapted your message to my needs, credited you, and I had a reason for everything I wrote or changed. --Timeshifter 07:08, September 9, 2011 (UTC)

You do not “adapt” someone else’s message. You either quote it exactly, or not at all. I don’t want to be responsible for your “adaptation”. After all, I had no part in it. If you are going to change someone else’s words, you need to indicate those changes clearly. It’s the way it’s done. It’s common courtesy. Otherwise, it creates the misconception that everything up there came from me, including your changes. — Spike Toronto  07:15, September 9, 2011 (UTC)


 * Spike, sorry I credited you. Next time when I use your ideas, and mix them with mine as I did here, I will do it all without crediting you. I will rewrite more so that it is not plagiarism. I will not credit you at all so that I don't to have to justify to you whether I rewrote the text enough.

Sovq, I did not see the arrow at first for opening and closing the right sidebar. Even with that ability I prefer editing categories completely in the source mode window most of the time.

One can add categories in the source mode window whether the category module is enabled or not. The problem though is that if the category module is enabled then one can not remove categories by deleting them from the source mode edit window. Category wikitext is not shown in the source mode edit window after categories are saved if the category module is enabled. --Timeshifter 07:26, September 9, 2011 (UTC)

Wish list
I would like link-suggest (category-suggest) to work in the source-mode edit window too, even when the visual editor is enabled. Right now it only works inside the source-mode edit window if the visual editor is disabled. Otherwise, I can not use the visual editor since I have to disable it in order to get link-suggest (category-suggest) inside the source-mode edit window. I use wide-screen source-mode for nearly all my editing, and so I prioritize all my preferences for that. I wish I did not have to disable the visual editor in order get the source mode to work the way I like it. --Timeshifter 02:35, September 10, 2011 (UTC)