Extension talk:UserPageEditProtection/Archive1

Don't work with MediaWiki 1.11 :( --201.52.31.55 11:04, 28 September 2007 (UTC)

I'm currently looking at this for version 1.11. There was a rewrite of code that affects this extension for version 1.11. --Hoggwild5 00:24, 6 December 2007 (UTC) A new extension version has been provided for MediaWiki version 1.11 --Hoggwild5 17:17, 6 December 2007 (UTC)

I edited the code just a little:
 * Using local $user var instead of global $wgUser as per Manual:Hooks/userCan.
 * Returning true so that future functions that hook userCan can do their thing.
 * Only $result needs to be passed by reference especially since you're not changing $title or $user.
 * Not checking all sub-pages for the user's name. The previous way would allow someone to create/edit a sub-page under someone else's userpage using their own username (e.g. User:NormalUser/SpamUser). --Egingell 09:40, 16 October 2007 (UTC)

Please add compatibility with version 1.11 and ability of choosing namespases.

Eric -- thanks for the contributions. I'm currently looking at rewriting the extension to function in version 1.11. There was a major recoding of Title.php, where this extension hooks in version 1.11 and I'm evaluating the coding differences now. --Hoggwild5 00:46, 6 December 2007 (UTC) A new extension version has now been provided for MediaWiki version 1.11 --Hoggwild5 17:17, 6 December 2007 (UTC)

The compatibility for choosing namespaces -- not sure what you mean here. This extension has a very specific purpose, and that is to protect user pages from being edited from anyone but the user or an admin. It is not meant to provide protection for other namespaces, and I will not be extending the restriction capability beyond the User pages. Thanks! -Hoggwild5 00:16, 21 December 2007 (UTC)

1.12?
Can you make it work with 1.12?
 * It works with version 1.12. --Hoggwild5 23:33, 22 April 2008 (UTC)

Error
On 1.12 I get the following error: Warning: Cannot modify header information - headers already sent by (output started at /home/hys/public_html/phantopedia/extensions/UserPageEditProtection.php:2) in /home/hys/public_html/phantopedia/includes/WebResponse.php on line 10

What does this mean?