Closed Bug 787084 Opened 12 years ago Closed 8 years ago

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

Categories

(developer.mozilla.org Graveyard :: KumaScript, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: openjck, Unassigned)

Details

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

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.
Priority: -- → P2
Version: Kuma → unspecified
Component: Website → Landing pages
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
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [triaged][type:bug]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.