hi, Wikitext is a document written in a wiki markup language,and all the articles on mediaWiki are writen as Wikitext . and I have read the code of mediaWiki-android-app for some weeks , and i feel confused about how mediaWiki-android-app parse the Wikitext ,where is the code of Wikitext parser ? or it don't need to parse wikitext ,then how does the android-app show a wiki article to user ? I hope some can help
Thanks Shine
It doesn't, it uses the API https://www.mediawiki.org/wiki/API:Main_page to get this information from MediaWiki.
On Wed, Apr 1, 2015 at 11:21 PM, cxyshine@yeah.net cxyshine@yeah.net wrote:
hi, *Wikitext* is a document written in a wiki markup language,and all the articles on mediaWiki are writen as *Wikitext* . and I have read the code of mediaWiki-android-app for some weeks , and i feel confused about how mediaWiki-android-app parse the Wikitext ,where is the code of Wikitext parser ? or it don't need to parse wikitext ,then how does the android-app show a wiki article to user ? I hope some can help
Thanks Shine
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
ok. so when the displayNewPage(PageTitle title, HistoryEntry entry) in page\PageActivity.java is called to display a new page,where is the code the app send HTTP request and parameters(action and others) to MediaWiki , i can't find it . is this one \wikipedia\page\SectionsFetchTask.java ? another question , where is the code the app show the catalogue of an article ?
It doesn't, it uses the API to get this information from MediaWiki.
On Wed, Apr 1, 2015 at 11:21 PM, cxyshine@yeah.net cxyshine@yeah.net wrote: hi, Wikitext is a document written in a wiki markup language,and all the articles on mediaWiki are writen as Wikitext . and I have read the code of mediaWiki-android-app for some weeks , and i feel confused about how mediaWiki-android-app parse the Wikitext ,where is the code of Wikitext parser ? or it don't need to parse wikitext ,then how does the android-app show a wiki article to user ? I hope some can help
Thanks Shine
_______________________________________________ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l