Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

框架:总体来说需要时效性指示 #785

Open
Artoria2e5 opened this issue Apr 13, 2023 · 4 comments
Open

框架:总体来说需要时效性指示 #785

Artoria2e5 opened this issue Apr 13, 2023 · 4 comments

Comments

@Artoria2e5
Copy link
Contributor

Artoria2e5 commented Apr 13, 2023

之前好像这里因为 PR 没 merge 的原因,被网上一些腰不疼的朋友 diss 了。我的腰暂时也不疼,但还是来瞎指点一下。

自动生成时间

维基百科底下的这个是好东西,什么网站都需要:
image

内容就是最后编辑者,编辑时间,本身是个指向 git log 的链接。示例页面是这个

由于非常傻的原因,Hugo 的 LastMod 需要手写时间,建议放弃那套。正确的做法似乎是通过 GitInfo 捞,但是显然需要有个装了 Hugo 的人慢慢调。哦不对,GitInfo 文档说现在会从 Git 抓 LastMod 了。但是要编者信息还得是 .Page.GitInfo.AuthorName

手动的“截至”

自动生成的时间不能处理部分更新的状态。喂鸡白料有个{{as of}}的规定,就是管这个的。参见 https://en.wikipedia.org/wiki/Wikipedia:As_of

这个 repo 我就看到易彬有个“截至”。

@septs
Copy link
Member

septs commented Apr 13, 2023

#553

@Artoria2e5
Copy link
Contributor Author

Artoria2e5 commented Apr 13, 2023

  1. well,“敬请期待”关 issue 好像有点不对吧?
  2. 要的不是有阈值的 warning 而是永远都有的信息。这是 wiki,不是政府工作网站,是有协作性的
  3. 要显示编者也是为了强调协作性

@Rinfair
Copy link
Contributor

Rinfair commented Apr 13, 2023

wiki当前使用的zdoc主题是个已经封存两年没有功能更新的大屎山(也基本没有可操作空间)
所以大概率在当前版本的wiki里不会正式添加这个显示(改造重构的新版本会有)
实在抱歉。。希望翎澈的解释能让你明白工作组对此意见的看法
这个issue会保持开启。翎澈也会尝试在当前版本应用相关建议。
再次感谢你的建议!

@Cryolitia
Copy link
Member

resolved in project-trans/RLE-wiki#225

RLEwiki的next分支传播至MtFwiki仍需要一定时间

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

4 participants