Coder Social home page Coder Social logo

wikimedia / mediawiki-extensions-wikidata.org Goto Github PK

View Code? Open in Web Editor NEW
3.0 16.0 5.0 1.45 MB

Github mirror of MediaWiki extension Wikidata.org - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

License: GNU General Public License v2.0

PHP 90.20% CSS 6.78% JavaScript 3.02%

mediawiki-extensions-wikidata.org's Introduction

Wikidata.org

This extension is a grab-bag for miscellaneous configuration and customizations that are specific to wikidata.org.

This includes the following things:

  1. It adds styles and images for Sitelink badges specific to Wikidata.
  2. It adds a link about DataAccess to the footer of every page.
  3. It includes the query service lag (compare T221774) into the max lag calculation. (The other main contributor being replication lag.)
  4. It holds the i18n messages for the Lexeme links in the sidebar, so that they can be translated on translatewiki.net. (The links themselves are defined on-wiki in MediaWiki:sidebar.)

Issues and tasks are tracked on Phabricator!

Installation

After cloning this extension into the extensions directory, add the following line to your LocalSettings.php:

wfLoadExtension( 'Wikidata.org' );

Development

This extension follows a layout that is very similar to many other extensions.

Its PHPUnit tests are run as any other extension's PHPUnit tests (which is specific to your particular setup).

You can run PHP code style checks with

composer run test

and fix fixable violations with

composer run fix

Similarly, you can lint the JavaScript code with

npm test

mediawiki-extensions-wikidata.org's People

Contributors

addshore avatar amire80 avatar atdt avatar benestar avatar codders avatar dannys712 avatar filbertkm avatar frimelle avatar hashar avatar itamargiv avatar janzerebecki avatar jdforrester avatar jdlrobson avatar jonaskress avatar ladsgroup avatar legoktm avatar lucaswerkmeister avatar manicki avatar mariushoch avatar maxsem avatar micgro42 avatar mlazowik avatar mvolz avatar nomoa avatar revi avatar thiemowmde avatar tobijat avatar translatewiki avatar umherirrender avatar volker-e avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.