Content-Length: 15582 | pFad | https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikidata.org/+/master

master - mediawiki/extensions/Wikidata.org - Gitiles
Localisation updates from https://translatewiki.net.

Change-Id: Iac32626f1520582f698d6d0bb127bd17caa48740
1 file changed
tree: d7a04b1fc4f80750659287a72f67b39042acef4c
  1. .github/
  2. .phan/
  3. doc/
  4. i18n/
  5. maintenance/
  6. resources/
  7. src/
  8. tests/
  9. .eslintrc.json
  10. .gitignore
  11. .gitreview
  12. .phpcs.xml
  13. .stylelintrc.json
  14. CODE_OF_CONDUCT.md
  15. composer.json
  16. COPYING
  17. extension.json
  18. Gruntfile.js
  19. package-lock.json
  20. package.json
  21. README.md
  22. RELEASE-NOTES.md
README.md

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikidata.org/+/master

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy