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.
-- Michael mogmios@mlug.missouri.edu http://kavlon.org
On Nov 11, 2004, at 3:28 PM, Michael wrote:
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.
-- brion vibber (brion @ pobox.com)
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.
-- Michael mogmios@mlug.missouri.edu http://kavlon.org
mediawiki-l@lists.wikimedia.org