Last modified: 2011-04-14 15:11:17 UTC
Current dawiki setting for [[MediaWiki:Deletedarticle]] is slettede "$1" ([[Speciel:Whatlinkshere/$1|henvisninger]]) In [[Speciel:Recentchanges]], this shows up correct as <nowiki>"([[Speciel:Whatlinkshere/Article|henvisninger]])"</nowiki>, i.e. "([[Speciel:Whatlinkshere/Article|henvisninger]])", but in [[Special:Log/delete]] it is rendered as (Speciel:Whatlinkshere/[[Artikel]]|henvisninger) Seems that $1 is '''<nowiki>[[Article]]</nowiki>''' in [[Special:Log/delete]], but '''Article''' in [[Speciel:Recentchanges]].
OK, bug is not wiki formatted here, but you get the idea.
Wikilinks are filtered from the action text Special:Log and not in Special:Recentchnages, in the function LogPage::actionText. I'm not sure what's its purpose.
How can this be fixed in a way that maintains reverse-compatibility with locally modified messages? Make a new message?
(In reply to comment #3) > How can this be fixed in a way that maintains reverse-compatibility with locally > modified messages? Make a new message? It's not the message which may have to be changed, but the code of the function LogPage::actionText, which just removes the [[ and ]] symbols from the log text. Anyway, the wikitext is not parsed in the action text of Special:Log anyway, and an HTML link seems to be used in $1. It may be better to post the page name itself to the log text as $1, not an HTML link, and parse the wikitext - maybe like an edit summary.