I have tested it. It works: we got the last revision date of the page that includes the template.
Trung
----------------------------------------
Date: Tue, 26 Sep 2006 11:27:34 -0700 From: mxn@zoomtown.com To: wikivi-l@wikimedia.org Subject: [Wikivi-l] [Fwd: [Bug 6092] add {{revisiontime:}}/{{lastrevision:}} colon/parser function or {{REVISIONtimeformat|<pagename>}} functionality to current magic words]
Oh, I forgot, this is the same problem we've been having: magic words aren't enough. We need a way to get the last revision date of the page that included the template, not the last revision date of the template itself.
-- Minh Nguyen mxn@zoomtown.com AIM: trycom2000; Jabber: mxn@myjabber.net; Blog: http://mxn.f2o.org/
_________________________________________________________________ Share your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www...
I suppose it works, but it doesn't really solve our problem with the expiring templates. What's to stop the author of a copyright-violating page from regularly going in and making "dummy edits", preventing the page from ever "expiring"? Or how about templates like {{Đang dịch 2}}, where we fully expect that the page will be revised after the tag is added, but we might not want the timestamp to change when that happens? (I might, for example, go in and add a {{Thời gian sống}} tag, but that doesn't mean the translation is any closer to being finished.)
We're left with the same problem we began with: whether we use {{CURRENTTIMESTAMP}} or {{REVISIONTIMESTAMP}}, we need some way of substituting the timestamp *only* when the template is being included, not when the template is being edited. That's why we have the current {{Đang dịch 2}} / {{Đang dịch 2 (nguồn)}} setup, right? We don't *really* want the last revision date; we want the date of the revision where we tagged the page. This is why Danny B. is suggesting a new "revisiontime" magic word.
Tran The Trung wrote:
I have tested it. It works: we got the last revision date of the page that includes the template.
Trung
Date: Tue, 26 Sep 2006 11:27:34 -0700 From: mxn@zoomtown.com To: wikivi-l@wikimedia.org Subject: [Wikivi-l] [Fwd: [Bug 6092] add {{revisiontime:}}/{{lastrevision:}} colon/parser function or {{REVISIONtimeformat|<pagename>}} functionality to current magic words]
Oh, I forgot, this is the same problem we've been having: magic words aren't enough. We need a way to get the last revision date of the page that included the template, not the last revision date of the template itself.
-- Minh Nguyen mxn@zoomtown.com AIM: trycom2000; Jabber: mxn@myjabber.net; Blog: http://mxn.f2o.org/
On 30/09/2006, at 5:18 AM, Minh Nguyen wrote:
I suppose it works, but it doesn't really solve our problem with the expiring templates. What's to stop the author of a copyright- violating page from regularly going in and making "dummy edits", preventing the page from ever "expiring"? Or how about templates like {{Đang dịch 2}}, where we fully expect that the page will be revised after the tag is added, but we might not want the timestamp to change when that happens? (I might, for example, go in and add a {{Thời gian sống}} tag, but that doesn't mean the translation is any closer to being finished.)
We're left with the same problem we began with: whether we use {{CURRENTTIMESTAMP}} or {{REVISIONTIMESTAMP}}, we need some way of substituting the timestamp *only* when the template is being included, not when the template is being edited. That's why we have the current {{Đang dịch 2}} / {{Đang dịch 2 (nguồn)}} setup, right? We don't *really* want the last revision date; we want the date of the revision where we tagged the page. This is why Danny B. is suggesting a new "revisiontime" magic word.
Tran The Trung wrote:
I have tested it. It works: we got the last revision date of the page that includes the template.
Chắc là vấn đề này không phải là dễ giải quyết. :(
Nếu biểu mẫu phụ thuộc vào trang gốc, không thể đặt ngày tháng cũng phụ thuộc vào ngày trang gốc không?
Hoặc là việc tạo đoạn chữ trong biểu mẫu mới có ngắt quan hệ phụ thuộc vào trang gốc không?
Clytie
(vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do) http://groups-beta.google.com/group/vi-VN