* (bug 2541) Fix unprotect tab

This commit is contained in:
Brion Vibber 2005-06-26 21:23:44 +00:00
parent a1e9d4b0b6
commit ae4157a72d
2 changed files with 2 additions and 1 deletions

View file

@ -371,6 +371,7 @@ Various bugfixes, small features, and a few experimental things:
* Try reading revisions from master if no result on slave
* (bug 2538) Suppress notice on user serialized checks
* Fix paging on Special:Contributions
* (bug 2541) Fix unprotect tab
=== Caveats ===

View file

@ -311,7 +311,7 @@ class Article {
* @access private
*/
function loadPageData( $data ) {
$this->mTitle->mRestrictions = explode( ',', trim( $data->page_restrictions ) );
$this->mTitle->loadRestrictions( $data->page_restrictions );
$this->mTitle->mRestrictionsLoaded = true;
$this->mCounter = $data->page_counter;