* @return array
*/
protected function buildContentNavigationUrls() {
- global $wgContLang;
global $wgDisableLangConversion;
wfProfileIn( __METHOD__ );
* @return String the URL
*/
public function getFullURL( $query = '', $variant = false ) {
- global $wgServer, $wgRequest;
-
# Hand off all the decisions on urls to getLocalURL
$url = $this->getLocalURL( $query, $variant );
}
function showDiffPage( $diffOnly = false ) {
- global $wgUser, $wgOut, $wgRequest, $wgUseExternalEditor, $wgUseRCPatrol;
+ global $wgUser, $wgOut, $wgRequest, $wgUseExternalEditor;
wfProfileIn( __METHOD__ );
# Allow frames except in certain special cases
* Show the new revision of the page.
*/
function renderNewRevision() {
- global $wgOut, $wgUser;
+ global $wgOut;
wfProfileIn( __METHOD__ );
$revHeader = $this->getRevisionHeader( $this->mNewRev );
# Add "current version as of X" title
* @return bool
*/
function loadRevisionData() {
- global $wgUser;
-
if ( $this->mRevisionsLoaded ) {
return true;
}
* @return MediaTransformOutput | false
*/
function transform( $params, $flags = 0 ) {
- global $wgUseSquid, $wgServer;
+ global $wgUseSquid;
wfProfileIn( __METHOD__ );
do {
* @return int If of the log entry
*/
public function insert() {
- global $wgLogRestrictions;
-
$dbw = wfGetDB( DB_MASTER );
$id = $dbw->nextSequenceValue( 'logging_log_id_seq' );
return (int) $this->deleted;
}
-}
\ No newline at end of file
+}
* @private
*/
function braceSubstitution( $piece, $frame ) {
- global $wgContLang, $wgNonincludableNamespaces;
+ global $wgNonincludableNamespaces;
wfProfileIn( __METHOD__ );
wfProfileIn( __METHOD__.'-setup' );