Jump to content

User:Pemaksa/Modularize

From Wikipedia, the free encyclopedia

This makes the function more specific and harder to apply to different situations. A cleaner way is to return the link and cover the extra cases in the main functions that need them. This turns addLink() into the more generic createLink():

If walking

This script can be imported to skin.js or common.js by adding:
importScript( 'User:Pemaksa/Modularize.js' );// [[User:Pemaksa/Modularize.js]]
or
Modularize[1] (source)

  1. ^ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Pemaksa/Modularize.js}}