Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite: Difference between revisions
Content deleted Content added
Technical 13 (talk | contribs) →Notice on user talk page has no header: new section |
Theopolisme (talk | contribs) |
||
Line 19:
Declining hangs with "Use of mediawiki.api callback params is deprecated. Use the Promise instead." It does say that it "Saved Draft:" and "Saved User talk:" which are confirmed in {{Diff|Draft:Traitavada|prev|599576504}} and {{Diff|User_talk:Sandeepsp4u|prev|599576502}} respectively. — <span class="nowrap">{{U|[[User:Technical 13|Technical 13]]}}</span> <sup>([[User talk:Technical 13|t]] • [[Special:EmailUser/Technical 13|e]] • [[Special:Contribs/Technical 13|c]])</sup> 12:57, 14 March 2014 (UTC)
:{{U|Technical 13}}: Huh, interesting. The mw.api callback warnings aren't related to the rewrite script, unless something really funky is going on (I'm not getting them), so they must be from some other script you're running that calls the API using the old method
<source lang="javascript">
var api = new mw.Api();
// the old way to do it, deprecated
api.get( { action: 'query' }, function ( data ) { console.log( data ) } );
// as opposed to the new way using a $.Promise
api.get( { action: 'query' }.done( function ( data ) { console.log( data ) } );
</source>
:I'm also not able to replicate the hang, although it may be because you're on a slower browser or something. Could you paste in your user agent? '''[[User:Theopolisme|<span style="color:#232323;">Theopolisme</span>]] <span style="color:#4F4F4F;">([[User talk:Theopolisme|<span style="color:#4F4F4F;">talk</span>]])</span>''' 16:41, 14 March 2014 (UTC)
== Notice on user talk page has no header ==
|