Hi,
If your wiki has modified the "Citethispage-content" message, it may need some small modifications to continue working properly.
Background: The CiteThisPage special page shows different citations for wiki articles. It mentions two different times: the first being the time the specific revision of the article was edited, and the second being the current time.
Special:CiteThisPage modified the parser so that any of the {{CURRENT*}} time magic words would use the revision timestamp, and anything wrapped inside of a special <citation>...</citation> tag would use the current timestamp. However there was a bug in this implementation where the {{#time:...}} parserfunction would always use the current timestamp, even if it was outside the <citation> tags.
That bug has now been fixed[1], and will be deployed to all wikis starting on October 4th. To retain existing behavior, simply wrap any {{#time:..}} in <citation> tags. I know this might be a little confusing, so please let me know if this isn't clear.
[1] https://gerrit.wikimedia.org/r/#/c/311627/
Thanks, -- Legoktm
If a B/C break is needed anyway, wouldn't this be a good chance to kill that weird special behavior and just use {{#time:..format...}} for the current date and {{#time:...format|{{REVISIONTIMESTAMP}}}} for the last revision's date like on all normal pages? Undiscoverable easter eggs like this do not make wiki administration any easier.
On Thu, Sep 22, 2016 at 11:34 PM, Legoktm legoktm.wikipedia@gmail.com wrote:
Hi,
If your wiki has modified the "Citethispage-content" message, it may need some small modifications to continue working properly.
Background: The CiteThisPage special page shows different citations for wiki articles. It mentions two different times: the first being the time the specific revision of the article was edited, and the second being the current time.
Special:CiteThisPage modified the parser so that any of the {{CURRENT*}} time magic words would use the revision timestamp, and anything wrapped inside of a special <citation>...</citation> tag would use the current timestamp. However there was a bug in this implementation where the {{#time:...}} parserfunction would always use the current timestamp, even if it was outside the <citation> tags.
That bug has now been fixed[1], and will be deployed to all wikis starting on October 4th. To retain existing behavior, simply wrap any {{#time:..}} in <citation> tags. I know this might be a little confusing, so please let me know if this isn't clear.
[1] https://gerrit.wikimedia.org/r/#/c/311627/
Thanks, -- Legoktm
Wikitech-ambassadors mailing list Wikitech-ambassadors@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors
wikitech-ambassadors@lists.wikimedia.org