[Mediawiki-l] Changing the "System"-Content of the File Pages

Irene Müller irene.mueller at unibas.ch
Wed Dec 2 17:04:43 UTC 2009


Hi all,

I'd like to change the Texts on the "File-Pages". In fact, I'd like not 
to show most of it, like Versions and Metadata.

Does anyone know how to do this? Because we have several Wikis on the 
same Mediawiki-Installation, it should be done on the skin-Level...

I can do the following:
- Not show the table of contents by the following in the css
				ul#filetoc {
                                         text-align: center;
                                         border: 1px solid #aaaaaa;
                                         background-color: #f9f9f9;
                                         padding: 5px;
                                         font-size: 95%;
                                         margin-bottom: 0.5em;
                                         margin-left: 0;
                                         margin-right: 0;
                                 }
                                 #filetoc li {
                                         display: inline;
                                         list-style-type: none;
                                         padding-right: 2em;
                                 }
- Tried to do the same for Metadata and Versions
  		#metadata, .metadata, #mw_metadata, .mw_metadata {
                 	             display: none;
                  		}
                                 #filehistory, .filehistory {
                                         display: none;
                                 }
But there is only the title in the "div"-s metadata and filehistory - 
therefore, some things vanish, other don't.

- There is also a possibility to change Systemmessages on the page 
"Spezial:MediaWiki-Systemmessages" (histlast, histfirst, 
uploadnewversion-linktext etc.), but I dont want to change a 
Systemmessage for metadata to show text about the copyright for example...

Thanks a lot for your help,
Irene






More information about the MediaWiki-l mailing list