Commit graph

20 commits

Author SHA1 Message Date
Sam Reed
53000baecf Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
John Du Hart
2e7d867478 Removed the 'eclipse helper' bit on top of every API module
It's a parctice that dates back to 2006 when the API was first written, and frankly isn't covered by the coding conventions. Same thing with the docblocks, they're all copypasted with some bits changed and don't even make sense if you look at them in the genereated code docs.
I don't feel that any of us depend on this anymore (get a better IDE), so in the inerest of consistancy it's time we said goodbye to it.
2011-11-16 00:17:26 +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
5db6b7ab5c * (bug 27479) API error when using both prop=pageprops and prop=info&inprop=displaytitle
Followup r75282

Patch by Brad Jorsch
2011-02-16 23:38:21 +00:00
Sam Reed
27c07317c4 * (bug 26480) add a pppageprops param to prop=pageprops 2011-01-05 22:11:39 +00:00
Sam Reed
c5c5092156 Minor code order tweaks in ApiQueryPageProps.
Remove getPossibleErrors, as it adds an error that this module doesn't through
2011-01-05 21:59:05 +00:00
Sam Reed
1f05665cf3 Styleli[zs]e the API up to date (Been a while since) 2010-12-30 17:06:09 +00:00
Bryan Tong Minh
2259ecd6d7 Follow-up to r75282: don't query if there are no pages to query 2010-12-29 20:32:14 +00:00
Sam Reed
6309c920dd Delete all the "API for MediaWiki 1.8+" comments
Add since to ApiQueryQueryPage
2010-12-22 20:52:06 +00:00
Bryan Tong Minh
9af2264645 Follow-up r75282
* Use addWhere instead of addWhereFld
* Don't add properties twice if there is a continue
* Add comments
2010-10-26 19:31:47 +00:00
Sam Reed
d194b9a179 Followup r75282, remove now unused class variables 2010-10-26 16:37:15 +00:00
Bryan Tong Minh
fae7025644 Follow-up r70638:
* Use a single query to get the page_props instead of one per page
* Removed the $wgPageProps global
* Removed a lot of useless crap
2010-10-23 18:53:39 +00:00
Sam Reed
550271e806 Explicit class variable definition
Parameter hints
2010-10-06 21:18:55 +00:00
Sam Reed
48a042cbf6 Remove some unneeded whitespace 2010-08-23 22:18:05 +00:00
X!
c9f278aa4a Fix r70770: Will I ever get this working? :) 2010-08-09 21:03:13 +00:00
X!
f40723965b Followup to r70701: Facepalm fixing. 2010-08-09 16:26:35 +00:00
X!
b528bcdf89 Followup to r70638: Clean up code, add prop to function args, add comment 2010-08-08 14:55:08 +00:00
Alexandre Emsenhuber
457eb73b61 Standardised file description headers, added @file 2010-08-07 19:59:42 +00:00
X!
685ef510ee -(bug 24484) Add prop=pageprops module
-Add $wgPageProps global variable
2010-08-07 18:50:23 +00:00