|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
MediaWiki 1.13.0 releasedMediaWiki 1.13.0 is now available [1].
Selected changes to the API since 1.12.0: * action=edit has been added. Note that $wgEnableWriteAPI = true; is required for this. * list=allimages and prop=categoryinfo have been added. * The blredirect, eiredirect and iuredirect (for list=backlinks, list=embeddedin and list=imageusage) have finally been implemented. Setting these parameters will list links through redirects as well. * Paging (i.e. limit and continue parameters) have been added to prop=links, prop=templatelinks, prop=langlinks, prop=extlinks, prop=categories and prop=images. These modules no longer return all results by default, but only the first 10 (like list= modules do). * Invalid titles no longer throw errors but are listed as invalid instead. * Invalid values for multivalue parameters now throw warnings instead of errors For a full list of changes to the API, see the section "API changes in 1.13" in the MediaWiki 1.13.0 release notes [2]. Roan Kattouw (Catrope) [1] http://lists.wikimedia.org/pipermail/mediawiki-announce/2008-August/000076.html [2] http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_13_0/phase3/RELEASE-NOTES _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: MediaWiki 1.13.0 releasedHi,
roan.kattouw@... a écrit : > * action=edit has been added. Note that $wgEnableWriteAPI = true; is required for this. Two questions about this : - It doesn't seem to be activated on Wikipedia. Do you have an idea when it will be available ? - Is there a proper way to ask the API if action=edit is available (to make code that can take advantage of it when available, but that use an other way when not). TIA, Nico _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: MediaWiki 1.13.0 releasedNicolas Vervelle schreef:
> Hi, > > roan.kattouw@... a écrit : > >> * action=edit has been added. Note that $wgEnableWriteAPI = true; is required for this. >> > Two questions about this : > - It doesn't seem to be activated on Wikipedia. Do you have an idea when > it will be available ? > > - Is there a proper way to ask the API if action=edit is available (to > make code that can take advantage of it when available, but that use an > other way when not). > The best way would probably be to just go to api.php?action=edit , which will either throw an error about a missing parameter (which means action=edit is enabled) or an error saying 'edit' is an unknown value for 'action' (in which case it's disabled). Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: MediaWiki 1.13.0 releasedOn Mon, Aug 18, 2008 at 12:42 PM, Roan Kattouw <roan.kattouw@...> wrote:
> Nicolas Vervelle schreef: >> Hi, >> >> roan.kattouw@... a écrit : >> >>> * action=edit has been added. Note that $wgEnableWriteAPI = true; is required for this. >>> >> Two questions about this : >> - It doesn't seem to be activated on Wikipedia. Do you have an idea when >> it will be available ? >> > No. >> - Is there a proper way to ask the API if action=edit is available (to >> make code that can take advantage of it when available, but that use an >> other way when not). >> > The best way would probably be to just go to api.php?action=edit , which > will either throw an error about a missing parameter (which means > action=edit is enabled) or an error saying 'edit' is an unknown value > for 'action' (in which case it's disabled). > > Roan Kattouw (Catrope) > > _______________________________________________ > Mediawiki-api mailing list > Mediawiki-api@... > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > action=query&meta=siteinfo will show a writeapi attribute if the write api is enabled. Bryan _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
| Free Forum Powered by Nabble | Forum Help |