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

       Web browser: ---
             Bug #: 33966
           Summary: Wrong href in ApiSandbox examples
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: https://en.wikipedia.org/wiki/Special:ApiSandbox
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ApiSandbox
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


ApiSandbox example links, introduced in r109226 (see also bug #32739), use a
relative URL pointing just to “api.php?etc.” (exactly as received from the
getExamples() method in the API module).

But this does not work if the ApiSandbox special page runs at its canonical
location of “.../wiki/Special:ApiSandbox” (examples link to
“.../wiki/api.php?etc”, which is wrong), it works only when tested at the raw
“.../w/index.php?title=Special:ApiSandbox” path.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to