(Translated by https://www.hiragana.jp/)
a50d93d9759464b4f289d45d538d6729526dd257 - mediawiki/extensions/AdvancedSearch - Gitiles
Localisation updates from https://translatewiki.net.

Change-Id: I094a799e7ad793aea4cf43c1405fc7437c8f1a16
3 files changed
tree: b385333185b7b1c101b63011328ab9e2fe72b6f6
  1. .phan/
  2. docs/
  3. i18n/
  4. includes/
  5. modules/
  6. tests/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. .phpcs.xml
  11. .stylelintrc.json
  12. CODE_OF_CONDUCT.md
  13. composer.json
  14. docker-compose.yml
  15. extension.json
  16. Gruntfile.js
  17. LICENSE
  18. package-lock.json
  19. package.json
  20. README.md
README.md

AdvancedSearch

The AdvancedSearch extension enhances Special:Search by providing an advanced parameters form and improving how namespaces for a search query are selected.

Dependencies

This is a mediawiki extension. Consequently its functionality is tested in integration with a mediawiki installation and the global libraries it provides. The dependencies in package.json try to mimic up-to-date versions of these dependencies for e.g. IDE support, but will not actually be obeyed when using AdvancedSearch in a wiki.

Configuration

For configuration options please see the settings documentation.

Adding More Fields

Please see the "Adding Fields to AdvancedSearch" documentation to learn how you can add new fields for other search keywords to AdvancedSearch.

Development

This project uses npm and grunt to run JavaScript-related tasks (e.g. linting). Docker and docker-compose can be used to ease installation.

Installation

docker-compose run --rm js-build npm install

Run Linting

docker-compose run --rm js-build grunt

Running the QUnit tests

Run MediaWiki and then hit this page in your browser:

index.php?title=Special%3AJavaScriptTest%2Fqunit%2Fplain&filter=ext.advancedSearch