This is an old revision of the document!
https://fontawesome.com/changelog
https://github.com/mackilroy007/font-awesome-v6
Using Node js:
var json = require("{file-path}/icons.json");
var FA6Json = {}; Object.keys(json).forEach(iconName => { const icon = json[iconName]; icon.styles.forEach(style => { if (!FA6Json[style]) { FA6Json[style] = []; } FA6Json[style].push(`fa-${style} fa-${iconName}`); }) }); require("fs").writeFile("{file-path}/FA6icons.json", JSON.stringify(FA6Json,null,2), () => {});
https://discuss.flarum.org/d/5138-moving-flarum-install-between-servers/11
Backup following elements
Restore
Reindex search (for chinese)
USE YourFlarumDataBaseName; ALTER TABLE posts DROP INDEX content; CREATE FULLTEXT INDEX content ON `posts` (`content`) WITH PARSER ngram;
USE YourFlarumDataBaseName; // 这里替换为你的 Flarum 数据库的名字 ALTER TABLE discussions DROP INDEX title; CREATE FULLTEXT INDEX title ON `discussions` (`title`) WITH PARSER ngram;