Skip to content

Commit

Permalink
Merge pull request #355 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain authored Apr 25, 2020
2 parents be66179 + 9d86342 commit 4889fd1
Show file tree
Hide file tree
Showing 19 changed files with 785 additions and 569 deletions.
8 changes: 5 additions & 3 deletions builds/wtf_wikipedia-client.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wtf_wikipedia 8.2.0 MIT */
/* wtf_wikipedia 8.2.1 MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -697,7 +697,7 @@

title = title.replace(/ /g, '_');
title = encodeURIComponent(title);
return "https://".concat(lang, ".").concat(domain, ".org/wiki/").concat(title);
return "https://".concat(lang, ".").concat(domain, "/wiki/").concat(title);
},
namespace: function namespace(ns) {
if (ns !== undefined) {
Expand Down Expand Up @@ -4784,6 +4784,8 @@
var hasTemplate = /\{\{/;

var parseTemplate = function parseTemplate(tmpl) {
// this is some unexplained Lua thing
tmpl = tmpl.replace(/#invoke:/, '');
return {
body: tmpl,
name: _getName(tmpl),
Expand Down Expand Up @@ -8822,7 +8824,7 @@

var category = fetchCategory;

var _version = '8.2.0';
var _version = '8.2.1';

var wtf = function wtf(wiki, options) {
return _01Document(wiki, options);
Expand Down
2 changes: 1 addition & 1 deletion builds/wtf_wikipedia-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/wtf_wikipedia-client.mjs

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions builds/wtf_wikipedia.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wtf_wikipedia 8.2.0 MIT */
/* wtf_wikipedia 8.2.1 MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('https')) :
typeof define === 'function' && define.amd ? define(['https'], factory) :
Expand Down Expand Up @@ -699,7 +699,7 @@

title = title.replace(/ /g, '_');
title = encodeURIComponent(title);
return "https://".concat(lang, ".").concat(domain, ".org/wiki/").concat(title);
return "https://".concat(lang, ".").concat(domain, "/wiki/").concat(title);
},
namespace: function namespace(ns) {
if (ns !== undefined) {
Expand Down Expand Up @@ -4786,6 +4786,8 @@
var hasTemplate = /\{\{/;

var parseTemplate = function parseTemplate(tmpl) {
// this is some unexplained Lua thing
tmpl = tmpl.replace(/#invoke:/, '');
return {
body: tmpl,
name: _getName(tmpl),
Expand Down Expand Up @@ -8840,7 +8842,7 @@

var category = fetchCategory;

var _version = '8.2.0';
var _version = '8.2.1';

var wtf = function wtf(wiki, options) {
return _01Document(wiki, options);
Expand Down
8 changes: 5 additions & 3 deletions builds/wtf_wikipedia.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wtf_wikipedia 8.2.0 MIT */
/* wtf_wikipedia 8.2.1 MIT */
import https from 'https';

var parseUrl = function parseUrl(url) {
Expand Down Expand Up @@ -693,7 +693,7 @@ var methods$1 = {

title = title.replace(/ /g, '_');
title = encodeURIComponent(title);
return "https://".concat(lang, ".").concat(domain, ".org/wiki/").concat(title);
return "https://".concat(lang, ".").concat(domain, "/wiki/").concat(title);
},
namespace: function namespace(ns) {
if (ns !== undefined) {
Expand Down Expand Up @@ -4780,6 +4780,8 @@ var _getName = getName;
var hasTemplate = /\{\{/;

var parseTemplate = function parseTemplate(tmpl) {
// this is some unexplained Lua thing
tmpl = tmpl.replace(/#invoke:/, '');
return {
body: tmpl,
name: _getName(tmpl),
Expand Down Expand Up @@ -8834,7 +8836,7 @@ var fetchCategory = function fetchCategory(category, lang, options) {

var category = fetchCategory;

var _version = '8.2.0';
var _version = '8.2.1';

var wtf = function wtf(wiki, options) {
return _01Document(wiki, options);
Expand Down
Loading

0 comments on commit 4889fd1

Please sign in to comment.