https://en.wikipedia.org/wiki/User:Enterprisey/links-in-logs
Just like permalinks in history but for logs.
https://en.wikipedia.org/wiki/User:Enterprisey/links-in-logs
Just like permalinks in history but for logs.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +12 -3 | Implement links-in-logs script, linking LogEventsList rows to log entries |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T64559 Redesign Special:Preferences (tracking) | |||
Open | None | T71550 Move code in enwiki MediaWiki:Common.js and Gadgets to MediaWiki software | |||
Open | None | T207569 Integrate Enterprisey's user scripts into MediaWiki proper | |||
Resolved | DannyS712 | T207562 Implement "links-in-logs" user script in MediaWiki itself |
I think I could do this, if there are no objections to the task:
In LogEventsList::logLine, the timestamp is currently defined with $time = htmlspecialchars( $this->getLanguage()->userTimeAndDate( $entry->getTimestamp(), $this->getUser() ) );
Rather than simply displaying as plain text, it would be a link to 'Special:Redirect/logid/' . $entry->getId()
Potentially with a class (mw-logline-loglink?)
Change 640761 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Implement links-in-logs script, linking LogEventsList rows to log entries
Change 640761 merged by jenkins-bot:
[mediawiki/core@master] Implement links-in-logs script, linking LogEventsList rows to log entries
@DannyS712 So like this for Tech News?
Timestamps in Special:Log are now links. They go to the page for that entry. This is how timestamps works for example on the history page.
I would suggest (based on the description in Enterprisey's script, credits to Enterprisey/ @APerson)
Timestamps in Special:Log are now links. They go to Special:Log for only that entry, by using the log entry id in the url. This is how timestamps works for example on the history page.
since "the page for that entry" could also refer to the target title associated with that log entry