-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Alexis Moinet wrote:
Brion Vibber wrote :
The strings in MediaWiki:Sidebar ARE NOT TEXT STRINGS, they are MESSAGE KEY NAMES.
ok, so I guess that the possibility to directly use url links in Mediawiki:Sidebar is just a "message-not-found" side-effect ? (just wondering, because that was confusing : some urls work, others don't)
That's someone's attempt at a helpful graceful degradation effect. Personally I think it just makes the resulting behavior less consistent and more confusing.
BTW wouldn't it make sense to replace line 1642 of skin.php :
if (wfEmptyMsg($line[0], $link))
with :
if (wfEmptyMsg(htmlspecialchars($line[0]), $link))
I think it would be better if any inconsistency between behavior of wfEmptyMsg() and wfMsgForContent() were fixed.
- -- brion vibber (brion @ wikimedia.org)