Last modified: 2011-04-14 15:11:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9857, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7857 - Wikilinks are filtered from the action text Special:Log
Wikilinks are filtered from the action text Special:Log
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.9.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-09 21:29 UTC by Martin Manscher
Modified: 2011-04-14 15:11 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Martin Manscher 2006-11-09 21:29:47 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]].
Comment 1 Martin Manscher 2006-11-09 21:31:27 UTC
OK, bug is not wiki formatted here, but you get the idea.
Comment 2 Rotem Liss 2006-11-10 13:49:16 UTC
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.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-10 20:55:58 UTC
How can this be fixed in a way that maintains reverse-compatibility with locally
modified messages?  Make a new message?
Comment 4 Rotem Liss 2006-11-11 16:31:13 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links