Roan Kattouw <roan.kattouw <at> gmail.com> writes: > > 2010/11/16 Cindy Cicalese <cicalese <at> mitre.org>: > > $wgUseAjax = true; > > $wgAjaxExportList[] = 'testQueryPopulateDiv'; > > > This AJAX framework is obsolete. You should use the bot API for AJAX > instead. Documentation is at http://www.mediawiki.org/wiki/API . > There's a section on how to create your own modules from an extension > too. > > If all you need to do is parse some wikitext without otherwise needing > to do things in PHP (i.e. if you can generate the wikitext to parse on > the JS side), you could use the existing action=parse module to parse > it. > > Roan Kattouw (Catrope) >
Thank you. Since I did need to do additional work in PHP before parsing, I could not use action=parse directly from the JavaScript. But, I will investigate switching from using the old Ajax framework to using the API. Cindy _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
