[Mediawiki-l] Any help on sophisticated MySQL-Statemanet
lists at nadir-seen-fire.com
Sun Apr 17 07:52:27 UTC 2011
Is that part of the other block? Most of that looks relatively the same
as the other query.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
On 11-04-14 08:42 AM, Stefan Werthmann wrote:
> Hey daniel,
> you'r not working blind. It's exactly what I needed (results compared with
> the ugly code) :-)!
> Never really realized that $wg is reserved.
> I'm doing this for a function called: wfAjaxSexyHistoryUpdate() :-).
> Could you prepare a last translation?
> $qString = "SELECT cl_to,count(*) as cl_count from
> ".$wgDBprefix."categorylinks where cl_from='".$pidsArray[$i]."' group by
> cl_to having cl_count >0";
> It would be for another, last case. Maybe I should try it by myself- but I'
> am a API-beginner and you are very quick ;-).
> c u stevie
More information about the MediaWiki-l