https://bugzilla.wikimedia.org/show_bug.cgi?id=21994
--- Comment #2 from Bawolff <bawolff...@gmail.com> 2010-01-02 07:48:44 UTC --- Created an attachment (id=6915) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6915) patch to add new core parser function {{linkpst:...}} I'm not sure how this would be useful, but i made a patch which basically takes the link related stuff from Parser::pstPass2 and puts it in a core parser function named linkpst (since it essentially does the link related stuff of the pre-save-transform). {{linkpst:foo (bar)}} -> foo {{linkpst:ns:page}} -> page {{linkpst:ns:bar (baz), fred|}} -> bar etc. The only thing i'm unsure about is the regex in $p4. It doesn't appear to match stuff during pst. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l