FW: section titles

1 view
Skip to first unread message

Jonathan Respeto

unread,
May 15, 2011, 12:54:48 PM5/15/11
to perlw...@googlegroups.com


Hi, 

Im working with your module for editing and adding section titles in pages.
But running into issues or a bug where sections that are added then edited are just remove.  

attached is the script that I am working with. 

Thank you in advanced. 

Jonathan 




exampel.txt

Mike.lifeguard

unread,
May 15, 2011, 1:46:17 PM5/15/11
to perlw...@googlegroups.com
Hi Jonathan,

I'm not quite sure what the problem you're describing is. Can you
explain what you mean by "sections that are added then edited are just
removed"? Please also include output from the script when you run it.

Thanks,
-Mike

Mike.lifeguard

unread,
May 15, 2011, 2:39:02 PM5/15/11
to perlw...@googlegroups.com
Jonathan and I spoke in IRC. The problem is that the section headings
are part of the section itself. When editing a pre-existing section of a
page, you need to ensure that the ==heading== is left intact. If it is
removed, then the section is merged with the previous section. Only for
new sections can you set the heading by providing a summary. In all
other cases, the edit summary is just an edit summary.

-Mike

On 11-05-15 01:54 PM, Jonathan Respeto wrote:
>
>

Reply all
Reply to author
Forward
0 new messages