Last modified: 2012-01-02 10:08:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33921, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31921 - Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR broken in preview
Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR broken in preview
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: 1.18.x release
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-24 15:50 UTC by Sumurai8 (NL)
Modified: 2012-01-02 10:08 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sumurai8 (NL) 2011-10-24 15:50:50 UTC
The magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR are not resolved while previewing a page. REVISIONDAY is replaced with a 0, while month and year are an empty string. These keywords should contain the values of CURRENTDAY, MONTH and YEAR while previewing a page like it did in 1.17. Otherwise they should have the same, empty string when in preview.

When a page is saved, the magic words are replaced with the correct values. REVISIONUSER doesn't seem to be affected

See: http://nl.wikipedia.org/wiki/Gebruiker:Sumurai8/revisionbug
Comment 1 Alexandre Emsenhuber [IAlex] 2011-10-24 16:15:18 UTC
Fixed in r100610.
Comment 2 Antoine "hashar" Musso (WMF) 2011-12-22 09:26:14 UTC
That is a regression in MediaWiki 1.18!

Merged in REL1_18 by r107046

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links