Re: 所有内容必须加分类吗?

Christopher Meng cickumqt在gmail.com
星期六 一月 21 00:35:16 UTC 2012


额,好可怕啊。。。。
我倒是突然觉得,Zh分类可不可以不要改成Zh-CN?


Best Regards,
Christopher Meng------'Cicku'

My personal blog is http://cicku.me,hope you can visit and say
something about it.
More Contact info see here:http://about.me/cicku



On Sat, Jan 21, 2012 at 4:09 AM, Yuan Yijun <bbbush.yuan在gmail.com> wrote:
>>
>> 有了这个改动,我们就不需要在每个页面都加入 [[Category:Zh]] 标记了,而是让 autolang macro 自动去加。
>>
>
> 改了一下代码
>
>   -->{{#ifeq:yes|<!--
>     -->{{#switch:{{padleft:|2|{{lc:{{{1}}}}}}}|zh=yes}}|<!--
>     --><includeonly>[[Category:{{#switch:{{lc:{{{1}}}}}|{{padleft:|2|{{lc:{{{1}}}}}}}}}]]</includeonly><!--
>   -->}}<!--
>
> 这样 https://fedoraproject.org/wiki/Category:Zh 可以抓到 zh, zh-cn, zh-tw
>
> BTW 这种代码如果出问题,效果非常惊人,刚才首页的 language box 就让我搞坏了, Category:zh 把所有用过
> language box 的页面都列了出来。改好代码,加上 ?action=purge 参数刷新页面,几分钟后才恢复正常。
>
>
> --
> bbbush ^_^
> --
> trans-zh_cn mailing list
> trans-zh_cn在lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn


关于邮件列表 trans-zh_cn 的更多信息