**Steps to replicate the issue** (include links if applicable):
# Open [[Special:Preferences]]
# Goto 'Appearance' tab
# Set 'Time offset' as a time zone (non 'Use wiki default (UTC)')
# Click 'Save'
# Create page, see https://test.wikipedia.org/wiki/REVISIONTIMESTAMP_test. At this point the timestamp displayed by {{REVISIONTIMESTAMP:REVISIONTIMESTAMP test}} is server time
# Create another page: https://test.wikipedia.org/wiki/REVISIONTIMESTAMP_test/1, Content is '{{:REVISIONTIMESTAMP test}}', At this point the timestamp displayed by {{REVISIONTIMESTAMP:REVISIONTIMESTAMP test}} is local time
**My test results** ('Time offset' as 'Asia/Shanghai'):
Content displayed in [[REVISIONTIMESTAMP_test]]:
REVISIONTIMESTAMP with pagename REVISIONTIMESTAMP test: 20221009035405
Content displayed in [[REVISIONTIMESTAMP_test/1]]:
REVISIONTIMESTAMP with pagename REVISIONTIMESTAMP test: 20221009115405