kanasimi / wikiapi

JavaScript MediaWiki API for node.js

Home Page:https://kanasimi.github.io/wikiapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hugolpz opened this issue · comments

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...)

  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?

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.

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