2012/11/10 Thomas PT <thomaspt@hotmail.fr>
Hi!
This bug is very strange. Its looks like it append only on italian Wikisource, so I think that one of your common.js script of gadget cause the bug.
This bug is impradicable it might be caused by a change of execution order of two script, by example your common.js (or a gadget) and scripts of ProofreadPage.
ProofreadPage init header, footer and quality contents from the content of the main textbox in its JavaScript so you mustn't supposed that the header and footer content is removed from the textbox when you write a script because this removing may occur after your script execution.
The variables are not merged by JavaScript but directly by PHP in the function "onEditPageImportFormData" of ProofreadPage.body.php and I don't think there is a bug at this level because all Wikisources would be affected.
So, I think that the bug is maybe caused by:
- A script that make the initialization of textboxes fail (by example by changing main textbox content before execution of ProofreadPage).
- A script that make the fields empty on submitting.
- ...
Tpt