Issue with NumberedHeadings

Zoran Dori <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CAOKmWLEHwhySnhfDa2rKbXQLwXD=1-LPRx6JDqjFR_J2Yfx6aA@mail.gmail.com>
Hello,
I'm trying to make
https://www.mediawiki.org/wiki/Extension:MagicNumberedHeadings working,
having in mind that Parser method setNumberHeadings is removed from
MediaWiki.

This is my code so far https://github.com/kizule/NumberedHeadings, and it's
not doing anything, I would love to get some suggestions on how to make it
work.

Currently, it's not doing anything (
https://oer.opendeved.net/wiki/OER4Schools), it should remove the tag from
the page, and make headings numbered where the tag is added.

I've used Krinkle's snippet from MediaWiki.org in form of gadgets, and it's
working fine, but it's not removing tag and it is being executed on every
single page.

Best regards,
Zoran

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.