Summary: WhatLinksHere only lists image link or transclusion,
                    never both.
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Special pages

The three foreach() loops here:

overwrite eachother. That was done to avoid duplicates. However the props are
also rewritten.

Perhaps a check to see if it's been set already should be done and merge the
is_template/is_image props.

Although we could choose to simply decide to let one count strong than the
other (in this case imagelink, over templatelink, over pagelink) however the
following part of the code is clearly designed with the scenario in mind that
multiple props are set to 1:
298                if ( $row->is_template )
299                            $props[] = $msgcache['istemplate'];
300                    if( $row->is_image )
301                            $props[] = $msgcache['isimage'];
303                    if ( count( $props ) ) {
304                            $propsText = '(' . implode(
$msgcache['semicolon-separator'], $props ) . ')';
305                    }

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to