On Wed, 28 Jul 2004 08:03:35 -0300, Alisson Sellaro sellaro@plugitin.com.br wrote: ...
When MediaWiki renders the page, it show a link to Song article but it doesn't include final "s" as part of the link (as if the contributor has typed [[song|songs]] instead of [[song]]s). This is a listed feature (at http://meta.wikimedia.org/wiki/Help:Editing#Links.2C_URLs - Endings are blended into the link), however.
I was wondering if I need to enable something or configure something so my MediaWiki instalation could behave like Meta.
After following up a lot of red herrings, I finally tracked this down to a single character in MediaWiki:Linktrail. This should end "(.*)$/sD", but somewhere along the line that $ has been escaped, giving "(.*)$/sD" - so instead of looking for an end-of-line, it's looking for an actual dollar-sign. This gives the amusing but not particularly useful effect that adding a dollar sign at the end of a link will activate the feature on that link (and disappear the $)
In other words, all you need do is change http://www.music-wiki.org/MediaWiki:Linktrail to be the same as http://en.wikipedia.org/wiki/MediaWiki:Linktrail by deleting the stray \
The actual Language.php definition seems to be correct, so I can only think that the escaping is being done automatically by whatever script puts the messages into the database (to create the MediaWiki: versions). Anyone know where this might be, and if it's been fixed already for clean installs?