Index: branches/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js |
— | — | @@ -510,10 +510,10 @@ |
511 | 511 | } |
512 | 512 | }, |
513 | 513 | getApiTitleKey: function(){ |
514 | | - return wgTitle; |
| 514 | + return wgPageName; |
515 | 515 | }, |
516 | 516 | getTitle: function(){ |
517 | | - return wgTitle.replace( 'Sequence:', '').replace('_', ' '); |
| 517 | + return wgPageName.replace( 'Sequence:', '').replace('_', ' '); |
518 | 518 | }, |
519 | 519 | // Get the api url ( for now use whatever the page context is ) |
520 | 520 | getApiUrl: function(){ |