Forum:Numbering the Special:Contributions Page

Hello, I found this code for numbering the user contributions entries on Wikipedia. Can it be used on wikia? I've tried to put  in my wikia.css but it didn't work. Also, can the page be transcluded like the recent changes page ? 16:46, May 29, 2011 (UTC)