Editing Module:Citation/CS1/COinS

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 74: Line 74:
 
--[=[-------------------------< C O I N S _ R E P L A C E _ M A T H _ S T R I P M A R K E R >------------------
 
--[=[-------------------------< C O I N S _ R E P L A C E _ M A T H _ S T R I P M A R K E R >------------------
   
There are three options for math markup rendering that depend on the editor's math preference settings. These
+
There are three options for math markup that depends on the editor's math preference settings. These settings
settings are at [[Special:Preferences#mw-prefsection-rendering]] and are
+
are at [[Special:Preferences#mw-prefsection-rendering]] and are
 
PNG images
 
PNG images
 
TeX source
 
TeX source
Line 99: Line 99:
   
 
if not rendering then -- when value doesn't have a math stripmarker, abandon this test
 
if not rendering then -- when value doesn't have a math stripmarker, abandon this test
  +
-- return 'not rendering';
 
return false, value;
 
return false, value;
 
end
 
end
Line 116: Line 117:
 
return true, value:gsub (stripmarker, rendering, 1);
 
return true, value:gsub (stripmarker, rendering, 1);
 
end
 
end
 
   
 
--[[--------------------------< C O I N S _ C L E A N U P >----------------------------------------------------
 
--[[--------------------------< C O I N S _ C L E A N U P >----------------------------------------------------
Line 127: Line 127:
 
TODO: move the replacement patterns and replacement values into a table in /Configuration similar to the invisible
 
TODO: move the replacement patterns and replacement values into a table in /Configuration similar to the invisible
 
characters table?
 
characters table?
 
 
]]
 
]]
   
Please note that all contributions to Climate Change AI Wiki are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see Climate Change AI Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: