Last modified: 2011-04-30 01:21:23 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 T23949, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21949 - links in alert e-mails broken for titles with spaces in them
links in alert e-mails broken for titles with spaces in them
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.15.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://venciclopedia.com
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-26 03:40 UTC by Gustavo Morales
Modified: 2011-04-30 01:21 UTC (History)
3 users (show)

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


Attachments

Description Gustavo Morales 2009-12-26 03:40:03 UTC
When someone updates a page you're following mediawiki e-mails you an alert that looks like this in Spanish:

<beginning of description>
Estimado/a Carmen,

La página de Venciclopedia «Alirio Ugarte Pelayo» ha sido modificada por el usuario usuario anónimo 201.248.70.39 el
06:54 25 dic 2009.
La versión actual se encuentra en
http://venciclopedia.com/index.php?title=Alirio Ugarte Pelayo

Vaya a
http://venciclopedia.com/index.php?title=Alirio_Ugarte_Pelayo&diff=0&oldid=36933
para ver todos los cambios desde su última visita.

El resumen de edición es:  -  
<end of description>

In short, dear user, someone modified X page and here are the links to the new page and the history page.

As you can see from the the first link, there are no UNDERSCORES between words. So, any link that has more than one works is broken. If you click in the one received with the example above you go to 

http://venciclopedia.com/index.php?title=Alirio

instead of 

http://venciclopedia.com/index.php?title=Alirio_Ugarte_Pelayo

The link below, to the history page, has the underscores and works fine.
Comment 1 Priyanka Dhanda 2009-12-30 00:50:26 UTC
I could not reproduce this on any of the english wikis. :/
-p
Comment 2 Gustavo Morales 2009-12-30 01:24:16 UTC
This happened to me using Outlook 2007 SP2 running on Vista and on a wiki running Spanish. Gus
Comment 3 Tim Starling 2009-12-31 01:01:31 UTC
This could happen if the enotif_body message has been incorrectly customised on the wiki in question. The $PAGETITLE variable does contain spaces, so if you tried to make a URL with

http://venciclopedia.com/index.php?title=$PAGETITLE

then you'd hit this problem. Since the wiki is public, I can confirm that this is indeed the case:

http://venciclopedia.com/index.php?title=MediaWiki:Enotif_body

The solution is to use $PAGETITLE_URL instead. Marking invalid since it is a local configuration issue, not a MediaWiki bug.

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


Navigation
Links