For example
https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&search=insource:/\\reals/&fulltext=Search
should render the math tags in the result list.
Description
Details
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
Render math tags in search results | mediawiki/extensions/Math | master | 103 -2 | |
Render math tags in search results | mediawiki/extensions/Math | develop | 121 -2 |
Related Objects
Event Timeline
Change 197737 had a related patch set uploaded (by Physikerwelt):
Render math tags in search results
Change 197751 had a related patch set (by Physikerwelt) published:
Render math tags in search results
Test 1 | Test 2 | Test 3 | |
config | Math on | Math off | Math on |
0.40894 | 0.28937 | 0.35656 | |
0.42854 | 0.24983 | 0.32199 | |
0.60455 | 0.29216 | 0.26359 | |
0.28767 | 0.31634 | 0.33134 | |
0.37631 | 0.36387 | 0.29763 | |
0.30319 | 0.30265 | 0.31894 | |
0.26615 | 0.28242 | 0.36471 | |
0.32008 | 0.31073 | 0.25716 | |
0.41275 | 0.24895 | 0.29979 | |
0.28937 | 0.28659 | 0.31426 | |
mean | 0.36975 | 0.29429 | 0.31259 |
stddev | 0.10156 | 0.03321 | 0.03495 |
@TheDJ
I run some performance test on http://drmf-beta.wmflabs.org/w/index.php?search=insource:/sin/&title=Special:Search&go=Go but could not see a significant difference introduced by the new feature
All values are self page generation times in seconds
Change 197737 abandoned by Physikerwelt:
Render math tags in search results
Reason:
Too hacky.
I think those screenshots show that this feature would be a significant improvement. I can certainly that my implementation was somehow hacky since the hooks available are not made for a task like this.
However, I'm disappointed that there is absolutely no input from the search team on a better solution.
In the end we are missing a useful feature that could be used by humans because the source code looked a little bit too complicated. I cannot agree to this attitude.
I've added Deskana who is our prioritizer. I removed patch_for_review as that looks untrue now. Or at least only half true.
The wikitext parser looks to be using a image link, and we don't index the image (only the alt text - formula). It'd need some investigation to figure out what's going on. Maybe @Jdrewniak could help with the front end of this.