Index: trunk/phase3/includes/api/ApiQueryDoubleRedirects.php |
— | — | @@ -96,16 +96,16 @@ |
97 | 97 | } |
98 | 98 | if (is_null($resultPageSet)) { |
99 | 99 | $title = Title :: makeTitle($row->page_namespace, $row->title); |
100 | | - $titleB = Title :: makeTitle($row->page_namespace, $row->tb); |
101 | | - $titleC = Title :: makeTitle($row->page_namespace, $row->tc); |
| 100 | + $titleB = Title :: makeTitle($row->page_nsb, $row->tb); |
| 101 | + $titleC = Title :: makeTitle($row->page_nsc, $row->tc); |
102 | 102 | $vals = array( |
103 | 103 | 'pageid' => $row->pageid, |
104 | 104 | 'ns' => intval($row->namespace), |
105 | 105 | 'title' => $title->getPrefixedText(), |
106 | | - 'idb' => intval($row->idb), |
| 106 | + 'idb' => $row->idb, |
107 | 107 | 'nsb' => intval($row->nsb), |
108 | 108 | 'tb' => $titleB->getPrefixedText(), |
109 | | - 'idc' => intval($row->idc), |
| 109 | + 'idc' => $row->idc, |
110 | 110 | 'nsc' => intval($row->nsc), |
111 | 111 | 'tc' => $titleC->getPrefixedText(), |
112 | 112 | ); |
Index: trunk/phase3/includes/api/ApiQueryBrokenRedirects.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | } |
90 | 90 | if (is_null($resultPageSet)) { |
91 | 91 | $title = Title :: makeTitle($row->page_namespace, $row->title); |
92 | | - $rdtitle = Title :: makeTitle($row->page_namespace, $row->rd_title); |
| 92 | + $rdtitle = Title :: makeTitle($row->rd_namespace, $row->rd_title); |
93 | 93 | $vals = array( |
94 | 94 | 'pageid' => intval($row->pageid), |
95 | 95 | 'ns' => intval($row->namespace), |