https://bugzilla.wikimedia.org/show_bug.cgi?id=26823

           Summary: {{SUBPAGENAME}} should be empty when no subpage exists
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://en.wikipedia.org/wiki/Template:POTD navigation
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: er...@darcoury.nl


{{SUBPAGENAME}} returns the base page name when no subpage exists, even when
subpages are allowed (such as Template: space on en:wiki). This causes lots of
templates to spew out ugly errors (see URL, where {{SUBPAGENAME}} is used
within #time:), which could be avoided. I cannot see the use of returning the
base page in these cases; it should return nothing when there is no subpage.

http://en.wikipedia.org/wiki/Template:POTD navigation
http://en.wikipedia.org/wiki/Template:Pic_of_the_day

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to