I mean in case if you will implement automation of this feature, you should choose in these 5 possible ways the way that allows maximal simplicity for indexing with third party search engines
I give you practical requirements, certainly all of them relate to each other
About your practice to include Js code inside PHP code.
I met some places inside the framework.
From my point of view it is rather bad style.
What is your official position?
The problem is that many stupid coders who will see this inside the framework will begin to do it in GIANT amounts inside the application with an argument "See this? It is allowed!"
You should include an official note about this style into your coding practices guide.
On this level all CRUD operations for all models classes (except log itself) should be logged with user()->id/login/name and datetime, name of operation, recordId and model class name
Such feature is required ion many applications by default.
Certainly complex applications require such logging on business logic level.
But for many simple applications or first versions of complex applications require the described functionality will be absolutely enough.
I can appreciate your effort on putting this huge list but consider this is a framework and the core need to stay small and anything that application specific or can turn into extension or module should be consider first.
The whole Yii download the last I check is about 4MB which is quite big for a framework in my mind.
It is possible and very very easy to make customized builds "on request" for the framework core.
I hope that some of my requests can be implemented by extensions developers (even in case if these extensions will be paid) if they cannot be included into the framework core.