Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Idea: add a tab on G2 nodes showing a list of other nodes containing the word which has just been defined, highlighting the ones which already include a DFN link to the current page.
Variant: use a similar list to show this on the definition page when not editing.
Comments
Comment #1
fgmBumping to 7.x now that the branch is opened.
Comment #2
BenK CreditAttribution: BenK commentedSubscribing
Comment #3
fgmNew features only in current dev version : bumping to 8.x.
Comment #4
fgmIf built on-demand, this could be really long to build, so would need a batch. Imagine a multi-million-node site.
If built during filter processing, it would only work when nodes are being rendered, and would not be reasonably synchronous because the viewing times of the various nodes could be wildly different.
It seems this could/should be something like search indexing, using a cron-based batch process. Or it could leverage the fact that search is already doing this crawling, and rely on implementing hook_search_preprocess() to refresh its own index.
This is still complex but manageable. But the value is questionable when related to the complexity. If you are reading this issue and are interested, please comment on it.