Answer the question
In order to leave comments, you need to log in
How to exclude non-existent pages in mediawiki?
Good afternoon. I use it to search the sphinx wiki, but it's not really that important. The query to build an index looks like this:
sql_query = SELECT page_id, page_len, page_title, page_namespace, page_is_redirect, old_id, old_text, 'wiki' AS source FROM page, revision, text
WHERE rev_id=page_latest AND old_id=rev_text_id AND page_is_redirect = 0 AND page_len>0
AND rev_len>0
There is currently no text on this page. You can find references to this name in other articles, find related journal entries, or create a page with that name.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question