Topic on User talk:Kghbln

Tosfos (talkcontribs)

This edit on the Comments extension page changed the included file from "comment.php" to "comments.php" in the installation instructions. The name of the file in the extension actually is "comment.php".

Truth is, the name of that file should probably be changed to "comments.php" to comply with convention, in a way that maintains backward compatibility. What do you think?

Kghbln (talkcontribs)

Ouch, this was indeed a bad change I made. The naming of the file is however a bit unexpected since it appears that comments is used in nearly all the other context of the extension. I am guessing that this is an old inheritance from the early days of this extension which was never changed along the way. Changing from "Comment.php" to "Comments.php" is a good idea but not imperative. Perhaps "Comment.php" could just include a call like include 'Comments.php';. Still I will revert this change to make the page correspond with reality again. Thanks for the pointer!