Index: trunk/extensions/SelectCategory/SelectCategoryFunctions.php |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | |
109 | 109 | # default sort key is page name with stripped namespace name, |
110 | 110 | # otherwise sorting is ugly. |
111 | | - if ($wgTitle->getNamespace() == "NS_MAIN") { |
| 111 | + if ($wgTitle->getNamespace() == NS_MAIN) { |
112 | 112 | $default_sortkey = ""; |
113 | 113 | } else { |
114 | 114 | $default_sortkey = "|{{PAGENAME}}"; |