The very important part is that no hook should be able to dynamically
say that a page cannot be viewed. As for whitelists, I am not sure
it's efficient to pass a list of whitelisted items in every query:
SELECT ...
WHERE ... AND (
xx_namespace NOT IN (banned NSs)
OR
(xx_namespace IN (banned NSs) AND (xx_title IN (whitelist)
)
Instead of just "xx_namespace NOT IN (bannedr NSs)". But this is a
question for Domas.
This is only for reading. Modification is totally different.
--Yurik
On 7/10/07, Simetrical <Simetrical+wikilist(a)gmail.com> wrote:
On 7/10/07, Yuri Astrakhan
<yuriastrakhan(a)gmail.com> wrote:
In case there is a white list allowing a specific
page to be visible
(like Main or Login), API ignores it as well, unless the page is asked
specifically by name.
Why is that? Does it make the query less efficient to use WHERE
page_namespace IN (.......) OR page_id IN (.......)?
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l