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


Purodha Blissenbach <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |odha.net




--- Comment #4 from Purodha Blissenbach <[email protected]>  
2009-08-07 21:47:44 UTC ---
Here are ideas how this could be accomplished:

1. One could add a column to the table with a class that inhibits its
rendering, and needs a link to the column it is providing a sort key
for. Imho that is too complcated because of the link, and will display
the sort key column in CSS-unaware browsers, and requires editors to add
another columns with proper CSS class for each cell.

2. Add an attibute to <td>s such as
 <td sortkey="van Dam, Joseph P. Anthony">
for cells needing one. It is ignored by html browsers, but the sorting
(java)script could use them, and only resort to the cell content, if
there is no sortkey attribute for a cell. This makes sorting slower, but
since tables tend not to be excessively huge, that should be acceptable.

3. For sorting page titles, we could possibly utilize either of
 {{#DEFAULTSORT:page title}} or {{#DISPLAYTITLE:page title}}
, provided, we add tables for them to the data base, and create
these parser functions, which is pretty trivial with the appropriate
data base fields.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to