为什么没有标准化的 wiki 标记语言?
对于我使用过的许多 wiki 工具,每次我都必须学习另一种标记语言。为什么 wiki 标记没有像 HTML、XSLT、SVG 和其他网络语言那样标准化?
For as many wiki tools as I have used, each time I must learn yet another markup language. Why doesn't wiki markup get standardized like HTML, XSLT, SVG, and other web languages?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
有 - 它被称为克里奥尔语。大多数 wiki 都接受这一点,将其作为扩展或补丁。
There is - Its called Creole. Most wikis accept that, as an extension or as a patch.
因为标准的美妙之处在于您可以选择很多(Torvalds),所以无论如何它不会产生任何影响。
或多或少有一个事实上的标准,它就是MediaWiki。其他系统利用自己的问题解决方案来简化解析,或提供其他语法无法使用的附加功能。
从这个意义上讲,缺乏标准的主要问题是可移植性。如果您想从 MediaWiki 迁移到 MoinMoin 或 wikkawiki,您不仅需要转换数据库,还需要转换其内容。这是刻薄的,但我认为稳定的标准最终会随着自然选择而演变。正如我所说,MediaWiki 或多或少是标准,因为它非常受欢迎。其他解决方案最终将变得过时。我的意思是..检查wikimatrix...有太多,它触发了选择的悖论。
Because the beauty of standards is that there are so many you can choose from (Torvalds), so it would not make a difference anyway.
There's a more or less de facto standard, which is MediaWiki. Other systems take advantage of their own solution to the problem in order to simplify parsing, or provide additional features that would not work with another syntax.
The main problem of lack of standards in this sense is portability. If you want to move from, say, MediaWiki to MoinMoin or wikkawiki, not only you have to convert the database, but also its content. That's caustic, but I think a stable standard will eventually evolve with natural selection. As I said, MediaWiki is more or less the standard, as it's very popular. Other solutions will become obsolete eventually. I mean.. check on wikimatrix... there are so many that it triggers the paradox of choice.
我怀疑这是因为任何特定的 wiki 内容都不需要与多个 wiki 系统进行互操作,就像 HTML 文件需要由多个浏览器处理一样,因此没有动力组建标准委员会等。 ETC。
I suspect it's because any particular piece of wiki content doesn't need to interoperate with multiple wiki systems, in the way that an HTML file needs to be processed by multiple browsers, so there hasn't been an impetus to form a standards committee etc. etc.
我想说的是,那些一直想出新变体的人都认为现有的变体很糟糕……而且他们可能是正确的。
一些定义明确的东西可以用来从 Tex 中提取,但似乎没有人认为标记对它很重要 - 尽管它应该是分离内容与表示的最佳方法之一。
就我个人而言,我并不热衷于 Markdown,并且在使用它之间来回思考了两年多,最近因为 Showdown,或者经历了为我最喜欢的标记之一创建客户端版本的麻烦相反。 SO 已经表明它可能足够简洁,至少在他们对 wmd 做出贡献之后 - 使其更易于使用和配置。对于 wiki 标记来说,添加一些智能感知风格的输入/编辑来链接到现有页面和资源会很整洁 ^^
I'd say people who come up with new variants all the time think the existing ones blows... and they may be correct.
Some well-defined stuff could be used to draw from like Tex but it doesn't seem like anyone think it's important with markup - though it ought to be one of the best ways to separate content from presentation.
Personally I'm not crazy for Markdown for instance and have been pondering back and forth for probably over two years between using it anyway, lately because of Showdown, or going through the trouble of creating a client-side version of one of my favorite markup variants instead. SO has shown that it might be neat enough, at least after their contributions to wmd - making it easier to use and configure. It would be neat for a wiki markup to add some intellisense-style typing/editing for linking to existing pages and resources ^^
Wiki 是新事物。需要时间来推翻许多想法并了解(通过反复试验,这是人们参与时真正有效的唯一方法)有效。
Wikis are new. It takes time to shake down a lot of ideas and learn (by trial and error the only way that really works when people are involved) what works.
造成差异的另一个原因是 Wiki 标记被设计为比 HTML 更易于使用,但不同的 Wiki 在功能与易用性曲线上更喜欢不同的位置。就像 Linux 发行版如此之多一样,因为有些人想要更前沿的软件包版本,而另一些人则想要稳定性。没有正确答案。
Another reason for the differences is that Wiki markup was designed to be easier to use than HTML, but different Wikis prefer a different spot on the power vs ease curve. Just like there are so many Linux distributions because some people want more cutting-edge versions of packages while others want stability. There's no right answer.
对于制作 wiki 的公司来说,互操作性有什么好处?除了营销之外,我看不到太多东西。
What's the advantage of interoperability for companies that make wikis? Not much that I can see beyond marketing.
当有一天,有一个合乎逻辑或有利可图的理由需要建立维基标记标准时,就会出现一个标准。直到那一天,我们仍然处于黑暗时代,在黑暗中跌跌撞撞地前进,希望有一个更美好的未来。
When the day arrives that there is a logical or profitable reason for there to be a standard for wiki markup one will emerge. Until that day we are in the dark ages still stumbling along through the dark hoping for a better future.