On https://en.wikipedia.beta.wmflabs.org/wiki/Test_indicators the language button renders like so:
The add links link is not accessible as despite being part of the menu, is not part of the dropdown menu.
One potential solution is to revise the styles so that the add links item appears at the bottom of the list when selected although this may require HTML changes since the menu currently relies on absolute positioning.
- QA steps
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Test_indicators and confirm the edit links link is not visible
- Click the language button to confirm the edit links button displays and is clickable
Developer notes
Replicate this behavior with:
$wgHooks['SkinAfterPortlet'][] = function ( $skin, $portlet, &$html ) {
if($portlet === 'lang') {
$html.= '<span class="wb-langlinks-edit wb-langlinks-link" style="line-height: 1.125em;font-size: 0.75em;float: right;list-style: none none;text-align: right;padding-right: 0.5em !important;"><a href="#" style="color: #54595d !important;filter: grayscale(1);opacity: 0.73;">Edit linkS</a></span>';
}
};QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T273143#6803753 |
| 2 | ✅ | T273143#6803753 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ⬜ | T273143#6842537 |
| 2 | ⬜ | T273143#6842537 |


