Hi,

I want to implement something similar to ~~~~ expansion or the pipe-trick
in internal links in an extension.

That is, I need to execute code
- on save and preview only,
- on wikitext ony,
- on page content only,
- before the pre-save-parser treats links in the wikitext,
- altering the wikitext of the page.

I tried several hooks and ideas, but was unable to make it specific enough.

Help is appreciated.

Thank you.

Purodha


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to