kanasimi / wikiapi

JavaScript MediaWiki API for node.js
https://kanasimi.github.io/wikiapi/
BSD 3-Clause "New" or "Revised" License
47 stars 5 forks source link

Systematically test edits on `Commons:Sandbox/wikiapijs` (lowercase) #38

Open hugolpz opened 3 years ago

hugolpz commented 3 years ago

Use cases and examples should use Commons:Sandbox/wikiapijs and subpages (./1, ./2, ...) as default testing ground when possible.

Or :en:Wikipedia:Sandbox/wikiapijs.

(Or an official test wiki ? but it's less fun...)

kanasimi commented 3 years ago
  1. Maybe we can put the tests on https://test.wikipedia.org/wiki/wikiapi/test_cases
  2. What kind of tests do we need to examine?
hugolpz commented 3 years ago

Tests as in Documentation's examples codes... (Not as in "Testing my code doesn't bug").

So when people reuse the documentation code, they don't edit directly on wikipedia and get blocked.

kanasimi commented 3 years ago

If we want to take a place on mediawiki, maybe we can build a page like this: https://www.mediawiki.org/wiki/Parsoid

By the way, the CeJS MediaWiki module may also used in the mediawiki site, please refer to https://en.wikipedia.org/wiki/User_talk:Kanashimi#Wikitext_parser