Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php |
— | — | @@ -514,7 +514,8 @@ |
515 | 515 | $revId = $title->getLatestRevID(); |
516 | 516 | } |
517 | 517 | |
518 | | - // Get the link ID |
| 518 | + // Find the link ID using the order of the link buckets ('-' = 0, 'A' = 1, |
| 519 | + // 'B' = 2, etc.) |
519 | 520 | $links = array_flip( array_keys( $wgArticleFeedbackv5LinkBuckets['buckets'] ) ); |
520 | 521 | $linkId = isset($links[$linkName]) ? $links[$linkName] : 0; |
521 | 522 | |