Last modified: 2011-09-29 20:58:47 UTC
Created attachment 5744 [details] diff for ApiQuerySiteinfo.php Patch attached that gets license info from $wgRightsPage, $wgRightsUrl and $wgRightsText (similar to Skin.php). New 'rightsinfo' for query=siteinfo for api/ApiQuerySiteinfo.php Note: I made this patch by editing my MediaWiki 13.3, but I didn't copy the original file before editing it. :( So I performed the diff with http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiQuerySiteinfo.php?revision=46337&content-type=text%2Fplain and so some of the diff relates to other additions to this page made, that were not in my copy. I hope it is clear which bits relate to rightsinfo. If it is too annoying I can try and make a proper diff. Sorry for the hassle.
(In reply to comment #0) > I hope it is clear which bits relate to rightsinfo. If it is too annoying I can > try and make a proper diff. Sorry for the hassle. > Sorry, but it is annoying, and it's not a unified diff. Please submit a proper patch that I can just apply and test.
Created attachment 5747 [details] unified diff for ApiQuerySiteinfo.php
(In reply to comment #2) > Created an attachment (id=5747) [details] > unified diff for ApiQuerySiteinfo.php > Applied in r46645 with some modifications.