From: S P. <in...@sk...> - 2008-04-09 06:17:09
|
João Olavo Baião de Vasconcelos wrote: > As you can see, this [lots of <noinclude> tags] > can get fiddly when you want the text of > annotations but not their semantics. So it might be useful to have some > control tags like > __DISABLE_SMW_SEMANTICS__ > {{:JoaoVasconcelos}} > __ENABLE_SMW_SEMANTICS__ It's internal and undocumented, but I noticed in the PHP code two magic annotations [[SMW::off]] and [[SMW::on]] that seem to do exactly what you want: [[SMW::off]] {{:JoaoVasconcelos}} [[SMW::on]] Another approach is to use a query with format=embed. Just name the page(s) you want to pull in. {{#ask: [[JoaoVasconcelos||Another page]] |format=embedded }} the pages matching the "query" are embedded, but SMW turns off semantic processing in query results. > https://bugzilla.wikimedia.org/show_bug.cgi?id=13570 I updated the bug with these two workarounds. There's gold in the code! -- =S Page |