Add Special:AbuseFilter/test, which allows (trusted for now, due to DoS potential...
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 28 Jan 2009 23:54:41 +0000 (23:54 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 28 Jan 2009 23:54:41 +0000 (23:54 +0000)
Some related cleanup to change tagging in ChangesList.

includes/ChangesList.php

index 66e35cf..cc9c358 100644 (file)
@@ -340,6 +340,9 @@ class ChangesList {
        }
 
        protected function insertTags( &$s, &$rc, &$classes ) {
+               if ( empty($rc->mAttribs['ts_tags']) )
+                       return;
+                       
                list($tagSummary, $newClasses) = ChangeTags::formatSummaryRow( $rc->mAttribs['ts_tags'], 'changeslist' );
                $classes = array_merge( $classes, $newClasses );
                $s .= ' ' . $tagSummary;