Page MenuHomePhabricator

API shows external links whith are not shown in the article because of template condition
Closed, ResolvedPublic

Description

http://de.wikipedia.org/w/api.php?action=query&prop=extlinks&titles=Medizinjournalist (Buggy: showing external link)

http://de.wikipedia.org/w/index.php?title=Umkehrhaltung&oldid=52407589 (correct: no external link)
http://de.wikipedia.org/w/index.php?title=Medizinjournalist&oldid=52407550 (correct: no external link)

The examples above will only work a short time.
It includes a template (Löschantragstext) with the condition
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#ifeq:{{#timel:j". "F" "Y}}|{{{tag|{{LOCALDAY}}}}}. {{{monat|{{LOCALMONTHNAME}}}}} {{{jahr|{{LOCALYEAR}}}}}|{{!}} {{AddNewSection|Seite=Wikipedia:Löschkandidaten/{{LOCALDATE}}|Betreff=[[{{PAGENAME}}]]|Text=Artikel eintragen}}}}}}

short: if today == dateX then show AddNewSection-link

The article is not showing the link if today != dateX, but sometimes when the page was not modified after an api-Request is still showing this link. But mostly not (working mostly correct). So i think its a cache problem.


Version: unspecified
Severity: major
URL: http://de.wikipedia.org/w/api.php?action=query&prop=extlinks&titles=Umkehrhaltung

Details

Reference
bz16243

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:22 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz16243.
bzimport added a subscriber: Unknown Object (MLST).

Complicated to fix efficiently. Maybe later.

Hard to classify, but it was originally filed in site requests.

Sounds like a time condition used here, which is hard to track, duplicate of bug 18478?

  • This bug has been marked as a duplicate of bug 18478 ***