r27758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27757‎ | r27758 | r27759 >
Date:15:50, 22 November 2007
Author:nikerabbit
Status:old
Tags:
Comment:
Variables must be always initialized to prevent security issues when register_globals is on. Users can still customize the variable in localsettings.
Modified paths:
  • /trunk/extensions/EditOwn/EditOwn.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EditOwn/EditOwn.php
@@ -33,6 +33,7 @@
3434
3535 $wgHooks['userCan'][] = 'EditOwn';
3636
 37+$wgEditOwnExcludedNamespaces = array();
3738
3839 function EditOwn($title, $user, $action, &$result)
3940 {

Status & tagging log