A trailing slash on a wikilink breaks the link:

[[todo/Gallery/]] appears as Gallery.

[[todo/Gallery]] appears as Gallery.

--JoshTriplett

done