Undocumented
Function | replace_parsetree_links_and_copy_images |
Changes parsetree in place to resolve links for the new location Also copies images to the new location |
Function | set_parsetree_attributes_to_resolve_links |
Changes parsetree in place so links can later be resolved against the source page |
Function | update_parsetree_and_copy_images |
Convenience method to update parsetree in place and copy any images for use in a new page |
Variable | logger |
Undocumented |
Function | _copy_image |
Undocumented |
Function | _copy_image_object |
Undocumented |
Function | _replace_links_to_interwiki_and_copy_images |
Undocumented |
Function | _replace_links_to_page_and_copy_images |
Undocumented |
Function | _resolve_links_and_images |
Undocumented |
Function | _strip_link_and_image_attribs |
Undocumented |
Function | _update_image |
Undocumented |
Changes parsetree in place to resolve links for the new location Also copies images to the new location
TODO: in theory you want the move images in certain cases - e.g. on clipboard "cut" operation. However at the moment we cannot check links from other pages to the image file; so it is not wise to do so. Improve logic when this is possible and add a "cut/copy" switch to the method. On "cut" move if no other use of the image on the same (old) page and update links in other pages; else copy.