Description
Last edited date is truncated at the first fullstop in my reverse lookup address.
Steps to reproduce
- On my lan I have a DNS server that provides a reverse lookup for each address that my DHCP server can issue. So if DHCP gives me address 10.1.1.33 the reverse lookup is dhcp-10.1.1.33.mydomain.co.uk.
- When I edit a Wiki page the last edited date gets truncated to
- last edited 2005-03-18 21:21:40 by dhcp-10
- If I edit the page using my external internet address everything works OK.
- last edited 2005-03-18 21:05:54 by 111-222-33-44 (not the real address)
- The code needs to be fixed so that
- last edited 2005-03-18 21:21:40 by dhcp-10.1.1.33.mydomain.co.uk
- As soon as I create a valid login id then the last edited code works OK. The HTML code generated is:
<p id="pageinfo" class="info" lang="en" dir="ltr">last edited 2005-03-18 21:58:33 by <span title="dhcp-10.1.1.33.mydomain.co.uk"> <a href="/MyWikiName/FirstnameLastname">FirstnameLastname</a></span></p>
As you can see the reverse name is in the <SPAN> so the fly-over help works.
Example
Details
MoinMoin Version |
1.3.4 |
OS and Version |
SuSE 8.2 Linux |
Python Version |
Python 2.3.3 |
Server Setup |
Single |
Server Details |
Apache/2.0.48 |
Browser |
Mozilla 1.7.5 on Win2K |
Workaround
- This is a very low priority minor niggle. I'll ignore it for the time being.
Discussion
This is another effect of ../getEditorTruncatesIP. The problem again is that editlog code is doing display stuff instead of the theme code in this case.
Generally we prefer shorter IP v4 addresses, but in this case we can show the long address with no problem.
Plan
- Priority:
- Assigned to:
- Status: duplicate of ../getEditorTruncatesIP