SemanticMediaWiki / SemanticScribunto

Provides service functions to support the Scribunto extension
Other
23 stars 14 forks source link

Adding mw.smw.info to available smw functions #20

Closed oetterer closed 7 years ago

oetterer commented 7 years ago

Soo, this time with a branch. not sure, this is better, though. This will be my last PR for today.

This one follows a slightly different path. To remove the usage of \ParserHooks\FunctionRunner, the contents of InfoParserFunction's handle have been replicated. That meant, also doing the parameter verification in the new function. Fortunately #ino is lightweight and not that complicated.

mwjames commented 7 years ago

Rebased and merged otherwise it is becoming uneditable. Please create a new PR to address any outstanding issue.