Some templates create links with class="external", that change to class="internal" after force refresh

RESOLVED WORKSFORME

Status

P2
normal
RESOLVED WORKSFORME
6 years ago
2 years ago

People

(Reporter: openjck, Unassigned)

Tracking

Details

(Whiteboard: [triaged][type:bug])

(Reporter)

Description

6 years ago
In bug 780324, Dan Callahan mentioned that class="external" was being added to some links when it should not have been.

That particular issue has been fixed, but MattN also mentioned the following.

> I think there is a bug here or at least the problem should be
> investigated. After editing some more pages it actually seems
> like the links are marked as external right after an edit and
> then doing a force refresh afterwards fixes it.
(Reporter)

Updated

6 years ago
Priority: -- → P2
(Assignee)

Updated

6 years ago
Version: Kuma → unspecified
(Assignee)

Updated

6 years ago
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
I pretty sure this is somehow related to wiki.pageExists() which we no longer need because all our docs/ links in the wiki have the right color anyway even when generated by a template. We removed that check from {{domxref()}} and I see the same with {{MathMLElement()}} where I no longer use pagesExists() now neither. 

So I think we can solve this by either removing that check in the all templates completely (because I think we don't need it) or by further investigating what is wrong with that check.
Component: Landing pages → KumaScript
QA Contact: website
(Reporter)

Updated

5 years ago
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [triaged][type:bug]
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.