Got rid of some global $wgContLang usage in SpecialAllpages
authorDaniel Werner <daniel.werner@wikimedia.de>
Thu, 14 Mar 2013 17:02:17 +0000 (18:02 +0100)
committerMarius Hoch <hoo@online.de>
Wed, 17 Apr 2013 19:32:31 +0000 (21:32 +0200)
commit751ffdb09695eb9c8160e61b5da4cfb993253cf5
treed6cff2917442276a2f8f2ac9b936f78ee9320b7f
parentac48a4fece736b54ce7dafe399bda3f9fe9a892e
Got rid of some global $wgContLang usage in SpecialAllpages

Using $this->getContext()->getLanguage() instead now. In SpecialAllpages::showline
the global is still being used and a comment added. It could be argued about whether
the content language or the user language should be used in that place.

Also added some missing documentation to Language::getNamespaces.

Change-Id: If511e2d9edb0f0092f3ca0ceadabd7fdb72f6c06
includes/specials/SpecialAllpages.php
languages/Language.php