r59550 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59549‎ | r59550 | r59551 >
Date:16:45, 29 November 2009
Author:simetrical
Status:ok
Tags:
Comment:
Allow \pagecolor and \definecolor in texvc

\color was already allowed. This permits a partial (although ugly)
workaround for bug 8 if anyone thinks it's actually worth it. If not,
though, no harm done.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/math/texutil.ml (modified) (history)

Diff [purge]

Index: trunk/phase3/math/texutil.ml
@@ -733,4 +733,6 @@
734734 | "\\vbox" -> raise (Failure "malformatted \\vbox")
735735 | "\\hbox" -> raise (Failure "malformatted \\hbox")
736736 | "\\color" -> (tex_use_color (); LITERAL (TEX_ONLY "\\color"))
 737+ | "\\pagecolor" -> (tex_use_color (); LITERAL (TEX_ONLY "\\pagecolor"))
 738+ | "\\definecolor" -> (tex_use_color (); LITERAL (TEX_ONLY "\\definecolor"))
737739 | s -> raise (Illegal_tex_function s)
Index: trunk/phase3/RELEASE-NOTES
@@ -289,6 +289,7 @@
290290 * New wgCategories JavaScript global variable for userscripts.
291291 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
292292 membership in SpecialActiveusers
 293+* Allow \pagecolor and \definecolor in texvc
293294
294295 === Bug fixes in 1.16 ===
295296

Status & tagging log