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

           Summary: api.php Main Page examples might not exist
           Product: MediaWiki
           Version: 1.14.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@home.nl
        ReportedBy: jida...@jidanni.org
                CC: bryan.tongm...@gmail.com, vasi...@gmail.com


I notice many of the examples on api.php hardwire in a "Main%20Page".

The problem is on many wikis other than English ones, that page won't exist.

Hence the user cannot just click to try the example. He must edit the URL.

Perhaps choose a page that is sure to exist. Maybe some MediaWiki:... page.

Also if it does exists, well it is usually quite large.

Another idea would be to dynamically link whatever the Main Page is called
according to $wgLanguageCode.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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