Index: trunk/phase3/includes/User.php |
— | — | @@ -151,7 +151,6 @@ |
152 | 152 | 'markbotedits', |
153 | 153 | 'minoredit', |
154 | 154 | 'move', |
155 | | - 'movepage', |
156 | 155 | 'move-rootuserpages', |
157 | 156 | 'move-subpages', |
158 | 157 | 'nominornewtalk', |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -1222,10 +1222,6 @@ |
1223 | 1223 | // Show user page-specific message only if the user can move other pages |
1224 | 1224 | $errors[] = array( 'cant-move-user-page' ); |
1225 | 1225 | } |
1226 | | - // Check if user is allowed to move files if it's a file |
1227 | | - if( $this->getNamespace() == NS_FILE && !$user->isAllowed( 'movefile' ) ) { |
1228 | | - $errors[] = array( 'movenotallowedfile' ); |
1229 | | - } |
1230 | 1226 | // Check for immobile pages |
1231 | 1227 | if( !MWNamespace::isMovable( $this->getNamespace() ) ) { |
1232 | 1228 | // Specific message for this case |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1163,42 +1163,41 @@ |
1164 | 1164 | $wgGroupPermissions = array(); |
1165 | 1165 | |
1166 | 1166 | // Implicit group for all visitors |
1167 | | -$wgGroupPermissions['*']['createaccount'] = true; |
1168 | | -$wgGroupPermissions['*']['read'] = true; |
1169 | | -$wgGroupPermissions['*']['edit'] = true; |
1170 | | -$wgGroupPermissions['*']['createpage'] = true; |
1171 | | -$wgGroupPermissions['*']['createtalk'] = true; |
1172 | | -$wgGroupPermissions['*']['writeapi'] = true; |
| 1167 | +$wgGroupPermissions['*' ]['createaccount'] = true; |
| 1168 | +$wgGroupPermissions['*' ]['read'] = true; |
| 1169 | +$wgGroupPermissions['*' ]['edit'] = true; |
| 1170 | +$wgGroupPermissions['*' ]['createpage'] = true; |
| 1171 | +$wgGroupPermissions['*' ]['createtalk'] = true; |
| 1172 | +$wgGroupPermissions['*' ]['writeapi'] = true; |
1173 | 1173 | |
1174 | 1174 | // Implicit group for all logged-in accounts |
1175 | | -$wgGroupPermissions['user']['move'] = true; |
1176 | | -$wgGroupPermissions['user']['move-subpages'] = true; |
1177 | | -$wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages |
1178 | | -//$wgGroupPermissions['user']['movefile'] = true; // Disabled for now due to possible bugs and security concerns |
1179 | | -$wgGroupPermissions['user']['read'] = true; |
1180 | | -$wgGroupPermissions['user']['edit'] = true; |
1181 | | -$wgGroupPermissions['user']['createpage'] = true; |
1182 | | -$wgGroupPermissions['user']['createtalk'] = true; |
1183 | | -$wgGroupPermissions['user']['writeapi'] = true; |
1184 | | -$wgGroupPermissions['user']['upload'] = true; |
1185 | | -$wgGroupPermissions['user']['reupload'] = true; |
1186 | | -$wgGroupPermissions['user']['reupload-shared'] = true; |
1187 | | -$wgGroupPermissions['user']['minoredit'] = true; |
1188 | | -$wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok" |
| 1175 | +$wgGroupPermissions['user' ]['move'] = true; |
| 1176 | +$wgGroupPermissions['user' ]['move-subpages'] = true; |
| 1177 | +$wgGroupPermissions['user' ]['move-rootuserpages'] = true; // can move root userpages |
| 1178 | +$wgGroupPermissions['user' ]['read'] = true; |
| 1179 | +$wgGroupPermissions['user' ]['edit'] = true; |
| 1180 | +$wgGroupPermissions['user' ]['createpage'] = true; |
| 1181 | +$wgGroupPermissions['user' ]['createtalk'] = true; |
| 1182 | +$wgGroupPermissions['user' ]['writeapi'] = true; |
| 1183 | +$wgGroupPermissions['user' ]['upload'] = true; |
| 1184 | +$wgGroupPermissions['user' ]['reupload'] = true; |
| 1185 | +$wgGroupPermissions['user' ]['reupload-shared'] = true; |
| 1186 | +$wgGroupPermissions['user' ]['minoredit'] = true; |
| 1187 | +$wgGroupPermissions['user' ]['purge'] = true; // can use ?action=purge without clicking "ok" |
1189 | 1188 | |
1190 | 1189 | // Implicit group for accounts that pass $wgAutoConfirmAge |
1191 | 1190 | $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true; |
1192 | 1191 | |
1193 | 1192 | // Users with bot privilege can have their edits hidden |
1194 | 1193 | // from various log pages by default |
1195 | | -$wgGroupPermissions['bot']['bot'] = true; |
1196 | | -$wgGroupPermissions['bot']['autoconfirmed'] = true; |
1197 | | -$wgGroupPermissions['bot']['nominornewtalk'] = true; |
1198 | | -$wgGroupPermissions['bot']['autopatrol'] = true; |
1199 | | -$wgGroupPermissions['bot']['suppressredirect'] = true; |
1200 | | -$wgGroupPermissions['bot']['apihighlimits'] = true; |
1201 | | -$wgGroupPermissions['bot']['writeapi'] = true; |
1202 | | -#$wgGroupPermissions['bot']['editprotected'] = true; // can edit all protected pages without cascade protection enabled |
| 1194 | +$wgGroupPermissions['bot' ]['bot'] = true; |
| 1195 | +$wgGroupPermissions['bot' ]['autoconfirmed'] = true; |
| 1196 | +$wgGroupPermissions['bot' ]['nominornewtalk'] = true; |
| 1197 | +$wgGroupPermissions['bot' ]['autopatrol'] = true; |
| 1198 | +$wgGroupPermissions['bot' ]['suppressredirect'] = true; |
| 1199 | +$wgGroupPermissions['bot' ]['apihighlimits'] = true; |
| 1200 | +$wgGroupPermissions['bot' ]['writeapi'] = true; |
| 1201 | +#$wgGroupPermissions['bot' ]['editprotected'] = true; // can edit all protected pages without cascade protection enabled |
1203 | 1202 | |
1204 | 1203 | // Most extra permission abilities go to this group |
1205 | 1204 | $wgGroupPermissions['sysop']['block'] = true; |
— | — | @@ -1232,7 +1231,6 @@ |
1233 | 1232 | $wgGroupPermissions['sysop']['apihighlimits'] = true; |
1234 | 1233 | $wgGroupPermissions['sysop']['browsearchive'] = true; |
1235 | 1234 | $wgGroupPermissions['sysop']['noratelimit'] = true; |
1236 | | -$wgGroupPermissions['sysop']['movefile'] = true; |
1237 | 1235 | #$wgGroupPermissions['sysop']['mergehistory'] = true; |
1238 | 1236 | |
1239 | 1237 | // Permission to change users' group assignments |
— | — | @@ -1670,8 +1668,8 @@ |
1671 | 1669 | */ |
1672 | 1670 | $wgEnableImageWhitelist = true; |
1673 | 1671 | |
1674 | | -/** Allows to move images and other media files */ |
1675 | | -$wgAllowImageMoving = true; |
| 1672 | +/** Allows to move images and other media files. Experemintal, not sure if it always works */ |
| 1673 | +$wgAllowImageMoving = false; |
1676 | 1674 | |
1677 | 1675 | /** Disable database-intensive features */ |
1678 | 1676 | $wgMiserMode = false; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1620,7 +1620,6 @@ |
1621 | 1621 | 'right-move' => 'Move pages', |
1622 | 1622 | 'right-move-subpages' => 'Move pages with their subpages', |
1623 | 1623 | 'right-move-rootuserpages' => 'Move root user pages', |
1624 | | -'right-movefile' => 'Move files', |
1625 | 1624 | 'right-suppressredirect' => 'Not create a redirect from the old name when moving a page', |
1626 | 1625 | 'right-upload' => 'Upload files', |
1627 | 1626 | 'right-reupload' => 'Overwrite an existing file', |
— | — | @@ -2691,7 +2690,6 @@ |
2692 | 2691 | 'movenologin' => 'Not logged in', |
2693 | 2692 | 'movenologintext' => 'You must be a registered user and [[Special:UserLogin|logged in]] to move a page.', |
2694 | 2693 | 'movenotallowed' => 'You do not have permission to move pages.', |
2695 | | -'movenotallowedfile' => 'You do not have permission to move files.', |
2696 | 2694 | 'cant-move-user-page' => 'You do not have permission to move user pages (apart from subpages).', |
2697 | 2695 | 'cant-move-to-user-page' => 'You do not have permission to move a page to a user page (except to a user subpage).', |
2698 | 2696 | 'newtitle' => 'To new title:', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -255,7 +255,6 @@ |
256 | 256 | * Show subversion too even if a "normal" version number is available |
257 | 257 | * (bug 16121) Add a note that a page move was without creating a redirect in the |
258 | 258 | move log |
259 | | -* Image moving is now enabled for sysops by default |
260 | 259 | |
261 | 260 | === Bug fixes in 1.14 === |
262 | 261 | |