Kathleen Borja wrote:
Thanks for your help. I solved them with your help. ^_^ I wanted to ask some more questions here. As much as possible, I am getting fast responses. I hope you would allow me. Thanks.
I have a problem in fetching the actual raw data or the original article text in a wiki page.
I looked into the database table 'wbt_searchindex' in mediawiki. I fetch 'si_text' knowing that it's the right one in fetching the original text of an article page. But, it's used for search function. What i wanted to fetch is the original text so i could use it in my Bikol Thesaurus.
-How can I fetch the original article text on a wiki page? -In what database table is the original article text located?
The real text is stored in the table text, or in some location pointed from there. Don't access the table directly! You must create a Title, from which you instantiate an Article object and call getContent() to retrieve its text.
In the 'searchindex' table, the 'si_text' contains the u800 unicode character.
-What does u800 really means? -What does u800 do? -What does u800 represents?
A character outside of ascii which are escaped so mysql search can find it. It's an implementation detail, you shouldn't touch the searchindex table unless you're creating a search extension (also note that if the wiki uses a search extension instead of the default mysql search, searchindex will be empty).