Index: trunk/extensions/MarkAsHelpful/modules/ext.markAsHelpful/ext.markAsHelpful.js |
— | — | @@ -47,11 +47,12 @@ |
48 | 48 | 'action': 'getmarkashelpfulitem', |
49 | 49 | 'item': props.item, |
50 | 50 | 'type': props.type, |
| 51 | + 'page': mw.config.get( 'wgPageName' ), |
51 | 52 | 'format': 'json' |
52 | 53 | }; |
53 | 54 | |
54 | 55 | $.ajax({ |
55 | | - type: 'get', |
| 56 | + type: 'POST', |
56 | 57 | url: mw.util.wikiScript('api'), |
57 | 58 | cache: false, |
58 | 59 | data: request, |