* (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some cases
[lhc/web/wiklou.git] / includes / parser / LinkHolderArray.php
index 01f29e0..23d7153 100644 (file)
@@ -105,9 +105,8 @@ class LinkHolderArray {
         * Get the stub threshold
         */
        function getStubThreshold() {
-               global $wgUser;
                if ( !isset( $this->stubThreshold ) ) {
-                       $this->stubThreshold = $wgUser->getStubThreshold();
+                       $this->stubThreshold = $this->parent->getUser()->getStubThreshold();
                }
                return $this->stubThreshold;
        }