为什么没有标准化的 wiki 标记语言?

发布于 2024-08-04 18:00:03 字数 83 浏览 8 评论 0原文

对于我使用过的许多 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

夏日浅笑〃 2024-08-11 18:00:03
  1. 没有标准库——不像 RegEx,它被嵌入到各种平台中,这往往会稳定事实上的标准。有标准实现,例如 MediaWiki,但并不是每个人都想使用 MediaWiki,并且没有什么动力去复制其相当强大的标记语言。
  2. 几乎不需要在 wiki 平台之间交换数据。
  3. 很少有普通用户会与多个 wiki 进行交互,因此他们会了解自己所接触到的内容。
  4. Wiki 标记本质上是一种克服富文本浏览器控件实现不佳的方法,但富文本控件正在变得越来越好。 (当然,通过 wiki 标记进行模板化是一个完全不同的主题。)
  5. Wiki 通常是特定于领域的,因此可用的格式选项、适合标记的字符等在实现之间有所不同。
  6. 现有的竞争“标准”(例如 BBcode)进一步混淆了整个标签与字符标记决策。
  7. 如果像 W3C 这样的实体提出一个标准,则需要 3 年的时间来开发,需要额外的副学士学位才能使用,而且没有人会重写他们的 wiki 来支持它。
  1. No standard libraries--unlike, say, RegEx, which is baked into various platforms, which tends to stabilize the de facto standards. There are standard implementations, such as MediaWiki, but not everyone wants to use MediaWiki and there's little incentive to copy its rather robust markup language.
  2. Little need to exchange data between wiki platforms.
  3. Few common users interact with multiple wikis, so they learn the ones they are exposed to.
  4. Wiki markup is essentially a hack to overcome poor rich text browser control implementations, but rich text controls are getting better. (Templating via wiki markup is, of course, a whole other topic.)
  5. Wikis are often domain-specific, so the available formatting options, suitable characters for markup, etc. differs between implementations.
  6. There are existing competing "standards" such as BBcode, which further confuse the whole tag-vs-character-markup decisions.
  7. If an entity such as the W3C came up with a standard, it would take 3 years to develop, an extra associate's degree to use, and no one would rewrite their wikis to support it.
无所的.畏惧 2024-08-11 18:00:03

有 - 它被称为克里奥尔语。大多数 wiki 都接受这一点,将其作为扩展或补丁。

There is - Its called Creole. Most wikis accept that, as an extension or as a patch.

擦肩而过的背影 2024-08-11 18:00:03

因为标准的美妙之处在于您可以选择很多(Torvalds),所以无论如何它不会产生任何影响。

或多或少有一个事实上的标准,它就是MediaWiki。其他系统利用自己的问题解决方案来简化解析,或提供其他语法无法使用的附加功能。

从这个意义上讲,缺乏标准的主要问题是可移植性。如果您想从 MediaWiki 迁移到 MoinMoin 或 wikkawik​​i,您不仅需要转换数据库,还需要转换其内容。这是刻薄的,但我认为稳定的标准最终会随着自然选择而演变。正如我所说,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.

失与倦" 2024-08-11 18:00:03

我怀疑这是因为任何特定的 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.

债姬 2024-08-11 18:00:03

我想说的是,那些一直想出新变体的人都认为现有的变体很糟糕……而且他们可能是正确的。

一些定义明确的东西可以用来从 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 ^^

伤感在游骋 2024-08-11 18:00:03

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.

懒猫 2024-08-11 18:00:03

造成差异的另一个原因是 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.

祁梦 2024-08-11 18:00:03

对于制作 wiki 的公司来说,互操作性有什么好处?除了营销之外,我看不到太多东西。

What's the advantage of interoperability for companies that make wikis? Not much that I can see beyond marketing.

雨轻弹 2024-08-11 18:00:03

当有一天,有一个合乎逻辑或有利可图的理由需要建立维基标记标准时,就会出现一个标准。直到那一天,我们仍然处于黑暗时代,在黑暗中跌跌撞撞地前进,希望有一个更美好的未来。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文