[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 Roan Kattouw roan.katt...@gmail.com changed: What|Removed |Added CC|

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #17 from Leinad danny.lei...@gmail.com 2010-09-29 16:40:51 UTC --- {{GRAMMAR:}} provides (http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/WikimediaMessages/WikimediaGrammarForms.php) only declension of the names of the

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #18 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 19:47:44 UTC --- OK, this should be fixed on the tesla test server now. Please help me test it and make sure that everything is working as expected. -- Configure bugmail:

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #19 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 19:48:25 UTC --- actually, hold that thought... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because:

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #20 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 19:55:48 UTC --- Sorry, svn conflict. Should actually be fixed on tesla now: http://donation.tesla.usability.wikimedia.org/index.php/Special:CentralNotice Please help test.

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #21 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 20:00:08 UTC --- I've thrown out the new $sitename and $amount scheme. You should be able to use any combination of {{SITENAME}}, {{#switch}}, {{#ifeq}}, {{GRAMMAR}}, etc. --

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #22 from Leinad danny.lei...@gmail.com 2010-09-29 20:02:57 UTC --- (In reply to comment #20) Sorry, svn conflict. Should actually be fixed on tesla now: http://donation.tesla.usability.wikimedia.org/index.php/Special:CentralNotice

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 Ryan Kaldari rkald...@wikimedia.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #1 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 20:16:03 UTC --- Most wikitext functions will not work in banners. The only reason some of them worked before is because the banner pre-generation process allowed us to

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #4 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 20:22:27 UTC --- Would you care to elaborate on the snarky comment? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #6 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 20:28:03 UTC --- The noscript is output if Javascript is turned off or isn't working. You'll still need to have a default option within the Javascript itself. If I can't figure

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #7 from MZMcBride b...@mzmcbride.com 2010-09-28 20:29:00 UTC --- (In reply to comment #4) Would you care to elaborate on the snarky comment? It's not snarky. I don't think it's particularly reasonable to require people

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #8 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 20:40:43 UTC --- So it's not reasonable to expect banner writers to know basic Javascript, but it is reasonable that they understand using Wikitext parser functions?

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #9 from MZMcBride b...@mzmcbride.com 2010-09-28 21:10:29 UTC --- (In reply to comment #8) So it's not reasonable to expect banner writers to know basic Javascript, but it is reasonable that they understand using Wikitext parser

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #10 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 21:31:03 UTC --- The original banner parsing code was prefixed with a warning declaring it A god-damned dirty hack by whoever wrote it, so it wasn't actually my subjective

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 p858snake p858sn...@gmail.com changed: What|Removed |Added CC||p858sn...@gmail.com

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #12 from Ryan Kaldari rkald...@wikimedia.org 2010-09-28 23:23:41 UTC --- Yes, obviously it was needed, but it didn't say what it was needed for. I was told it was needed for {{SITENAME}}. When I rewrote all of the banner loading

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #13 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 00:15:04 UTC --- It looks like the old hack isn't easily implementable in the new system. Now that we are doing banner message localization based on user language rather than

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 --- Comment #14 from Ryan Kaldari rkald...@wikimedia.org 2010-09-29 00:25:20 UTC --- I think I have a solution that doesn't require guessing the database name or loading a remote wiki's configuration on every banner request. Stay tuned... --

[Bug 25354] CentralNotice $sitename variable not working with ParserFunctions

2010-09-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25354 Leinad danny.lei...@gmail.com changed: What|Removed |Added CC||danny.lei...@gmail.com