Commit graph

15 commits

Author SHA1 Message Date
Alex Monk
8e2b0d2b8d (bug 32498) Allow comparing pages using pageids
Change-Id: Ia2ab39e3b7b911f622aad96ca7b94ea7675c00ac
2012-04-08 00:30:54 +01:00
Max Semenik
c7bc27d5f8 Consistency: made all API examples a verbs 2012-01-12 17:36:06 +00:00
Sam Reed
6115b93df8 Re-instate most of the revisions for bug 33147 "API examples should explain what they do"
Using this to sync up my working copies

Should have the little niggles tidied up though
2011-12-27 16:22:35 +00:00
Brion Vibber
02bb594ac7 Revert r106521: creates lots of long, unwrappable lines in help output 2011-12-20 21:26:57 +00:00
Sam Reed
b0818acd86 More example conversions/additions
Ping r106439
2011-12-17 19:10:33 +00:00
Alexandre Emsenhuber
2b78de3f02 Made DifferenceEngine use a context instead of global variables and updaters calls to constructor in core 2011-11-10 13:06:52 +00:00
Sam Reed
a5628f5734 Based on diff to wikia, set more functions consistently public rather than protected 2011-08-17 22:24:21 +00:00
Sam Reed
d5e46f9614 Followup r92396
More modules documented, pretty much only action=query&list= to be done (ie links added where documentation pages exist already)
2011-07-17 16:51:11 +00:00
Sam Reed
696d202e18 Followup r89550, add new error message to getPossibleErrors 2011-06-06 09:40:45 +00:00
Matthew Britton
3d0bc9ca1c ApiComparePages: Throw an error if getDiffBody returns false, instead of blank output
This lets the client distinguish a legitimately blank diff (identical revisions) from one that does not exist or which they do not have permission to view.

getDiffBody doesn't tell the caller why it failed, so there may be a better way to do this.
2011-06-06 09:22:52 +00:00
Alexandre Emsenhuber
e44f4c34e5 Fixed api=compare example to use existing parameters 2011-05-24 16:16:00 +00:00
Sam Reed
c6490439d7 Followup r88002, fix naming on param documentation 2011-05-14 09:05:15 +00:00
Sam Reed
4bd15ed2e7 Improve variable naming 2011-05-13 16:16:08 +00:00
Sam Reed
cee8036e61 Followup r87225
Best to rename everything when you rename something
2011-05-02 11:12:48 +00:00
Sam Reed
c8079f0b81 * (bug 27185) API: Add Special:ComparePages 2011-05-01 21:56:02 +00:00