Skip to content

Commit

Permalink
convert ARV module to use Wikipedia.page
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleDouggie committed Apr 6, 2011
1 parent 00a2919 commit 6964cc6
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 197 deletions.
6 changes: 0 additions & 6 deletions morebits.js
Original file line number Diff line number Diff line change
Expand Up @@ -1891,12 +1891,6 @@ Wikipedia.page = function(pageName, currentAction) {
return;
}

// sanity check
if (ctx.pageSection && ctx.followRedirect) {
ctx.statusElement.error("Internal error: cannot use followRedirect=true when using pageSection!! Sorry about that.");
return;
}

ctx.loadQuery = {
action: 'query',
prop: 'info|revisions',
Expand Down
Loading

0 comments on commit 6964cc6

Please sign in to comment.