User:The wub/common.js

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences. — More skins

// Prevent me from beating people to a bloody pulp for their ugly dehumanizing nonsense words.

if ( wgPageName != 'User:The_wub/common.js') {

  x = $('#mw-content-text');

  x.html( x.html().replace(/xe /g,"he/she ") );
  x.html( x.html().replace(/Xe /g,"He/she ") );

  x.html( x.html().replace(/xyr /g,"his/her ") );
  x.html( x.html().replace(/Xyr /g,"His/her ") );

  x.html( x.html().replace(/xem /g,"him/her ") );
  x.html( x.html().replace(/Xem /g,"Him/her ") );
  
}