https://bugzilla.wikimedia.org/show_bug.cgi?id=51479

--- Comment #17 from s7ep...@gmail.com ---
Yaron,

the fix should be straight-forward. In SFFormLinker::createLinkedPage before
calling SFFormPrinter::formHTML set $wgParser to a new Parser and restore it
afterwards.

However, while you already are at it, you may also consider moving that call to
formHTML into the job. Keeping an expensive function like that outside the job
defies the purpose of jobs.

And I am not sure it is necessary to use that bogus title. I had to stop
digging, but shouldn'it be possible to use $title->getText() or something like
that?

And of course there is the fact that if you have more than one property that
defines a form to be used for one red-linked page only one of the properties
will be successful. Without notice or warning and with the decision which form
is used non-determined.

-- 
You are receiving this mail because:
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

Reply via email to