Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Option to override specific wiki pages #25

Open
doozan opened this issue Mar 2, 2013 · 2 comments
Open

Option to override specific wiki pages #25

doozan opened this issue Mar 2, 2013 · 2 comments

Comments

@doozan
Copy link
Contributor

doozan commented Mar 2, 2013

Some templates are hopelessly broken when used with mwlib.

For example, the enwiktionary Template:plural_of uses a call to Special:Whatlinkshere:articlename to check for the existence of an article. This call fails on mwlib and will probably always fail on mwlib. "Correcting" the template on wiktionary.org isn't an option, as the online behavior works correctly.

Since the call fails, the template assumes that the article doesn't exist and so doesn't create a link to the page containing the actual word definition.

It's possible to replace the article text before the conversion to cdb, but it would be nice if aardc provided some means of overriding pages/template.

PS, the recent changes look great, it's becoming much easier to clean up the articles, thank you!

@itkach
Copy link
Member

itkach commented Mar 4, 2013

Maybe EXCLUDE_PAGES content filters should work same as to text replacement filters instead of just replacing page markup with empty string.

@doozan
Copy link
Contributor Author

doozan commented Mar 4, 2013

I like that idea, it's simple and it keeps everything in the filter file

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

No branches or pull requests

2 participants