User:Andrewds1021/Display Article Comments

Without JS
   | by User: 

Template:Comment Post
NOTE: Some of these issues may be fixable using other extensions, Lua, and/or JS.
 * 1) Unable to retrieve comment number
 * 2) *See corresponding list item in "DPL".
 * 3) Unable to retrieve user's avatar
 * 4) *There is likely no fix for this. Instead, I have used the default avatar for a registered user.
 * 5) Unable to differentiate between an anon and a registered user
 * 6) *Some links are different for an anon than a registered user.
 * 7) *An anon's IP address is displayed instead of "A Fandom user".
 * 8) Buttons section has been left empty
 * 9) *I am assuming this won't be an issue since the purpose of these templates it to simply display old comments.
 * 10) Has a fixed format for edit time
 * 11) *The posts always display the edit times as "month day, year" as opposed to initially using "# seconds ago", "# minutes ago", and the like.
 * 12) *Again, since the purpose is to display old comments, I am assuming this won't be an issue.
 * 13) Wikia does not suppor the use of  and
 * 14) *These elements have been replaced with MediaWiki markup that should act similarly. See [#Replaced Links|Replaced Links].

DPL
NOTE: Since DPL is a MediaWiki extension, there is nothing that can be done to resolve the following issues.
 * 1) Unable to retrieve comment number
 * 2) *In "Template:Comment Post", I have replaced all instances of the comment number with "comm_num".
 * 3) *There may or may not be a complex solution to get the comment number. Either way, I don't know it.
 * 4) Can only return the user and edit date used for sorting, therefore...
 * 5) *All dates are creation dates instead of most-recent-edit dates.
 * 6) *All users are creation users instead of most-recent-edit users (ex. an admin edits the post).

Replaced Links
HTML:  Equivalent URL:
 * cannot replicate "class" and "rel" attributes


 * redirects to one of the following
 * Comments Enabled:


 * "article" is a placeholder for the article page name
 * Comments Disabled:


 * "page_num" is some parameter which I am guessing is the comment tab number

Replacement: |
 * may not replicate "href" attribute

HTML:  Equivalent URL:

Replacement: User:
 * may not replicate "href" attribute