What is the problem?
If I am blocked by 2 or more different blocks, when viewing the block message the Start of block is always the current date and time.
This probably isn't very useful. Perhaps instead it should be the start time of the earliest block.
Steps to reproduce problem
- Block your user or IP with 2 blocks (e.g. use Special:Block to create a block against your account and a block against your IP)
- Wait a few minutes (you want to be able to distinguish between the current time and the time you created the blocks in step 1)
- Attempt to edit a page
- You should see a block message with something like Start of block
- Compare this to the Timestamp column in Special:BlockList
Expected behavior: The start time in the block message should be the same as the Timestamp column (for at least one of the blocks you made in step 1).
Observed behavior: The start date and time is the current time. If you wait and refresh the page the start time changes.
Environment
Wiki(s): https://en.wikipedia.beta.wmflabs.org MediaWiki 1.40.0-alpha (9e4457f) 07:11, 15 November 2022.
QA Results -Local
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T323105#9124895 |