Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
/ BGSWiki Public archive

Repository for Lua Modules, Templates, and MediaWiki JS/CSS on the Bubble Gum Simulator Fandom Wiki

License

Notifications You must be signed in to change notification settings

RumbleWikis/BGSWiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


BGSWiki
The repository that holds the open source files of the custom CSS (in SASS), JavaScript (in TS/JS), Lua Modules, and wikitext templates for the Bubble Gum Simulator Wiki on Fandom.

Reason of Existence

This repository exists solely to allow contributors to pull request, or occasionally create issues to contribute to protected pages on the Wiki.

Dependencies

Deployment

Upon the creation of a GitHub release, a private server will fetch the entire Git repository, and compile the files as needed, then saves the new content to the target pages with <Client>.run(comment).

File Types

Note that files such as ImportJS do not have their own extension.

  • Scripts
    • .js, .jsx, .ts, .tsx
  • Stylesheets
    • .css, .scss, .sass
  • Modules
    • .lua
  • Wikitext
    • .wikitext
      • Generally, .wikitext is not a valid extension and is only used for syntax highlighting for text editing

Path Resolving

Please see here for more information.

Compilation

Scripts and style sheets will be compiled and renamed to their .js and .css extensions respectively.

  • Scripts will be put through deno bundle --unstable --no-check {fileName} , and the output will be put through the Babel transpiler for browser support.
  • Stylesheets will only be put through the SASS compiler to be rendered.

Contributing

All contributions are welcome, as long as they follow Fandom's Terms of Use, and Bubble Gum Simulator Wiki's rules.

Prerequisites for the WikiPages CLI

  1. Install NodeJs (https://nodejs.org/en/)
  2. Install @rumblewikis/wikipages-deno-bundler-middleware (npm i @rumblewikis/wikipages-deno-bundler-middleware)
  3. Install @rumblewikis/wikipages-sass-compiler-middleware (npm i @rumblewikis/wikipages-sass-compiler-middleware)
  4. Install dotenv (npm i dotenv)
  5. Install the WikiPages CLI (npm i -g @rumblewikis/wikipages)
  6. Try out the CLI wikipages check

Recommended Visual Studio Code Extensions

  • Deno by denoland
    • Deno support and lint
  • Wikitext by Rowe Wilson Frederisk Holme
    • Wikitext syntax highlighting
  • SASS by Syler
    • SASS syntax highlighting
  • vscode-stylelint by Stylelint
    • Better style lint/validators
  • lua by sumneko
    • For everything cool in Lua