| Index: trunk/phase3/includes/DefaultSettings.php |
| — | — | @@ -1562,6 +1562,11 @@ |
| 1563 | 1563 | $wgCategoryMagicGallery = true; |
| 1564 | 1564 | |
| 1565 | 1565 | /** |
| | 1566 | + * Paging limit for categories |
| | 1567 | + */ |
| | 1568 | +$wgCategoryPagingLimit = 200; |
| | 1569 | + |
| | 1570 | +/** |
| 1566 | 1571 | * Browser Blacklist for unicode non compliant browsers |
| 1567 | 1572 | * Contains a list of regexps : "/regexp/" matching problematic browsers |
| 1568 | 1573 | */ |
| Index: trunk/phase3/includes/CategoryPage.php |
| — | — | @@ -64,7 +64,7 @@ |
| 65 | 65 | * @access private |
| 66 | 66 | */ |
| 67 | 67 | function doCategoryMagic( $from = '', $until = '' ) { |
| 68 | | - global $wgContLang,$wgUser, $wgCategoryMagicGallery; |
| | 68 | + global $wgContLang,$wgUser, $wgCategoryMagicGallery, $wgCategoryPagingLimit; |
| 69 | 69 | $fname = 'CategoryPage::doCategoryMagic'; |
| 70 | 70 | wfProfileIn( $fname ); |
| 71 | 71 | |
| — | — | @@ -88,7 +88,7 @@ |
| 89 | 89 | $pageCondition = '1 = 1'; |
| 90 | 90 | $flip = false; |
| 91 | 91 | } |
| 92 | | - $limit = 200; |
| | 92 | + $limit = $wgCategoryPagingLimit; |
| 93 | 93 | $res = $dbr->select( |
| 94 | 94 | array( 'page', 'categorylinks' ), |
| 95 | 95 | array( 'page_title', 'page_namespace', 'page_len', 'cl_sortkey' ), |
| Index: trunk/phase3/RELEASE-NOTES |
| — | — | @@ -242,7 +242,6 @@ |
| 243 | 243 | * Restriction types now use restriction-* messages instead of ui messages |
| 244 | 244 | * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace |
| 245 | 245 | |
| 246 | | - |
| 247 | 246 | Parser: |
| 248 | 247 | * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits |
| 249 | 248 | * (bug 3210) Fix Media: links with remote image URL path |
| — | — | @@ -649,6 +648,7 @@ |
| 650 | 649 | * Fixed and enhanced a little the Live Preview, which had been broken for some time |
| 651 | 650 | * Added article size limit, $wgMaxArticleSize |
| 652 | 651 | * (bug 4974) Don't follow redirected talk page on "new messages" link |
| | 652 | +* (bug 4970) Make category paging limits configurable |
| 653 | 653 | |
| 654 | 654 | === Caveats === |
| 655 | 655 | |