Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).

This is a global search and replace of NS_IMAGE and NS_IMAGE_TALK with NS_FILE and NS_FILE_TALK respectively in all core files, excluding those already updated in step 1 (r44004).
This commit is contained in:
Ilmari Karonen 2008-12-01 17:14:30 +00:00
parent be40995b13
commit 34fb6297cd
232 changed files with 654 additions and 653 deletions

View file

@ -64,7 +64,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
For backward compatibility purposes, Image still works. External tools may
need to be updated.
* The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
NS_IMAGE_TALK. The old constants are retained as aliases for compatibility.
NS_IMAGE_TALK. The old constants are retained as aliases for compatibility,
and should still be used in code meant to be compatible with v1.13 or older.
* MediaWiki can be forced to use private IPs forwarded by a proxy server by
using $wgUsePrivateIPs.

View file

@ -48,7 +48,7 @@ if( preg_match( '!\d+px-(.*)!i', $name, $m ) )
$name = $m[1];
wfDebugLog( 'img_auth', "\$name is {$name}" );
$title = Title::makeTitleSafe( NS_IMAGE, $name );
$title = Title::makeTitleSafe( NS_FILE, $name );
if( !$title instanceof Title ) {
wfDebugLog( 'img_auth', "Unable to construct a valid Title from `{$name}`" );
wfForbidden();

View file

@ -1219,7 +1219,7 @@ class Article {
$where = array( 'rd_from' => $this->getId() );
$dbw->delete( 'redirect', $where, __METHOD__);
}
if( $this->getTitle()->getNamespace() == NS_IMAGE ) {
if( $this->getTitle()->getNamespace() == NS_FILE ) {
RepoGroup::singleton()->getLocalRepo()->invalidateImageRedirect( $this->getTitle() );
}
wfProfileOut( __METHOD__ );
@ -3172,7 +3172,7 @@ class Article {
$wgMessageCache->replace( $title->getDBkey(), false );
}
# Images
if( $title->getNamespace() == NS_IMAGE ) {
if( $title->getNamespace() == NS_FILE ) {
$update = new HTMLCacheUpdate( $title, 'imagelinks' );
$update->doUpdate();
}
@ -3518,7 +3518,7 @@ class Article {
if( $ns == NS_CATEGORY ) {
$addFields[] = 'cat_subcats = cat_subcats + 1';
$removeFields[] = 'cat_subcats = cat_subcats - 1';
} elseif( $ns == NS_IMAGE ) {
} elseif( $ns == NS_FILE ) {
$addFields[] = 'cat_files = cat_files + 1';
$removeFields[] = 'cat_files = cat_files - 1';
}

View file

@ -257,7 +257,7 @@ class Category {
}
$cond1 = $dbw->conditional( 'page_namespace='.NS_CATEGORY, 1, 'NULL' );
$cond2 = $dbw->conditional( 'page_namespace='.NS_IMAGE, 1, 'NULL' );
$cond2 = $dbw->conditional( 'page_namespace='.NS_FILE, 1, 'NULL' );
$result = $dbw->selectRow(
array( 'categorylinks', 'page' ),
array( 'COUNT(*) AS pages',

View file

@ -234,7 +234,7 @@ class CategoryViewer {
if( $title->getNamespace() == NS_CATEGORY ) {
$cat = Category::newFromRow( $x, $title );
$this->addSubcategoryObject( $cat, $x->cl_sortkey, $x->page_len );
} elseif( $this->showGallery && $title->getNamespace() == NS_IMAGE ) {
} elseif( $this->showGallery && $title->getNamespace() == NS_FILE ) {
$this->addImage( $title, $x->cl_sortkey, $x->page_len, $x->page_is_redirect );
} else {
$this->addPage( $title, $x->cl_sortkey, $x->page_len, $x->page_is_redirect );

View file

@ -1915,7 +1915,7 @@ $wgNamespacesWithSubpages = array(
NS_USER => true,
NS_USER_TALK => true,
NS_PROJECT_TALK => true,
NS_IMAGE_TALK => true,
NS_FILE_TALK => true,
NS_MEDIAWIKI_TALK => true,
NS_TEMPLATE_TALK => true,
NS_HELP_TALK => true,

View file

@ -738,7 +738,7 @@ class EditPage {
}
# Check image redirect
if ( $this->mTitle->getNamespace() == NS_IMAGE &&
if ( $this->mTitle->getNamespace() == NS_FILE &&
Title::newFromRedirect( $this->textbox1 ) instanceof Title &&
!$wgUser->isAllowed( 'upload' ) ) {
if ( $wgUser->isAnon() ) {
@ -1971,7 +1971,7 @@ END
array(
'image' => $wgLang->getImageFile('button-image'),
'id' => 'mw-editbutton-image',
'open' => '[['.$wgContLang->getNsText(NS_IMAGE).':',
'open' => '[['.$wgContLang->getNsText(NS_FILE).':',
'close' => ']]',
'sample' => wfMsg('image_sample'),
'tip' => wfMsg('image_tip'),

View file

@ -244,7 +244,7 @@ class ImageGallery
$img = wfFindFile( $nt, $time );
if( $nt->getNamespace() != NS_IMAGE || !$img ) {
if( $nt->getNamespace() != NS_FILE || !$img ) {
# We're dealing with a non-image, spit out the name and be done with it.
$thumbhtml = "\n\t\t\t".'<div style="height: '.($this->mHeights*1.25+2).'px;">'
. htmlspecialchars( $nt->getText() ) . '</div>';

View file

@ -57,7 +57,7 @@ class ImagePage extends Article {
global $wgOut, $wgShowEXIF, $wgRequest, $wgUser;
$this->loadFile();
if( $this->mTitle->getNamespace() == NS_IMAGE && $this->img->getRedirected() ) {
if( $this->mTitle->getNamespace() == NS_FILE && $this->img->getRedirected() ) {
if( $this->mTitle->getDBkey() == $this->img->getName() ) {
// mTitle is the same as the redirect target so ask Article
// to perform the redirect for us.
@ -66,7 +66,7 @@ class ImagePage extends Article {
// mTitle is not the same as the redirect target so it is
// probably the redirect page itself. Fake the redirect symbol
$wgOut->setPageTitle( $this->mTitle->getPrefixedText() );
$wgOut->addHTML( $this->viewRedirect( Title::makeTitle( NS_IMAGE, $this->img->getName() ),
$wgOut->addHTML( $this->viewRedirect( Title::makeTitle( NS_FILE, $this->img->getName() ),
/* $appendSubtitle */ true, /* $forceKnown */ true ) );
$this->viewUpdates();
return;
@ -76,7 +76,7 @@ class ImagePage extends Article {
$diff = $wgRequest->getVal( 'diff' );
$diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) );
if( $this->mTitle->getNamespace() != NS_IMAGE || ( isset( $diff ) && $diffOnly ) )
if( $this->mTitle->getNamespace() != NS_FILE || ( isset( $diff ) && $diffOnly ) )
return Article::view();
if( $wgShowEXIF && $this->displayImg->exists() ) {
@ -152,7 +152,7 @@ class ImagePage extends Article {
if( $from == $to ) {
return null;
}
return $this->mRedirectTarget = Title::makeTitle( NS_IMAGE, $to );
return $this->mRedirectTarget = Title::makeTitle( NS_FILE, $to );
}
public function followRedirect() {
$this->loadFile();
@ -164,7 +164,7 @@ class ImagePage extends Article {
if( $from == $to ) {
return false;
}
return Title::makeTitle( NS_IMAGE, $to );
return Title::makeTitle( NS_FILE, $to );
}
public function isRedirect( $text = false ) {
$this->loadFile();
@ -222,7 +222,7 @@ class ImagePage extends Article {
protected function showTOC( $metadata ) {
global $wgLang;
$r = '<ul id="filetoc">
<li><a href="#file">' . $wgLang->getNsText( NS_IMAGE ) . '</a></li>
<li><a href="#file">' . $wgLang->getNsText( NS_FILE ) . '</a></li>
<li><a href="#filehistory">' . wfMsgHtml( 'filehist' ) . '</a></li>
<li><a href="#filelinks">' . wfMsgHtml( 'imagelinks' ) . '</a></li>' .
($metadata ? ' <li><a href="#metadata">' . wfMsgHtml( 'metadata' ) . '</a></li>' : '') . '
@ -674,7 +674,7 @@ EOT
protected function imageRedirects() {
global $wgUser, $wgOut, $wgLang;
$redirects = $this->getTitle()->getRedirectsHere( NS_IMAGE );
$redirects = $this->getTitle()->getRedirectsHere( NS_FILE );
if( count( $redirects ) == 0 ) return;
$wgOut->addHTML( "<div id='mw-imagepage-section-redirectstofile'>\n" );

View file

@ -45,9 +45,9 @@ class ImageQueryPage extends QueryPage {
* @return Image
*/
private function prepareImage( $row ) {
$namespace = isset( $row->namespace ) ? $row->namespace : NS_IMAGE;
$namespace = isset( $row->namespace ) ? $row->namespace : NS_FILE;
$title = Title::makeTitleSafe( $namespace, $row->title );
return ( $title instanceof Title && $title->getNamespace() == NS_IMAGE )
return ( $title instanceof Title && $title->getNamespace() == NS_FILE )
? wfFindFile( $title )
: null;
}

View file

@ -861,7 +861,7 @@ class Linker {
} else {
if ( isset( $fp['manualthumb'] ) ) {
# Use manually specified thumbnail
$manual_title = Title::makeTitleSafe( NS_IMAGE, $fp['manualthumb'] );
$manual_title = Title::makeTitleSafe( NS_FILE, $fp['manualthumb'] );
if( $manual_title ) {
$manual_img = wfFindFile( $manual_title );
if ( $manual_img ) {
@ -967,7 +967,7 @@ class Linker {
/** @deprecated use Linker::makeMediaLinkObj() */
function makeMediaLink( $name, $unused = '', $text = '', $time = false ) {
$nt = Title::makeTitleSafe( NS_IMAGE, $name );
$nt = Title::makeTitleSafe( NS_FILE, $name );
return $this->makeMediaLinkObj( $nt, $text, $time );
}

View file

@ -317,7 +317,7 @@ class LinksUpdate {
}
function invalidateImageDescriptions( $images ) {
$this->invalidatePages( NS_IMAGE, array_keys( $images ) );
$this->invalidatePages( NS_FILE, array_keys( $images ) );
}
function dumbTableUpdate( $table, $insertions, $fromField ) {

View file

@ -16,8 +16,8 @@ $wgCanonicalNamespaceNames = array(
NS_USER_TALK => 'User_talk',
NS_PROJECT => 'Project',
NS_PROJECT_TALK => 'Project_talk',
NS_IMAGE => 'File',
NS_IMAGE_TALK => 'File_talk',
NS_FILE => 'File',
NS_FILE_TALK => 'File_talk',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
NS_TEMPLATE => 'Template',
@ -53,7 +53,7 @@ class MWNamespace {
*/
public static function isMovable( $index ) {
global $wgAllowImageMoving;
return !( $index < NS_MAIN || ($index == NS_IMAGE && !$wgAllowImageMoving) || $index == NS_CATEGORY );
return !( $index < NS_MAIN || ($index == NS_FILE && !$wgAllowImageMoving) || $index == NS_CATEGORY );
}
/**

View file

@ -55,7 +55,7 @@ class PrefixSearch {
if( count($namespaces) == 1 ){
$ns = $namespaces[0];
if( $ns == NS_MEDIA ) {
$namespaces = array(NS_IMAGE);
$namespaces = array(NS_FILE);
} elseif( $ns == NS_SPECIAL ) {
return self::specialSearch( $search, $limit );
}

View file

@ -127,7 +127,7 @@ class SearchEngine {
# Go to images that exist even if there's no local page.
# There may have been a funny upload, or it may be on a shared
# file repository such as Wikimedia Commons.
if( $title->getNamespace() == NS_IMAGE ) {
if( $title->getNamespace() == NS_FILE ) {
$image = wfFindFile( $title );
if( $image ) {
return $title;
@ -538,7 +538,7 @@ class SearchResult {
$this->mTitle = Title::makeTitle( $row->page_namespace, $row->page_title );
if( !is_null($this->mTitle) ){
$this->mRevision = Revision::newFromTitle( $this->mTitle );
if( $this->mTitle->getNamespace() === NS_IMAGE )
if( $this->mTitle->getNamespace() === NS_FILE )
$this->mImage = wfFindFile( $this->mTitle );
}
}
@ -745,7 +745,7 @@ class SearchHighlighter {
if($key == 2){
// see if this is an image link
$ns = substr($val[0],2,-1);
if( $wgContLang->getNsIndex($ns) != NS_IMAGE )
if( $wgContLang->getNsIndex($ns) != NS_FILE )
break;
}
@ -1115,7 +1115,7 @@ class SearchHighlighter {
global $wgContLang;
$ns = substr( $matches[1], 0, $colon );
$index = $wgContLang->getNsIndex($ns);
if( $index !== false && ($index == NS_IMAGE || $index == NS_CATEGORY) )
if( $index !== false && ($index == NS_FILE || $index == NS_CATEGORY) )
return $matches[0]; // return the whole thing
else
return $matches[2];

View file

@ -72,8 +72,8 @@ $wgNamespaceProtection[NS_MEDIAWIKI] = 'editinterface';
* and "File_talk". The old names "Image" and "Image_talk" are
* retained as aliases for backwards compatibility.
*/
$wgNamespaceAliases['Image'] = NS_IMAGE;
$wgNamespaceAliases['Image_talk'] = NS_IMAGE_TALK;
$wgNamespaceAliases['Image'] = NS_FILE;
$wgNamespaceAliases['Image_talk'] = NS_FILE_TALK;
/**
* Initialise $wgLocalFileRepo from backwards-compatible settings

View file

@ -942,7 +942,7 @@ END;
}
if ( $wgOut->isArticleRelated() ) {
if ( $wgTitle->getNamespace() == NS_IMAGE ) {
if ( $wgTitle->getNamespace() == NS_FILE ) {
$name = $wgTitle->getDBkey();
$image = wfFindFile( $wgTitle );
if( $image ) {
@ -1678,7 +1678,7 @@ END;
case NS_PROJECT:
$text = wfMsg( 'projectpage' );
break;
case NS_IMAGE:
case NS_FILE:
$text = wfMsg( 'imagepage' );
# Make link known if image exists, even if the desc. page doesn't.
if( wfFindFile( $link ) )

View file

@ -595,7 +595,7 @@ class SkinTemplate extends Skin {
$classes[] = 'selected';
}
if( $checkEdit && !$title->isAlwaysKnown() && $title->getArticleId() == 0 &&
!($title->getNamespace() == NS_IMAGE && wfFindFile( $title )) ) {
!($title->getNamespace() == NS_FILE && wfFindFile( $title )) ) {
$classes[] = 'new';
$query = 'action=edit';
}

View file

@ -383,7 +383,7 @@ class Title {
$t = preg_replace( "/\\s+/", ' ', $t );
if ( $ns == NS_IMAGE ) {
if ( $ns == NS_FILE ) {
$t = preg_replace( "/ (png|gif|jpg|jpeg|ogg)$/", "", $t );
}
return trim( $t );
@ -1626,7 +1626,7 @@ class Title {
$dbr = wfGetDB( DB_SLAVE );
if ( $this->getNamespace() == NS_IMAGE ) {
if ( $this->getNamespace() == NS_FILE ) {
$tables = array ('imagelinks', 'page_restrictions');
$where_clauses = array(
'il_to' => $this->getDBkey(),
@ -1863,7 +1863,7 @@ class Title {
$dbr = wfGetDB( DB_SLAVE );
$n = $dbr->selectField( 'archive', 'COUNT(*)', array( 'ar_namespace' => $this->getNamespace(),
'ar_title' => $this->getDBkey() ), $fname );
if( $this->getNamespace() == NS_IMAGE ) {
if( $this->getNamespace() == NS_FILE ) {
$n += $dbr->selectField( 'filearchive', 'COUNT(*)',
array( 'fa_name' => $this->getDBkey() ), $fname );
}
@ -2444,10 +2444,10 @@ class Title {
}
// Image-specific checks
if( $this->getNamespace() == NS_IMAGE ) {
if( $this->getNamespace() == NS_FILE ) {
$file = wfLocalFile( $this );
if( $file->exists() ) {
if( $nt->getNamespace() != NS_IMAGE ) {
if( $nt->getNamespace() != NS_FILE ) {
$errors[] = array('imagenocrossnamespace');
}
if( $nt->getText() != wfStripIllegalFilenameChars( $nt->getText() ) ) {
@ -2714,7 +2714,7 @@ class Title {
}
# Move an image if this is a file
if( $this->getNamespace() == NS_IMAGE ) {
if( $this->getNamespace() == NS_FILE ) {
$file = wfLocalFile( $this );
if( $file->exists() ) {
$status = $file->move( $nt );
@ -2809,7 +2809,7 @@ class Title {
}
# Move an image if this is a file
if( $this->getNamespace() == NS_IMAGE ) {
if( $this->getNamespace() == NS_FILE ) {
$file = wfLocalFile( $this );
if( $file->exists() ) {
$status = $file->move( $nt );
@ -2880,7 +2880,7 @@ class Title {
public function isValidMoveTarget( $nt ) {
$dbw = wfGetDB( DB_MASTER );
# Is it an existsing file?
if( $nt->getNamespace() == NS_IMAGE ) {
if( $nt->getNamespace() == NS_FILE ) {
$file = wfLocalFile( $nt );
if( $file->exists() ) {
wfDebug( __METHOD__ . ": file exists\n" );
@ -3243,8 +3243,8 @@ class Title {
case NS_PROJECT:
case NS_PROJECT_TALK:
return 'nstab-project';
case NS_IMAGE:
case NS_IMAGE_TALK:
case NS_FILE:
case NS_FILE_TALK:
return 'nstab-image';
case NS_MEDIAWIKI:
case NS_MEDIAWIKI_TALK:

View file

@ -349,7 +349,7 @@ class UploadBase {
return $this->mTitle = null;
}
$nt = Title::makeTitleSafe( NS_IMAGE, $this->mFilteredName );
$nt = Title::makeTitleSafe( NS_FILE, $this->mFilteredName );
if( is_null( $nt ) ) {
$this->mTitleError = self::ILLEGAL_FILENAME;
return $this->mTitle = null;
@ -808,7 +808,7 @@ class UploadBase {
// extensions (eg 'jpg' rather than 'JPEG').
//
// Check for another file using the normalized form...
$nt_lc = Title::makeTitle( NS_IMAGE, $partname . '.' . $file->getExtension() );
$nt_lc = Title::makeTitle( NS_FILE, $partname . '.' . $file->getExtension() );
$file_lc = wfLocalFile( $nt_lc );
if( $file_lc->exists() )

View file

@ -242,7 +242,7 @@ class MediaWiki {
static function articleFromTitle( &$title ) {
if( NS_MEDIA == $title->getNamespace() ) {
// FIXME: where should this go?
$title = Title::makeTitle( NS_IMAGE, $title->getDBkey() );
$title = Title::makeTitle( NS_FILE, $title->getDBkey() );
}
$article = null;
@ -252,7 +252,7 @@ class MediaWiki {
}
switch( $title->getNamespace() ) {
case NS_IMAGE:
case NS_FILE:
return new ImagePage( $title );
case NS_CATEGORY:
return new CategoryPage( $title );
@ -277,7 +277,7 @@ class MediaWiki {
// Namespace might change when using redirects
// Check for redirects ...
$file = $title->getNamespace() == NS_IMAGE ? $article->getFile() : null;
$file = $title->getNamespace() == NS_FILE ? $article->getFile() : null;
if( ( $action == 'view' || $action == 'render' ) // ... for actions that show content
&& !$request->getVal( 'oldid' ) && // ... and are not old revisions
$request->getVal( 'redirect' ) != 'no' && // ... unless explicitly told not to

View file

@ -72,7 +72,7 @@ class ApiDelete extends ApiBase {
$this->dieUsageMsg(array('notanarticle'));
$reason = (isset($params['reason']) ? $params['reason'] : NULL);
if ($titleObj->getNamespace() == NS_IMAGE) {
if ($titleObj->getNamespace() == NS_FILE) {
$retval = self::deleteFile($params['token'], $titleObj, $params['oldimage'], $reason, false);
if(count($retval))
// We don't care about multiple errors, just report one of them

View file

@ -113,7 +113,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase {
$data[] = array_merge(array('name' => $row->img_name),
ApiQueryImageInfo::getInfo($file, $prop, $result));
} else {
$data[] = Title::makeTitle(NS_IMAGE, $row->img_name);
$data[] = Title::makeTitle(NS_FILE, $row->img_name);
}
}
$db->freeResult($res);

View file

@ -226,7 +226,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase {
if($this->hasNS)
$contTitle = Title::makeTitle($row->{$this->bl_ns}, $row->{$this->bl_title});
else
$contTitle = Title::makeTitle(NS_IMAGE, $row->{$this->bl_title});
$contTitle = Title::makeTitle(NS_FILE, $row->{$this->bl_title});
$this->continueStr = $this->getContinueRedirStr($contTitle->getArticleID(), $row->page_id);
break;
}
@ -270,7 +270,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase {
ApiQueryBase::addTitleInfo($a, Title::makeTitle($row->page_namespace, $row->page_title));
if($row->page_is_redirect)
$a['redirect'] = '';
$ns = $this->hasNS ? $row->{$this->bl_ns} : NS_IMAGE;
$ns = $this->hasNS ? $row->{$this->bl_ns} : NS_FILE;
$this->data[$ns][$row->{$this->bl_title}]['redirlinks'][] = $a;
$this->getResult()->setIndexedTagName($this->data[$ns][$row->{$this->bl_title}]['redirlinks'], $this->bl_code);
}
@ -292,7 +292,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase {
}
// only image titles are allowed for the root in imageinfo mode
if (!$this->hasNS && $this->rootTitle->getNamespace() !== NS_IMAGE)
if (!$this->hasNS && $this->rootTitle->getNamespace() !== NS_FILE)
$this->dieUsage("The title for {$this->getModuleName()} query must be an image", 'bad_image_title');
}

View file

@ -50,10 +50,10 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase {
private function run($resultPageSet = null) {
$params = $this->extractRequestParams();
$namespaces = $this->getPageSet()->getAllTitlesByNamespace();
if ( empty( $namespaces[NS_IMAGE] ) ) {
if ( empty( $namespaces[NS_FILE] ) ) {
return;
}
$images = $namespaces[NS_IMAGE];
$images = $namespaces[NS_FILE];
$this->addTables('image', 'i1');
$this->addTables('image', 'i2');
@ -101,7 +101,7 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase {
break;
}
if(!is_null($resultPageSet))
$titles[] = Title::makeTitle(NS_IMAGE, $row->dup_name);
$titles[] = Title::makeTitle(NS_FILE, $row->dup_name);
else
{
if($row->orig_name != $lastName)

View file

@ -56,10 +56,10 @@ class ApiQueryImageInfo extends ApiQueryBase {
}
$pageIds = $this->getPageSet()->getAllTitlesByNamespace();
if (!empty($pageIds[NS_IMAGE])) {
if (!empty($pageIds[NS_FILE])) {
$result = $this->getResult();
$images = RepoGroup::singleton()->findFiles( array_keys( $pageIds[NS_IMAGE] ) );
$images = RepoGroup::singleton()->findFiles( array_keys( $pageIds[NS_FILE] ) );
foreach ( $images as $img ) {
$data = array();
@ -78,14 +78,14 @@ class ApiQueryImageInfo extends ApiQueryBase {
if(++$count > $params['limit']) {
// We've reached the extra one which shows that there are additional pages to be had. Stop here...
// Only set a query-continue if there was only one title
if(count($pageIds[NS_IMAGE]) == 1)
if(count($pageIds[NS_FILE]) == 1)
$this->setContinueEnumParameter('start', $oldie->getTimestamp());
break;
}
$data[] = self::getInfo( $oldie, $prop, $result );
}
$pageId = $pageIds[NS_IMAGE][ $img->getOriginalTitle()->getDBkey() ];
$pageId = $pageIds[NS_FILE][ $img->getOriginalTitle()->getDBkey() ];
$result->addValue(
array( 'query', 'pages', intval( $pageId ) ),
'imagerepository', $img->getRepoName()
@ -93,10 +93,10 @@ class ApiQueryImageInfo extends ApiQueryBase {
$this->addPageSubItems($pageId, $data);
}
$missing = array_diff( array_keys( $pageIds[NS_IMAGE] ), array_keys( $images ) );
$missing = array_diff( array_keys( $pageIds[NS_FILE] ), array_keys( $images ) );
foreach ( $missing as $title )
$result->addValue(
array( 'query', 'pages', intval( $pageIds[NS_IMAGE][$title] ) ),
array( 'query', 'pages', intval( $pageIds[NS_FILE][$title] ) ),
'imagerepository', ''
);
}

View file

@ -103,7 +103,7 @@ class ApiQueryImages extends ApiQueryGeneratorBase {
}
$vals = array();
ApiQueryBase :: addTitleInfo($vals, Title :: makeTitle(NS_IMAGE, $row->il_to));
ApiQueryBase :: addTitleInfo($vals, Title :: makeTitle(NS_FILE, $row->il_to));
$data[] = $vals;
}
@ -123,7 +123,7 @@ class ApiQueryImages extends ApiQueryGeneratorBase {
'|' . $this->keyToTitle($row->il_to));
break;
}
$titles[] = Title :: makeTitle(NS_IMAGE, $row->il_to);
$titles[] = Title :: makeTitle(NS_FILE, $row->il_to);
}
$resultPageSet->populateFromTitles($titles);
}

View file

@ -217,7 +217,7 @@ class ApiQueryInfo extends ApiQueryBase {
$imageIds = array();
foreach ($titles as $id => $title)
if ($title->getNamespace() == NS_IMAGE)
if ($title->getNamespace() == NS_FILE)
$imageIds[] = $id;
// To avoid code duplication
$cascadeTypes = array(
@ -231,7 +231,7 @@ class ApiQueryInfo extends ApiQueryBase {
array(
'prefix' => 'il',
'table' => 'imagelinks',
'ns' => NS_IMAGE,
'ns' => NS_FILE,
'title' => 'il_to',
'ids' => $imageIds
)
@ -295,7 +295,7 @@ class ApiQueryInfo extends ApiQueryBase {
$images = array();
$others = array();
foreach ($missing as $title)
if ($title->getNamespace() == NS_IMAGE)
if ($title->getNamespace() == NS_FILE)
$images[] = $title->getDBKey();
else
$others[] = $title;
@ -345,7 +345,7 @@ class ApiQueryInfo extends ApiQueryBase {
'expiry' => Block::decodeExpiry( $row->pr_expiry, TS_ISO_8601 ),
'source' => $source->getPrefixedText()
);
$prottitles[NS_IMAGE][$row->il_to][] = $a;
$prottitles[NS_FILE][$row->il_to][] = $a;
}
$db->freeResult($res);
}

View file

@ -84,7 +84,7 @@ class ArchivedFile
if (!count($conds))
throw new MWException( "No specific information for retrieving archived file" );
if( !$this->title || $this->title->getNamespace() == NS_IMAGE ) {
if( !$this->title || $this->title->getNamespace() == NS_FILE ) {
$dbr = wfGetDB( DB_SLAVE );
$res = $dbr->select( 'filearchive',
array(
@ -149,7 +149,7 @@ class ArchivedFile
* @return ResultWrapper
*/
public static function newFromRow( $row ) {
$file = new ArchivedFile( Title::makeTitle( NS_IMAGE, $row->fa_name ) );
$file = new ArchivedFile( Title::makeTitle( NS_FILE, $row->fa_name ) );
$file->id = intval($row->fa_id);
$file->name = $row->fa_name;

View file

@ -1246,7 +1246,7 @@ abstract class File {
function getRedirectedTitle() {
if ( $this->redirected ) {
if ( !$this->redirectTitle )
$this->redirectTitle = Title::makeTitle( NS_IMAGE, $this->redirected );
$this->redirectTitle = Title::makeTitle( NS_FILE, $this->redirected );
return $this->redirectTitle;
}
}

View file

@ -59,7 +59,7 @@ abstract class FileRepo {
*/
function newFile( $title, $time = false ) {
if ( !($title instanceof Title) ) {
$title = Title::makeTitleSafe( NS_IMAGE, $title );
$title = Title::makeTitleSafe( NS_FILE, $title );
if ( !is_object( $title ) ) {
return null;
}
@ -85,7 +85,7 @@ abstract class FileRepo {
*/
function findFile( $title, $time = false, $flags = 0 ) {
if ( !($title instanceof Title) ) {
$title = Title::makeTitleSafe( NS_IMAGE, $title );
$title = Title::makeTitleSafe( NS_FILE, $title );
if ( !is_object( $title ) ) {
return false;
}
@ -115,7 +115,7 @@ abstract class FileRepo {
return false;
}
$redir = $this->checkRedirect( $title );
if( $redir && $redir->getNamespace() == NS_IMAGE) {
if( $redir && $redir->getNamespace() == NS_FILE) {
$img = $this->newFile( $redir );
if( !$img ) {
return false;
@ -262,10 +262,10 @@ abstract class FileRepo {
if ( is_null( $this->descBaseUrl ) ) {
if ( !is_null( $this->articleUrl ) ) {
$this->descBaseUrl = str_replace( '$1',
wfUrlencode( MWNamespace::getCanonicalName( NS_IMAGE ) ) . ':', $this->articleUrl );
wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) ) . ':', $this->articleUrl );
} elseif ( !is_null( $this->scriptDirUrl ) ) {
$this->descBaseUrl = $this->scriptDirUrl . '/index.php?title=' .
wfUrlencode( MWNamespace::getCanonicalName( NS_IMAGE ) ) . ':';
wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) ) . ':';
} else {
$this->descBaseUrl = false;
}
@ -300,7 +300,7 @@ abstract class FileRepo {
function getDescriptionRenderUrl( $name ) {
if ( isset( $this->scriptDirUrl ) ) {
return $this->scriptDirUrl . '/index.php?title=' .
wfUrlencode( MWNamespace::getCanonicalName( NS_IMAGE ) . ':' . $name ) .
wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) . ':' . $name ) .
'&action=render';
} else {
$descBase = $this->getDescBaseUrl();

View file

@ -13,7 +13,7 @@ class ForeignDBFile extends LocalFile {
* Do not call this except from inside a repo class.
*/
static function newFromRow( $row, $repo ) {
$title = Title::makeTitle( NS_IMAGE, $row->img_name );
$title = Title::makeTitle( NS_FILE, $row->img_name );
$file = new self( $title, $repo );
$file->loadFromRow( $row );
return $file;

View file

@ -36,7 +36,7 @@ class Image extends LocalFile {
*/
static function newFromName( $name ) {
wfDeprecated( __METHOD__ );
$title = Title::makeTitleSafe( NS_IMAGE, $name );
$title = Title::makeTitleSafe( NS_FILE, $name );
if ( is_object( $title ) ) {
$img = wfFindFile( $title );
if ( !$img ) {

View file

@ -68,7 +68,7 @@ class LocalFile extends File
* Do not call this except from inside a repo class.
*/
static function newFromRow( $row, $repo ) {
$title = Title::makeTitle( NS_IMAGE, $row->img_name );
$title = Title::makeTitle( NS_FILE, $row->img_name );
$file = new self( $title, $repo );
$file->loadFromRow( $row );
return $file;

View file

@ -108,7 +108,7 @@ class LocalRepo extends FSRepo {
$title = Title::newFromTitle( $title );
}
if( $title instanceof Title && $title->getNamespace() == NS_MEDIA ) {
$title = Title::makeTitle( NS_IMAGE, $title->getText() );
$title = Title::makeTitle( NS_FILE, $title->getText() );
}
$memcKey = $this->getMemcKey( "image_redirect:" . md5( $title->getPrefixedDBkey() ) );

View file

@ -23,7 +23,7 @@ class OldLocalFile extends LocalFile {
}
static function newFromRow( $row, $repo ) {
$title = Title::makeTitle( NS_IMAGE, $row->oi_name );
$title = Title::makeTitle( NS_FILE, $row->oi_name );
$file = new self( $title, $repo, null, $row->oi_archive_name );
$file->loadFromRow( $row, 'oi_' );
return $file;

View file

@ -90,7 +90,7 @@ class RepoGroup {
$titleObjs = array();
foreach ( $titles as $title ) {
if ( !( $title instanceof Title ) )
$title = Title::makeTitleSafe( NS_IMAGE, $title );
$title = Title::makeTitleSafe( NS_FILE, $title );
$titleObjs[$title->getDBkey()] = $title;
}

View file

@ -32,7 +32,7 @@ class UnregisteredLocalFile extends File {
$this->name = $repo->getNameFromTitle( $title );
} else {
$this->name = basename( $path );
$this->title = Title::makeTitleSafe( NS_IMAGE, $this->name );
$this->title = Title::makeTitleSafe( NS_FILE, $this->name );
}
$this->repo = $repo;
if ( $path ) {

View file

@ -1709,7 +1709,7 @@ class Parser
if ($might_be_img) { # if this is actually an invalid link
wfProfileIn( __METHOD__."-might_be_img" );
if ($ns == NS_IMAGE && $noforce) { #but might be an image
if ($ns == NS_FILE && $noforce) { #but might be an image
$found = false;
while ( true ) {
#look at the next 'line' to see if we can close it there
@ -1769,7 +1769,7 @@ class Parser
}
wfProfileOut( __METHOD__."-interwiki" );
if ( $ns == NS_IMAGE ) {
if ( $ns == NS_FILE ) {
wfProfileIn( __METHOD__."-image" );
if ( !wfIsBadImage( $nt->getDBkey(), $this->mTitle ) ) {
# recursively parse links inside the image caption
@ -1841,7 +1841,7 @@ class Parser
$s .= $holders->makeHolder( $nt, $text, '', $trail, $prefix );
}
continue;
} elseif( $ns == NS_IMAGE ) {
} elseif( $ns == NS_FILE ) {
$img = wfFindFile( $nt );
if( $img ) {
// Force a blue link if the file exists; may be a remote
@ -4163,7 +4163,7 @@ class Parser
if ( strpos( $matches[0], '%' ) !== false )
$matches[1] = urldecode( $matches[1] );
$tp = Title::newFromText( $matches[1]/*, NS_IMAGE*/ );
$tp = Title::newFromText( $matches[1]/*, NS_FILE*/ );
$nt =& $tp;
if( is_null( $nt ) ) {
# Bogus title. Ignore these so we don't bomb out later.
@ -4180,7 +4180,7 @@ class Parser
$ig->add( $nt, $html );
# Only add real images (bug #5586)
if ( $nt->getNamespace() == NS_IMAGE ) {
if ( $nt->getNamespace() == NS_FILE ) {
$this->mOutput->addImage( $nt->getDBkey() );
}
}

View file

@ -71,7 +71,7 @@ function wfExportGetTemplates( $inputPages, $pageSet ) {
function wfExportGetImages( $inputPages, $pageSet ) {
return wfExportGetLinks( $inputPages, $pageSet,
'imagelinks',
array( NS_IMAGE . ' AS namespace', 'il_to AS title' ),
array( NS_FILE . ' AS namespace', 'il_to AS title' ),
array( 'page_id=il_from' ) );
}

View file

@ -49,7 +49,7 @@ class FileDuplicateSearchPage extends QueryPage {
function formatResult( $skin, $result ) {
global $wgContLang, $wgLang;
$nt = Title::makeTitle( NS_IMAGE, $result->title );
$nt = Title::makeTitle( NS_FILE, $result->title );
$text = $wgContLang->convert( $nt->getText() );
$plink = $skin->makeLink( $nt->getPrefixedText(), $text );

View file

@ -9,9 +9,9 @@ function wfSpecialFilepath( $par ) {
$file = isset( $par ) ? $par : $wgRequest->getText( 'file' );
$title = Title::makeTitleSafe( NS_IMAGE, $file );
$title = Title::makeTitleSafe( NS_FILE, $file );
if ( ! $title instanceof Title || $title->getNamespace() != NS_IMAGE ) {
if ( ! $title instanceof Title || $title->getNamespace() != NS_FILE ) {
$cform = new FilepathForm( $title );
$cform->execute();
} else {

View file

@ -106,7 +106,7 @@ class ImageListPager extends TablePager {
if ( $imgfile === null ) $imgfile = wfMsg( 'imgfile' );
$name = $this->mCurrentRow->img_name;
$link = $this->getSkin()->makeKnownLinkObj( Title::makeTitle( NS_IMAGE, $name ), $value );
$link = $this->getSkin()->makeKnownLinkObj( Title::makeTitle( NS_FILE, $name ), $value );
$image = wfLocalFile( $value );
$url = $image->getURL();
$download = Xml::element('a', array( 'href' => $url ), $imgfile );

View file

@ -46,7 +46,7 @@ class MIMEsearchPage extends QueryPage {
return
"SELECT 'MIMEsearch' AS type,
" . NS_IMAGE . " AS namespace,
" . NS_FILE . " AS namespace,
img_name AS title,
img_major_mime AS value,

View file

@ -25,7 +25,7 @@ class MostimagesPage extends ImageQueryPage {
"
SELECT
'Mostimages' as type,
" . NS_IMAGE . " as namespace,
" . NS_FILE . " as namespace,
il_to as title,
COUNT(*) as value
FROM $imagelinks

View file

@ -124,7 +124,7 @@ function wfSpecialNewimages( $par, $specialPage ) {
$name = $s->img_name;
$ut = $s->img_user_text;
$nt = Title::newFromText( $name, NS_IMAGE );
$nt = Title::newFromText( $name, NS_FILE );
$ul = $sk->makeLinkObj( Title::makeTitle( NS_USER, $ut ), $ut );
$gallery->add( $nt, "$ul<br />\n<i>".$wgLang->timeanddate( $s->img_timestamp, true )."</i><br />\n" );

View file

@ -93,8 +93,8 @@ class SpecialRecentchangeslinked extends SpecialRecentchanges {
} else {
// for now, always join on these tables; really should be configurable as in whatlinkshere
$link_tables = array( 'pagelinks', 'templatelinks' );
// imagelinks only contains links to pages in NS_IMAGE
if( $ns == NS_IMAGE || !$showlinkedto ) $link_tables[] = 'imagelinks';
// imagelinks only contains links to pages in NS_FILE
if( $ns == NS_FILE || !$showlinkedto ) $link_tables[] = 'imagelinks';
}
if( $id == 0 && !$showlinkedto )
@ -109,7 +109,7 @@ class SpecialRecentchangeslinked extends SpecialRecentchanges {
$pfx = $prefix[$link_table];
// imagelinks and categorylinks tables have no xx_namespace field, and have xx_to instead of xx_title
if( $link_table == 'imagelinks' ) $link_ns = NS_IMAGE;
if( $link_table == 'imagelinks' ) $link_ns = NS_FILE;
else if( $link_table == 'categorylinks' ) $link_ns = NS_CATEGORY;
else $link_ns = 0;

View file

@ -284,7 +284,7 @@ class SpecialSearch {
$nsAllSet = array_keys( SearchEngine::searchableNamespaces() );
if( $this->searchAdvanced )
$this->active = 'advanced';
else if( $this->namespaces === NS_IMAGE || $this->startsWithImage( $term ) )
else if( $this->namespaces === NS_FILE || $this->startsWithImage( $term ) )
$this->active = 'images';
elseif( $this->namespaces === $nsAllSet )
$this->active = 'all';
@ -450,7 +450,7 @@ class SpecialSearch {
}
// Include a thumbnail for media files...
if( $t->getNamespace() == NS_IMAGE ) {
if( $t->getNamespace() == NS_FILE ) {
$img = wfFindFile( $t );
if( $img ) {
$thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
@ -661,8 +661,8 @@ class SpecialSearch {
if( $this->active == 'images' ) {
$out .= Xml::element( 'strong', array( 'title'=>$tt ), $m );
} else {
$imageTextForm = $wgContLang->getFormattedNsText(NS_IMAGE).':'.$bareterm;
$out .= $this->makeSearchLink( $imageTextForm, array( NS_IMAGE ) , $m, $tt );
$imageTextForm = $wgContLang->getFormattedNsText(NS_FILE).':'.$bareterm;
$out .= $this->makeSearchLink( $imageTextForm, array( NS_FILE ) , $m, $tt );
}
$out .= $sep;
@ -769,7 +769,7 @@ class SpecialSearch {
$p = explode( ':', $term );
if( count( $p ) > 1 ) {
return $wgContLang->getNsIndex( $p[0] ) == NS_IMAGE;
return $wgContLang->getNsIndex( $p[0] ) == NS_FILE;
}
return false;
}
@ -1209,7 +1209,7 @@ class SpecialSearchOld {
}
// Include a thumbnail for media files...
if( $t->getNamespace() == NS_IMAGE ) {
if( $t->getNamespace() == NS_FILE ) {
$img = wfFindFile( $t );
if( $img ) {
$thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );

View file

@ -31,7 +31,7 @@ class UncategorizedImagesPage extends ImageQueryPage {
function getSQL() {
$dbr = wfGetDB( DB_SLAVE );
list( $page, $categorylinks ) = $dbr->tableNamesN( 'page', 'categorylinks' );
$ns = NS_IMAGE;
$ns = NS_FILE;
return "SELECT 'Uncategorizedimages' AS type, page_namespace AS namespace,
page_title AS title, page_title AS value

View file

@ -119,7 +119,7 @@ class PageArchive {
* @todo Does this belong in Image for fuller encapsulation?
*/
function listFiles() {
if( $this->title->getNamespace() == NS_IMAGE ) {
if( $this->title->getNamespace() == NS_FILE ) {
$dbr = wfGetDB( DB_SLAVE );
$res = $dbr->select( 'filearchive',
array(
@ -336,7 +336,7 @@ class PageArchive {
$restoreText = $restoreAll || !empty( $timestamps );
$restoreFiles = $restoreAll || !empty( $fileVersions );
if( $restoreFiles && $this->title->getNamespace() == NS_IMAGE ) {
if( $restoreFiles && $this->title->getNamespace() == NS_FILE ) {
$img = wfLocalFile( $this->title );
$this->fileStatus = $img->restore( $fileVersions, $unsuppress );
$filesRestored = $this->fileStatus->successCount;
@ -547,7 +547,7 @@ class PageArchive {
Article::onArticleEdit( $this->title );
}
if( $this->title->getNamespace() == NS_IMAGE ) {
if( $this->title->getNamespace() == NS_FILE ) {
$update = new HTMLCacheUpdate( $this->title, 'imagelinks' );
$update->doUpdate();
}

View file

@ -33,7 +33,7 @@ class UnusedimagesPage extends ImageQueryPage {
FROM ((($page AS I LEFT JOIN $categorylinks AS L ON I.page_id = L.cl_from)
LEFT JOIN $imagelinks AS P ON I.page_title = P.il_to)
INNER JOIN $image AS G ON I.page_title = G.img_name)
WHERE I.page_namespace = ".NS_IMAGE." AND L.cl_from IS NULL AND P.il_to IS NULL";
WHERE I.page_namespace = ".NS_FILE." AND L.cl_from IS NULL AND P.il_to IS NULL";
} else {
list( $image, $imagelinks ) = $dbr->tableNamesN( 'image','imagelinks' );

View file

@ -423,7 +423,7 @@ class UploadForm {
return self::MIN_LENGHT_PARTNAME;
}
$nt = Title::makeTitleSafe( NS_IMAGE, $filtered );
$nt = Title::makeTitleSafe( NS_FILE, $filtered );
if( is_null( $nt ) ) {
$resultDetails = array( 'filtered' => $filtered );
return self::ILLEGAL_FILENAME;
@ -604,7 +604,7 @@ class UploadForm {
// extensions (eg 'jpg' rather than 'JPEG').
//
// Check for another file using the normalized form...
$nt_lc = Title::makeTitle( NS_IMAGE, $partname . '.' . $file->getExtension() );
$nt_lc = Title::makeTitle( NS_FILE, $partname . '.' . $file->getExtension() );
$file_lc = wfLocalFile( $nt_lc );
} else {
$file_lc = false;
@ -731,7 +731,7 @@ class UploadForm {
public static function ajaxGetLicensePreview( $license ) {
global $wgParser, $wgUser;
$text = '{{' . $license . '}}';
$title = Title::makeTitle( NS_IMAGE, 'Sample.jpg' );
$title = Title::makeTitle( NS_FILE, 'Sample.jpg' );
$options = ParserOptions::newFromUser( $wgUser );
// Expand subst: first, then live templates...
@ -764,7 +764,7 @@ class UploadForm {
"</li>\n";
} elseif ( $archivedImage->getID() > 0 ) {
global $wgOut;
$name = Title::makeTitle( NS_IMAGE, $archivedImage->getName() )->getPrefixedText();
$name = Title::makeTitle( NS_FILE, $archivedImage->getName() )->getPrefixedText();
return Xml::tags( 'li', null, wfMsgExt( 'file-deleted-duplicate', array( 'parseinline' ), array( $name ) ) );
} else {
return '';
@ -960,7 +960,7 @@ wgUploadAutoFill = {$autofill};
}
if( $this->mDesiredDestName ) {
$title = Title::makeTitleSafe( NS_IMAGE, $this->mDesiredDestName );
$title = Title::makeTitleSafe( NS_FILE, $this->mDesiredDestName );
// Show a subtitle link to deleted revisions (to sysops et al only)
if( $title instanceof Title && ( $count = $title->isDeleted() ) > 0 && $wgUser->isAllowed( 'deletedhistory' ) ) {
$link = wfMsgExt(

View file

@ -35,11 +35,11 @@ class WantedFilesPage extends QueryPage {
"
SELECT
$name as type,
" . NS_IMAGE . " as namespace,
" . NS_FILE . " as namespace,
il_to as title,
COUNT(*) as value
FROM $imagelinks
LEFT JOIN $page ON il_to = page_title AND page_namespace = ". NS_IMAGE ."
LEFT JOIN $page ON il_to = page_title AND page_namespace = ". NS_FILE ."
WHERE page_title IS NULL
GROUP BY il_to
";

View file

@ -96,7 +96,7 @@ class WhatLinksHerePage {
$hidelinks = $this->opts->getValue( 'hidelinks' );
$hideredirs = $this->opts->getValue( 'hideredirs' );
$hidetrans = $this->opts->getValue( 'hidetrans' );
$hideimages = $target->getNamespace() != NS_IMAGE || $this->opts->getValue( 'hideimages' );
$hideimages = $target->getNamespace() != NS_FILE || $this->opts->getValue( 'hideimages' );
$fetchlinks = (!$hidelinks || !$hideredirs);
@ -397,7 +397,7 @@ class WhatLinksHerePage {
$links = array();
$types = array( 'hidetrans', 'hidelinks', 'hideredirs' );
if( $this->target->getNamespace() == NS_IMAGE )
if( $this->target->getNamespace() == NS_FILE )
$types[] = 'hideimages';
foreach( $types as $type ) {
$chosen = $this->opts->getValue( $type );

View file

@ -245,7 +245,7 @@ class KkConverter extends LanguageConverter {
*/
function autoConvert($text, $toVariant=false) {
global $wgTitle;
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_IMAGE){
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_FILE){
$imagename = $wgTitle->getNsText();
if(preg_match("/^$imagename:/",$text)) return $text;
}

View file

@ -178,7 +178,7 @@ class KuConverter extends LanguageConverter {
*/
function autoConvert($text, $toVariant=false) {
global $wgTitle;
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_IMAGE){
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_FILE){
$imagename = $wgTitle->getNsText();
if(preg_match("/^$imagename:/",$text)) return $text;
}

View file

@ -122,7 +122,7 @@ class SrConverter extends LanguageConverter {
*/
function autoConvert($text, $toVariant=false) {
global $wgTitle;
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_IMAGE){
if(is_object($wgTitle) && $wgTitle->getNameSpace()==NS_FILE){
$imagename = $wgTitle->getNsText();
if(preg_match("/^$imagename:/",$text)) return $text;
}

View file

@ -26,8 +26,8 @@ $namespaceNames = array(
NS_USER => 'Gebruiker',
NS_USER_TALK => 'Gebruikerbespreking',
NS_PROJECT_TALK => '$1bespreking',
NS_IMAGE => 'Lêer',
NS_IMAGE_TALK => 'Lêerbespreking',
NS_FILE => 'Lêer',
NS_FILE_TALK => 'Lêerbespreking',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWikibespreking',
NS_TEMPLATE => 'Sjabloon',
@ -39,8 +39,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Beeld' => NS_IMAGE,
'Beeldbespreking' => NS_IMAGE_TALK,
'Beeld' => NS_FILE,
'Beeldbespreking' => NS_FILE_TALK,
);
$specialPageAliases = array(

View file

@ -16,8 +16,8 @@ $namespaceNames = array(
NS_USER => 'አባል',
NS_USER_TALK => 'አባል_ውይይት',
NS_PROJECT_TALK => '$1_ውይይት',
NS_IMAGE => 'ስዕል',
NS_IMAGE_TALK => 'ስዕል_ውይይት',
NS_FILE => 'ስዕል',
NS_FILE_TALK => 'ስዕል_ውይይት',
NS_MEDIAWIKI => 'መልዕክት',
NS_MEDIAWIKI_TALK => 'መልዕክት_ውይይት',
NS_TEMPLATE => 'መልጠፊያ',

View file

@ -30,8 +30,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Descusión_usuario',
# NS_PROJECT set by \$wgMetaNamespace
NS_PROJECT_TALK => 'Descusión_$1',
NS_IMAGE => 'Imachen',
NS_IMAGE_TALK => 'Descusión_imachen',
NS_FILE => 'Imachen',
NS_FILE_TALK => 'Descusión_imachen',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Descusión_MediaWiki',
NS_TEMPLATE => 'Plantilla',

View file

@ -12,8 +12,8 @@
$namespaceNames = array(
NS_SPECIAL => 'Syndrig',
NS_TALK => 'Gesprec',
NS_IMAGE => 'Biliþ',
NS_IMAGE_TALK => 'Biliþgesprec',
NS_FILE => 'Biliþ',
NS_FILE_TALK => 'Biliþgesprec',
NS_TEMPLATE => 'Bysen',
NS_TEMPLATE_TALK => 'Bysengesprec',
NS_HELP => 'Help',

View file

@ -121,8 +121,8 @@ $namespaceNames = array(
NS_USER => 'مستخدم',
NS_USER_TALK => 'نقاش_المستخدم',
NS_PROJECT_TALK => 'نقاش_$1',
NS_IMAGE => 'ملف',
NS_IMAGE_TALK => 'نقاش_الملف',
NS_FILE => 'ملف',
NS_FILE_TALK => 'نقاش_الملف',
NS_MEDIAWIKI => 'ميدياويكي',
NS_MEDIAWIKI_TALK => 'نقاش_ميدياويكي',
NS_TEMPLATE => 'قالب',
@ -135,8 +135,8 @@ $namespaceNames = array(
$namespaceAliases = array(
'وسائط' => NS_MEDIA,
'صورة' => NS_IMAGE,
'نقاش_الصورة' => NS_IMAGE_TALK,
'صورة' => NS_FILE,
'نقاش_الصورة' => NS_FILE_TALK,
);
$skinNames = array(

View file

@ -19,8 +19,8 @@ $namespaceNames = array(
NS_USER => 'مستخدم',
NS_USER_TALK => 'نقاش_المستخدم',
NS_PROJECT_TALK => 'نقاش_$1',
NS_IMAGE => 'ملف',
NS_IMAGE_TALK => 'نقاش_الملف',
NS_FILE => 'ملف',
NS_FILE_TALK => 'نقاش_الملف',
NS_MEDIAWIKI => 'ميدياويكى',
NS_MEDIAWIKI_TALK => 'نقاش_ميدياويكى',
NS_TEMPLATE => 'قالب',
@ -33,8 +33,8 @@ $namespaceNames = array(
$namespaceAliases = array(
'وسائط' => NS_MEDIA,
'صورة' => NS_IMAGE,
'نقاش_الصورة' => NS_IMAGE_TALK,
'صورة' => NS_FILE,
'نقاش_الصورة' => NS_FILE_TALK,
);
$skinNames = array(

View file

@ -20,8 +20,8 @@ $namespaceNames = array(
NS_USER => 'সদস্য',
NS_USER_TALK => 'সদস্য বার্তা',
NS_PROJECT_TALK => '$1 বার্তা',
NS_IMAGE => 'চিত্র',
NS_IMAGE_TALK => 'চিত্র বার্তা',
NS_FILE => 'চিত্র',
NS_FILE_TALK => 'চিত্র বার্তা',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki বার্তা',
NS_TEMPLATE => 'সাঁচ',
@ -38,8 +38,8 @@ $namespaceAliases = array(
'सदस्य' => NS_USER,
'सदस्य_वार्ता' => NS_USER_TALK,
'$1_वार्ता' => NS_PROJECT_TALK,
'चित्र' => NS_IMAGE,
'चित्र_वार्ता' => NS_IMAGE_TALK,
'चित्र' => NS_FILE,
'चित्र_वार्ता' => NS_FILE_TALK,
'साँचा' => NS_TEMPLATE,
'साँचा_वार्ता' => NS_TEMPLATE_TALK,
'श्रेणी' => NS_CATEGORY,

View file

@ -17,8 +17,8 @@ $namespaceNames = array(
NS_USER => 'Usuariu',
NS_USER_TALK => 'Usuariu_alderique',
NS_PROJECT_TALK => '$1_alderique',
NS_IMAGE => 'Archivu',
NS_IMAGE_TALK => 'Archivu_alderique',
NS_FILE => 'Archivu',
NS_FILE_TALK => 'Archivu_alderique',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_alderique',
NS_TEMPLATE => 'Plantía',
@ -30,16 +30,16 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Imaxe' => NS_IMAGE,
'Imaxe alderique' => NS_IMAGE_TALK,
'Imaxe' => NS_FILE,
'Imaxe alderique' => NS_FILE_TALK,
);
$namespaceAliases = array(
'Discusión' => NS_TALK,
'Usuariu_discusión' => NS_USER_TALK,
'$1_discusión' => NS_PROJECT_TALK,
'Imaxen' => NS_IMAGE,
'Imaxen_discusión' => NS_IMAGE_TALK,
'Imaxen' => NS_FILE,
'Imaxen_discusión' => NS_FILE_TALK,
'MediaWiki_discusión' => NS_MEDIAWIKI_TALK,
'Plantilla' => NS_TEMPLATE,
'Plantilla_discusión' => NS_TEMPLATE_TALK,

View file

@ -16,8 +16,8 @@ $namespaceNames = array(
NS_USER => 'Favesik',
NS_USER_TALK => 'Favesikprilara',
NS_PROJECT_TALK => '$1 prilara',
NS_IMAGE => 'Ewava',
NS_IMAGE_TALK => 'Ewavaprilara',
NS_FILE => 'Ewava',
NS_FILE_TALK => 'Ewavaprilara',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki prilara',
NS_TEMPLATE => 'Teza',

View file

@ -18,8 +18,8 @@ $namespaceNames = array(
NS_USER_TALK => 'İstifadəçi_müzakirəsi',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_müzakirəsi',
NS_IMAGE => 'Şəkil',
NS_IMAGE_TALK => 'Şəkil_müzakirəsi',
NS_FILE => 'Şəkil',
NS_FILE_TALK => 'Şəkil_müzakirəsi',
NS_MEDIAWIKI => 'MediyaViki',
NS_MEDIAWIKI_TALK => 'MediyaViki_müzakirəsi',
NS_TEMPLATE => 'Şablon',

View file

@ -18,8 +18,8 @@ $namespaceNames = array(
NS_USER_TALK => атнашыусы_м-н_фекер_алышыу',
#NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_б-саекер_алышыу',
NS_IMAGE => 'Рәсем',
NS_IMAGE_TALK => 'Рәсем_б-саекер_алышыу',
NS_FILE => 'Рәсем',
NS_FILE_TALK => 'Рәсем_б-саекер_алышыу',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_б-саекер_алышыу',
NS_TEMPLATE => 'Ҡалып',

View file

@ -19,8 +19,8 @@ $namespaceNames = array(
NS_USER => 'Nauduotuos',
NS_USER_TALK => 'Nauduotuojė_aptarėms',
NS_PROJECT_TALK => '$1_aptarėms',
NS_IMAGE => 'Abruozdielis',
NS_IMAGE_TALK => 'Abruozdielė_aptarėms',
NS_FILE => 'Abruozdielis',
NS_FILE_TALK => 'Abruozdielė_aptarėms',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_aptarėms',
NS_TEMPLATE => 'Šabluons',
@ -41,8 +41,8 @@ $namespaceAliases = array(
'Naudotojas' => NS_USER,
'Naudotojo_aptarimas' => NS_USER_TALK,
'$1_aptarimas' => NS_PROJECT_TALK,
'Vaizdas' => NS_IMAGE,
'Vaizdo_aptarimas' => NS_IMAGE_TALK,
'Vaizdas' => NS_FILE,
'Vaizdo_aptarimas' => NS_FILE_TALK,
'MediaWiki_aptarimas' => NS_MEDIAWIKI_TALK,
'Šablonas' => NS_TEMPLATE,
'Šablono_aptarimas' => NS_TEMPLATE_TALK,

View file

@ -27,8 +27,8 @@ $namespaceNames = array(
NS_USER => 'کاربر',
NS_USER_TALK => 'گپ_کاربر',
NS_PROJECT_TALK => 'گپ_$1',
NS_IMAGE => 'عکس',
NS_IMAGE_TALK => 'گپ_عکس',
NS_FILE => 'عکس',
NS_FILE_TALK => 'گپ_عکس',
NS_MEDIAWIKI => 'مدیاویکی',
NS_MEDIAWIKI_TALK => 'گپ_مدیاویکی',
NS_TEMPLATE => 'تمپلت',
@ -46,8 +46,8 @@ $namespaceAliases = array(
'کاربر' => NS_USER,
'بحث_کاربر' => NS_USER_TALK,
'بحث_$1' => NS_PROJECT_TALK,
'تصویر' => NS_IMAGE,
'بحث_تصویر' => NS_IMAGE_TALK,
'تصویر' => NS_FILE,
'بحث_تصویر' => NS_FILE_TALK,
'مدیاویکی' => NS_MEDIAWIKI,
'بحث_مدیاویکی' => NS_MEDIAWIKI_TALK,
'الگو' => NS_TEMPLATE,

View file

@ -22,8 +22,8 @@ $namespaceNames = array(
NS_USER => 'Paragamit',
NS_USER_TALK => 'Olay_kan_paragamit',
NS_PROJECT_TALK => 'Olay_sa_$1',
NS_IMAGE => 'Ladawan',
NS_IMAGE_TALK => 'Olay_sa_ladawan',
NS_FILE => 'Ladawan',
NS_FILE_TALK => 'Olay_sa_ladawan',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Olay_sa_MediaWiki',
NS_TEMPLATE => 'Plantilya',

View file

@ -47,8 +47,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Размовы_з_удзельнікам',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_размовы',
NS_IMAGE => 'Выява',
NS_IMAGE_TALK => 'Размовы_пра_выяву',
NS_FILE => 'Выява',
NS_FILE_TALK => 'Размовы_пра_выяву',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Размовы_пра_MediaWiki',
NS_TEMPLATE => 'Шаблон',

View file

@ -160,8 +160,8 @@ $namespaceNames = array(
NS_USER => 'Удзельнік',
NS_USER_TALK => утаркі_ўдзельніка',
NS_PROJECT_TALK => 'Абмеркаваньне_$1',
NS_IMAGE => 'Файл',
NS_IMAGE_TALK => 'Абмеркаваньнеайла',
NS_FILE => 'Файл',
NS_FILE_TALK => 'Абмеркаваньнеайла',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Абмеркаваньне_MediaWiki',
NS_TEMPLATE => 'Шаблён',
@ -175,8 +175,8 @@ $namespaceNames = array(
$namespaceAliases = array(
'Удзельніца' => NS_USER,
'Гутаркі ўдзельніцы' => NS_USER_TALK,
'Выява' => NS_IMAGE,
'Абмеркаваньне выявы' => NS_IMAGE_TALK,
'Выява' => NS_FILE,
'Абмеркаваньне выявы' => NS_FILE_TALK,
);
$specialPageAliases = array(

View file

@ -23,8 +23,8 @@ $namespaceNames = array(
NS_USER => 'Потребител',
NS_USER_TALK => отребител_беседа',
NS_PROJECT_TALK => '$1_беседа',
NS_IMAGE => 'Файл',
NS_IMAGE_TALK => айл_беседа',
NS_FILE => 'Файл',
NS_FILE_TALK => айл_беседа',
NS_MEDIAWIKI => 'МедияУики',
NS_MEDIAWIKI_TALK => 'МедияУики_беседа',
NS_TEMPLATE => 'Шаблон',
@ -36,8 +36,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Картинка' => NS_IMAGE,
'Картинка беседа' => NS_IMAGE_TALK,
'Картинка' => NS_FILE,
'Картинка беседа' => NS_FILE_TALK,
);
$skinNames = array(

View file

@ -16,8 +16,8 @@ $namespaceNames = array(
NS_USER => 'ব্যবহারকারী',
NS_USER_TALK => 'ব্যবহারকারী_আলাপ',
NS_PROJECT_TALK => '$1_আলোচনা',
NS_IMAGE => 'চিত্র',
NS_IMAGE_TALK => 'চিত্র_আলোচনা',
NS_FILE => 'চিত্র',
NS_FILE_TALK => 'চিত্র_আলোচনা',
NS_MEDIAWIKI => 'মিডিয়াউইকি',
NS_MEDIAWIKI_TALK => 'মিডিয়াউইকি_আলোচনা',
NS_TEMPLATE => 'টেমপ্লেট',
@ -30,8 +30,8 @@ $namespaceNames = array(
$namespaceAliases = array(
'$1_আলাপ' => NS_PROJECT_TALK,
'চিত্র_আলাপ' => NS_IMAGE_TALK,
'MediaWiki_আলাপ' => NS_IMAGE_TALK,
'চিত্র_আলাপ' => NS_FILE_TALK,
'MediaWiki_আলাপ' => NS_FILE_TALK,
);
$datePreferences = false;

View file

@ -32,8 +32,8 @@ $namespaceNames = array(
NS_USER_TALK => 'আতাকুরার_য়্যারী',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_য়্যারী',
NS_IMAGE => 'ছবি',
NS_IMAGE_TALK => 'ছবি_য়্যারী',
NS_FILE => 'ছবি',
NS_FILE_TALK => 'ছবি_য়্যারী',
NS_MEDIAWIKI => 'মিডিয়াউইকি',
NS_MEDIAWIKI_TALK => 'মিডিয়াউইকির_য়্যারী',
NS_TEMPLATE => 'মডেল',

View file

@ -17,8 +17,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Kaozeadenn_Implijer',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => 'Kaozeadenn_$1',
NS_IMAGE => 'Skeudenn',
NS_IMAGE_TALK => 'Kaozeadenn_Skeudenn',
NS_FILE => 'Skeudenn',
NS_FILE_TALK => 'Kaozeadenn_Skeudenn',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Kaozeadenn_MediaWiki',
NS_TEMPLATE => 'Patrom',

View file

@ -19,8 +19,8 @@ $namespaceNames = array(
NS_USER => 'Korisnik',
NS_USER_TALK => 'Razgovor_sa_korisnikom',
NS_PROJECT_TALK => 'Razgovor_{{grammar:instrumental|$1}}',
NS_IMAGE => 'Datoteka',
NS_IMAGE_TALK => 'Razgovor_o_datoteci',
NS_FILE => 'Datoteka',
NS_FILE_TALK => 'Razgovor_o_datoteci',
NS_MEDIAWIKI => 'MedijaViki',
NS_MEDIAWIKI_TALK => 'Razgovor_o_MedijaVikiju',
NS_TEMPLATE => 'Šablon',
@ -32,8 +32,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Slika' => NS_IMAGE,
'Razgovor_o_datoteci' => NS_IMAGE_TALK,
'Slika' => NS_FILE,
'Razgovor_o_datoteci' => NS_FILE_TALK,
);
$skinNames = array(

View file

@ -40,8 +40,8 @@ $namespaceNames = array(
NS_USER => 'Usuari',
NS_USER_TALK => 'Usuari_Discussió',
NS_PROJECT_TALK => '$1_Discussió',
NS_IMAGE => 'Fitxer',
NS_IMAGE_TALK => 'Fitxer_Discussió',
NS_FILE => 'Fitxer',
NS_FILE_TALK => 'Fitxer_Discussió',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_Discussió',
NS_TEMPLATE => 'Plantilla',
@ -53,8 +53,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Imatge' => NS_IMAGE,
'Imatge_Discussió' => NS_IMAGE_TALK,
'Imatge' => NS_FILE,
'Imatge_Discussió' => NS_FILE_TALK,
);
$separatorTransformTable = array(',' => '.', '.' => ',' );

View file

@ -18,8 +18,8 @@ $namespaceNames = array(
NS_USER => 'Юзер',
NS_USER_TALK => 'Юзери_дийца',
NS_PROJECT_TALK => '$1_Дийца',
NS_IMAGE => 'Сурт',
NS_IMAGE_TALK => 'Сурти_дийца',
NS_FILE => 'Сурт',
NS_FILE_TALK => 'Сурти_дийца',
NS_MEDIAWIKI => 'МедйаВики',
NS_MEDIAWIKI_TALK => 'МедйаВики_дийца',
NS_TEMPLATE => 'Дакъа',

View file

@ -17,8 +17,8 @@ $namespaceNames = array(
NS_USER => 'Gumagamit',
NS_USER_TALK => 'Hisgot_sa_Gumagamit',
NS_PROJECT_TALK => 'Hisgot_sa$1',
NS_IMAGE => 'Imahen',
NS_IMAGE_TALK => 'Hisgot_sa_Imahen',
NS_FILE => 'Imahen',
NS_FILE_TALK => 'Hisgot_sa_Imahen',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Hisgot_sa_MediaWiki',
NS_TEMPLATE => 'Plantilya',

View file

@ -16,8 +16,8 @@ $namespaceNames = array(
NS_USER => 'Muna\'sesetbi',
NS_USER_TALK => 'Kombetsasion_ni_muna\'sesetbi',
NS_PROJECT_TALK => 'Kombetsasion_nu_$1',
NS_IMAGE => 'Litratu',
NS_IMAGE_TALK => 'Kombetsasion_ni_litratu',
NS_FILE => 'Litratu',
NS_FILE_TALK => 'Kombetsasion_ni_litratu',
NS_HELP => 'Ayudo',
NS_HELP_TALK => 'Kombetsasion_ni_ayudo',
NS_CATEGORY => 'Katigoria',

View file

@ -26,8 +26,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Къулланыджы_музакереси',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_музакереси',
NS_IMAGE => 'Ресим',
NS_IMAGE_TALK => 'Ресим_музакереси',
NS_FILE => 'Ресим',
NS_FILE_TALK => 'Ресим_музакереси',
NS_MEDIAWIKI => 'МедиаВики',
NS_MEDIAWIKI_TALK => 'МедиаВики_музакереси',
NS_TEMPLATE => 'Шаблон',
@ -46,8 +46,8 @@ $namespaceAliases = array(
"Qullanıcı" => NS_USER,
"Qullanıcı_muzakeresi" => NS_USER_TALK,
"$1_muzakeresi" => NS_PROJECT_TALK,
"Resim" => NS_IMAGE,
"Resim_muzakeresi" => NS_IMAGE_TALK,
"Resim" => NS_FILE,
"Resim_muzakeresi" => NS_FILE_TALK,
"MediaViki" => NS_MEDIAWIKI,
"MediaViki_muzakeresi" => NS_MEDIAWIKI_TALK,
'Şablon' => NS_TEMPLATE,

View file

@ -22,8 +22,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Qullanıcı_muzakeresi',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_muzakeresi',
NS_IMAGE => 'Resim',
NS_IMAGE_TALK => 'Resim_muzakeresi',
NS_FILE => 'Resim',
NS_FILE_TALK => 'Resim_muzakeresi',
NS_MEDIAWIKI => 'MediaViki',
NS_MEDIAWIKI_TALK => 'MediaViki_muzakeresi',
NS_TEMPLATE => 'Şablon',
@ -42,8 +42,8 @@ $namespaceAliases = array(
"Къулланыджы" => NS_USER,
"Къулланыджы_музакереси" => NS_USER_TALK,
"$1_музакереси" => NS_PROJECT_TALK,
"Ресим" => NS_IMAGE,
"Ресим_музакереси" => NS_IMAGE_TALK,
"Ресим" => NS_FILE,
"Ресим_музакереси" => NS_FILE_TALK,
"МедиаВики" => NS_MEDIAWIKI,
"МедиаВики_музакереси" => NS_MEDIAWIKI_TALK,
'Шаблон' => NS_TEMPLATE,

View file

@ -27,8 +27,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Uživatel_diskuse',
# NS_PROJECT set by \$wgMetaNamespace
NS_PROJECT_TALK => '$1_diskuse',
NS_IMAGE => 'Soubor',
NS_IMAGE_TALK => 'Soubor_diskuse',
NS_FILE => 'Soubor',
NS_FILE_TALK => 'Soubor_diskuse',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_diskuse',
NS_TEMPLATE => 'Šablona',

View file

@ -18,8 +18,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Diskùsëjô_brëkòwnika',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => 'Diskùsëjô_$1',
NS_IMAGE => 'Òbrôzk',
NS_IMAGE_TALK => 'Diskùsëjô_òbrôzków',
NS_FILE => 'Òbrôzk',
NS_FILE_TALK => 'Diskùsëjô_òbrôzków',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'Diskùsëjô_MediaWiki',
NS_TEMPLATE => 'Szablóna',

View file

@ -23,8 +23,8 @@ $namespaceNames = array(
NS_USER => 'По́льꙃєватєл҄ь',
NS_USER_TALK => о́льꙃєватєлꙗ_бєсѣ́да',
NS_PROJECT_TALK => '{{grammar:genitive|$1}}_бєсѣ́да',
NS_IMAGE => 'Дѣ́ло',
NS_IMAGE_TALK => 'Дѣ́ла_бєсѣ́да',
NS_FILE => 'Дѣ́ло',
NS_FILE_TALK => 'Дѣ́ла_бєсѣ́да',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_бєсѣ́да',
NS_TEMPLATE => 'Обраꙁь́ць',
@ -42,10 +42,10 @@ $namespaceAliases = array(
'Польѕевател҄ь' => NS_USER,
'Польѕевател_бесѣда' => NS_USER_TALK,
'{{grammar:genitive|$1}}_бесѣда' => NS_PROJECT_TALK,
'Ви́дъ' => NS_IMAGE,
'Видъ' => NS_IMAGE,
'Ви́да_бєсѣ́да' => NS_IMAGE_TALK,
'Вида_бесѣда' => NS_IMAGE_TALK,
'Ви́дъ' => NS_FILE,
'Видъ' => NS_FILE,
'Ви́да_бєсѣ́да' => NS_FILE_TALK,
'Вида_бесѣда' => NS_FILE_TALK,
'MediaWiki_бесѣда' => NS_MEDIAWIKI_TALK,
'Образьць' => NS_TEMPLATE,
'Образьца_бесѣда' => NS_TEMPLATE_TALK,

View file

@ -22,8 +22,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Хутшăнаканăн_канашлу_страници',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_сӳтсе_явмалли',
NS_IMAGE => 'Ӳкерчĕк',
NS_IMAGE_TALK => 'Ӳкерчĕке_сӳтсе_явмалли',
NS_FILE => 'Ӳкерчĕк',
NS_FILE_TALK => 'Ӳкерчĕке_сӳтсе_явмалли',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_сӳтсе_явмалли',
NS_TEMPLATE => 'Шаблон',

View file

@ -19,8 +19,8 @@ $namespaceNames = array(
NS_USER_TALK => "Sgwrs_Defnyddiwr",
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => "Sgwrs_$1",
NS_IMAGE => "Delwedd",
NS_IMAGE_TALK => "Sgwrs_Delwedd",
NS_FILE => "Delwedd",
NS_FILE_TALK => "Sgwrs_Delwedd",
NS_MEDIAWIKI => "MediaWici",
NS_MEDIAWIKI_TALK => "Sgwrs_MediaWici",
NS_TEMPLATE => "Nodyn",

View file

@ -28,8 +28,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Brugerdiskussion',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1-diskussion',
NS_IMAGE => 'Billede',
NS_IMAGE_TALK => 'Billeddiskussion',
NS_FILE => 'Billede',
NS_FILE_TALK => 'Billeddiskussion',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki-diskussion',
NS_TEMPLATE => 'Skabelon',

View file

@ -32,8 +32,8 @@ $namespaceNames = array(
NS_USER => 'Benutzer',
NS_USER_TALK => 'Benutzer_Diskussion',
NS_PROJECT_TALK => '$1_Diskussion',
NS_IMAGE => 'Datei',
NS_IMAGE_TALK => 'Datei_Diskussion',
NS_FILE => 'Datei',
NS_FILE_TALK => 'Datei_Diskussion',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_Diskussion',
NS_TEMPLATE => 'Vorlage',
@ -45,8 +45,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Bild' => NS_IMAGE,
'Bild_Diskussion' => NS_IMAGE_TALK,
'Bild' => NS_FILE,
'Bild_Diskussion' => NS_FILE_TALK,
);
$skinNames = array(

View file

@ -34,8 +34,8 @@ $namespaceNames = array(
NS_USER => 'Wužywaŕ',
NS_USER_TALK => 'Diskusija_wužywarja',
NS_PROJECT_TALK => '$1 diskusija',
NS_IMAGE => 'Dataja',
NS_IMAGE_TALK => 'Diskusija wó dataji',
NS_FILE => 'Dataja',
NS_FILE_TALK => 'Diskusija wó dataji',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_diskusija',
NS_TEMPLATE => 'Pśedłoga',
@ -47,8 +47,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Wobraz' => NS_IMAGE,
'Diskusija_wó_wobrazu' => NS_IMAGE_TALK,
'Wobraz' => NS_FILE,
'Diskusija_wó_wobrazu' => NS_FILE_TALK,
);
$datePreferences = array(

View file

@ -53,8 +53,8 @@ $namespaceNames = array(
NS_USER => 'Χρήστης',
NS_USER_TALK => υζήτηση_χρήστη',
NS_PROJECT_TALK => '$1_συζήτηση',
NS_IMAGE => 'Εικόνα',
NS_IMAGE_TALK => υζήτηση_εικόνας',
NS_FILE => 'Εικόνα',
NS_FILE_TALK => υζήτηση_εικόνας',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => υζήτηση_MediaWiki',
NS_TEMPLATE => 'Πρότυπο',

View file

@ -86,8 +86,8 @@ $namespaceNames = array(
NS_USER_TALK => 'User_talk',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_talk',
NS_IMAGE => 'File',
NS_IMAGE_TALK => 'File_talk',
NS_FILE => 'File',
NS_FILE_TALK => 'File_talk',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
NS_TEMPLATE => 'Template',

View file

@ -24,8 +24,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Vikipediista_diskuto',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_diskuto',
NS_IMAGE => 'Dosiero', #FIXME: Check the magic for Image: and Media:
NS_IMAGE_TALK => 'Dosiera_diskuto',
NS_FILE => 'Dosiero', #FIXME: Check the magic for Image: and Media:
NS_FILE_TALK => 'Dosiera_diskuto',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_diskuto',
NS_TEMPLATE => 'Ŝablono',

View file

@ -51,8 +51,8 @@ $namespaceNames = array(
NS_USER => 'Usuario',
NS_USER_TALK => 'Usuario_Discusión',
NS_PROJECT_TALK => '$1_Discusión',
NS_IMAGE => 'Archivo',
NS_IMAGE_TALK => 'Archivo_Discusión',
NS_FILE => 'Archivo',
NS_FILE_TALK => 'Archivo_Discusión',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_Discusión',
NS_TEMPLATE => 'Plantilla',
@ -64,8 +64,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Imagen' => NS_IMAGE,
'Imagen_Discusión' => NS_IMAGE_TALK,
'Imagen' => NS_FILE,
'Imagen_Discusión' => NS_FILE_TALK,
);
$specialPageAliases = array(

View file

@ -21,8 +21,8 @@ $namespaceNames = array(
NS_USER_TALK => 'Kasutaja_arutelu',
# NS_PROJECT set by $wgMetaNamespace
NS_PROJECT_TALK => '$1_arutelu',
NS_IMAGE => 'Pilt',
NS_IMAGE_TALK => 'Pildi_arutelu',
NS_FILE => 'Pilt',
NS_FILE_TALK => 'Pildi_arutelu',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_arutelu',
NS_TEMPLATE => 'Mall',

View file

@ -27,8 +27,8 @@ $namespaceNames = array(
NS_USER => 'Lankide',
NS_USER_TALK => 'Lankide_eztabaida',
NS_PROJECT_TALK => '$1_eztabaida',
NS_IMAGE => 'Fitxategi',
NS_IMAGE_TALK => 'Fitxategi_eztabaida',
NS_FILE => 'Fitxategi',
NS_FILE_TALK => 'Fitxategi_eztabaida',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_eztabaida',
NS_TEMPLATE => 'Txantiloi',
@ -41,8 +41,8 @@ $namespaceNames = array(
$namespaceAliases = array(
'Aparteko' => NS_SPECIAL,
'Irudi' => NS_IMAGE,
'Irudi_eztabaida' => NS_IMAGE_TALK,
'Irudi' => NS_FILE,
'Irudi_eztabaida' => NS_FILE_TALK,
);
$specialPageAliases = array(

View file

@ -31,8 +31,8 @@ $namespaceNames = array(
NS_USER => 'کاربر',
NS_USER_TALK => 'بحث_کاربر',
NS_PROJECT_TALK => 'بحث_$1',
NS_IMAGE => 'پرونده',
NS_IMAGE_TALK => 'بحث_پرونده',
NS_FILE => 'پرونده',
NS_FILE_TALK => 'بحث_پرونده',
NS_MEDIAWIKI => 'مدیاویکی',
NS_MEDIAWIKI_TALK => 'بحث_مدیاویکی',
NS_TEMPLATE => 'الگو',
@ -44,8 +44,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'تصویر' => NS_IMAGE,
'بحث_تصویر' => NS_IMAGE_TALK,
'تصویر' => NS_FILE,
'بحث_تصویر' => NS_FILE_TALK,
);
$specialPageAliases = array(

View file

@ -24,8 +24,8 @@ $namespaceNames = array(
NS_USER => 'Käyttäjä',
NS_USER_TALK => 'Keskustelu_käyttäjästä',
NS_PROJECT_TALK => 'Keskustelu_{{GRAMMAR:elative|$1}}',
NS_IMAGE => 'Tiedosto',
NS_IMAGE_TALK => 'Keskustelu_tiedostosta',
NS_FILE => 'Tiedosto',
NS_FILE_TALK => 'Keskustelu_tiedostosta',
NS_MEDIAWIKI => 'Järjestelmäviesti',
NS_MEDIAWIKI_TALK => 'Keskustelu_järjestelmäviestistä',
NS_TEMPLATE => 'Malline',
@ -37,8 +37,8 @@ $namespaceNames = array(
);
$namespaceAliases = array(
'Kuva' => NS_IMAGE,
'Keskustelu_kuvasta' => NS_IMAGE_TALK,
'Kuva' => NS_FILE,
'Keskustelu_kuvasta' => NS_FILE_TALK,
);
$skinNames = array(

Some files were not shown because too many files have changed in this diff Show more