I see that
$wgLinkCache->mGoodLinks or $wgLinkCache->mBadLinks seems
to give me the links from a page. how do I reference the text? I'd
like the grab the first paragraph of the page. Thanks.
Could you provide some context to this question? The answer depends on
where your code is, when it's running, and what it's meant to do.
OutputPage.php probably although any other files I need to edit along
the way is fine. I'm working on making it so that there are better
options for specifying meta tags for keywords and descriptions. I made
the number of keywords configurable. I want the first paragraph of text
to be the description. Then I want to make both configurable as settings
when editing the page if something other than the default values is wanted.