https://bugzilla.wikimedia.org/show_bug.cgi?id=22339
Summary: "Go" result should be available through the API Product: MediaWiki Version: 1.16-svn Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: API AssignedTo: roan.katt...@gmail.com ReportedBy: roan.katt...@gmail.com CC: bryan.tongm...@gmail.com, s...@reedyboy.net, vasi...@gmail.com, soxre...@gmail.com There should be a way in the API to tell which page you'll be redirected to when you type a certain string in the search box and click "Go". It's possible to get this by requesting http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=something&go=Go and getting the target of the resulting HTTP 302, but this'll return an HTTP 200 with search results when there is no title match for 'something' and this is hacky. The API should have some way of requesting this so it'll be cleaner and not run a full-blown search with the associated bandwidth usage if there is no title match. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l