模块:Ns has subpages:修订历史

来自决策链云智库

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

2024年1月23日 (星期二)

  • 当前之前 15:392024年1月23日 (二) 15:39Zeroclanzhang 讨论 贡献 1,678字节 +1,678 创建页面,内容为“-- This module implements Template:Ns has subpages. -- While the template is fairly simple, this information is made available to -- Lua directly, so using a module means that we don't have to update the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed one. if not ns then ns = mw.title.getCurrentTitle().namespace end -- Look up the namespace table from mw.site.names…”