Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95451


Change subject: Don't even mention $wgTitle in a comment
......................................................................

Don't even mention $wgTitle in a comment

Change-Id: I0f9d10c1287687120cbaed6346de935d306019ca
---
M CommentClass.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Comments 
refs/changes/51/95451/1

diff --git a/CommentClass.php b/CommentClass.php
index 59d7d1a..6ffcf0f 100644
--- a/CommentClass.php
+++ b/CommentClass.php
@@ -928,10 +928,10 @@
 
                                $output .= '</div>' . "\n";
 
-                               // $wgTitle points to 
Special:CommentListGet...and that special
-                               // page shouldn't even exist, so we certainly 
don't want to
-                               // advertise it...let's point the permalink to 
the current page
-                               // instead :)
+                               // The current title points to 
Special:CommentListGet...and that
+                               // special page shouldn't even exist, so we 
certainly don't want
+                               // to advertise it...let's point the permalink 
to the current
+                               // page instead :)
                                $title = Title::newFromID( $this->PageID );
 
                                $output .= '</div>' . "\n";

-- 
To view, visit https://gerrit.wikimedia.org/r/95451
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f9d10c1287687120cbaed6346de935d306019ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Comments
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to