Last modified: 2009-03-12 08:25:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19925, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17925 - mention version at the top of api.php
mention version at the top of api.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Lowest trivial (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 01:30 UTC by Dan Jacobson
Modified: 2009-03-12 08:25 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
link the version (599 bytes, patch)
2009-03-12 02:06 UTC, Dan Jacobson
Details

Description Dan Jacobson 2009-03-11 01:30:47 UTC
http://en.wikipedia.org/w/api.php and
http://radioscanningtw.jidanni.org/api.php
should say there at the top what version of the API they are.
That way one can know at a glance if they are different.

Indeed, also add a link to [[Special:Version]].

P.S.,
 #REDIRECThttp://en.wikipedia.org/w/api.php
 This page is a soft redirect.

 Retrieved from "http://en.wikipedia.org/wiki/Api.php"
looks ugly in text browsers
Comment 1 Roan Kattouw 2009-03-11 14:07:10 UTC
(In reply to comment #0)
> http://en.wikipedia.org/w/api.php and
> http://radioscanningtw.jidanni.org/api.php
> should say there at the top what version of the API they are.
> That way one can know at a glance if they are different.
> 
> Indeed, also add a link to [[Special:Version]].
> 
Use api.php?version

> P.S.,
>  #REDIRECThttp://en.wikipedia.org/w/api.php
>  This page is a soft redirect.
> 
>  Retrieved from "http://en.wikipedia.org/wiki/Api.php"
> looks ugly in text browsers
> 

That's not a software bug, but a Wikipedia issue. Go ahead and fix it, it's not protected ;)
Comment 2 Dan Jacobson 2009-03-12 02:06:58 UTC
Created attachment 5922 [details]
link the version

OK, I have figured it out, and made a patch. Otherwise it would be
very hard for the average user to answer "what version of the API am I using?"

As far as the Wikipedia problem, I will let it be.
Comment 3 Roan Kattouw 2009-03-12 08:25:57 UTC
(In reply to comment #2)
> Created an attachment (id=5922) [details]
> link the version
> 
> OK, I have figured it out, and made a patch. Otherwise it would be
> very hard for the average user to answer "what version of the API am I using?"
> 
> As far as the Wikipedia problem, I will let it be.
> 

The version thing is already mentioned, see excerpt below. Re-closing as WORKSFORME, people should read the parameter list or search for the word "version" instead of just reading the first paragraph and assuming it's not there.

Parameters:
[...]
  version        - When showing help, include version for each module
[...]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links