Wikipedia:Wikipedia Signpost/2016-08-18/Technology report

{{Wikipedia:Wikipedia Signpost/Templates/RSS description|1=User script report (January–July 2016, part 2): A review of numerous useful Wikipedia customizations}}{{Wikipedia:Signpost/Template:Signpost-header|||}}

{{Wikipedia:Signpost/Template:Signpost-article-start|User script report (January–July 2016, part 2)|By Evad37|15 August 2016}}

----

{{center|This "User scripts" report (along with part 1) covers scripts newly listed at Wikipedia:User scripts, January 1 – July 31, 2016.
Text may be adapted from the respective listings there; see the {{History|Wikipedia:User scripts|page's history}} for attribution.
}}

----

= Reading =

{{Signpost filler image|image=File:FloatingTOC example.png|caption="FloatingTOC" places a duplicate Table of Contents in the bottom corner of the screen}}

  • {{User:Evad37/Userscript|name=Metric First|code=User:Thespaceface/MetricFirst.js|doc=User:Thespaceface/MetricFirst}} – When Imperial units are listed first, this script re-orders the units to put metric first
  • {{User:Evad37/Userscript|name=Subdue Links|code=User:Fred_Gandt/subdueLinks.js}} – Adds a button to the navigation menu (near the "Read" tab) to make content hyperlink text colouration turn-off-and-on-able. Doesn't effect UI links. Created for and only tested with the Vector skin.
  • {{User:Evad37/Userscript|code=User:P999/Toggle VF.js|name=Toggle VF|doc=User:P999/Toggle VF}} – Creates a voice-friendly PDF version of any Wikipedia article that can be read aloud by text-to-speech applications such as Voice Dream, TextAloud, etc.
  • {{User:Evad37/Userscript|name=FloatingTOC|code=User:Ugog Nizdast/FloatingTOC.js|doc=User:Ugog Nizdast/FloatingTOC}} – A collapsible floating Table of Contents.
  • {{User:Evad37/Userscript|code=User:Evad37/Custom GeoHack replacement.js|noautoinstall=yes|name=Custom GeoHack replacement{{#tag:ref|Create your custom GeoHack page {{Edit|Special:MyPage/GeoHack|here|editintro=User:Evad37/Custom GeoHack replacement/editintro.js}}; then copy the following code, [{{fullurl:Special:MyPage/common.js|action=edit}} click here], and paste:
    {{subst:iusc|1=User:Evad37/Custom GeoHack replacement.js}}}}

}} – Use your own custom page with only links you choose, and with whatever formatting you want, instead of the regular GeoHack.

= Editing =

{{Signpost filler image|image=File:CopySectionLink example.png|caption="CopySectionLink" makes it easy to grab a link to a page section}}

  • {{User:Evad37/Userscript|code=User:Ugog Nizdast/displayNumberOfTags.js|name=DisplayNumberOfTags|doc=User:Ugog Nizdast/displayNumberOfTags}} – Displays the number of maintenance tags in the article, thus nagging the editor about them.
  • {{User:Evad37/Userscript|name=copySectionLink|code=User:Bility/copySectionLink.js|doc=User:Bility/copySectionLink}} – Displays a hidden pilcrow (¶) after editable section titles. When you mouse-over the section heading, the pilcrow will appear as a link to that section. This can then be used to more easily get copy/pasteable links in the format of Page#Section.
  • SigningCopy the following code, [//meta.wikimedia.org/w/index.php?title=Special:MyPage/global.js&action=edit click here], then paste:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Perhelion/signing.js&action=raw&ctype=text/javascript'); (source) by Perhelion – Automatically underwrites your posts (and some more gimmicks)

  • {{User:Evad37/Userscript|code=User:APerson/sync-template-sandbox.js|name=sync-template-sandbox|doc=User:APerson/sync-template-sandbox}} – Adds a link to synchronize template sandboxes with their main versions
  • {{User:Evad37/Userscript|code=User:Music1201/MyCSD.js|name=MyCSD}} – Adds a link to the toolbar for your CSD log.

= Others =

{{Signpost filler image|image=File:ConfirmLogout example.png|caption=You wont be accidentally logged out if you use "Confirm Logout"}}

  • {{User:Evad37/Userscript|code=User:Evad37/WikidataWatchlistLabels.js|name=WikidataWatchlistLabels}} – Adds labels to P-numbers and Q-numbers (properties and items) for Wikidata edits, e.g. "Created claim: {{Wikidata entity link|P31}}: {{Wikidata entity link|Q494829}}" instead of "Created claim: Property:P31: Q494829".
  • {{User:Evad37/Userscript|code=User:Evad37/ToDoLister.js|doc=User:Evad37/ToDoLister|name=ToDoLister}} – Links to view or add a page to a personal todo list, and links on that todo list to easily remove items (no need to open the edit window). There are also various options you can set to customise your experience.
  • {{User:Evad37/Userscript|name=Confirm Logout|code=User:Fred_Gandt/confirmLogout.js}} – Interrupts logout procedure (via personal navigation link) with a confirmation dialog (except on user preferences pages where user scripts aren't loaded). Created for and only tested with the Vector skin.

=Installation code=

{{further|Wikipedia:User scripts#How to install user scripts}}

{{reflist|35em}}

=In brief=

New gadgets

  • Scripts which have been widely tested may be made into gadgets, which registered users can easily enable or disable through Special:Preferences § Gadgets. Two new gadgets have recently been added to English Wikipedia: "Display links to disambiguation pages in orange" {{small|(DisambiguationLinks)}} and "Strike out usernames that have been blocked" {{small|(markblocked)}}.

Newly approved bot tasks

  • Josvebot (task 13) – Fixes some of the WP:CHECKWIKI-errors automatically
  • BU RoBOT (task 25) – Categorizes stub articles in more detailed stub categories based on existing categorization
  • Yobot (task 26) – Fixes section header naming for References, External links, and See also

{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2016-08-04|2016-09-06}}