41 foreach ($input_expected as $ie) {
76 foreach ($input_expected as $ie) {
101 foreach ($input_expected as $ie) {
113 $xml =
"<Foo>[[bar]]</Foo>";
117 $r[0][
"nt"]->mTextform
127 $xml =
"<Foo>[[bar]]</Foo><Par>[[bar1]] some text [[bar2]]</Par>";
131 $r[0][
"nt"]->mTextform
135 $r[1][
"nt"]->mTextform
139 $r[2][
"nt"]->mTextform
145 $xml =
"<Foo>[[bar]]</Foo><Par>[[bar1]] some text [[bar]]</Par>";
149 $r[0][
"nt"]->mTextform
153 $r[1][
"nt"]->mTextform
157 $r[2][
"nt"]->mTextform
163 $xml =
"<Foo>[[bar|some text]]</Foo>";
167 $r[0][
"nt"]->mTextform
177 $xml =
"<Foo>lore [[bar|some text]] ipsum</Foo><Par>More [[second link|some text for second]]</Par>";
181 $r[0][
"nt"]->mTextform
189 $r[1][
"nt"]->mTextform
192 "some text for second",
209 $xml =
"<Foo>[[bar]]</Foo>";
219 $xml =
"<Foo>[[bar]]</Foo><Par>[[bar1]] some text [[bar]]</Par>";
229 $xml =
"<Foo>lore [[bar|some text]] ipsum</Foo><Par>More [[second link|some text for second]]</Par>";
232 [
"bar",
"second link"],
248 $xml =
"<Foo>Some text without a link</Par>";
testProcessInternalLinksCollectMultipleSame()
testProcessInternalLinksExtCollectMultipleSame()
testProcessInternalLinksCollectOneSimple()
processInternalLinksCollect(string $xml)
processInternalLinksExtCollect(string $xml)
processInternalLinksReplace(string $xml)
testProcessInternalLinksExtCollectMultiText()
testProcessInternalLinksExtCollectMultipleSimple()
testProcessInternalLinksExtCollectOneSimple()
static processInternalLinks( $s, $a_wiki_id, $a_mode=IL_WIKI_MODE_REPLACE, $a_collect_non_ex=false, $a_offline=false)
Process internal links.
const IL_WIKI_MODE_COLLECT
static makeUrlTitle($a_par)
Set page parameter for Url Embedding.
const IL_WIKI_MODE_REPLACE
Wiki link / page title handling:
testProcessInternalLinksExtCollect()
static makeDbTitle($a_par)
Handle page GET parameter.
testProcessInternalLinksReplaceWithoutLink()
testProcessInternalLinksCollectMultiText()
const IL_WIKI_MODE_EXT_COLLECT
testProcessInternalLinksExtCollectOneText()