https://bugzilla.wikimedia.org/show_bug.cgi?id=17170

--- Comment #6 from Nikola Kovacs <nx.devn...@gmail.com> 2010-02-18 15:33:57 
UTC ---
While looking around in the code, I found out that in RefreshLinksJob2::run the
variable $start had a value equal to the article id that links to the template,
while $end was 0.

Because the sql query conditions are 
  "tl_from >= '$start'",
  "tl_from <= '$end'", 

(this is MW 1.14, but MW 1.15's BacklinkCache::getLinks has a similar sql
query), this resulted in no rows being returned, instead of the one row that
should be returned. I fixed this and now it works.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to