Last modified: 2007-10-16 03:00:08 UTC
Created attachment 3679 [details] the patch I have made a simple change to EditPage.php in my liquidthreads branch. I would like it tested and put in the trunk to avoid merge headaches, because it's lots of little changes all over. In theory, no behavior should be changed at all, but it would be great if more people could test this. The change is to use $this->mTitle for GUI stuff and $this->mArticle->getTitle() for content and wikitext stuff. This simple distinction, having the title of the page editpage is accessed from separate from the title of the page actually being edited, makes liquidthreads possible. Until now, editpage has used $this->mTitle for everything, and this was assigned (and still is) to $wgTitle in __construct. But $this->mArticle is an argument to __construct, so calling code such as liquidthreads can edit pages other than the main page being accessed. So test this out please, and if it doesn't break anything, put it in trunk. Thanks!