Index: trunk/phase3/includes/Title.php |
— | — | @@ -1281,7 +1281,7 @@ |
1282 | 1282 | # Protect css/js subpages of user pages |
1283 | 1283 | # XXX: this might be better using restrictions |
1284 | 1284 | # XXX: Find a way to work around the php bug that prevents using $this->userCanEditCssJsSubpage() from working |
1285 | | - if( $this->isCssJsSubpage() && !$user->isAllowed('editusercssjs') |
| 1285 | + if( $this->isCssJsSubpage() && !$user->isAllowed('editusercssjs' ) && $action != 'patrol' |
1286 | 1286 | && !preg_match('/^'.preg_quote($user->getName(), '/').'\//', $this->mTextform) ) |
1287 | 1287 | { |
1288 | 1288 | $errors[] = array('customcssjsprotected'); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -302,6 +302,8 @@ |
303 | 303 | * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image table. |
304 | 304 | * (bug 14080) Short notation links to subpages didn't work in edit summaries |
305 | 305 | * (bug 17374) Special:Export no longer exports multiple copies of pages |
| 306 | +* (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by |
| 307 | + users who can't edit them |
306 | 308 | |
307 | 309 | == API changes in 1.16 == |
308 | 310 | |