Roan Kattouw
0aeb9c5c7b
Correcting slight mistake in r32413
2008-03-25 15:36:05 +00:00
Roan Kattouw
c60c6a37d0
API: Adding inprop=talkid,subjectid to prop=info
2008-03-25 15:31:24 +00:00
Roan Kattouw
19358606a1
API: Changing all modules' getParamDescription(), getAllowedParams() and getDescription() methods to public. ApiParamInfo needs them, and some versions of PHP threw fatal errors because they were protected. Oddly, other versions didn't (maybe because the caller and the callee have a common ancestor?)
2008-01-28 19:05:26 +00:00
Roan Kattouw
03e6a69433
API: Adding cascade flag to prop=info&inprop=protection
2008-01-15 15:23:27 +00:00
Huji
db7d75fba7
(bug 12608) (in continuation of r29719) Unifying the spelling of getDBkey() in the code.
2008-01-14 09:26:36 +00:00
Roan Kattouw
f023999c32
Improving r29456:
...
* The XML formatting bug is obscure and not trivial to fix, working around it is easier
* Added missing braces
2008-01-08 22:05:39 +00:00
Roan Kattouw
1aaec79b58
API: Temporary fix for broken XML rendering; XML formatter apparently doesn't like array(null). Will attempt to fix the real issue later
2008-01-08 21:42:00 +00:00
Roan Kattouw
0ffd093ea9
Returning protections more consistently
2008-01-08 16:42:18 +00:00
Roan Kattouw
7523ddffb4
* (bug 12543) API should support new protected titles system
...
* Changing ApiProtect to return ISO 8601 timestamps
* This doesn't really need a RELEASE-NOTES entry, as the protected titles system is already mentioned in RELEASE-NOTES
2008-01-08 16:31:50 +00:00
Roan Kattouw
5d8f2177c5
API:
...
* Add list=allcategories module
* Fix token-related E_NOTICEs
2007-12-10 15:55:12 +00:00
Victor Vasiliev
0495f90ebb
Revert r28215: incorrectly moved files
2007-12-06 18:33:18 +00:00
Victor Vasiliev
4e4cdf079e
Create includes/api/query for Query API and includes/api/edit for Edit API
2007-12-06 18:22:15 +00:00
Rotem Liss
27f805f86c
Make API check for page restrictions in the old format too.
2007-11-27 10:22:14 +00:00
Roan Kattouw
0dc5e7b169
API: Really fixing bug 10898 this time
2007-09-06 11:28:04 +00:00
Roan Kattouw
90a3fb90e9
(bug 10898) API does not return an edit token for non-existent pages
2007-09-03 20:17:53 +00:00
Yuri Astrakhan
9bf28ce7c9
API: Added various edit tokens to prop=info (except rollback - will be added to revisions)
2007-08-01 22:46:22 +00:00
Roan Kattouw
7dc483c1ed
API: Fixing a bug that caused inprop=protection to scream when no
...
existent titles were specified
2007-07-02 11:52:14 +00:00
Roan Kattouw
d4ad5a8dbe
Reverting r23562: accidentally modified phase3 rather than
...
branch/apiedit
2007-06-29 20:02:26 +00:00
Roan Kattouw
1a2e663a40
* Separating UI code and DB code in Article::rollback()
...
* Adding API rollback functionality
2007-06-29 19:55:46 +00:00
Aryeh Gregor
a15c419b3d
Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.)
2007-06-29 01:19:14 +00:00
Yuri Astrakhan
c17a9c53af
API: enh 10260: Added page protection status query in prop=info. Applied modified patch from Roan Kattouw.
2007-06-18 02:00:23 +00:00
Yuri Astrakhan
7ca6bd761c
API fixed bug 10112 generator=backlinks&prop=info broken
2007-06-03 17:22:09 +00:00
Yuri Astrakhan
cb38c11c84
API: documentation and cleanup.
2007-05-20 23:31:44 +00:00
Yuri Astrakhan
d732def31e
API: fixed bug in categories: error when no valid titles are given
2007-05-19 23:54:22 +00:00
Yuri Astrakhan
aab4c9d205
API:
...
* breaking change: Converted a map of revisions into a list of revisions to allow easier json processing (no need to know map keys)
* html formatting now properly links urls ending with a '\n' string (jsonfm)
* regression: fixed allpages to return int instead of string for pageid and ns
* Added: info now returns page length, counter, and a new flag
2007-05-19 20:26:08 +00:00
Nick Jenkins
f9619da3f0
Yet more doc tweaks:
...
* Add @addtogroup tags to various classes, to try and group conceptually-related classes together.
* Add brief descriptions to various Special pages, thanks to Phil Boswell.
* Moving some docs to be right above the classes they represent, so that they are picked up.
2007-04-20 08:55:14 +00:00
Tim Starling
b1cd1b035c
Fixed inefficient use of array_keys() introduced by Nick in r17880. If this is setting off alarms, then fix the alarms.
2006-11-25 17:11:58 +00:00
Nick Jenkins
14c53b728f
Code housekeeping stuff (and barring any stuff-ups on my behalf, there should be no changes in behaviour whatsoever after this) -
...
* removing some unused global declarations.
* removing or commenting out or adding comments for unused local vars.
* Adding one or two local var declarations.
* Declaring $matches array passed to preg_match() / preg_match_all() as array() before using [not required, just have a slight preference for the explicitness].
* remove one or two pass-by-reference function declarations where the value is not modified.
* Adding some braces to if-else blocks.
* In Parser.php, stripstrate is now an object rather than an array as per r17820, so we no longer need ask for a reference to it (as in "$x =& $this->mStripState;"), and in fact it's probably just simpler to get rid of $x altogether.
* Moving some preg regexes from "" quoting to '' quoting to stop static analyzer whinging about bad escape sequences.
... up to "LinksUpdate.php" in the includes/ directory.
2006-11-23 08:25:56 +00:00
Yuri Astrakhan
3ec1b5b646
API * simple backlinks module (no redirect resolution yet)
...
* Cleaned up references
2006-10-25 03:54:56 +00:00
Yuri Astrakhan
1e861c9f48
API * touched field format
...
* Removed duplicate pageid
2006-10-21 08:44:07 +00:00
Yuri Astrakhan
88e42b579b
API * Common field output function to simplify result generation
...
* Recent changes parameters
2006-10-21 08:26:32 +00:00
Yuri Astrakhan
10390af521
API * Added rudimentary RC list
...
* More readable query formulation
2006-10-20 07:10:18 +00:00
Yuri Astrakhan
31775400d8
*API: rewired generator (more work needed)
...
*API: structure cleanup: module names & parameters
2006-10-03 05:41:55 +00:00
Yuri Astrakhan
04399b2063
* API: added version information to each module (available via api.php?version command)
2006-10-01 21:20:55 +00:00
Yuri Astrakhan
e859600cea
* API: pageSet now supports pageids, revised revisions listings, lots of examples.
2006-10-01 20:17:16 +00:00
Yuri Astrakhan
85de1cb74b
* Code cleanup per TimStarling's suggestions
2006-10-01 04:38:31 +00:00
Yuri Astrakhan
f97b323e00
* API: result data generation cleanup, minor cleaning
2006-10-01 02:02:13 +00:00
Yuri Astrakhan
5c1ca0fc83
* API: Refactored per brion's suggestions
...
* API: began query revisions implementation (incomplete)
2006-09-27 05:13:48 +00:00
Yuri Astrakhan
8a7397e8ad
* API: Overall query-related cleanup.
2006-09-26 06:37:26 +00:00
Yuri Astrakhan
972b72f879
* API: All pages list
...
* API: Reworked parameter processing
2006-09-26 05:43:02 +00:00
Yuri Astrakhan
e57335a633
* API: Query Meta SiteInfo module
...
* API: Improved query help screen
2006-09-26 01:44:13 +00:00