Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xfd/prod: show Find sources links in AfD and PROD windows #1052

Merged
merged 1 commit into from Sep 5, 2020

Conversation

siddharthvp
Copy link
Member

The code doesn't look particularly nice, but this should be useful in practice.

Closes #1047.

The code doesn't look particularly nice, but this should be actually useful in practise.

Closes wikimedia-gadgets#1047.
Copy link
Collaborator

@Amorymeltzer Amorymeltzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased. LGTM, although, yes, agreed on the code! I do think it's worth discussing preview rendering but that need not stop this in any meantime! 👏

};
var title = encodeURIComponent(Morebits.pageNameNorm);
return $('<div>')
.addClass('plainlinks')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're just replicating the template, so shouldn't be changed, but I don't think the Twinkle render generates the external links that make this necessary.

(I personally really feel like the template should retain the external link styling since they are external links...)

@Amorymeltzer Amorymeltzer added this to the September 2020 update milestone Sep 5, 2020
@Amorymeltzer Amorymeltzer merged commit 9e6342a into wikimedia-gadgets:master Sep 5, 2020
@siddharthvp siddharthvp deleted the findsources branch October 22, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add {{find sources}} links for AfD and PROD
2 participants