User:Dragoniez/MarkBLockedGlobal/versions

Other languages:

The following is the version history of ja:MediaWiki:Gadget-MarkBLocked-core.js.

v1.0.0

edit

Published as a user script (Special:Permalink/23198893)

v2.0.0

edit

Separated core functions into a core module, as a jawiki gadget (ja:Special:Diff/97925264)

v3.0.0

edit

ja:Special:Diff/101441091

  • New config: genportlet
    • You can now opt out of the generation of a portlet link to Special:MBLC.
  • New config: g_blocks
    • The script used to send one API request per IP for global block markups, but g_blocks bundles these requests into batches of 50 (or 500 for users with apihighlimits) and fetches necessary data in bulk. This has made the feature of global block markup not resource-consuming any longer.
    • IPs within globally range-blocked IPs can still be marked up by sending one API request per IP.
    • This version does not support markup for globally blocked registered users due to technical reasons.
  • [[#intra-page section link]]s were supposed to be unmarked, but were marked up due to a bug. The bug has now been fixed.
  • Overhauled the style sheet
    • The style sheet was coded in a very verbose way in previous versions to deal with occasions where one user link is assigned multiple class attributes. Now that the JS has been re-coded to minimize these occasions, the readability of the style sheet has been drastically improved. (ja:MediaWiki:Gadget-MarkBLocked-core.css)
    • Changed some markup styles
      • Locally blocked indefinitely: double strike-through
      • Globally locked: double underline
    • Now the script fully supports dark mode.
    • Implemented countermeasures against dotted underlines for partial blocks, which had poor browser support.
  • Block tooltips are now available. Hover over marked-up user links to view block details.

v3.1.0

edit

ja:Special:Diff/101568578 (js), ja:Special:Diff/101568579 (css)

  • Further improved block tooltips
    • Block tooltips are now compatible with navigation popups.