Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(array_key_exists('language', $options)){
- $forContent = false;
- $langCode = wfGetLangObj( $options['language'] );
- unset($options['language']);
- }
- if( in_array('content', $options) ) {
- $forContent = true;
- $langCode = true;
- } else {
- $forContent = false;
- $langCode = false;
- }
Add Comment
Please, Sign In to add comment