<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 19, 2015 at 12:26 PM, Yetkin Sakal <span dir="ltr"><<a href="mailto:superyetkin@yahoo.com" target="_blank">superyetkin@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div>Are namespaces stored in replica databases? How can we link the page_namespae column in the page table to retrieve the full page name?<br></div></div></div></blockquote><div><br></div><div>The name of the column is not stored on the database (neither on labs dbs nor in production). There is not such a thing as a canonical name for namespaces, but you can go to<br>a) the source code of mediawiki for the predefined names and its translations to each language<br></div><div>b) our custoom/publicly available configuration for custom names/namespaces<br></div></div><<a href="https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L1947">https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L1947</a>><br><br></div><div class="gmail_extra">Please note that the same page/namespace can redirect to different names, depending on the local language:<br>e.g. <a href="https://es.wikipedia.org/wiki/Talk:Portada">https://es.wikipedia.org/wiki/Talk:Portada</a> redirects to <a href="https://es.wikipedia.org/wiki/Discusi%C3%B3n:Portada">https://es.wikipedia.org/wiki/Discusi%C3%B3n:Portada</a>.<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr"><div>Jaime Crespo<br></div><<a href="http://wikimedia.org" target="_blank">http://wikimedia.org</a>><br></div></div>
</div></div>