Finally performed a cross-reference.
According to the results, there are about:
- 350 phrases are used that don't exist
- 280 phrases exist that might never be used
This doesn't include phrases that don't comply with vw_ naming convention. There are several hundred of those as well, but a better count can be established once the above is resolved.
Since each phrase must be investigated individually, this is potentially very time consuming, but worth it if considered as an optimization, of XML size, of memory usage under vB, or as resolving several hundred missing phrase bugs.
It is unfortunate that VaultWiki 4 was developed for the first 2 years with the old VW3 phrases installed, while also not creating any of the new phrases that were referenced in the PHP files. In the interest of saving a small amount of development time earlier, we now have ourselves using even more development time due to the required case-by-case investigations that could be better spent on new features and improvements. Note that the phrase updates must now be applied to both vB AND XenForo.
To check and update the remaining phrase list, see tables:
vw_phrase_missing - contains a list of phrases that are used but could not be found
vw_phrase_unused - contains a list of phrases that exist but were not in
vw_phrase_used - contains a list of phrases that are explicitly used. Dynamically generated calls are not included in this list.