0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/migrations/core
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
..
bin
config MT: Count foreign-host links as step warnings instead of a summary line 2026-07-08 22:35:56 +02:00
db MT: Carry posts.locale through the conversion 2026-07-10 23:37:43 +02:00
lib MT: Rename MentionResolver to MentionClassifier [ci skip] 2026-07-21 22:01:48 +02:00
spec MT: Precompute a fork-starved step's plan while it waits 2026-07-11 01:25:41 +02:00
.rspec
Gemfile
migrations-core.gemspec MT: Run conversion steps concurrently and split the heavy ones across cores 2026-07-03 11:48:25 +02:00