Page MenuHomePhabricator

Allow pagetriage log entries to include wikitext/HTML markup
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where): Currently when you try to add Wikitext/markup to messages used to output log entries, the text is not parsed as you would expect to provide linking functionality, etc.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution): To be able to format log entries to include links to revisions with copyright issues so it's easier to monitor such entries in Special:Log.

Benefits (why should this be implemented?): Easier user experience, customization by individual Wikis to meet their needs as necessary.

See:

https://en.wikipedia.org/wiki/MediaWiki_talk:Logentry-pagetriage-copyvio-insert (https://en.wikipedia.org/wiki/Special:PermanentLink/1101601383)

For earlier discussion that preceded this request.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Notes in case I work on this later

Relevant code:

Documentation on how to add links to log entries:

Adding links

To add a link to log entries, you should pass the page name etc. in the log parameters, and format that in your LogFormatter using makePageLink(). With other methods, non-html output (like UDP feed to IRC) will be broken.

See TranslateLogFormatter for an example LogFormatter with links.
Xaosflux renamed this task from Allow log entries to include wikitext/HTML markup to Allow pagetriage log entries to include wikitext/HTML markup.Aug 1 2022, 3:30 PM
Xaosflux subscribed.