[Bug 14314] Special: AddData should catch PHP error when template specified in form is invalid ( not a title)

2008-12-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14314 --- Comment #1 from Li Ding [EMAIL PROTECTED] 2008-12-01 23:42:14 UTC --- Created an attachment (id=5550) -- (https://bugzilla.wikimedia.org/attachment.cgi?id=5550) AddData failed because fromHTML does not generate correct title

[Bug 14314] Special: AddData should catch PHP error when template specified in form is invalid ( not a title)

2008-12-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14314 Li Ding [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED]

[Bug 14314] Special: AddData should catch PHP error when template specified in form is invalid ( not a title)

2008-12-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14314 --- Comment #3 from Yaron Koren [EMAIL PROTECTED] 2008-12-02 01:33:47 UTC --- Hi, thanks, although I don't quite understand the patch - if it's the last three lines, the first two lines are identical. -- Configure bugmail:

[Bug 14314] Special: AddData should catch PHP error when template specified in form is invalid ( not a title)

2008-12-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14314 --- Comment #4 from Li Ding [EMAIL PROTECTED] 2008-12-02 02:12:30 UTC --- well, below should be the correct ones, they changes '.' and ' ' to '_'. --- $generated_page_name = str_replace('.',