Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -168,6 +168,7 @@ |
169 | 169 | global $wgNamespaceAliases, $wgContLang; |
170 | 170 | $wgContLang->load(); |
171 | 171 | $aliases = array_merge($wgNamespaceAliases, $wgContLang->namespaceAliases); |
| 172 | + $aliases = array_diff_key($aliases, array_flip($wgContLang->getNamespaces())); |
172 | 173 | $data = array(); |
173 | 174 | foreach( $aliases as $title => $ns ) { |
174 | 175 | $item = array( |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -213,6 +213,8 @@ |
214 | 214 | * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output |
215 | 215 | * (bug 16740) Added list=protectedtitles |
216 | 216 | * Added mainmodule and pagesetmodule parameters to action=paraminfo |
| 217 | +* (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace |
| 218 | + aliases already listed in siprop=namespaces |
217 | 219 | |
218 | 220 | === Languages updated in 1.15 === |
219 | 221 | |