Посібник:Список функцій MediaWiki

This page is a translated version of the page Manual:MediaWiki feature list and the translation is 34% complete.

Ця сторінка містить список функцій, вбудованих у програмне забезпечення MediaWiki. Чи варто вам використовувати MediaWiki для власної вікі, залежить від того, який веб-сайт ви хочете запустити з нею. Програмне забезпечення Вікіпедії має багато корисних функцій, які виросли з потреб користувачів та ідей розробників, але функції також означають складність.

Перш ніж ви вирішите використовувати MediaWiki, будь ласка, подивіться на інші механізми вікі (див. цей список або це порівняння) та подивіться, чи може одна з них краще відповідати вашим вимогам.

Запити на нові функції слід надсилати до Фабрикатору.

Чи хочу я MediaWiki?

Програмне забезпечення та розширення MediaWiki мають особливості та переваги, сильні та слабкі сторони, переваги та недоліки, і, незважаючи на чиїсь передбачувані цілі, програмне забезпечення та розширення MediaWiki можна використовувати для унікальних, розумних, винахідницьких цілей, непередбачених початковими програмістами чи іншими установниками. Ось короткий список функцій і переваг MediaWiki. Якщо ви розробите еквівалентний список ваших власних цілей і ресурсів, ви можете порівняти цей список зі своїм списком і побачити, де є відповідність або невідповідність. Потрібна додаткова допомога у виборі? У мережі є відкриті дискусійні групи, а за кожною головною сторінкою MediaWiki є сторінки обговорень «обговорення», де ви можете знайти зв’язок з досвідом інших людей.

Зразок списку функцій зі сторінок 13-14, у книзі «Навчальний посібник для адміністраторів MediaWiki: встановлення, керування та налаштування своєї інсталяції MediaWiki» Мізанура Рахмана, 2007 р. http://www.packtpub.com/
Функція MediaWiki Переваги MediaWiki Ваші цілі Ваші ресурси
Зручна навігація: Легко зробити свій внесок без особливої підготовки... ... ...
Редагування, форматування та посилання: Керуйте вмістом і знаходьте його… ... ...
Подивіться і відчуйте зміни: Налаштовується відповідно до ваших уподобань… ... ...
Завантаження файлу: Управління вмістом і обмін… ... ...
Багатомовна підтримка: Підтримка UTF-8 дозволяє створювати одну програму для всіх мов…    
Управління користувачем: Контроль доступу та безпеки…    
Синдикація: Поділіться інформацією про свій сайт…    
…більше… ... ... ...

Будь ласка, посильте та розширте функції та переваги наведеної вище таблиці, щоб допомогти відвідувачам краще зрозуміти у що вони залучаються. Дякуємо!

Однією з повторюваних проблем є те, що системні адміністратори вирішують створити вікі, не беручи до уваги багато питань. Заповнивши попередню таблицю, поставте собі такі запитання, щоб перевірити, чи є вікі відповідним програмним забезпеченням для вас:

  1. Яке призначення мого сайту?
    Вікі ідеально підходять для спільного редагування та створення контенту; вони не дуже добре підходять для інших цілей, як-от ведення блогів. Подумайте, чи є вікі адекватним варіантом для ваших цілей.
  2. Скільком користувачам буде доступна ця вікі?
    За деякими винятками, встановлення програмного забезпечення вікі не є необхідним, коли існує дуже невелика група людей, зацікавлених у редагуванні вікі. Чим більша база користувачів, тим вища ймовірність того, що вікі є для вас доцільною.
  3. Скільки активних редакторів, за моїми очікуваннями, будуть редагувати мою вікі?
    Вікі, через їхню відкритість, потребують деякого обслуговування. Чим більша база редактора, тим більше рук доступно для виконання цих завдань з обслуговування.
  4. Що я можу зробити з MediaWiki?
    MediaWiki — це надзвичайно гнучкий механізм вікі; його відносно легко встановити, але, що більш важливо, він дозволяє використовувати та створювати розширення. Вони дозволяють вашій інсталяції MediaWiki бути надзвичайно налаштовуваною з деякими знаннями PHP. При належній мотивації, MediaWiki можна «зловживати», щоб робити щозавгодно.
  5. Чи підходить мені MediaWiki?
    MediaWiki має свої обмеження. Більш значним обмеженням є те, що MediaWiki не призначений як список контролю доступу. Raison d’être MediaWiki є надання відкритого контенту; хоча останні версії мають набагато сильнішу модель безпеки, все ще існують значні прогалини в індивідуальному доступі безпеки.


Як мені налаштувати MediaWiki?

Якщо ви вирішили, що MediaWiki дійсно є доречним рішенням, є ще багато речей, які варто розглянути.

Сподіваємось, ці запитання допоможуть вам вирішити, як налаштувати свою вікі таким чином, що дозволить вам мінімізувати проблеми в довгостроковій перспективі:

  1. Кого я хотів би бачити як читачів моєї вікі?
    Незважаючи на всі проблеми з обмеженнями на індивідуальні сторінки, MediaWiki можна налаштувати так, щоб обмежити або дозволити доступ кожному. Отже, запитайте себе, чи хочете ви, щоб усі в Інтернеті бачили вміст вашої вікі, чи ви хочете обмежити цей привілей тим користувачам, які створили облікові записи у вашій вікі.
  2. Кого я хотів би бачити як редакторів моєї вікі?
    Можливо, найпоширенішим питанням є те, чи хочете ви дозволити всім редагувати вашу вікі, подібно до моделі . MediaWiki допускає чіткі обмеження написання; наприклад, ви можете дозволити незареєстрованим користувачам редагувати сторінки обговорень, але дозволити редагувати ваші сторінки вмісту лише користувачам з обліковими записами, старшими за певну кількість часу. Ви можете обмежити редагування адміністраторів або навіть спеціальною групою користувачів, яку ви створюєте та делегуєте.
  3. Чи хочу я щоб хтось створював обліковий запис на моїй вікі?
    Залежно від деяких відповідей на запитання вище, ви можете вирішити обмежити, хто може створювати облікові записи у вікі. Ви можете дозволити будь-кому створювати облікові записи; або ви навіть можете дозволити адміністраторам надавати цей привілей, які потім відповідатимуть за створення облікових записів для нових користувачів за допомогою певного процесу на ваш вибір.
  4. Які повноваження я хочу, щоб кожна група користувачів мала?
    Це одне з найважливіших запитань, на яке потрібно відповісти. Надання або зняття привілеїв у групи може бути надзвичайно суперечливим у великій вікі, тому дуже важливо мати гарне уявлення про те, що повинен робити кожен користувач. Чи хочете ви, щоб незареєстровані користувачі створювали сторінки? Чи хочете ви, щоб зареєстровані користувачі створювали сторінки? Чи хочете ви, щоб адміністратори вікі могли блокувати та видаляти сторінки, чи хочете надати їм більше привілеїв? Хто відповідає за надання додаткових привілеїв? Who is responsible for removing them? Who do you want to have more fine-grained powers, such as oversight, checkuser, and rollback?
    See Посібник:Права користувачів and Help:User rights management for more ideas and information.
  1. Which extensions should I install?
  1. With a few exceptions, extensions are easy to add, whether it be while installing the wiki, or after a couple of years of the wiki being run.
  1. Do I need to manage structured data?
  1. For managing structured data within MediaWiki, several dedicated extensions exist.

With those answers, you should be able to configure the most critical aspects of your wiki. You can proceed to beginning the installation process in your operating system.

Look and feel

  • Links with shortcuts, arrangement depends on skin.
  • Skins - Different ways to present the site
  • User styles: Users can adapt the look and feel of the site through custom CSS on their user pages.
  • "Stub" threshold: Users can see links to articles below a certain size rendered in a different color.
  • Printable versions of articles can be generated.
  • Auto-number headings in an article (optional).
  • Intra-page Anchors (automatically generated for headings, and also with <div id="tagname">...</div>).
  • Automatically generate a table of contents for long articles (optional).
  • Automatically turn ISBN numbers into links to an editable list of booksellers.
  • XHTML- or HTML5-compatible output (or darn close to it), tidy integration.

Multimedia and extensions

Uploaded files are listed on Recent Changes and they are also logged on Special:Log/upload.

  • Mathematical formulas using LaTeX syntax

- See Extension:Math and Manual:Mathoid

  • Automatic resizing of images using ImageMagick or libgd, simple syntax for image captions and image alignment
  • WikiHiero for Egyptian hieroglyphs (needs separate installed components)
  • Graph - for any kinds of charts (needs separate installed components)

Keeping track of edits

  • Watchlist Every page has a link "Watch this article for me".

Use Special:Watchlist to track changes on the articles you declared as interesting; watched articles are also bolded in the Recent changes list .

  • User contributions in the sidebar of each user page list all articles the user has worked on, according to the database.
  • Extended recent changes with dynamic collapsing of edits to the same article and quick links to diff the edit, show the article history, show the user page, show the user talk page, or block the user (for sysops)
  • "Related changes": View a filtered version of Recent Changes to the pages linked from the current page.
  • Side-by-side diffs - the diffs are shown side-by-side, and changed portions of lines are highlighted, making it much easier to see what's what.

Additionally, a diff is shown during an edit conflict so you can see exactly what you need to reintegrate.

  • Real names - Users can (optionally) specify a "real name" they want to use for author credits.
  • On-page credits.

Administrators can enable an on-page paragraph giving credit to editors who've worked on a page.

Structures and syntax

There is an option to allow full use of HTML.

  • Editing syntax based on UseMod, with support for mixing wiki-syntax and HTML.

Only free links are supported for linking, not CamelCase (deliberate design decision).

  • Namespaces allow content separation (to address the namespace, use the [[Namespace:Page title]] syntax).
    • Discussion (Talk:) pages are separate from article pages, "meta" project pages can be separated from content pages, image pages are used for image descriptions.
    • MediaWiki: namespace contains all user interface texts, so that they can be edited like any other wiki page
    • Template: namespace for custom messages.

Templates may contain string variables which are replaced with certain values passed to the template from the calling page.

  • Transclusion of arbitrary pages in any namespace: {{:Page Name}}.

See Templates

  • Word-extension linking: If you include a link of the form [[war]]s, or [[war]]time, the system will automatically display it as if you had typed [[war|wars]] or [[war|wartime]], respectively, saving some typing.
  • Parenthetical hiding ("pipe tricks") If you include a link of the form [[kernel (mathematics)|]], the parenthetical portion will be hidden in the link: kernel.

This is useful for disambiguating different meanings of a word without making linking too difficult or cluttering up the text of articles. This also works with cropping out namespaces when you want a cleaner-looking link: [[Wikipedia:Copyrights|]] becomes Copyrights

  • Support for subpages (link to "Foo/Bar" from "Foo" by just typing "/Bar", "Foo/Bar" contains a backlink to "Foo"), these can be enabled or disabled by namespace (e.g., Wikipedia currently supports subpages on discussion pages, to make archiving easy, and on user pages, to give users space for personal pages)
  • Special keywords for inserting dynamic data such as the name of the current page, the current date, the number of articles, etc.
  • Multiple Categories can be assigned to any page, including categories themselves, creating a hierarchy of categories.

Category pages automatically list all pages assigned to them, including sub-categories. Categories allow classification and hierarchical browsing of the content.

Editing

  • Section editing - Users can enable an option that allows them to edit individual sections of an article (separated by headlines) instead of loading the entire article.
  • Edit toolbar (JavaScript-based) for formatting text as bold, italic etc. (fully works in Mozilla and IE, other browsers use it to show the syntax, but cannot format text inside the text area because their JavaScript implementation does not support it).

If JavaScript is disabled, the toolbar is not shown.

  • Edit summary which is shown in "Recent changes".

Will be prefilled with section title when section editing.

  • Double click editing: Users can enable an option that allows them to edit articles by double clicking them.
  • Edit preview (can be shown before or after edit box)
  • Handle edit conflicts (page being saved by a user while still being edited by another one, then saved again).

MediaWiki will merge changes automatically if possible and otherwise require the user to do a manual merge.

  • Mark edits as minor; users can decide to hide such edits from the Recent Changes list.

Only signed in users can mark edits as minor.

Spam and Vandalism

    • m:Spam blacklist - List of spammer's domain names which users are not allowed to link to.

Discussions

  • Talk pages: Each user (including every anonymous user) and every article has an associated page where messages can be left.

These are separate namespaces (see above), "Talk:" and "User talk:".

  • Message notification (user gets a "You have new messages" notice if someone else has edited their user discussion page); this also works for anonymous users, but not for shared IP users
  • Automatic signature: Just type three tildes (~) when you edit, and on saving the page, it will be replaced with your user name and a link to your user page.

If you use four tildes, the current date will be added as well. Mainly intended for Talk pages.

  • Support for emailing users through the wiki (email address not shown to the user)

Multilanguage support

  • Interlanguage links: handy method for linking articles between wikis in different languages (each language requires its own database)
  • UTF-8 support

Backend

  • Database-driven (MySQL/MariaDB, PostgreSQL, and SQlite are supported)
  • Parser caching: rendered pages are cached to reduce redundant processing
  • Output caching: complete page output can be optionally saved as static HTML files for serving to other clients; support for Squid proxies
  • Cookie-based account and login system, but anonymous users can also edit pages
  • All revisions of an article are stored (optionally compressed)


Permissions

  • Different rights for anonymous users, signed in users, sysops, bureaucrats and developers.
  • Signed in users can:
    • move and rename pages
    • upload files
    • have and use a watchlist
    • mark edits as minor edits (e.g. typo correction)
  • Admins/Sysops can:
    • protect pages from editing
    • delete and undelete pages
    • edit protected pages
    • ban users by IP address
    • ban users by username, if this option is enabled
  • Bureaucrats can:
    • create sysops
    • rename users
    • flag bots
  • Developers can:
    • lock the database
    • run various maintenance tasks
  • Other permission schemes (e.g. only signed in users can edit pages) can be configured.

Search and Queries

  • Full text search
  • "Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)
  • "What links here": View pages that link to the current page (backlinks)
  • Special report pages:
    • New pages: List of newly created articles
    • Ancient pages: Articles sorted by timestamp, ascending
    • List of images
    • List of users
    • Site statistics
    • Orphaned articles (articles that have no links pointing to them)
    • Orphaned images
    • Popular articles (articles by number of visits, works only if counters are enabled)
    • Most wanted articles (non-existent articles sorted by number of links pointing to them)
    • Short articles
    • Long articles
    • List of all pages by title
  • Query API - allows scripted access to various metadata

Misc.

  • Random article display function
  • Users can configure their timezone, which is used on all report timestamps
  • The attributes of many report pages (number of results etc.) can be set in the user preferences

Empty set of help pages

Note that the files in the installation contain many links pointing to documents that are not included in the download. Most important is the empty set of help files, which will be needed by any new user of the site. To remedy these broken links, you must either (a) export from this site or manually copy and modify help pages to your installation or (b) modify the installation's parameters to change the help link targets to this site, either of which may require a substantial time investment.