Closed hyperreal-info closed 9 years ago
This was a big that has been fixed in c6527b8f7a78a41c31dfdf9b83b68115c8370cda. It will be in the next release (which should be soon).
If you need a workaround, create the Page object without a section, then call wikipage.setSection(section="section one"), which should work correctly.
Hi, I have an existing page, built from several sections. I want the robot to modify only one of sections, leaving the rest intact.
Let us say the current content looks like that:
I am generating a new version of the section one in the script:
and trying to commit into mediawiki:
but the result is that the new section one is removing "[Category:one]" with the new content of section one, putting it on the top of previous section one.
Where am I making a mistake in my script?
Cheers :)