Fandom

Wikia Developers Wiki

Codebase layout

846pages on
this wiki
Add New Page
Talk0 Share

The Fandom codebase is stored in our GitHub repository.

This page details its structure, so that you can easily navigate through the code.

Branches

We use branches to maintain and manage our code:

dev
contains the most current version of the code
release-*
contains snapshots of the development branch for release (usually done twice a week)
PROJECT-NUMBER
contains per ticket copies of the development branch with changes for a specific ticket (normally a bug fix of feature implementation) in the format where PROJECT represents the project the ticket relates to, and NUMBER represents the number of the ticket in the project's queue. These branches are then merged back into the development branch once code review has been completed.

File layout

This section details the organization of our dev branch. Paths are relative to dev root. Everything that is not listed here comes from MediaWiki core (note: this list might still be incomplete).

extensions/wikia/
contains most Wikia features, packaged as stand-alone extensions
includes/wikia/
contains dependencies, services and helper classes used in different places in the code
maintenance/wikia/
contains maintenance scripts, some DB schemas and misc. scripts
languages/messages/wikia/
contains messages used in older Wikia skins, mostly legacy

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.