Last modified: 2010-05-15 15:37:33 UTC
Q: Could it be useful to enforce that a talk page cannot be created if there is no corresponding article? If so, could do it in includes/EditPage.php with something like this: if ($this->mTitle->isTalkPage()) { $subject_page = $this->mTitle->getSubjectPage(); if (!$subject_page->exists()) { // give some error return; } }
This is not a good idea, WONTFIX
There's no reason to enforce something like that. It could be a great annoyance when dealing with deleted pages, and would break all talk subpages.
Okay, understood, not useful or even harmful in the general case. Probably useful to me for a personal wiki homepage though, because my requirements are very different (I want a very low-maintenance site that I can set-and-forget for months at a time, and the worst-case-scenario for me with this change + a few other access-restrictions is that vandals can fill the talk pages of already existing articles with garbage, but cannot alter the articles themselves, and they also can't add random talk pages or new articles).