Wikipedia:Wikipedia Signpost/2016-08-18/Technology report
{{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.}}
----
As mentioned in the previous Signpost "Technology report", registered users can install user scripts to significantly customise their Wikipedia experience, beyond the options already provided at Special:Preferences. This report concludes the prior report's list of scripts published in 2016, through the end of July. See Wikipedia:User scripts for more scripts and further information, including instructions. In the Installation code section below, you will find the code needed to install each script.
= 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
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
- Problems
- Last week Tech News announced you will get a notification when you mention yourself the same way as if someone else had mentioned you. This change caused some problems, and has been reverted; it will be implemented at a later date. [https://phabricator.wikimedia.org/T138080]
- Creating and editing links to sections on other pages on the wiki now works again in the VisualEditor. [https://phabricator.wikimedia.org/T112898]
- For some users, cross-wiki notifications haven't been working properly. The count has been wrong when only cross-wiki notifications were present. The cross-wiki bundle has been showing only the names of wikis and not the actual notifications. This will be fixed soon.[https://phabricator.wikimedia.org/T140836][https://phabricator.wikimedia.org/T140327]
- Changes this week
- The login session when you choose "Keep me logged in" will now last a year. Previously it was 30 days. This will happen on August 16. [https://phabricator.wikimedia.org/T68699]
- Some abuse filters will have to be updated during the week, as part of a bug fix. [https://phabricator.wikimedia.org/T29987]
- In compact language links, two new kinds of languages will be shown in the shorter language list: Languages that are used in the article's text, and languages where the article has a badge like "featured article" or "good article". [https://phabricator.wikimedia.org/T70071][https://phabricator.wikimedia.org/T70077]
- The visual editor will be available by default for logged-out editors on Wikipedias that use the Arabic script. It is already default for logged-in editors. [https://phabricator.wikimedia.org/T142587]
- File:Octicons-sync.svg The new version of MediaWiki will be on test wikis and MediaWiki.org from August 16. It will be on non-Wikipedia wikis and some Wikipedias from August 17. It will be on all wikis from August 18 (calendar).
- Future changes
- Starting the week of August 22 the number of daily software development windows will be increased to three. They will be at 13:00, 18:00, and 23:00 UTC. This is to have more times when software of the wikis can be updated and make it easier for developers in different parts of the world. [https://lists.wikimedia.org/pipermail/engineering/2016-August/000266.html]