| @@ 2059-2068 (lines=10) @@ | ||
| 2056 | } |
|
| 2057 | $nottalk = !$this->mTitle->isTalkPage(); |
|
| 2058 | ||
| 2059 | if ( $useLinkPrefixExtension ) { |
|
| 2060 | $m = []; |
|
| 2061 | if ( preg_match( $e2, $s, $m ) ) { |
|
| 2062 | $first_prefix = $m[2]; |
|
| 2063 | } else { |
|
| 2064 | $first_prefix = false; |
|
| 2065 | } |
|
| 2066 | } else { |
|
| 2067 | $prefix = ''; |
|
| 2068 | } |
|
| 2069 | ||
| 2070 | $useSubpages = $this->areSubpagesAllowed(); |
|
| 2071 | ||
| @@ 2086-2091 (lines=6) @@ | ||
| 2083 | } |
|
| 2084 | ||
| 2085 | if ( $useLinkPrefixExtension ) { |
|
| 2086 | if ( preg_match( $e2, $s, $m ) ) { |
|
| 2087 | $prefix = $m[2]; |
|
| 2088 | $s = $m[1]; |
|
| 2089 | } else { |
|
| 2090 | $prefix = ''; |
|
| 2091 | } |
|
| 2092 | # first link |
|
| 2093 | if ( $first_prefix ) { |
|
| 2094 | $prefix = $first_prefix; |
|