Last modified: 2009-01-13 14:17:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18929, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16929 - COUNT( DISTINCT cc_id) needs AS clause
COUNT( DISTINCT cc_id) needs AS clause
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-08 00:17 UTC by Danny B.
Modified: 2009-01-13 14:17 UTC (History)
0 users

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


Attachments

Description Danny B. 2009-01-08 00:17:57 UTC
COUNT( DISTINCT cc_id) needs AS clause otherwise it generates

<td class="TablePager_col_COUNT( DISTINCT cc_id)">

which is td with three classes:
* TablePager_col_COUNT(
* DISTINCT
* cc_id)
instead of one.
Comment 1 Aaron Schulz 2009-01-08 00:27:04 UTC
the way tablepager works, the class would just have 'AS x' added to it
Comment 2 Danny B. 2009-01-08 00:32:50 UTC
Modify the tablepager to accept it? Such output is unusable. :-(
Comment 3 Aaron Schulz 2009-01-08 00:35:08 UTC
for now, I can kill all the whitespace I guess
Comment 4 Aaron Schulz 2009-01-13 14:17:31 UTC
Fixed in r45700

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


Navigation
Links