Merge "Allow and use type Language instead of string for $lang of doEditSectionLink"
[lhc/web/wiklou.git] / includes / parser / ParserOutput.php
index 48ba111..6d238ca 100644 (file)
@@ -338,7 +338,7 @@ class ParserOutput extends CacheTime {
                                        return $skin->doEditSectionLink( $editsectionPage,
                                                $editsectionSection,
                                                $editsectionContent,
-                                               $wgLang->getCode()
+                                               $wgLang
                                        );
                                },
                                $text