Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some issue i encounter #2

Open
henryatman opened this issue Jan 26, 2018 · 1 comment
Open

some issue i encounter #2

henryatman opened this issue Jan 26, 2018 · 1 comment

Comments

@henryatman
Copy link

henryatman commented Jan 26, 2018

hi, Don, thank your share this wonderful project, it's best wiki parse of php i can find,

i have some issue, like :

have text {{flag|some useful text}}, this text only use template flag ico, just remove from body document, even can't find in templates object, it's really frustrate me,

otherwise, more important issue,

any ref, any template text, img, file after extract but can't recover to origin position if need show it, not anchor provide to do it,

is there any advice or improvement ?

thanks

@donwilson
Copy link
Owner

{{flag|some useful text}} might be using an alternate version of template name, Wikipedia redirects old Template usage to the most correct one. You might have to add several additions to ignore_template_matches array.

Image URLs aren't easy to calculate from the template alone - see https://www.mediawiki.org/wiki/Manual:Linked_images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants