r99199 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99198‎ | r99199 | r99200 >
Date:06:12, 7 October 2011
Author:maxsem
Status:ok
Tags:
Comment:
Load previews via POST instead of GET to avoid problems with huge texts
Modified paths:
  • /trunk/extensions/wikihiero/modules/ext.wikihiero.Special.js (modified) (history)

Diff [purge]

Index: trunk/extensions/wikihiero/modules/ext.wikihiero.Special.js
@@ -24,7 +24,7 @@
2525 'text': '<hiero>' + text + '</hiero>',
2626 'disablepp': ''
2727 };
28 - $.getJSON( mw.util.wikiScript( 'api' ),
 28+ $.post( mw.util.wikiScript( 'api' ),
2929 data,
3030 function( data ) {
3131 var html = '<table class="wikitable">'

Status & tagging log