跳转到内容

模板:Guess namespace

来自天灾之下:危险连接资料站
wiki>Pppery2025年11月10日 (一) 05:37的版本 (Protected "Template:Guess namespace" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
模板文档

Tries to guess the namespace of a class from its file path.

Examples

  • {{Guess namespace|MergeHistory|includes/page}} -> MediaWiki\PageMergeHistory