Help:Extension:GlobalPreferences/zh

擴展允許為（也稱為wiki農場）中的所有wiki設置. 這意味著用戶可以更改所有wiki-{zh-cn:项目; zh-tw:計畫; zh-hk:專案;}-的首選項，而無需依次訪問每個wiki，也可以可以為單個wiki設置本地例外.

關於
該擴展程序添加了第二個首選項頁面，可從Special:Preferences的選項“”中的“”按鈕-{zh-cn:访问; zh-tw:存取;}-.



頁存有部分選項，但移除一些項目，因為它們不於全域皆適用，並且對於每個選項，它添加了一個復選框，-{zh-cn:用户; zh-hant:用戶; zh-tw:使用者;}-可以使用該複選框選擇要全域使用的選項.



The GlobalPreferences page is present on all wikis in the family, and changes made via any wiki are mirrored everywhere else.

If a wiki has preferences that are only present on some wikis (for example, for an extension that is not installed everywhere) then those preferences must be set globally from one of the wikis that does have those preferences. They'll not appear on other GlobalPreferences page, and they'll not be modified when those other GlobalPreferences pages are used. Once a preference has been selected to be global, it will no longer be modifiable from the normal preferences page.

Local exceptions
If a preference is set to be global, it will be disabled on the normal preferences page, but a new checkbox will be added under it with which an exception can be made for just the current wiki.



When you view that preference on the GlobalPreferences page, there will be a message below it indicating that there is a local exception in place. The value of the global preference will also often not be the one that's actually in effect (for example, Welsh is not the active language in the screenshot below, even though it's the active global preference).



Note that local exceptions are only visible on the wiki on which they're in effect. If you go to another wiki, there is no indication that a local exception exists elsewhere.

Removing global preferences
The global preferences page has a link, just like the normal preferences page, to remove all preferences. This will (after prompting for confirmation) delete all global preferences and all preferences will be restored to either the local value a user has set, or the site default.

Note that this deletes global values even for preferences that are not present on the current wiki. For example, if you set a global preference for an extension that's only on one wiki, and then remove global preferences via another wiki, when you go back to the first wiki's global preferences page you will not have any global preferences set. Removing global preferences does not remove local exceptions, but rather just disables them (i.e. local preferences or site defaults will be in effect). If a preference is made global again, its local exception will be reinstated.

Communication
If you encounter any problems using the GlobalPreferences extension, you can ask for help on the talk page. If you have found a bug or want to suggest a new feature, please open a ticket on Phabricator and tag it with 'MediaWiki-extensions-GlobalPreferences'.