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

Yuri Astrakhan <yuriastrak...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|wikibugs-l@lists.wikimedia. |yuriastrak...@gmail.com
                   |org                         |

--- Comment #4 from Yuri Astrakhan <yuriastrak...@gmail.com> ---
I have began experimenting with the API versioning (sorry for my 6+ year
absence). There is now a mediawiki-api labs at
https://labsconsole.wikimedia.org/wiki/Nova_Resource:Mediawiki-api - I will
post all API versioning development there for everyone to test their client
code and extensions. Contact me if you want to join the project.


Current goal is to have a per module versioning scheme (this is required due to
the modular api nature).

/w/api.php?action=query2&...

action=query will default to action=query1 - the original implementation, but
will give a warning.

api.php help will show the latest version info

action=paraminfo will handle all versions

among things that will also be added is a structured warning system, e.g.

'warnings': {
  'main': {
    'usertext': 'Unrecognized parameters: param1,param2. Obsolete params:
param3. The latest module version is 3.'
    'unknownparams': ['param1','param2'],
    'obsoleteparams': ['param3'],
    'newestversion': 3,
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to