Corrected global variables

Added ARnls where needed
removed global variables which where not used

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5952 7882d7ee-46e0-0310-a255-a28a61b628e4
Removed unused variables

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5953 7882d7ee-46e0-0310-a255-a28a61b628e4
Fixed variable name

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5954 7882d7ee-46e0-0310-a255-a28a61b628e4
Fixed variable name

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5955 7882d7ee-46e0-0310-a255-a28a61b628e4
Defined variable so that even when the widget is not available the wgResult is an existing variable

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5956 7882d7ee-46e0-0310-a255-a28a61b628e4
removed unused variable

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@5957 7882d7ee-46e0-0310-a255-a28a61b628e4