Wikipedia:WikiProject Articles for creation/Helper script: Difference between revisions

Content deleted Content added
add infobox
 
(143 intermediate revisions by 48 users not shown)
Line 1:
{{pp|small=y}}
__NOTOC__
{{redirect|WP:AFCH|the Articles for creation helpdesk|Wikipedia:WikiProject Articles for creation/Help desk}}
{{Wikipedia:WikiProject Articles for creation/tabs}}
{{tool warning|the Articles for Creation Helper Script}}
{{Infobox software
| name = AFCH
| title = Articles for creation helper script
| logo = [[File:AFC-Logo.svg]]
| screenshot = <!-- [[File: ]] -->
| caption =
| collapsible =
| author = [[User:Timotheus Canens|Timotheus Canens]]
| developer = [[User:mabdul|mabdul]]
| released = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} -->
| latest release version = 4.1.13
| latest release date = {{Start date and age|2012|06|26|df=yes}}
| latest preview version = 4.1.14a
| latest preview date = Updated multiple times every day
| programming language = [[JavaScript]] (using [[Ajax (programming)|Ajax]], [[CSS]], and [[HTML]])
| platform = [[Web browser]]
| language = English
| status = Active development
}}
{{Shortcut|WP:AFCH}}
{{infobox user script
'''Yet Another AfC Helper Script''' is a Wikipedia [[WP:Gadget|gadget]] designed to help when reviewing Articles for creation [[CAT:AFC|article]] and [[WP:AFC/R|redirect]] submissions. It is currently the only script officially recognized and supported by WikiProject Articles for creation.
| name = Articles for Creation Helper Script (AFCH)
| desc = Accept, decline, or reject pages in the draft namespace
| author = [[User:Theopolisme|Theopolisme]]
| maintainer = [[User:Novem Linguae|Novem Linguae]]
| version =
| updated =
| source =
* [[MediaWiki:Gadget-afchelper.js]]
* [[MediaWiki:Gadget-afchelper.css]]
* [[MediaWiki:Gadget-afchelper.js/core.js]]
* [[MediaWiki:Gadget-afchelper.js/submissions.js]]
* [[MediaWiki:Gadget-afchelper.js/tpl-submissions.js]]
* [[MediaWiki:Gadget-afchelper.js/tpl-preferences.js]]
| github = https://github.com/wikimedia-gadgets/afc-helper
| skins =
| browsers =
| logo =
| screenshot = File:AFC Helper Script accept screen.png
| screenshot-caption = The AFCH "accept" screen
}}
The '''Articles for creation helper script''' (AFCH) is a Wikipedia [[WP:Gadget|gadget]] designed to help when reviewing Articles for creation [[CAT:AFC|article submissions]]. It is currently the only script officially recognized and supported by WikiProject Articles for creation. In early 2014, the helper script was completely rewritten and redesigned from the ground up, with a number of new features. This rewritten script is now the default; you can read about what changed at [[/Rewrite]]. The source is located at [[MediaWiki:Gadget-afchelper.js]].
 
== Installation ==
'''Elbruz Treks and Expedition''' was established in 2006 under the company act 1965 revised in 1951 tourism act Act 1989, revised of his majesty’s Governments of Nepal. Mr. Pema Dorjee Sherpa is one of the most experienced Sirdar in organizing trekking and expedition in Nepal and Tibet who have had the experience for more than 14 years in all Himalaya over Nepal.
[[File:AFCHv091.jpg|thumb|450px|Screenshot of the panel that appears when AFCH is launched. Different options appear based on the current review status of the page.]]
To install the script, navigate to [[Special:Preferences#mw-prefsection-gadgets]], click on the check box next to "'''AFC Helper Script'''", and hit "Save". You should be ready to go!
 
=== How do I launch AFCH? ===
Since the inception, it has been our objective to offer quality, comfort and safe vacation in Nepal with the warm Nepalese hospitability. Backed by education and qualified staff to provide the quality services to all our valued clients.
 
To launch AFCH, click on <code>More ▼</code> in the toolbar on an AFC-applicable page and then on the <code>Review (AFCH)</code> link. In the Monobook skin <code>review (afch)</code> appears as an extra tab in the page's toolbar.
Elbruz Treks which is privately owned mountaineering and expedition’s base in Nepal offers one of the widest selections of tours, may it be nature, history, culture, religious, wildlife viewing white river rafting, village tours with experience guide and sherpa. And beside this we also organize tour to Tibet and Bhutan.
 
'''''Tip''': You can also launch AFCH using the keyboard access key '''1'''. For instructions on how to use access keys in your browser, see [[Access keys#Access in different browsers|this table]] (typically, Mac: Ctrl + Opt + 1; Windows: Alt + Shift + 1).''
We have been organizes trekking , Peak climbing, major expeditions to the Himalayan including Mt. Everest and so many other enchanting tourism activities in Nepal, Tibet and Bhutan.
 
We will endeavor to make your visit to Nepal a most memorable and comfortable experience you will come across. You will be unquestionably satisfied with our unique services that we offer. It’s qualified and trained staff is proud of the quality and the stature of Elbruz Treks in the trekking and mountaineering field and tourism industry of Nepal.
 
Trainings
 
Participated in the 28th Mountaineering Liaison Officer Training Conduct from August 3-9,2010 from Nepal Academy of Tourism and Hotel Management ( NATHM).
Mountain Safety Training / Workshop by Himalayan Rescue Association Nepal - 2010.
Trekking Guide Training in 2001(provided by Government of Nepal Ministry of Tourism & Civil Aviation)
Nepal Academy of Tourism & Hotel Management
Mountaineering Training from Nepal Mountaineering Association (NMA) 2005
Basic Mountaineering Training
Advance Mountaineering Training by Nepal Mountaineering Association (NMA) 2011
Introductory Rock Climbing Course from Nepal Mountaineering Instructors Association(NMIA) - 2009.
 
Language
 
Nepali, English, Japanese, French etc.
 
Experiences
 
Year
 
Name of peak
 
Group Name
 
Season
 
Result
 
2000
 
Mera peak
 
British
 
Autumn
 
Summited
 
2002
 
Lobuche peak
 
U.K.
 
Autumn
 
Summited
 
2003
 
Tellico peak
 
French
 
Spring
 
Summited
 
2003
 
Throng peak
 
French
 
Autumn
 
Summited
 
2004
 
Mera peak
 
French
 
Spring
 
Summited
 
2004
 
Tean peak
 
French
 
Autumn
 
Summited
 
2005
 
Yala peak
 
Holland
 
Spring
 
Summited
 
2006
 
Nay knag
 
French
 
Spring
 
Summited
 
2007
 
Island peak
 
Swiss
 
Autumn
 
Summited
 
2007
 
Launch west
 
Poland
 
Spring
 
Summited
 
2008
 
Everest South Col
 
Indian
 
Spring
 
Sub Summit
2009 Everest South Col Indian Spring Summited
2010 Annapurna First International Spring Summited
2011 Everest South Col Senior Citizen Mount Everest Expedition Nepal 2011. Spring Non Submit
 
== Installation ==
To install the script, navigate to [[Special:Preferences#mw-prefsection-gadgets]], click on the checkbox next to "'''Yet Another AfC Helper Script'''", and hit "Save". Then you must [[WP:BYPASS|clear your browser's cache]]. After that, you should be ready to go!
 
==== Compatibility ====
* This script has been tested compatible on the following browsers:
** Internet Explorer 7+
** Mozilla Firefox 13.0.1+
** Apple Safari
** Opera 10+
 
* This script has been tested on the following skins:
** Vector (default)
** Monobook (default emeritus)
** Modern
 
== Documentation ==
{{Commonscat|Screenshots of Wikipedia AfC helper}}
If the installation was done properly, you should see a "Review" tab on the top of the page when viewing a submission in [[CAT:PEND]] or when reviewing [[WP:AFC/R|redirects]]; it may be a drop-down tab in certain skins. If you cannot find it, look in the 'Move' dropdown tab, the little down arrowhead right next to the Wikipedia Search box. Note that the tab will only appear when viewing a page that is a subpage of [[Wikipedia:Articles for creation]] or [[Wikipedia talk:Articles for creation]]. Misplaced submissions must be moved to the proper ___location first using the link in the submission template. (Note: Misplaced submissions are patrolled and moved by {{user|ArticlesForCreationBot}}, if there isn't a conflicting submission at the target ___location.)
 
''Extended documentation for the helper script can found on GitHub in the [https://github.com/WPAFC/afch-rewrite/wiki AFCH wiki].''
We operate Nepal Trekking company, Nepal Expedition, Nepal Trekking, Tour in Nepal, Nepal Trekking and expedition agency, Nepal Trekking Guide, Himalayan Treks information, Hiking in Nepal, Treks in Himalayas, Nepal Tour operators, Nepal Trekking Agency, Peak Climbing & Expedition, Nepal & Holidays,langtang Region Trek, Annapurna Region Trek, Everest Region Trek, Dolpo Region Trek,Rolwaling valley Region Trek, Mustang Region Trekking, Manaslu Region Trek,Ganesh Himal Region Trek,Kanchenjanga Region Trek, Dhaulagiri Region Trek, Village Tour, Adventure travel trips, Himalaya Trekking Nepal, Everest Base Camp Trekking, Makalu Base Camp Trekking, Peak climbing in Nepal, Mountaineering in Nepal, Wildlife tour, Whitewater rafting, Special Package Tour, Nepal Holiday Packages Tour, National park Tour, Great Himalayan Trail in Nepal, Artificial well climbing in Nepal.
=== Reviewing an article submission ===
==== The "Review" tab ====
When clicked, the review tab brings up five buttons:
*Accept
*Decline
*Comment
*Mark as reviewing
*More options
**Clean the submission
**Resubmit
 
Welcome to AFCH, a powerful tool for reviewing Articles for creation submissions. The tool aims to be largely intuitive; if you find elements of the software unclear, [[WT:AFCH|do let us know]]!
Elbruz Treks and Expedition was established in 2005 under the company act 1965 revised in 1951 tourism act Act 1989, revised of Governments of Nepal. Mr. Pema Dorjee Sherpa is one of the most experienced Sirdar in organizing trekking and expedition in Nepal and Tibet who have had the experience for more than 14 years in all Himalaya over Nepal.
==== Accepting ====
Once you are satisfied that the submission should be accepted, simply click the "Accept" button. You will be prompted to enter the title of the page to move to (by default the name of the AfC subpage) and to assess the article. You can also enter some additional wikitext that will be appended to the article (for example, stub tags and categories) and/or its talk page (for example, WikiProject banners).
 
=== Where does AFCH run? ===
The script currently does the following:
* It extracts the author from the first {{tl|afc submission}} tag, if there is such a tag, and notifies them.
* It moves the submission to mainspace.
* It removes all {{tl|afc submission}} and {{tl|afc comment}} templates from the article.
* It removes all other templates starting with ''<nowiki>{{afc</nowiki>'' from the article and does some additional cleanup. If there are other templates in the template parameters, however, it will not work properly. It cannot remove substituted templates.
* It optionally appends some text to the article (useful for adding stub tags or categories in one go).
* It records the assessment on the talk page, and optionally adds some extra text.
* It records the creation at [[Wikipedia:Articles for creation/recent]].
* It uncomments categories like <nowiki>[[:Category:XXX]]</nowiki>.
 
AFCH can be launched on AfC-applicable pages that begin with any of the following strings:
===== Known issues =====
* <code>Draft:</code>
* If a page is [[MediaWiki:Titleblacklist|blacklisted through the blacklist extension]] and the reviewer has neither the [[WP:account creator|account creator right]] nor the [[WP:ADMIN|administrator]] right, the error message "''Error info:hookaborted : The modification you tried to make was aborted by an extension hook''" will occur and the page won't get moved. Please find an admin (or account creator) to accept the page, e.g. by asking at [[WT:AFC|this page]].
* <code>User:</code>
 
==== DecliningWhat acan submissionI do using AFCH? ====
If the submission should be declined, click the "Decline" button. You will be prompted to select or enter a reason for declining. There are also three possible options:
* Notify if possible - If checked, the script will try to notify the creator. On by default.
* Blank - If checked, will replace the content with {{tl|afc cleared}}; on by default if the decline reason is copyvio or BLP; otherwise off by default.
* Notify about the Teahouse - If checked, this will add a notice about asking questions about the submission at the [[WP:TH|Teahouse]] (it automatically checks if there is a Teahouse template already as well).
Once you click "submit", the script does the following:
* If you have not entered any reason, it aborts.
* If you have selected a reason ''and'' entered a custom reason, it puts the custom reason as a comment in a {{tl|afc comment}}.
* It notifies the author about the [[WP:TH|Teahouse project]], if requested.
* It blanks the submission, if requested.
* It cleans the submission page.
 
AFCH has many features. When reviewing a submission, a subset of the following options will be available depending on the automatically parsed submission status.
===== Known issues =====
* Submit
* There will be an error if you attempt to leave a Teahouse notification without leaving the default notice.
* Accept
'''Everest Base Camp Trekking''' has been a popular destination for trekkers since the very first expeditions to the Nepalese side of Everest in the 1953. To reach this part of the Himalaya within a limited time, we have devised this two week trek to Everest Base Camp which runs directly to and from Lukla. The Everest Base Camp trek, a very well known mountain trek, starts at the upper Phakding and follows the Dudh Kosi valley which climbs up to the Sherpa capital of Namche, a bustling bazaar that’s a junction for trekkers, the local Sherpa and expeditions en route to the mighty Mt. Everest. All along this part of the trail, villages are interspersed with magnificent forests of rhododendron, magnolia and giant firs. In both the early autumn and late spring, the flowers on this portion of the trek make it the kind of walk you will remember for a long, long time.
* Decline/Reject
* Comment ''(always available)''
* Tag for G13 speedy deletion
* Postpone G13 speedy deletion
 
Additionally, clicking on the '''<code>&lt;&lt;</code>''' to the right of the main buttons reveals the following additional options:
From Namche, we trek along a high traversing path where we have our first good views of Everest and then head towards Thyangboche Monastery, which is a 2 hour climb. The monastery sits at 3867m in a clearing surrounded by dwarf firs and rhododendrons. The monastery is structurally located on a ridge top with commanding views of the Everest landscape. The view from this spot, seen to best advantage in the morning, is absolutely mesmerizing and stunning and is rightly deemed to be one of the most magnificent in the world.We then descend to the Imja Khola and continue to the villages of Pangboche and Pheriche before finally approaching the Khumbu Glacier. We then follow the glacier, first to Lobuche, a vantage point for some spectacular views of the Ama Dablam, Taweche and other peaks and then hike to Gorak Shep for a breather.
* [https://github.com/WPAFC/afch-rewrite/wiki/General-documentation#clean Clean submission] (small Wikicode and Manual of Style fixes)
* Mark/unmark as under review ''(context-sensitive)''
 
After performing any of these actions, the page will reload in place, allowing you to inspect your changes. Diff links are available for each edit the script made automatically.
We also have the opportunity to ascend Kala Pattar [5554m] from where we can get some awesome views of the Himalayan giants which literally numb your senses with breathless admiration that beholds the eye; and makes up for the lung-bursting climb that took you up there. You soon realize it was absolutely worth it. This also includes fantastic views of the south west face of the colossal Mt. Everest. We then trek down to Everest Base Camp at the foot of the Khumbu ice fall before finally making our way back down to.
 
==== CommentingCustomising =AFCH===
[[File:AFCH with preferences.jpg|thumb|Screenshot of AFCH with preferences selected]]
The "Comment" button can be used to insert a comment in the page. It is placed right before the first horizontal line, if there is one, or otherwise right after the AfC template. It also cleans the submission page.
When AFCH is open on a draft or userpage, click the "(preferences)" link, which will open up a menu for customisation:
*Set where to see the AFCH option (in the "More" dropdown or as an option in the side toolbar)
*Logging speedy deletion nominations
*Log accepts, declines, and rejects
 
== Other notes ==
==== Marking as being reviewed ====
* The WikiProject list used by the script is [[Wikipedia:WikiProject Articles for creation/WikiProject templates.json]].
This should be self-explanatory, it also cleans the submission page.
* The templates used by the script are listed at [[Template:AfC submission]].
 
==== Clean the submission ====
This should be self-explanatory. At the moment the following tasks will be done
*Unnecessary submission templates will be removed (duplicated pending submission, drafted submission if other pending or declined submission is placed)
*Removes many [[HTML comment|HTML comments]] (mostly added through the wizard and other scripts)
*Submission and comment template sorting (and moving to the top
*Removes {{tl|userspacedraft}}, {{tl|userspace draft}}, {{tl|user sandbox}}
*Commenting out categories
*Wikilink correction
**<nowiki>[[http://en.wikipedia.org/wiki/Foo|foo]]</nowiki> --> <nowiki>[[Foo|foo]]</nowiki>
**<nowiki>[[http://en.wikipedia.org/wiki/Foo|bar]]</nowiki> --> <nowiki>[[Foo|bar]]</nowiki>
**<nowiki>[[http://en.wikipedia.org/wiki/Foo foo]]</nowiki> --> <nowiki>[[Foo|foo]]</nowiki>
**<nowiki>[http://en.wikipedia.org/wiki/Foo bar]</nowiki> --> <nowiki>[[Foo|bar]]</nowiki>
**<nowiki>http://en.wikipedia.org/wiki/Foo</nowiki> --> <nowiki>[[Foo]]</nowiki>
**<nowiki>[[http://enwp.org/Foo foo]]</nowiki> --> <nowiki>[[Foo|foo]]</nowiki>
**<nowiki>[[Foo_bar|Foo bar]]</nowiki> --> <nowiki>[[Foo bar]]</nowiki>
**<nowiki>[[Foo_bar|Foo Bar]]</nowiki> --> <nowiki>[[Foo bar|Foo Bar]]</nowiki>
**<nowiki>[[Foo_bar]]</nowiki> --> <nowiki>[[Foo bar]]</nowiki>
**and other variations (e.g. secure links; please report unnoticed variations)
This action is preformed automatically when preforming any other task (e.g. declining, commenting, etc.)
 
=== Reviewing redirect submissions at [[WP:AFC/R]] ===
At the top of [[WP:AFC/R]], there should be a "Review" tab. Click on it, and the script will list all redirects and categories submissions not yet reviewed. Pick an action for some (or all) of them, which may be "Accept", "Decline", or "Comment", fill in the applicable info, click "Done", and the script will do its job.
* It will not overwrite a page that already exists
* It will not automatically add categories to the pages (other than ones automatically added by the regular redirect template you selected)
<!--
=== Configuring the script ===
Over the next few updates, patches will become available for the script that will allow you to configure it with different options. When this comes out, you will be able to use [[Wikipedia:WikiProject Articles for creation/Helper script/Configuration page|this page]] to configure it, along with a setting in the review window.
-->
 
== Unstable versions ==
We have two unstable versions of the script available to test:
=== Beta version ===
This is a [[beta version]] of the script. It is hosted by mabdul and includes newly coded fixes and improvements that haven't been tested enough to be patched to the main build. Please leave your comments and bug reports on the talk page. '''Be careful!''' Although this script is tested and should work, it can happen that it doesn't react as intended. Please review your edits on a regular basis. If you still want to use it you have to add the following line to your common.js file instead of the line at the top:
importScript('User:Mabdul/afc beta.js'); // Yet another AfC helper script - beta script!
 
=== Alpha version ===
[[User:mabdul/afc.js|This is the build that actively is coded by mabdul.]] You can use this script, but do so at your own warning - it might not work from one moment to the other, it's normally buggy and breaks at any point, it might not load, etc. This script shouldn't be used on the regular basis, only for testing and scripting!
 
== Developers ==
* {{user|Timotheus Canens}} - Creator
* {{user|mabdul}} - Lead developer
* {{user|The Earwig}} - Developer
* {{user|Excirial}} - Developer
* {{user|Nathan2055}} - Beta tester and documentation coordinator
 
== Useful links ==
* [[MediaWiki:Gadget-afchelper]] - the [[Wikipedia:Gadget|gadget description]]
* [[MediaWiki:Gadget-afchelper.js]] - The code for the script itself
* [[User:Mabdul/afc beta.js|The beta edition code]]
* [[User:Mabdul/afc beta.js|The alpha edition code]]
* [[Wikipedia:WikiProject Articles for creation/Helper script/Development page|Our discussion page related to bugs and feature requests]]
* [[Wikipedia:WikiProject Articles for creation/Helper script/Changelog|The documentation and the changelog of the changes in the script]]
 
== Acknowledgements & Disclaimers ==
Great thanks are due to be had by [[User:Mr.Z-man]] and his [[User:Mr.Z-man/closeAFD|closeAFD]] script, from which this script is adapted.
 
[https://github.com/orgs/WPAFC/people A number of developers] have contributed to make AFCH a reality. The current rewrite was completed by {{U|Theopolisme}}, with subsequent maintenance by {{u|Enterprisey}}. You may contact {{u|Novem Linguae}} for urgent issues. We'd love your help! For instructions on how to contribute, see '''[[/Contributing]]'''. Interface administrators can deploy updates to the extension using the work instruction at [[/Deploying]].
Unstable versions of this script are...well...unstable. They can break, make incorrect edits, or do pretty much anything you can think of. Please be careful.
{{Wikipedia technical help|collapsed}}