Marc Kerbiquet wrote: > Thanks, but I forgot to mention that I also use the 'text' attribute and > the headhtml prop in a POST with action=parse. I use this command to > implement a preview in an external editor (the text is not in the database > yet). > > It would be nice if it was possible to implement an option to get absolute > urls but a simple replace does the trick as long as the page does not > contain source HTML :-) > > Cheers, > Marc
You can also make it the other way. Provide all your local URLs as absolute ones, and point the relatives to the wiki with <base href= _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api