I copied the text from the old wiki, saved the page, got a rendering error with the following text:
Failed to render page: uninitialized constant Twitter::Autolink
Can anyone help me?
gitlab-grit (2.8.2)
gollum (4.1.2)
gollum-grit_adapter (1.0.1)
gollum-lib (4.2.7)
rvm (1.11.3.9)
twitter-text (2.1.0)
wikicloth (0.8.3)
gem -v : 2.6.14
(I dont know what else might be needed)
P.S. MD pages works fine!
I've traced this issue back to the 2.x release of twitter-text, which wikicloth uses internally. So this seems to be an issue for the wikicloth maintainers. However, you could try to manually fix twitter-text to the latest 1.x release and let me know if that resolves your issue.
Everything seems to work with twitter-text v. 1.14.7.
@bartkamphorst so is our strategy to fix twitter-text to the old version in 5.x? Or should we open a PR at wikicloth?
Both, I guess?
Update: there has been a wikicloth PR related to this since February. While it is unclear when the PR will be merged, it at least gives a hint for a monkeypatch: replace (or alias) Twitter::Autolink with Twitter::TwitterText::Autolink.
Update: the wikicloth PR has been merged into master, but we are currently waiting for a new wikicloth gem to be released.