User:Yes0song/bugzilla

From mediawiki.org

이 페이지는 bugzilla 측에 보낼 내용을 미리 작성하는 공간이다.

Language automatic converter[edit]

Document language attributes setting[edit]

쓰기 취소: 중국어 위키백과 측에 직접 user script로 제어할 방법 문의.

In computing of Chinese (zh) scripts, there are some differences between standard glyphs of zh-hant, zh-hans, zh-cn, zh-tw, zh-hk, zh-mo, zh-sg, etc.

As you know, Chinese wikis hosted by the Wikimedia Foundation have introduced automatic converters. In Chinese Wikipedia, for instance, we can choose seven varieties: the original text not converted (zh), "generic" simplified (zh-hans), "generic" traditional (zh-hant), Mainland China/simplified (zh-cn), Taiwan/traditional (zh-tw), Hong Kong and Macau/traditional (zh-hk), Singapore and Malaysia (zh-sg). The six variety modes except zh have their fixed document language attributes (e.g. zh-cn has «lang="zh-cn" xml:lang="zh-cn"», zh-tw has «lang="zh-tw" xml:lang="zh-tw"», …).

But zh mode doesn't have its own lang-attributes. The mode is depend on the system language that a user set. If the user set his language as Korean (ko), the lang-attributes are «lang="ko", xml:lang="ko"»; setting it as English (en), the attributes are «lang="en", xml:lang="en"»; …. That is, the glyphs of letters in the mode zh are varied chaotically, according to the system languages.

So I propose to add a new setting item "The document

Preservation of system Language that a user set[edit]

mediazilla:13226 duplicate → See mediazilla:10837

Some wikis that have used an automatic converter (such as Chinese/Serbian/Kazakh Wikipedias) have an inconvenience.

When seeing a page in a conversion mode, the system language that I set through [[Special:Preferences]]]] is useless.

In Chinese Wikipedia, for example, if I choose the mode zh-tw (Traditional Chinese in Taiwan), the interface language will be changed into Taiwanese Traditional Chinese although I set the system language as Korean or English. I request to modify all the conversion modes uses the language the user set in [[Special:Preferences]].

Allowing to change conversion mode when action=edit and action=submit[edit]

It's difficult to change conversion mode when editing. Sometimes, editors of wikis that uses automatic converter (such as Chinese Wikipedia) want to preview the document that they are editing in different conversion mode, but currently it's impossible. Please make it possible.

pre 내용 자동 변환[edit]

User:Username/common.js, User:Username/monobook.css/en, …[edit]

MediaWiki:Common.js and MediaWiki:Common.css are recognized as the common configuration pages, but User:Username/common.js and User:Username/common.css aren't.

MediaWiki:…/en, MediaWiki:…/ko, MediaWiki:…/ja, MediaWiki:…/zh, MediaWiki:…/zh-hant, MediaWiki:…/zh-hans, … are recognized as the language-specific configuration pages, but User:Username/….js/en, User:Username/….css/zh, … are not.

I request to recognize the latters (User:Username/common.js, User:Username/common.css, User:Username/….js/en, User:Username/….css/zh, …). I think that if they are recognized as personal settings like User:Username/monobook.js, users can configure their settings more flexibly and more detailly.

New action parameter that renders js/css pages via wiki syntax[edit]

See mediazilla:13388

Currently, the contents of javascript and css pages are rendered in <pre> tag. However, I think this can cause inconvenient sometimes.

In Chinese Wikipedia, administrators have described .js/.css source code in MediaWiki: namespace using wiki syntax via /* */ comment lines, e.g.:

/*
== 中文處理 ==
 
*/
//设置中文语言页
var htmlE=document.documentElement;
htmlE.setAttribute("lang",wgUserLanguage);
htmlE.setAttribute("xml:lang",wgUserLanguage);
 
//返回繁簡字串
function wgULS(hans,hant,cn,tw,hk,sg,zh){
...
}
 
/*
 
== IE兼容性修正 ==
*/
if (navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat"){
(function(){...}
 
...}

(from [[zh:MediaWiki:Commons.js]])

This was very convenient when MediaWiki of old version was used. In this format, maintainers could divide scripts into sections and it was easy to check what functions are wroted in the page via the ToC made in the wiki page.

However, this became useless now because current MediaWiki software processes .js/.css pages via <pre> tag! Of course, the "<pre> tag-processing" has some merits, but has lost other good points.

Therefore, I request to add new "action=" parameter (for example, "action=wikisyntax"). When "action=wikisyntax", MediaWiki software renders .js/.css pages via wiki syntax not "<pre> tag-processing".

Please format all the text in <pre> boxes using <p> tags[edit]

Default sorting method of Hangul and Kana[edit]

Dependency: 1701. special firstChar() routine for Korean characters

My alternative for category redirection[edit]

제목 괄호 처리[edit]