[Mediawiki-l] Setting up search
Hugh Prior
mediawiki at localpin.com
Tue Jun 20 14:50:51 UTC 2006
Thanks Rob! That seems to have done the trick :-).
Except "Main Page", not seeming to get updated (MediaWiki bug?) in the
index. Still I can live with a single manual edit to bring that in the
loop.
My createWikiPage() function now has a call as follows:
$article->editUpdates($pageText, "my summary", false, wfTimestampNow());
But where does "my summary" text get saved? And thus where would it ever be
seen by users? Not recent changes? I already make a call to ensure the
recent changes table is updated. Maybe this is not now needed, though a
test seems to show that I still need this code.
// Ensure recent change table has entry
$isminor = false;
$summary = "Auto-created via clicked-on link.";
RecentChange::notifyNew( wfTimestampNow(), $title, $isminor, $wgUser,
$summary, 'default',
'', strlen( $pageText ), $revid );
"Rob Church" <robchur at gmail.com> wrote in
message news:e92136380606200709i78e2ce1t525f796902dcd7f9 at mail.gmail.com...
> On 20/06/06, Hugh Prior
> <mediawiki at localpin.com> wrote:
>
> Article::editUpdates().
More information about the MediaWiki-l
mailing list