waldyrious / primerpedia

Simplified extracts of Wikipedia articles, showing just the basic information.
https://primerpedia.toolforge.org
Other
11 stars 7 forks source link

cleanup text #1

Closed waldyrious closed 10 years ago

waldyrious commented 11 years ago

remove infoboxes, parser errors (missing references, maybe others?) maintenance templates, etc.

waldyrious commented 11 years ago

automatically fixed with new MobileFrontend API call

waldyrious commented 11 years ago

some editorial elements still need to be removed (e.g. [citation needed])

waldyrious commented 10 years ago

elements with class "noprint" and "Inline-Template" should be hidden.

waldyrious commented 10 years ago

For now, this has been addressed by 04da041

waldyrious commented 10 years ago

Disambiguation hatnotes aren't removed. Maybe they shouldn't, but the link should be preserved. This is likely something that needs to be dealt with upstream in MobileFrontend. Maybe a general option (API parameter) to preserve links.

waldyrious commented 10 years ago

Some inline templates are preserved by MobileFrontent, but it seems like it's a hardcoded rule rather than something generic like sup.Inline-Template. Case in point, the question mark of the Nihongo template at Kii-Shinjō Station. Needs further investigation.

waldyrious commented 10 years ago

Ok, the nihongo template was fixed to use the noprint class directly in the sup element; this didn't work immediately, but now it seems to be working. Perhaps the extracts caches the requests. I probably should have made an (null?) edit to the page (or purged it), not only the template.

waldyrious commented 10 years ago

Disambiguation hatnotes apparently aren't showing up anymore. I'll reopen if I find another instance (and actually link to it this time, to allow debugging later!)