It is possible to move a newsletter out of the newsletter namespace, which then causes all of the links to the newsletter in the newsletter Special pages to be red. If one tries to change the title of a newsletter, either in the same cross-namespace move or later, an error of "Cannot find newsletter with name <NEW NEWSLETTER NAME>" appears.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Introduce stricter validation involving Newsletters' content models | mediawiki/extensions/Newsletter | master | +34 -15 |
Event Timeline
Is it being thrown up as an Exception, or as a fatal error (like white screen with this line) ?
An MWException; the main background with navigation links and such still appears, and a stack trace is shown.
Well, in that case it wont be an issue, I guess - as currently the right to move around something in Newsletter namespace is reserved for 'Administrators', and we cannot expect them to do things lik this!
Hmm. That sounds strange. Can you confirm this with probably a new account (and in that case, please report)
The ? in the above comment meant "How odd", not "Maybe; unconfirmed"; I had already tested this before saying it.
Well. I got confsued with your use of 'seems'. Anyway, nice find and I can reproduce this.
@Pppery: @01tonythomas Cant reproduce error, when I move this to the another namespace, all description data/ after clicking edit button are lost. But no errors are thrown. Tried on fresh git clone. Maybe there's function to pass namespace to move form.
Change 329815 had a related patch set uploaded (by Pppery):
Introduce stricter validation involving Newsletters' content models
Change 329815 merged by jenkins-bot:
Introduce stricter validation involving Newsletters' content models