Last modified: 2012-08-12 16:46:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 16243 - API shows external links whith are not shown in the article because of template condition
API shows external links whith are not shown in the article because of templa...
Status: RESOLVED DUPLICATE of bug 18478
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-04 22:31 UTC by merl
Modified: 2012-08-12 16:46 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description merl 2008-11-04 22:31:00 UTC
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.
Comment 1 Tim Starling 2008-11-04 22:49:08 UTC
Complicated to fix efficiently. Maybe later.
Comment 2 Diederik van Liere 2011-11-29 23:31:40 UTC
Hard to classify, but it was originally filed in site requests.
Comment 3 Umherirrender 2012-08-04 19:09:02 UTC
Sounds like a time condition used here, which is hard to track, duplicate of bug 18478?
Comment 4 Umherirrender 2012-08-12 16:46:34 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links