aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryIWLinks.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Per wikitech-l, run a bunch of URLs in the API output through wfExpandUrl(), ↵Roan Kattouw2011-07-131-1/+1
| | | | | | | so they become fully-qualified even if they were originally protocol-relative Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92044
* * (bug 26483) add a iwtitles param to prop=iwlinksSam Reed2011-01-051-4/+25
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79669
* Per r77072 CR, followup r66872 (seemingly my crappy code from 5 months ago) ↵Sam Reed2010-11-211-1/+1
| | | | | | | like r77079 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77080
* Standardised file description headers, added @fileAlexandre Emsenhuber2010-08-071-3/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70647
* Rewrote r69339 etc. to clean up API cache header handling.Tim Starling2010-07-231-1/+5
| | | | | | | | | | | | * Introduced a "cache mode" concept to simplify the header generation code, and to avoid odd results when conflicting cache header requests are received from submodules, or at least to formalise the handling of such cases. * Made the cache mode private by default, so that code written in ignorance of caching tends to be safe. If different query modules are used in a single request, private caching is preferred over public caching. * Removed the "must-revalidate" option from all CC headers, this is really specific to page views with a hacked squid in front, I don't think it's applicable here. * Made the watchlist module private. This is really the definition of private data. There's nothing in the HTTP spec that says the URL for a CC:public request is private and can't be leaked. CC:private provides protection against unknown proxy behaviour. * In ApiQueryAllmessages: avoid calling $wgLang->getCode() to check if it's necessary to make a new $wgLang when lang= is specified, since this is the only thing that unstubs $wgUser. * Removed "FIXME: should this check $user instead of $wgUser?" Answer is no. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/69776
* Big blitz on unused variables (a lot of $db = $this->getDb() )Sam Reed2010-07-221-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/69761
* Correct the address of the FSF in some of the GPL headersDerk-Jan Hartman2010-06-211-1/+1
| | | | | | | 59 Temple Place -> 51 Franklin Street Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68353
* Per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/66168#c7252 switch ↵Sam Reed2010-06-201-1/+1
| | | | | | | | | while ( $row = $db->fectchObject( $res ) ) to foreach ( $res as row ) On ApiQueryUsers switch $r to row, and remove nested brackets Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68337
* Nuke $db->freeResult() from Api stuffsSam Reed2010-06-201-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68332
* Followup r66872Sam Reed2010-05-251-10/+5
| | | | | | | Use title to make interwiki Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66885
* bug 23524 - &url for ApiQueryIWLinks to expand full URLSam Reed2010-05-251-0/+16
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66872
* Remove &redirects from exampleSam Reed2010-05-251-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66870
* Minor part of bug 23473 - For the top level ApiMain/ApiQuery modules, note ↵Sam Reed2010-05-151-1/+1
| | | | | | | | | that module help is available before Minor comment tweak to ApiQueryIWLinks Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66464
* Part 1 of Bug 23524 - Api Modules as followup to bug 14473 (Add iwlinks ↵Sam Reed2010-05-141-0/+144
table to track inline interwiki link usage) Addition of ApiQueryIWLinks (prop=iwlinks) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66440