Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -141,7 +141,7 @@ |
142 | 142 | $data[$ns]['subpages'] = ''; |
143 | 143 | |
144 | 144 | if( $canonical ) |
145 | | - $data[$ns]['canonical'] = $canonical; |
| 145 | + $data[$ns]['canonical'] = strtr($canonical, '_', ' '); |
146 | 146 | } |
147 | 147 | |
148 | 148 | $this->getResult()->setIndexedTagName( $data, 'ns' ); |