On Tue, Jun 5, 2012 at 9:29 AM, nguyenkim thuat <kimthuatnguyenensima...@gmail.com> wrote: > Hi, > When uploading a file using the mediawiki API, i use this Url of the Upload > page: > > $url= > "http://localhost/mediawki/index.php/Special:Upload"; > But is this variable configurable? > I mean to get the url in any wiki langagues. Because the french wiki have > the different url for this page, for exemple: > $url= > "http://localhost/mediawki/index.php/Spécial:Téléverser" instead >
[[Special:Upload]] will work on any wiki, since the English names (known internally as the "canonical" page) will work regardless of the wiki's language. For example, if you go to http://fr.wikipedia.org/wiki/Special:Upload, you'll see that it redirects automatically. -Chad _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api