*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*/
}
protected function appendGeneralInfo( $property ) {
- global $wgContLang, $wgLang;
+ global $wgContLang;
$data = array();
$mainPage = Title::newMainPage();
if ( $wgContLang->isRTL() ) {
$data['rtl'] = '';
}
- $data['fallback8bitEncoding'] = $wgLang->fallback8bitEncoding();
+ $data['fallback8bitEncoding'] = $wgContLang->fallback8bitEncoding();
if ( wfReadOnly() ) {
$data['readonly'] = '';
}
protected function appendSpecialPageAliases( $property ) {
- global $wgLang;
+ global $wgContLang;
$data = array();
- foreach ( $wgLang->getSpecialPageAliases() as $specialpage => $aliases )
+ foreach ( $wgContLang->getSpecialPageAliases() as $specialpage => $aliases )
{
$arr = array( 'realname' => $specialpage, 'aliases' => $aliases );
$this->getResult()->setIndexedTagName( $arr['aliases'], 'alias' );
$this->addOption( 'ORDER BY', 'iw_prefix' );
- $db = $this->getDB();
- $res = $this->select( __METHOD__ );
+ $res = $this->select( __METHOD__ );
$data = array();
$langNames = Language::getLanguageNames();