Yeah, that's probably true; I should have phrased what I wrote better: it appeared to me that maybe all his attempts at solving the problem had failed because he hadn't made the "global" call in the first place.
-Yaron
On Sun, Mar 16, 2008 at 8:17 PM, Andrew Garrett andrew@epstone.net wrote:
On 3/17/08, Yaron Koren yaron57@gmail.com wrote:
Maybe I'm missing something, but it could that the answer to your
problem is
to add the following line before you set the variable:
global $wgGlobalVar;
You're missing something. He wants the change to persist across requests.
-- Andrew Garrett
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l