Last modified: 2014-01-12 10:06:12 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 T56687, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54687 - Use AJAX when expanding templates (i.e. clicking on "OK" at [[Special:ExpandTemplates]])
Use AJAX when expanding templates (i.e. clicking on "OK" at [[Special:ExpandT...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.23.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks: ajax
  Show dependency treegraph
 
Reported: 2013-09-27 11:03 UTC by Helder
Modified: 2014-01-12 10:06 UTC (History)
1 user (show)

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


Attachments

Description Helder 2013-09-27 11:03:01 UTC
It should be possible to make tests at [[Special:ExpandTemplates]] without reloading the whole page after every small change in the code.

There is already an API for that, except for the option "Suppress <nowiki> tags in result", it seems:
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=expandtemplates&title=Test&text=%7B%7BU%7CExample%7D%7D
Comment 1 Brion Vibber 2013-09-27 15:47:31 UTC
What on earth is "Suppress <nowiki> tags in result" for exactly, anyway?
Comment 2 Brion Vibber 2013-09-27 15:52:52 UTC
Ok, so this option appears to have just come out of nowhere in 2009; there's no bugzilla reference or explanation for the feature on the commit: <https://git.wikimedia.org/commitdiff/mediawiki%2Fextensions%2FExpandTemplates.git/49697f70851757ef31a2221c84d95f4e9e217e2f>

I'm not sure it's useful or needs to be kept, but if it is desirable, it appears to be implemented as a post-processing regular expression and could be trivially done in JavaScript along with an AJAX load from the API.
Comment 3 db [inactive,noenotif] 2014-01-12 10:06:12 UTC
special page was moved to core

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


Navigation
Links