| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Fecal incontinence - Wikipedia, the free encyclopedia socalgastroenterologist.c... | Doctor Eugene Lipov, M.D. - Biography and Wikipedia Entry eugenelipovmd.org | Society for Neuroscience - Neuroscience Wikipedia Initiative sfn.org | Tramadol Wikipedia =>> Trusted Pills Catalog synergeticsusa.com |
"WP:FRIENDLY" redirects here. You may have been looking for Wikipedia's civility policy, "Do not insult the vandals", or "Please do not bite the newcomers".
Welcome to Friendly. [edit] What is Friendly?Friendly is a collection of JavaScripts that provide an interface similar to Twinkle (by using the morebits JavaScript library) for Wikipedia's more friendly, collaboration-oriented tasks. Currently, the implemented features are welcome templates, shared IP address tagging, article space templates, talkback, tab shortening and a handy UTC clock that will purge the current page when clicked. This functionality is provided via tabs labeled "tb", "wel" and "shared ip" when on a user talk page and "tag" when in article space. A "welcome" link is also placed on diff pages next to users that have empty talk pages. More features are always in the pipeline and Friendly is under ongoing development, so be sure to report any bugs or request new features on Friendly's talk page. [edit] Notes
[edit] FunctionalityFriendly adds additional features to various parts of Wikipedia. Each tab's ID is given to assist with further customization via additional user CSS or JavaScript. [edit] All Namespaces[edit] friendlyclockThe friendlyclock feature inserts an updating UTC clock in the top right-hand corner of the screen so that the UTC time is always visible and handy. This feature also allows the ability to easily purge the current page by simply clicking on the clock. If you have other scripts or gadgets installed that add a UTC clock to the screen, you may want to disable them, or disable this feature of Friendly. The feature can be entirely disabled by setting the This feature is not available if you have Friendly installed as a gadget. Element ID: [edit] "welcome" from DiffA welcome link will appear next to a user in a diff view if the user's talk page is empty. This allows you to quickly welcome the user with the template specified in the [edit] friendlytabsThe friendlytabs feature can be used to shorten all of the common, long tab names that Wikipedia uses. For example, "edit this page" is changed to "edit" and "discussion" to "talk", by default. This gives Friendly users more room for a variety of extra function tabs by shortening the amount of space that common tabs take up. This feature can be configured or disabled; see the configuration section for details. [edit] User Talk Namespace[edit] "tb" TabThe tb tab will allow you to easily leave {{talkback}} templates on other users' talk pages. It supports all of the talkback template's options that you would have available as if you were leaving the template by hand. Tab element ID: [edit] "wel" TabThe wel tab will welcome the user with selected template. If an article is specified in the input field, and the template supports an article link, Friendly will automatically link the template to the article you specified. All templates that support this are marked with an asterisk ("*"). In the case of normal welcome templates, the article would be one that the user contributed positively to. In the case of problem user welcome templates, the article would be one that the user vandalized or did not contribute positively to. This input field is automatically populated if the Friendly is capable of supporting a custom list of templates that displays below the standard set of Welcome templates. If you have installed Friendly, you can add a list of templates that you would like to be added to the Welcome dialogue by properly defining the Tab element ID: [edit]The shared ip tab will tag the IP as a shared IP address. Most of the Shared IP templates require that the name of the organization that owns or operates the IP address be input. If one of these templates is selected, Friendly will require that you fill in the "Organization name" input field, which does support wikitext. Tab element ID: [edit] Article Namespace[edit] "tag" TabThe tag tab will tag the article with the template(s) of your choice. All templates that are checked will be added to the article in their proper respective locations. Templates that support it will automatically be added with the Three templates in the list, {{globalize}}, {{notability}}, and {{current}}, allow you to select from a list of subcategories of the respective templates. The standard template is the default, and selecting a subcategory is not required, but it does place a more specific version of the template on the article. If a {{globalize}} subcategory is selected and templates are being grouped into {{Article issues}}, the subcategory is ignored as {{Article issues}} only supports the standard {{globalize}} template. The {{notability}} subcategories are ignored in the same way when grouping. If the redirect URL parameter is set to "no" and there is no rcid URL parameter, the tag tab will assume that you are viewing a redirect page. Instead of presenting you with a normal set of article tags, the tab will present you with a set of redirect categorization tags, from Category:Redirect templates. Tab element ID: [edit] InstallationTo install all Friendly modules, including all future updates and additions:
You may wish to re-configure Friendly's default settings after installation. See below for instructions. [edit] Individual modulesIf you just want to use one or more of the individual modules, here they are listed with their dependencies. The line For the welcome functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlywelcome.js'); For the shared IP tagging functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlyshared.js'); For the tagging functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlytag.js'); For the clock functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlyclock.js'); For the tabs functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlytabs.js'); For the talkback functionality, add: importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlytalkback.js'); [edit] ConfigurationOptionally, to configure Friendly, copy the text below and paste it in your monobook.js file. It does not matter if you put the config before or after the includes or have Friendly installed as a gadget. Each line contains a specific setting which is described below. You can remove any settings that you do not want to change from the default, but do not remove the first line. When changing settings, make sure not to remove the semicolon from the end of each line. [edit] Default ConfigurationThis is the default configuration: if( typeof( FriendlyConfig ) == 'undefined' ) FriendlyConfig = {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS FriendlyConfig.clockStyle = "dynamic"; FriendlyConfig.enableClock = true; FriendlyConfig.groupByDefault = true; FriendlyConfig.idsToRename = [ { id: 'ca-nstab-main', name: 'Main', mainPageOnly: true }, { id: 'ca-nstab-help', name: 'Help' }, { id: 'ca-nstab-special', name: 'Special' }, { id: 'ca-nstab-project', name: 'Project' }, { id: 'ca-nstab-user', name: 'User' }, { id: 'ca-edit', name: 'Edit' }, { id: 'ca-viewsource', name: 'Source' }, { id: 'ca-talk', name: 'Talk' }, { id: 'ca-undelete', name: 'Undelete' }, { id: 'ca-addsection', name: '+' } ]; FriendlyConfig.insertHeadings = true; FriendlyConfig.insertSignature = true; FriendlyConfig.insertUsername = true; FriendlyConfig.markSharedIPAsMinor = true; FriendlyConfig.markTaggedPagesAsMinor = true; FriendlyConfig.markTaggedPagesAsPatrolled = true; FriendlyConfig.markTalkbackAsMinor = true; FriendlyConfig.markWelcomesAsMinor = true; FriendlyConfig.maskTemplateInSummary = true; FriendlyConfig.quickWelcomeMode = "auto"; FriendlyConfig.quickWelcomeTemplate = "Welcome"; FriendlyConfig.summaryAd = " using [[WP:FRIENDLY|Friendly]]"; FriendlyConfig.talkbackHeading = "== Talkback =="; FriendlyConfig.topWelcomes = false; FriendlyConfig.watchTaggedPages = true; FriendlyConfig.watchWelcomes = true; FriendlyConfig.welcomeHeading = "== Welcome =="; [edit] Custom ConfigurationAlternatively, you can copy only the settings you wish to change in the following format: if( typeof( FriendlyConfig) == 'undefined' ) FriendlyConfig= {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS FriendlyConfig.key = value; FriendlyConfig.key = value; /* ... */ FriendlyConfig.key = value; [edit] Parameter Descriptions[edit] clockStyleDefines whether a static or dynamic clock should be displayed. The dynamic clock will update the time continuously, while the static clock will always display the time that you loaded the page. Valid parameter values are Argument is a String, default to [edit] enableClockDefines whether Friendly's clock should be shown. Argument is a boolean, default to [edit] groupByDefaultDefines if the checkbox for template grouping should be checked by default. It is recommended that you not change this option. Argument is a boolean, default to [edit] idsToRenameDefines the document ids for the tabs that Friendly's tab feature should rename. It is an array of hashes, with each hash containing an id that must be a string and a name that must be a string. If a matching id is found on the page you are currently browsing, Friendly changes the link name to what is defined in the name. If renaming the article tab (id: 'ca-nstab-main') you can also specify a boolean parameter called mainPageOnly in the hash. If set to true, the particular name for the id in this hash will only be used on Wikipedia's main page. Argument is an array of hashes, default to: idsToRename : [ { id: 'ca-nstab-main', name: 'Main', mainPageOnly: true }, { id: 'ca-nstab-help', name: 'Help' }, { id: 'ca-nstab-special', name: 'Special' }, { id: 'ca-nstab-project', name: 'Project' }, { id: 'ca-nstab-user', name: 'User' }, { id: 'ca-edit', name: 'Edit' }, { id: 'ca-viewsource', name: 'Source' }, { id: 'ca-talk', name: 'Talk' }, { id: 'ca-undelete', name: 'Undelete' }, { id: 'ca-addsection', name: '+' } ] To remove all tab renaming, replace this line with [edit] insertHeadingsDefines whether a heading is added to a welcome template that does not already contain one. Argument is a boolean, default to [edit] insertSignatureDefines whether a signature (~~~~) is added after the welcome template if the template has no signature. It is recommended that you not change this option. Argument is a boolean, default to [edit] insertUsernameDefines if your username should be added to the template, if the template supports it. Example: {{welcome|Ioeth}}. Argument is a boolean, default to [edit]Defines if adding a shared IP template should be marked as a minor edit. Argument is a boolean, default to [edit] markTaggedPagesAsMinorDefines if adding a tag should be marked as a minor edit. Argument is a boolean, default to [edit] markTaggedPagesAsPatrolledDefines if tagging should automatically mark the page as patrolled. Argument is a boolean, default to [edit] markTalkbackAsMinorDefines if adding a talkback template should be marked as a minor edit. Argument is a boolean, default to [edit] markWelcomesAsMinorDefines if adding a welcome should be marked as a minor edit. Argument is a boolean, default to [edit] maskTemplateInSummaryDefines whether Friendly will reference the specific template you used in the edit summary. This is useful if you do not want welcomed users to see that you welcomed them with {{welcomevandal}}, for instance. Argument is a boolean, default to [edit] quickWelcomeModeDefines which quick welcome mode Friendly will operate in when welcoming a new user directly from a historical diff page. Automatic mode will add the template defined in the The value of this argument must either be Argument is a string, default to [edit] quickWelcomeTemplateDefines which welcome template Friendly will use when welcoming a new user directly from a historical diff page. The value of this argument must exactly match one of the templates available from the "welcome" tab on a user talk page. Do not include the curly braces, only the template name, and make sure the capitalization matches. Argument is a string, default to [edit] summaryAdDefines what summary Ad to be added. Argument is a string, default to [edit] talkbackHeadingDefines what heading is to be added above talkback templates if Argument is a string, default to [edit] topWelcomesDefines if the welcome should be added to the top or bottom of the user's talk page. Argument is a boolean, default to [edit] watchTaggedPagesDefines if adding a tag should add a page to watchlist. Argument is a boolean, default to [edit] watchWelcomesDefines if adding a welcome should add page to watchlist. Argument is a boolean, default to [edit] welcomeHeadingDefines what heading is to be added to welcome templates if Argument is a string, default to [edit] Custom ParametersFriendly's tag and welcome functionality supports custom maintenance and welcome templates which are provided to the script by adding the [edit] customTagListTo add custom template functionality to your Friendly tag screen, insert the following code below your other Friendly configuration: FriendlyConfig.customTagList = [ { label: '{{CustomTag}}: Custom maintenance template description', value: 'CustomTag' }, { label: '{{CustomTag}}: Custom maintenance template description', value: 'CustomTag' }, { label: '{{CustomTag}}: Custom maintenance template description (now includes parameters!)', value: 'CustomTag|para=value' } ]; Simply replace "CustomTag" with the name of the template that you would like to add to the script and either remove or replace the description on the "label" line. This section of your configuration can be extended to include as many custom maintenance templates as you would like. Make sure to use a comma to separate each element in the array while not including one after the last element. [edit] customWelcomeListTo add custom template functionality to your Friendly welcome screen, insert the following code below your other Friendly configuration: FriendlyConfig.customWelcomeList = [ { label: '{{CustomWelcome}}: Custom welcome template description', value: 'CustomWelcome' }, { label: '{{CustomWelcome}}: Custom welcome template description', value: 'CustomWelcome' }, { label: '{{CustomWelcome}}: Custom welcome template description (now includes parameters!)', value: 'CustomWelcome|para=value' } ]; Simply replace "CustomWelcome" with the name of the template that you would like to add to the script and either remove or replace the description on the "label" line. This section of your configuration can be extended to include as many custom welcome templates as you would like. Make sure to use a comma to separate each element in the array while not including one after the last element. [edit] UserboxesFriendly users may add these userboxes to their userpage.
|
| ↑ top of page ↑ | about thumbshots |