| Index: branches/wmf-deployment/extensions/intersection/DynamicPageList.php |
| — | — | @@ -87,6 +87,7 @@ |
| 88 | 88 | $iNamespace = 0; |
| 89 | 89 | |
| 90 | 90 | $bShowCurId = false; |
| | 91 | + $bGoogleHack = false; |
| 91 | 92 | |
| 92 | 93 | $bSuppressErrors = false; |
| 93 | 94 | $bShowNamespace = true; |
| — | — | @@ -275,6 +276,13 @@ |
| 276 | 277 | else |
| 277 | 278 | $bShowCurId = true; |
| 278 | 279 | } |
| | 280 | + else if ('googlehack' == $sType) |
| | 281 | + { |
| | 282 | + if ('false' == $sArg) |
| | 283 | + $bGoogleHack = false; |
| | 284 | + else |
| | 285 | + $bGoogleHack = true; |
| | 286 | + } |
| 279 | 287 | } |
| 280 | 288 | |
| 281 | 289 | $iCatCount = count($aCategories); |
| — | — | @@ -446,6 +454,8 @@ |
| 447 | 455 | $query = array(); |
| 448 | 456 | if (true == $bShowCurId) |
| 449 | 457 | $query['curid'] = intval($row->page_id); |
| | 458 | + if ($bGoogleHack) |
| | 459 | + $query['dpl_id'] = intval($row->page_id); |
| 450 | 460 | |
| 451 | 461 | if (true == $bShowNamespace) |
| 452 | 462 | $titleText = $title->getPrefixedText(); |
| Property changes on: branches/wmf-deployment/extensions/intersection |
| ___________________________________________________________________ |
| Name: svn:mergeinfo |
| 453 | 463 | - /branches/REL1_15/phase3/extensions/intersection:51646 |
| /trunk/extensions/intersection:56151-57449 |
| /trunk/phase3/extensions/intersection:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57541,57916,58151,58219,58633,58816 |
| 454 | 464 | + /branches/REL1_15/phase3/extensions/intersection:51646 |
| /trunk/extensions/intersection:56151-57449,60253 |
| /trunk/phase3/extensions/intersection:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57541,57916,58151,58219,58633,58816 |