﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
3199	wiki links in media wiki syntax appear nonfunctional	defect	0.11		new	2008-06-17T19:06:13+02:00	2020-08-10T20:41:52+02:00	"right from the media wiki sample, the syntax

{{{[Wiki link]}}}

should probably render as a wiki link.

However, it renders as verbatim for me :("	Georg-W. Koltermann
2596	Using Links is making the links go all lowercase	defect	0.11		new	2008-02-17T00:07:21+01:00	2020-08-10T20:41:52+02:00	"Using links is causing the actual link to go all lowercase. This is a problem since Trac is case sensative.

Example:
{{{

  [[MyPage|My Page]]

}}}

Renders:
{{{
  http://tracurl/wiki/mypage

  instead of

  http://tracurl/wiki/MyPage
}}}"	Jason Trahan
2941	TypeError in nextItem()	defect	0.10		new	2008-04-23T16:58:34+02:00	2020-08-10T20:41:52+02:00	"Trac 0.10.4 / TracMediaWikiMacro 1.0

When trying out a MediWiki page in Trac, we get this error message:

Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py"", line 135, in process_request
    self._render_view(req, db, page)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py"", line 443, in _render_view
    req.hdf['wiki'] = {
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 1001, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 795, in format
    self.handle_code_block(line)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 734, in handle_code_block
    self.out.write(to_unicode(self.code_processor.process(
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 114, in process
    text = self.processor(req, text)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 102, in _macro_processor
    return self.macro_provider.render_macro(req, self.name, text)
  File ""build/bdist.linux-x86_64/egg/mediawiki/mediawiki.py"", line 32, in render_macro
  File ""build/bdist.linux-x86_64/egg/mediawiki/mediawiki.py"", line 28, in expand_macro
  File ""build/bdist.linux-x86_64/egg/mediawiki/parser.py"", line 2464, in parse
  File ""build/bdist.linux-x86_64/egg/mediawiki/parser.py"", line 2340, in doBlockLevels
TypeError: nextItem() takes exactly 2 arguments (1 given)"	anonymous
2595	Tables not rending styles properly	defect	0.11		new	2008-02-16T23:34:46+01:00	2020-08-10T20:41:52+02:00	"When using the following syntax, the background foreground color works, however the font weight and borders do not work
{{{

{| style=""border: solid 1px black;"" cellspacing=""0"" cellpadding=""0""
|- style=""background-color: #003385; color: white; font-weight: bold; border: solid 1px red""

}}}

Now I can get the font to work if I do it at the column level but it will not do it for the whole row.
Example
{{{
{| style=""border: solid 1px black;"" cellspacing=""0"" cellpadding=""0""
|- style=""background-color: #003385; color: white; font-weight: bold;""
| style=""font-weight: bold"" | ColumnA is Bold || Column B Is Not
}}}"	Jason Trahan
1914	Syntax error in parser.py during install	defect	0.10		new	2007-08-09T21:44:38+02:00	2020-08-10T20:41:52+02:00	"I attempt to install with easy_install (also tried manually, same result) and this happens:
{{{
$ easy_install http://trac-hacks.org/svn/mediawikipluginmacro
Downloading http://trac-hacks.org/svn/mediawikipluginmacro
Doing subversion checkout from http://trac-hacks.org/svn/mediawikipluginmacro to /tmp/easy_install-GtAx7m/mediawikipluginmacro
Processing mediawikipluginmacro
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-GtAx7m/mediawikipluginmacro/egg-dist-tmp-jv5QSo
  File ""build/bdist.linux-i686/egg/mediawiki/parser.py"", line 923
    return u'/'.join(slugifyBit(t) for t in text.split(u'/'))
                                     ^
SyntaxError: invalid syntax
zip_safe flag not set; analyzing archive contents...
TracMediaWikiMacro 1.0 is already the active version in easy-install.pth

Installed /usr/lib/python2.3/site-packages/TracMediaWikiMacro-1.0-py2.3.egg
Processing dependencies for TracMediaWikiMacro==1.0
Finished processing dependencies for TracMediaWikiMacro==1.0
}}}

I'm running Python 2.3. It says it installed but doesn't show up in Trac, maybe because of the error? I edited trac.ini and restarted the server beforehand, of course."	zack.carter@…
2066	problems with the links	defect	0.10		new	2007-09-21T04:08:39+02:00	2020-08-10T20:41:52+02:00	"
First problem: when a [[link]] is inserted in the mediawiki macro, a page like ...wiki/link/ is linked. That ""/"" is not needed. (line 956 of parser.py ?)

Second problem: the links are converted to lower case in the slugify_bit function, I don't know about the default on mediawiki, but it make it very hard to link inside de mediawiki macro trac's wiki pages (CamelCase everywhere).

Third problem: The last part of the address is deleted in the links to substitute it with the new link. 
Example1 . we are in .../wiki/MyPage1 and we link to MyPage2 , we take off MyPage1 and put MyPage2 there. Perfect
Example2. We click ""wiki"" in the navigation bar. We go to .../wiki, we link to MyPage2, we take off wiki and put MyPage2 there. ... Page not found
"	anonymous
12336	Plugin has no license	task			new	2015-05-16T09:58:22+02:00	2020-08-10T20:41:52+02:00	"The plugin currently does not indicate a license. Would you kindly add one? Suggested changes can be found in DevGuide#License.
"	figaro
7748	Make definition lists work	defect	0.11		new	2010-09-29T09:53:25+02:00	2020-08-10T20:42:27+02:00	"Definition lists like
{{{
;Fruits
:Apples, Oranges
;Vegetables
:Carrots, Cabbage
}}}
Makes the processor barf with: 
{{{
NameError: global name 'findColonNoLinks' is not defined
}}}"	trac@…
2567	List Bug #2	defect	0.11		new	2008-02-13T20:32:49+01:00	2020-08-10T20:41:52+02:00	"When doing the following syntax I get the following error

{{{
; Definition lists
; item : definition
; semicolon plus term
: colon plus definition
}}}

{{{

NameError: global name 'findColonNoLinks' is not defined

}}}"	Jason Trahan
2566	List Bug #1	defect	0.11		new	2008-02-13T20:30:27+01:00	2020-08-10T20:41:52+02:00	"When using the following !MediaWiki Example I get the following error message

{{{
* Lists are easy to do:
** start every line
* with a star
** more stars mean
*** deeper levels 
}}}

{{{

Trac detected an internal error: TypeError: nextItem() takes exactly 2 arguments (1 given)

}}}
"	Jason Trahan
3356	Intra-page links don't convert	defect	0.11		new	2008-07-09T22:34:29+02:00	2020-08-10T20:41:52+02:00	"Mediawiki intra-page links don't convert, such as this.  Normally, under heading1, there would be a link with anchor text ""heading 4"" that points to the ""heading4"" section of the page.  With MediaWikiPluginMacro, the link under heading1 is not rendered.

{{{
== heading1 ==

[[#heading4|heading 4]]

== heading2 ==

test2

== heading3 ==

test3

== heading4 ==

test4
}}}

"	James Yonan
3382	[PATCH] Multiple fixes	defect	0.11		new	2008-07-14T08:23:32+02:00	2020-08-10T20:47:02+02:00	"This patch is against r2483:
* Fixed issue where `_specialUrlPat` regex in `replaceFreeExternalLinks` was failing to render external links in paragraphs containing newlines because the `re.DOTALL` regex flag was not being used to allow .* to match newlines.
* Fixed bug in `replaceFreeExternalLinks` where the loop variable `i` was being stepped on for another purpose by code inside the loop.
* Fixed regex issue where control-char ranges for ascii were being specified to match against unicode strings.
* Fixed issue where `nextItem` was called with only one rather than the required two parameters.
* Support rendering of anchor links such as: `[[#heading 4|heading four]]`"	James Yonan
1807	'MediaWikiRenderer' object has no attribute 'render_macro'	defect	0.9		new	2007-07-17T15:26:09+02:00	2020-08-10T20:41:52+02:00	"After adding the [/wiki/MediaWikiPluginMacro#Example demo] code to a page, python can't find something it needs
{{{
Python Traceback

Traceback (most recent call last):
  File ""/var/lib/python-support/python2.4/trac/web/main.py"", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File ""/var/lib/python-support/python2.4/trac/web/main.py"", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/var/lib/python-support/python2.4/trac/wiki/web_ui.py"", line 135, in process_request
    self._render_view(req, db, page)
  File ""/var/lib/python-support/python2.4/trac/wiki/web_ui.py"", line 443, in _render_view
    req.hdf['wiki'] = {
  File ""/var/lib/python-support/python2.4/trac/wiki/formatter.py"", line 999, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File ""/var/lib/python-support/python2.4/trac/wiki/formatter.py"", line 793, in format
    self.handle_code_block(line)
  File ""/var/lib/python-support/python2.4/trac/wiki/formatter.py"", line 732, in handle_code_block
    self.out.write(to_unicode(self.code_processor.process(
  File ""/var/lib/python-support/python2.4/trac/wiki/formatter.py"", line 112, in process
    text = self.processor(req, text)
  File ""/var/lib/python-support/python2.4/trac/wiki/formatter.py"", line 100, in _macro_processor
    return self.macro_provider.render_macro(req, self.name, text)
AttributeError: 'MediaWikiRenderer' object has no attribute 'render_macro'
}}}

I think the plugin is installed correctly:
{{{ # easy_install http://trac-hacks.org/svn/mediawikipluginmacro }}}

And if I comment out the mediawiki.* = enabled part of the trac.ini, trac says that it doesn't know what to do with the mediawiki directive when loading the page, which makes sense.

Is there a specific dependency that this plugin relies on?"	hornsby.3@…
