Index: trunk/phase3/includes/Article.php |
— | — | @@ -991,19 +991,6 @@ |
992 | 992 | $wgOut->addWikiMsg('anontalkpagetext'); |
993 | 993 | } |
994 | 994 | |
995 | | - # Only diffs and new page links from RC give rcid params, so if |
996 | | - # we are just viewing the page normally with no rcid, try to find it. |
997 | | - # This is more convenient for users. |
998 | | - if( $this->mTitle->exists() && $this->mTitle->quickUserCan('patrol') ) { |
999 | | - if( empty($rcid) ) { |
1000 | | - $firstRev = $this->mTitle->getFirstRevision(); |
1001 | | - $rcid = $firstRev ? $firstRev->isUnpatrolled() : 0; |
1002 | | - } else { |
1003 | | - $rc = RecentChange::newFromId( $rcid ); |
1004 | | - // Already patrolled? |
1005 | | - $rcid = is_object($rc) && !$rc->getAttribute('rc_patrolled') ? $rcid : 0; |
1006 | | - } |
1007 | | - } |
1008 | 995 | # If we have been passed an &rcid= parameter, we want to give the user a |
1009 | 996 | # chance to mark this new article as patrolled. |
1010 | 997 | if( !empty($rcid) && $this->mTitle->exists() && $this->mTitle->quickUserCan('patrol') ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -85,7 +85,6 @@ |
86 | 86 | LanguageConverter class) |
87 | 87 | * (bug 17054) Added more descriptive errors in Special:RevisionDelete |
88 | 88 | * (bug 11527) Diff on page with one revision shows "Next" link to same diff |
89 | | -* (bug 15936) New page's patrol button should always be visible |
90 | 89 | * (bug 8065) Fix summary forcing for new pages |
91 | 90 | * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer |
92 | 91 | allowed by default. Change $wgInvalidRedirectTargets to re-enable. |