Show
Run unit tests
Setup Solr searching ( https://docs.moodle.org/dev/Global_search )
Create a course with a student in it
Create a wiki - make sure it is collaborative (the default), set the first page name to Page One.
When you save, you will be taken to create Page One. Set it as HTML. Save.
On the next page, enter some content, include Page1 somewhere in the content. Save.
In the left nav, click new for a new page.
Title it Page Two, set Creole format. Save
On the next page, enter some content, include Page2 somewhere in the content. Save.
In the left nav, click new for a new page.
Title it Page Three, set NWiki format. Save
On the next page, enter some content, include Page3 somewhere in the content. Save.
Index site content
Search for Page1, make sure that you get a result for Page One, and that the link takes you to that page. The "in context" link should take you to the Wiki first page, and course should take you to the course.
Search for Page2, make sure that you get a result for Page Two, and that the link takes you to that page. The "in context" link should take you to the Wiki first page, and course should take you to the course.
Search for Page3, make sure that you get a result for Page Three, and that the link takes you to that page. The "in context" link should take you to the Wiki first page, and course should take you to the course.
Search for Page, make sure you see Page One, Page Two, and Page Three in the results.
Delete Page Two (in the wiki administration tab)
Search for Page, make sure you see Page One and Page Three in the results, not Page Two.
Edit Page Three, change the content to include Page3Edit.
Update the site index.
Search for Page3Edit, make sure that you get a result for Page Three