Redigerer
Wikisida.no:Friendly
(avsnitt)
Hopp til navigering
Hopp til søk
Advarsel:
Du er ikke innlogget. IP-adressen din vil bli vist offentlig om du redigerer. Hvis du
logger inn
eller
oppretter en konto
vil redigeringene dine tilskrives brukernavnet ditt, og du vil få flere andre fordeler.
Antispamsjekk.
Ikke
fyll inn dette feltet!
== Hva er Friendly? == '''Friendly''' er en samling av [[JavaScript]] som gir brukeren et grensesnitt tilsvarende [[Wikipedia:Twinkle|Twinkle]] (ved å bruke [[:en:User:AzaToth/morebits.js|:en:morebits]]/[[Bruker:Nsaa/morebits.js]] JavaScript-bibliotek) for Wikipedias mer vennlige og samarbeidsorienterte oppgaver. Foreløpig er følgende ting implementert noen av velkomstmalene (''[[:en:WP:Welcome templates|:en:welcome templates]]''), (''[[:en:Category:Shared IP addresses|:en:shared IP address]]'') (''[[:en:Category:Shared IP header templates|:en:tagging]]''), (''[[:en:WP:Templates|:en:article space templates]]''), (''[[:en:Template:talkback|:en:talkback]]''), (''[[:en:Wikipedia:Friendly#friendlytabs|:en:tab shortening]]'') og en kjekk [[UTC|UTC-klokke]] som vil laste den aktuelle siden på nytt (''[[:en:WP:PURGE|:en:purge]]'') når den trykkes på. Denne funksjonaliteten sørges for vha. fanene navngitt "tb", "wel" og "shared ip" når man er på en brukerdiskusjonside og "tag" når i artikkelrommet. En "welcome"-lenke er også plassert på [[:en:WP:DIFF|:en:diff]]-siden ved siden av brukere som har en tom (''[[:en:WP:RED|:en:empty]]'') diskusjonside. <!-- 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 [[Wikipedia talk:Friendly|Friendly's talk page]]. === Notes === * All scripts on this page are only tested on '''[http://www.getfirefox.com/ Mozilla Firefox 3]'''. They may not work on other browsers. * The script is compatible with '''Twinkle''', and will add additional Twinkle style function tabs. * If using Windows, '''ZoneAlarm''' might break these scripts. * '''Norton Internet Security''' (specifically, AntiSpam) will hijack the [[HTTP]] stream and append data, with the result that the data is malformed [[XML]] (the XML standard requires one root node only), breaking Friendly. This can be fixed by disabling popup blocking. * If using the [[Wikipedia:Vector|Vector]] skin or the Beta interface, Friendly must be loaded via gadget or your [[Special:Mypage/vector.js|vector.js]] file. == Functionality == Friendly adds additional features to various parts of Wikipedia. Each tab's ID is given to assist with further customization via additional user [[Cascading Style Sheets|CSS]] or JavaScript. === All Namespaces === ==== friendlyclock ==== The '''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 [[WP:PURGE|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 <code>enableClock</code> configuration parameter to <code>false</code>. This feature is not available if you have Friendly installed as a [[WP:GADGET|gadget]]. Element ID: <code>friendly-clock</code> ==== "welcome" from Diff ==== [[Image:Friendly Welcome From Diff.png|thumb|Friendly's welcome option displayed in diff.]] A '''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 <code>[[#quickWelcomeTemplate|quickWelcomeTemplate]]</code> parameter (by default) or easily open the user's talk page with Friendly's welcome dialogue already visible (if the <code>[[#quickWelcomeMode|quickWelcomeMode]]</code> parameter is set to <code>semiauto</code>). This feature is available when viewing any diff across all namespaces. ==== friendlytabs ==== The '''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. === User Talk Namespace === ==== "tb" Tab ==== The '''tb''' tab will allow you to easily leave {{tl|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: <code>friendly-talkback</code> ==== "wel" Tab ==== [[Image:Friendly Welcome Tab.PNG|thumb|Friendly's welcome functionality.]] The '''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 <code>vanarticle</code> URL parameter is found, which is populated by Twinkle after doing a rollback. 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 <code>customWelcomeList</code> parameter in Friendly's configuration. Any templates added to this list, when selected, will simply be placed on the user's talk page with no heading, no arguments, and will be followed by your signature. Tab element ID: <code>friendly-welcome</code> ==== "shared ip" Tab ==== [[Image:Friendly SharedIP Tab.PNG|thumb|Friendly's shared IP functionality.]] The '''shared ip''' tab will tag the IP as a [[:Category:Shared IP addresses|shared IP address]]. Most of the [[:Category:Shared IP header templates|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 [[WP:MARKUP|wikitext]]. Tab element ID: <code>friendly-shared</code> === Article Namespace === ==== "tag" Tab ==== [[Image:Twinkle-tag-dialog.png|thumb|Friendly's tag functionality.]] The '''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 <code>date</code> parameter populated to the current month and year. If the "Group into <nowiki>{{Article issues}}</nowiki> if possible" checkbox is ticked, Friendly will group supported templates into an {{tl|Article issues}} template, if there are four or more. All other selected templates are then added to the article normally. If there are three or fewer selected templates that are supported by the {{tl|Article issues}} template, the setting is ignored, and all templates are added to the article normally. Three templates in the list, {{tl|globalize}}, {{tl|notability}}, and {{tl|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 {{tl|globalize}} subcategory is selected and templates are being grouped into {{tl|Article issues}}, the subcategory is ignored as {{tl|Article issues}} only supports the standard {{tl|globalize}} template. The {{tl|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: <code>friendly-tag</code> -->
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Prosjektside
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon