Index: branches/wmf/1.16wmf4/includes/specials/SpecialLinkSearch.php |
— | — | @@ -98,6 +98,7 @@ |
99 | 99 | if ($rv === false) { |
100 | 100 | //makeLike doesn't handle wildcard in IP, so we'll have to munge here. |
101 | 101 | if (preg_match('/^(:?[0-9]{1,3}\.)+\*\s*$|^(:?[0-9]{1,3}\.){3}[0-9]{1,3}:[0-9]*\*\s*$/', $query)) { |
| 102 | + $dbr = wfGetDB( DB_SLAVE ); |
102 | 103 | $rv = array( $prot . rtrim($query, " \t*"), $dbr->anyString() ); |
103 | 104 | $field = 'el_to'; |
104 | 105 | } |
Property changes on: branches/wmf/1.16wmf4/includes/specials/SpecialLinkSearch.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
105 | 106 | Merged /branches/REL1_15/phase3/includes/specials/SpecialLinkSearch.php:r51646 |
106 | 107 | Merged /branches/REL1_17/phase3/includes/specials/SpecialLinkSearch.php:r79351 |
107 | 108 | Merged /branches/sqlite/includes/specials/SpecialLinkSearch.php:r58211-58321 |
108 | 109 | Merged /trunk/phase3/includes/specials/SpecialLinkSearch.php:r63045,63047,63549,63764,63897-63901,64846,64860,64862,71059,71098,77555,77558-77560,77563-77565,77573 |
109 | 110 | Merged /branches/wmf-deployment/includes/specials/SpecialLinkSearch.php:r53381,56967,60970 |