I was imaginating the trigger section to be dfined like this:
Main trigger page with global information about what is a trigger and how it works and description of their different parts with links to their respective pages.
Eatch of these pages contains main navigation links between eatch parts. They also contain navigation links within the same page such as "AI, Animation, Banks, Cameras, Dialogs..." If a navigation link contains nothing (no trigger for example) it will not be a link, but the text will stay there for more uniformity between eatch categorie pages.
The idea is to move all events together, all actions together, all variables together... in such that when you enter the page, you can either use the navigation to find where is what you want to find or the navigator search Ctrl+F to find the exact text in the page. No more digging into sub-pages. All information will be easy to find.
The sub-category pages like this for example "https://sc2mapster.gamepedia.com/Triggers/Category_AI" for AI, will instead contain any usefull information relative to that category "AI" in this case. It could also contain links to usefull tutorials about AI. It could contain usefull information about what other things you would need to make this category works fine. It could contain examples of usage, most common uses, stuff like that. For eatch sub-category (...Cameras, Cinematics, Game, Math, Order, Ping, Selection, Timer, UI, Unit...)
The downside of doing it this way is that the main pages will be huge. But since mapster just got updated to a new faster platform than it's mostly fine. Navigation links are there to help navigate within the page. And if it is really a problem, there might be another solution about using some kind of "spoiler" function to show/hide information within eatch section.
Another downside is, it removes the trigger sorting that was used in the wiki before which was based on how you find them in Built-in Library of the editor (like the link above which uses sorting by group of actors of the same usage and not alphabetically overall). But since you rarely search triggers in how they are categorised in the library, I though it would be more usefull to sort them as how you find them when trying to find triggers when doing mapmaking, which is sorted with the main category (Animation, Bank, Camera...) and then sorted alphabetically. So the sorting you see in the editor is what you see in the wiki sorting.
That's what I was aiming when redoing the trigger part of the wiki. Lots of copy pasting between the sub-sub categories to get that all in the same page sweet and easy to find. Then remove the useless pages and modify the sections like said before with more information about what you can do with Ai, Camera, etc.
Before slacking on the job, I was working on continuing to regroup the Actions together. I was going one by one between the wiki and the trigger editor to make sure that all new triggers are included. There was still more than a day of work just for that to do. Once all the actions are in and that all the wiki trigger is ready, we'll have to remove the useless pages and relink few parts correctly like the main wiki page. Oh and... relink many other individual pages to be able to navigate back where you was. Ex.: when you are in condition category and click on Action Damage that it can links back to the category and not to the main trigger page. That's what I would call polishing, but still it would be usefull.
Then, it's all good to go for tutorials linking to triggers and stuff. It will be great. I'm sure about that.
Note: About functions and actions, to me they are truely different things in such that if you try to find an action and you search for a condition, you will not find anything and vice versa. Conditions are "if xyz..." actions are "do xyz..." They should be separated and the distinction explained.
We could also create a reference page which shows the main links and how they are written and how to use them in the wiki like:
- [[Triggers/Category-Events]] (to go to a category)
- [[triggers/Category_Actor|Actor]] (to go to a sub-category, note the difference in capitals and the underscore)
- [[triggers/events/player-sends-ai-wave]] (to go to a specefic page)
Sadly, in rare occasion the links are shorter than the description or slightly differ from it. At best anyone who creates a new pages with links, he should make sure these does not exist at first. Redoing all the page naming for uniformity would be a monumental task that I doubt anyone is willing to do. I think risk vs rewards tends too much on the risky side for that. So let's just get used to how it's named.