Last modified: 2011-06-30 12:38:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31653, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29653 - Wiki-Links on Form-Pages aren't displayed
Wiki-Links on Form-Pages aren't displayed
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-30 10:38 UTC by Thorben
Modified: 2011-06-30 12:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
SF_FormPrinter.php (using parse-method) (65.18 KB, text/plain)
2011-06-30 10:38 UTC, Thorben
Details

Description Thorben 2011-06-30 10:38:18 UTC
Created attachment 8726 [details]
SF_FormPrinter.php (using parse-method)

Wiki-Links like "[[Main Page| Back to main page]]" are defined in the "<includeonly>"-section of an "SemanticForms"-Form (for example "Form:Book").

The Specialpage "Special:FormEdit" shows the form,  but no one of the Links will be shown. External links like [http://www.google.com Ask Google] are working.

In an older version of "SemanticForms" (1.9) the Wiki-Links are working. 
I figured out that the Problem seems the "recursiveTagParse"-Method used in the "includes/SF_FormPrinter.php"-File at row 368. At this point the Wiki-Links going lost.

A few Rows later there is some out commented code with the "parse"-Method witch working well if used in place of the "recursiveTagParse"-Row. (see the attached file)
Maybe there is something wrong with the "recursiveTagParse"-Method or the parser-object isn’t prepared well.
Comment 1 Yaron Koren 2011-06-30 12:38:00 UTC
Hi Thorben,

Thanks for this patch - although I think it's not necessary, since I believe the problem has already been fixed in the version of SF that's on SVN, 2.2 (and will hopefully be released soon). I'm marking this as "invalid" - though feel free to reopen if it's still a problem in 2.2.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links