Closed Bug 429293 Opened 17 years ago Closed 17 years ago

[zh-CN] add en.wikipedia.org to Simplified Chinese

Categories

(Mozilla Localizations :: zh-CN / Chinese (Simplified), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: shaohua.wen)

Details

Attachments

(1 file, 2 obsolete files)

As wikipedia isn't blocked in China anymore, we should add it to the build. Please be careful with the naming of the plugin, it should be wikipedia-zh-CN.xml, to not conflict with bug 425053. We need a plugin for that. You should create this by following what we do for en-US closely, that one is at http://mxr.mozilla.org/mozilla/source/browser/locales/en-US/searchplugins/wikipedia.xml. Use that as a template, and change the Urls accordingly, and use the link title of the rel="search" link on your wikipedia site as ShortName. That matches what the site sends, so Firefox will detect that it already has the search plugin. So, now you have the plugin in zh-CN/browser/searchplugins/wikipedia-zh-CN.xml, and to get it picked up, you add wikipedia-zh-CN in list.txt. To create the patch, do, in browser/searchplugins cvs add wikipedia-zh-CN.xml cvs -z3 diff -uN and attach the output here, and mark it as patch, there's a checkbox for that. To request review on that, set the "Review" flag to '?', and the requestee to my bugzilla ID.
We are going to use english version wikipedia in firefox-zh-CN, entrance shall be the same as above (en-US). The Chinese version wikipedia (http://zh.wikipedia.org/wiki/) is still blocked, because it is in Taiwan. Thanks, Jack
Attached patch patch to add en-US WIKIpedia (obsolete) — Splinter Review
Attachment #316207 - Flags: review?(l10n)
Comment on attachment 316207 [details] [diff] [review] patch to add en-US WIKIpedia We should use a separate plugin for en.wikipedia.org for zh-CN, I suggest copying over the en-US plugin over to a new file zh-CN/browser/searchplugins/wikipedia-en-CN.xml, and to reference that.
Attachment #316207 - Flags: review?(l10n) → review-
sounds good to me especially in case government may change their mind so we could easily remove. thanks pike
The government might change their mind (ONLY) after taiwan re-united... The english wikipedia site could be blocked at any day when some VIP was not happy with it... Just joking.
;-)
Attached patch add zh-CN wikipedia (obsolete) — Splinter Review
Attachment #316207 - Attachment is obsolete: true
Attachment #316426 - Flags: review?(l10n)
Summary: [zh-CN] add zh.wikipedia.org → [zh-CN] add en.wikipedia.org to Simplified Chinese
Comment on attachment 316426 [details] [diff] [review] add zh-CN wikipedia r-, the plugin is English (en), not Chinese (zh). It should be named wikipedia-en-CN.xml
Attachment #316426 - Flags: review?(l10n) → review-
Attached patch wikipedia-en-CNSplinter Review
Attachment #316426 - Attachment is obsolete: true
Attachment #316594 - Flags: review?(l10n)
Comment on attachment 316594 [details] [diff] [review] wikipedia-en-CN r,a=me, please land this patch asap, with a comment referencing this bug and my review/approval.
Attachment #316594 - Flags: review?(l10n)
Attachment #316594 - Flags: review+
Attachment #316594 - Flags: approval1.9+
Checking in list.txt; /l10n/l10n/zh-CN/browser/searchplugins/list.txt,v <-- list.txt new revision: 1.13; previous revision: 1.12 done RCS file: /l10n/l10n/zh-CN/browser/searchplugins/wikipedia-en-CN.xml,v done Checking in wikipedia-en-CN.xml; /l10n/l10n/zh-CN/browser/searchplugins/wikipedia-en-CN.xml,v <-- wikipedia-en-CN.xml initial revision: 1.1 done
Please mark your bugs FIXED after check-in, doing so based on the looking at the source. This could use some verification.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: