维基百科:互助客栈/技术/存档/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)[回复]