维基百科:互助客栈/技术/存档/2007年12月

Archive 本页是Wikipedia:互助客栈/技术的存档页,这些主题讨论已经结束,并已尽可能将讨论主题移动至相关条目或页面的讨论页存档。请不要再对此页进行编辑。若您希望发起新的讨论或重新提起旧有讨论,请前往Wikipedia:互助客栈/技术

关于梵蒂岡与教廷的字词转换

双机器人同时在改各条目内的地区化语系设定?

维基平台的运作与处理

问:如题 想知道维基平台的运作与处理 想多了解维基 —61.230.184.2 (留言) 2007年12月5日 (三) 12:32 (UTC)[回复]

移动模板繁简转换出错

当使用(►)移动时,无论是繁体、港澳繁体和台湾正体都显示成简体的迁移,希望有人能够修正。—沙田友 (留言) 2007年12月6日 (四) 03:54 (UTC)[回复]

原来用于这页没有问题,但用于Wikipedia:删除投票和请求/2007年12月5日却有显示成简体的问题。—沙田友 (留言) 2007年12月6日 (四) 03:56 (UTC)[回复]
可能是跟cache有关。--Shinjiman 2007年12月6日 (四) 04:08 (UTC)[回复]
证实有人在Wikipedia:删除投票和请求/2007年12月5日投票签名时用了 -{ ,使得全页的繁简转换失效。—街燈電箱150號 开箱维修(抢修) 抄表 检验证明 2007年12月6日 (四) 04:21 (UTC)[回复]

{{Image}}的显示问题

编辑工具栏消失了

对#ifexist 限制的一个通告

下面是对#ifexist 限制的一个通告,来自wikitech-l邮件列表:

Werdna's #ifexist limit feature is now live. In response to complaints of template breakage, I have increased the limit on Wikimedia wikis temporarily, from 100 to 2000. Barring a coup, it will stay at 2000 for about a week, and then we'll lower it to 100.

Please use this one-week period to check pages and templates that use #ifexist heavily. Look in the HTML source of the preview or page view. There will be a "limit report" that looks like this:

<!--
Pre-expand include size: 617515/2048000 bytes
Post-expand include size: 360530/2048000 bytes
Template argument size: 51168/2048000 bytes
#ifexist count: 1887/2000
-->

This is the limit report from http://commons.wikimedia.org/wiki/Template:Potd/2007-12 , one of the pages that will break.

At the end of the week, any pages which have a #ifexist count of over 100 will cease to be rendered correctly (after the next edit or cache clear). All #ifexist calls after the hundredth will be treated as if the target does not exist.

In some cases it may be possible to rewrite your templates so that they still do the same thing, but with less #ifexist calls. In other cases, you will need to remove template features. Removing features is always sad, as a sofware developer I know that, but sometimes it is necessary for the good of the project. This is one of those times.

-- Tim Starling —百無一用是書生 () 2007年12月1日 (六) 11:24 (UTC)[回复]

-->http://noc.wikimedia.org/~tstarling/ifexist.log , Wikipedia:中文维基百科中引用 ifexists 超过一百次之页 * : -) ---Hillgentleman | | 二零零七年十二月十一号(星期二)格林尼治 04时44分14秒。

Template:Catnav导致了很多分类页的ifexist超过了100次。有没有解决方法? --笨笨的小B | 20巷 2007年12月16日 (日) 22:50 (UTC)[回复]

可删尾三四次 ifexist;受影响页不多,且纵见小量红字亦无大碍。* : -) ---Hillgentleman | | 二零零七年十二月二十一号(星期五)格林尼治 06时32分32秒。

Gadgets

英文版新增加了mw:Extension:Gadgets扩展,可以通过用户参数设置来挂载各种用户自己开发的JavaScript和CSS,中文版需要这个功能吗?—百無一用是書生 () 2007年12月11日 (二) 03:35 (UTC) —百無一用是書生 () 2007年12月11日 (二) 03:35 (UTC)[回复]

会不会被用来挂上有恶意程式码的javascript?—Ellery (留言) 2007年12月11日 (二) 11:57 (UTC)[回复]
加入/编辑那边的程式码是需要用到修改MediaWiki空间名里页面的功能、这乃管理员限定的功能。除非这些用户自己也挂上恶意的程式码吧。--Shinjiman 2007年12月12日 (三) 01:43 (UTC)[回复]
和现有的Wikipedia:维基百科工具/导航PopupWikipedia:维基百科工具/编辑工具很像。—Isnow (留言) 2007年12月12日 (三) 09:21 (UTC)[回复]

防开新页面功能预告

rev:28385或以后的修订中,管理员可以在所需要的页面的保护设定中设定该页面以防止开新页面。--Shinjiman 2007年12月13日 (四) 07:00 (UTC)[回复]

Wikipedia:被保护的标题的连锁保护还是不错的,可以知道哪些页面何时为何保护。—Isnow (留言) 2007年12月13日 (四) 09:40 (UTC)[回复]
这个功能在更新后可以从保护日志中看到。--Shinjiman 2007年12月13日 (四) 10:47 (UTC)[回复]
rev:28506或以后的修订中,用户可以透过Special:Protectedtitles以查看被保护的标题。--Shinjiman 2007年12月15日 (六) 12:43 (UTC)[回复]

zh.wikipedia.org 的 $wgSitename 置错至今

问:烦看bug。 连 http://zh-classical.wikipedia.org/ 已改善。 Jidanni (留言) 2007年12月14日 (五) 03:05 (UTC)[回复]

两名有简繁歧义,无法用转换系统作出变换。--Shinjiman 2007年12月14日 (五) 11:56 (UTC)[回复]

现有的繁简转换标签过于不友善

rss feed 中的字体大小

维基的种子输出中有这样一句: <td style="background: rgb(238, 238, 238) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: black; font-size: smaller;">

能否将其中的“font-size: smaller;”去掉?—Isnow (留言) 2007年12月17日 (一) 19:56 (UTC)[回复]

因为当中的更改是要反映当中更改的内容差异。在看feed时的字体是可以在浏览器中调校,跟"font-size: smaller;"无关。--Shinjiman 2007年12月18日 (二) 01:33 (UTC)[回复]
这样一来,这块区域的字体总比我的缺省字体小,每次都要调校,非常麻烦。—Isnow (留言) 2007年12月18日 (二) 13:58 (UTC)[回复]

关于Ajax

希望下一版的Mediawiki能透过Ajax好让使用者于条目主页切入讨论页时能只重新整理主文部分,其余部分(首页连结等)能不予重新整理。类似功能希望也能套用在portal各tab中。我知道这对某些使用者来说会有问题,但应该可以透过使用者偏好设定的方式选择要不要用Ajax吧!只要预设值不用Ajax就好了。--RekishiEJ (留言) 2007年12月20日 (四) 11:18 (UTC)[回复]