This script/stylesheet is for PERSONAL use only!
You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js, MediaWiki:Fandomdesktop.css, or MediaWiki:FandomMobile.css), as it would violate Fandom's Terms of Use.
(See the customization policy)
PageCreator (benzer MediaWiki uzantısı ile karıştırılmamalıdır) bir sayfanın yaratıcısı ve oluşturulma tarihi ile ilgili ayrıntılar sağlar. Başlangıçta LastEdited betiğinin bir uzantısı olarak tasarlandı ve bu nedenle aynı tasarımı paylaşıyor, ancak kendi başına kullanılabilir.
Diğer kullanıcıların sayfalarını düzenlemenin yasak olabileceği, kullanıcı tarafından oluşturulan içeriğe ayrılmış vikilerde kullanılmak üzere tasarlanmıştır. Betik, herhangi bir özel seçim belirtilmemişse, varsayılan olarak Ana, Project, MediaWiki, Şablon ve Kategori ad alanlarındaki içerik ayrıntılarını sağlayacaktır.
Installation
Bir avatar ve zaman damgası eklenebilir, isteğe göre özelleştirilebilir ad alanları ve bir window nesnesinin eklenmesiyle UTC/yerel saat dilimi tercihleri not edilebilir.
| Değişkenler | Tür | Geçerli değerler | Varsayılan değer(ler) |
|---|---|---|---|
namespaces
|
Dizi | Aşağıya bakın | [0, 4, 8, 10, 14]
|
useUsernameAndLinks
|
Boole | truefalse
|
true
|
useAvatar
|
Boole | truefalse
|
true
|
useTimestamp
|
Boole | truefalse
|
true
|
useUTC
|
Boole | truefalse
|
true
|
useTimeago
|
Boole | truefalse
|
false
|
avatarsize
|
Sayı | Herhangi bir number tamsayı
|
15
|
| ID | Namespace | Description |
|---|---|---|
| -2 | Media | Used for direct linking to images. For example, Media:Wiki.png links directly to the image page. |
| -1 | Special | Special pages. Used by MediaWiki code and extensions |
| 0 | Mainspace | Articles |
| 1 | Talk | Article discussion |
| 2 | User | Personal user pages |
| 3 | User talk | Pages for discussion with users |
| 4 | Project/Sitename | Wiki-related content |
| 5 | Project talk/Sitename talk | Discussion of Project pages' |
| 6 | Image/File | File descriptions |
| 7 | Image talk/File talk | File discussion |
| 8 | MediaWiki | System messages and configuration |
| 9 | MediaWiki talk | Discussion of MediaWiki pages |
| 10 | Template | Templates |
| 11 | Template talk | Template discussion |
| 12 | Help | Help pages, also see Shared Help |
| 13 | Help talk | Discussion about Help pages |
| 14 | Category | Categories |
| 15 | Category talk | Category discussion |
| 110 | Forum | Old forum pages |
| 111 | Forum talk | Discussion about old forum pages |
| 500 | User blog | Blog pages |
| 501 | User blog comment | User blog comments |
| 502 | Blog | Blog listing pages |
| 503 | Blog | Blog listing pages |
| 828 | Module | Lua module pages |
| 829 | Module talk | Lua module discussion pages |
| 1200 | Message Wall | Pages used for the Wall extension. Touch only if you know what are you doing. |
| 1201 | Thread | Message Wall thread namespace |
| 1202 | Message Wall Greeting | Pages used for content above message boxes on Message Walls |
| 2000 | Board | Board namespace. Used for storing board descriptions |
| 2001 | Board Thread | Forum threads |
Örneğin:
window.pageCreatorConfig = {
namespaces: [4, 8],
useUsernameAndLinks: true,
useAvatar: true,
useTimestamp: true,
useUTC: false,
useTimeago: true,
avatarsize: 12
};
Notlar
namepsaces, her ad alanı kimliğinin eklenmesine gerek kalmadan PageCreator'ı tüm ad alanlarında etkinleştirmek içinalldizesine ayarlanabilir.
Değişiklik günlüğü
- 07-10-21
- Final UCP update; removal of legacy code, refactoring of external dependency loader, restoration of
$.timeagofunctionality on UCP wikis - 28-09-21
- Addition of
useUsernameAndLinksoption to hide page creator name if desired - 21-07-20
- Addition of UCP support, addition of
avatarsizeconfig option per LastEdited, general cleanup/rewrite - 19-12-17
- Retrofitting of I18n-js, alteration of config options
- 04-08-17
- Cleanup, i18n expansion, method changes
- 04-02-17
- Slight cleanup/expansion of user options
- 23-12-16
- Local/UTC timezone options available
- 22-12-16
- Removed Help namespace in favor of Project/Sitename
- 12-12-16
- User-inputted namespaces accepted
- 9-12-16
- Initial revision