r89350 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89349‎ | r89350 | r89351 >
Date:17:15, 2 June 2011
Author:tparscal
Status:deferred (Comments)
Tags:
Comment:
Copy paste bugs!
Modified paths:
  • /trunk/parsers/wikidom/lib/wiki.Context.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/wiki.Context.js
@@ -35,8 +35,8 @@
3636 * @return Object: Page DOM (document object)
3737 */
3838 this.getPageDom = function( namespace, title ) {
39 - return typeof options.pageExists === 'function'
40 - ? options.pageExists( namespace, title ) : null;
 39+ return typeof options.getPageDom === 'function'
 40+ ? options.getPageDom( namespace, title ) : null;
4141 };
4242
4343 /**

Comments

#Comment by Reedy (talk | contribs)   18:30, 2 June 2011

You're adding or removing them?

Status & tagging log