• 欢迎来到THBWiki!如果您是第一次来到这里,请点击右上角注册一个帐户
  • 有任何意见、建议、求助、反馈都可以在 讨论板 提出
  • THBWiki以专业性和准确性为目标,如果你发现了任何确定的错误或疏漏,可在登录后直接进行改正

在用户讨论:Demobanker的话题

跳到导航 跳到搜索

为什么词条名用的“:”但是专辑名称又用“:”呢?

5
由VincentDirac做出的摘要

感谢

VincentDirac〈女儿怪〉 (留言贡献)

Excuse me. Why the pagename of the work"Re:" use "Re:" instead of "Re:"?

VincentDirac〈女儿怪〉 (留言贡献)

抱歉,之前想太远了,误以为是专辑。因为之前我看到过,很多专辑有类似的情况。词条使用全角符号但是名称使用半角导致一些模板不能读取。同人志不会遇到这种问题。

Demobanker〈目标是宝可东大师!〉 (留言贡献)

Characters like ":", "/", and "*" have special purposes in URLs and can cause errors if they're in page titles. Using their fullwidth version (so ":", "/" and "*") is the workaround for them. /THRiCE/ for example wasn't linking until it was renamed to use fullwidth slashes. *Cherry Garden* or * Works also had linking issues and it was fixed by renaming the page to use * instead of *.

":" in page names are used to indicate the namespace of the page. Namespace basically indicate special page types and can have special behaviors. This conversation is taking place in the 用户讨论 (user discussion) namespace. 歌词:Bad Apple!!(Alstroemeria Records) is in the lyrics namespace. Most pages, however, don't have a namespace and are considered to be in the mainspace. That includes doujin works pages. Those pages use : so they don't get treated as a namespace page. You can check the Mediawiki help page to learn more about namespaces.

In the case of Re:, I don't think it will cause any issue since the character is at the end of the name. However, it's automatically converted into : by the doujin work info template. You can test it out by going to the sandbox and adding this

{{简单信息框架
|列表=
{{简单同人志信息
|名称=test:food
}}

}}

and see that it lets you create a page named test:food.

Hope this helps answer your question.

VincentDirac〈女儿怪〉 (留言贡献)

哦哦哦,原来如此。感谢你的解答。Thank you very much!

Demobanker〈目标是宝可东大师!〉 (留言贡献)

oh that was fast lol

but yeah it's one of those mediawiki quirks that can be frustrating when you don't know why it happens. I think it's easier to understand why you have to make "}" and "|" fullwidth when they appear in song titles than something like this