0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/migrations/core/lib
Gerhard Schlager 5293877b46 MT: Rename MentionResolver to MentionClassifier [ci skip]
It classifies a mention into a mention_type; it doesn't resolve
anything to ids. "Resolver" stays reserved for the importer's
id-resolution (PlaceholderResolver).

Also, from the review:
- ignore a blank here_mention setting like the importer does
  (.presence), and spec the disabled case
- move the duplicated normalize delegator from the Mention and
  Hashtag detectors into Detectors::Base
- fix the DETECTORS comment (InternalLink is configured too), spell
  out that one RawExtractor serves one worker thread, and drop the
  positional "index 1" cross-reference
- explain why a topic: without a post: drops both quote coordinates
- make the Detectors alias private like the enum aliases
2026-07-21 22:01:48 +02:00
..
migrations MT: Rename MentionResolver to MentionClassifier [ci skip] 2026-07-21 22:01:48 +02:00
migrations-core.rb
migrations.rb