“FAQ”的版本间差异

来自广财百科
跳到导航 跳到搜索
Ypy讨论 | 贡献
 
(未显示2个用户的38个中间版本)
第1行: 第1行:
<languages />
==数据库使用== <!--T:1-->
{{FAQ header}}
===在校内,中国知网打不开,是不是服务器坏了?该怎么办?=== <!--T:2-->
{{-}}
<!--T:3-->
{{shortcut|FAQ}}
先说结论:中国知网作为国内第一大的数据商,有非常多的客户,在不同区域部署了非常多的服务器。所以从概率上判断,我们第一时间不是去怀疑它的服务器坏了,正如我们上不了百度,我们不会说百度服务器坏了一样。
<translate>
排除故障,我们可以从以下步骤去考虑:
==The basics== <!--T:1-->
* 浏览器是否正常?换个浏览器试试。
* 电脑是否正常?其他网站,比如:baidu.com和图书馆其他的资源是否能够打开?隔壁同学的电脑能否正常打开?
* 校园网是否正常?使用手机流量打开[http://cnki.net CNKI.NET]试试。如果可以,有可能是校园网络异常。可以致电网络信息中心报告故障:(广州)020-84096450 (佛山)0757-87828200 进行报修。<br/>详情请参考[https://xxb.gdufe.edu.cn/2018/0202/c4440a88978/page.htm 网络信息中心网站]。
* 如果手机流量同样不能打开,而且你周围的人跟你一样结果,此时谨慎地怀疑可能知网片区的服务器真出问题了。可以致电知网客服:400-810-9888。


===What are the differences between MediaWiki, Wikimedia, Wikipedia and wiki?=== <!--T:2-->


===校内使用图书馆数据库下载论文时,页面弹出“贵单位没有订购该产品”,是什么原因?=== <!--T:2-->
<!--T:3-->
由于学校购买数据库的经费有限,所以根据学科配置及不重复购买的原则,仅购买了某些数据库的某些资源,例如学校没有开设的工科、医学等专业的论文是没有购买的,所以当无法下载部分资源时,页面会出现“贵单位没有订购该产品”的提示。
===北大法宝有些权限无法使用。=== <!--T:2-->
<!--T:3-->
<!--T:3-->
This is a common question; please see <tvar|1>{{ll|Differences between Wikipedia, Wikimedia, MediaWiki, and wiki}}</> for a detailed answer.
由于学校购买数据库的经费有限,所以根据学科配置及不重复购买的原则,仅购买了某些数据库的某些资源。图书馆目前只订购了北大法宝的法律法规、司法案例、中国法律英文译本、司法考试系统四个产品。其他的期刊类没有订购,所以显示有些权限无法使用。


=== I want to use a MediaWiki instance to (blank). Am I allowed to? === <!--T:4-->
</translate>
<translate><!--T:5--> MediaWiki is free software: this means that you may use it for any purpose without legal hindrance.</translate>
<translate><!--T:6--> Furthermore, its licensing conditions apply solely to the software itself.</translate>
<translate><!--T:7--> This means that although many wikis license their content under a permissive license, you are not obliged to license the content submitted to your wiki in any particular way.</translate>
<translate><!--T:8--> Of course, as a project founded to support sites like Wikipedia, we encourage you to license the texts you write under a free license, but, in short, you are not required to.</translate>


<translate><!--T:9--> If you wish to alter or amend the software itself, in general, you are permitted to, but there are some restrictions and you should consult [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html the full text of the GNU GPL version 2 for details].</translate>  
==图书借阅== <!--T:11-->
<translate><!--T:10--> Because MediaWiki is provided free of charge, there is no warranty, to the extent permitted by applicable law.</translate>
===怎样借密集书库的书籍?=== <!--T:12-->
<!--T:3-->
* 广州校区:<!--T:1-->
馆藏检索后,确认该书馆藏地为“广州校区密集书库”,状态为“可借”,到二楼服务台填写“密集书库索书单”(注意:填写索书单前确认本人没有超期图书);


{{anchor|installation|Installation_and_configuration}}
关注微信“广东财经大学图书馆服务号(gdufelib)”并绑定个人校园卡(服务门户——绑定证件);接到“图书馆借书成功通知”后凭一卡通到二楼服务台借书(若7天内未取,书将退回密集书库)。
<translate>
==Installation and configuration== <!--T:11-->


===Where do I download MediaWiki?=== <!--T:12-->
* 佛山校区:
</translate>
<translate><!--T:13--> [[<tvar|1>Special:MyLanguage/Download</>|Click here to download the latest stable release of MediaWiki.]] Files are supplied in a [[:en:Tar (computing)|.tar]][[:en:gzip|.gz]] archive.</translate>
<translate><!--T:14--> MediaWiki can also be [[<tvar|1>Special:MyLanguage/Download from Git</>|obtained directly from our Git]] repository.</translate>


<translate>
馆藏检索后,确认该书馆藏地为“佛山校区密集书库”,状态为“可借”,记下特藏码;将特藏码交到一楼密集书库老师处,并在门口等候;
===How to install MediaWiki?=== <!--T:15-->
</translate>
<translate><!--T:16--> Installing MediaWiki takes around 10 to 30 minutes, and involves uploading/copying files, and running the installer script to configure the software.</translate> 
<translate><!--T:17--> See <tvar|1>{{ll|Manual:Installation guide}}</>, where you will also find the ''minimum system requirements''.</translate>


<translate>
取书后到二楼服务台办理借书手续。密集书库开放时间为周一至周日14:00-21:30。
===How do I install MediaWiki using a package?=== <!--T:18-->
</translate>
<translate><!--T:19--> Many Linux distributions provide MediaWiki in a packaged format for that distribution.</translate>
<translate><!--T:20--> The MediaWiki development team refers you to your Linux distribution for assistance with installing, configuring or using them.</translate>
<translate><!--T:21--> The individual communities and companies who maintain such packages should provide installation instructions.</translate>


<translate><!--T:22--> Be warned that third-party distributions may be older versions, so pay close attention to compatibility information for directions and extensions.</translate>


:''<translate><!--T:664--> See also:</translate> {{ll|Software bundles}}''
==系统问题== <!--T:11-->
===忘记密码怎么办?=== <!--T:12-->
<!--T:3-->
* 情形一:“我什么都忘记了”<br/>我的图书馆密码,如果已经登记邮箱,可以通过系统[http://opac.library.gdufe.edu.cn/reader/get_pwd.php 自助取回];否则需要本人持校园卡到图书馆服务台进行修改。
* 情形二:“我还记得信息门户密码”<br/>信息门户已经跟图书馆系统做了单点登陆整合,您可以通过登陆[http://my.gdufe.edu.cn 信息门户],然后在右边快速登陆里找到“图书馆”系统,通过简单点击即可无需输入账户密码使用“我的图书馆”;当然,您成功登陆后,还可以通过“我的图书馆”添加个人邮箱,然后自助取回“我的图书馆”密码。更多详情可以参考'''[[密码]]'''页面。<br/>


<translate>
==网络问题== <!--T:11-->
===Can I install more than one wiki on a server using MediaWiki?=== <!--T:24-->
===GDUFE WIFI 不能用怎么办?=== <!--T:12-->
<!--T:3-->
GDUFE WIFI网络由学校网络信息中心提供,可以致电:<br/>(广州)020-84096450 <br/>(佛山)0757-87828200 进行报修。<br/>详情请参考[https://xxb.gdufe.edu.cn/2018/0202/c4440a88978/page.htm 网络信息中心网站]。


<!--T:25-->
===WIFI 账号密码是多少?=== <!--T:12-->
It is possible to install more than one wiki on a server provided that:
<!--T:3-->
GDUFE WIFI 服务由学校网络信息中心提供。学生用户需要是校园网缴费用户,与宿舍上网账号密码一致;教工用户,可以持校园卡到网络信息中心请求开通免费账户。 详情可以致电:<br/>(广州)020-84096450 <br/>(佛山)0757-87828200 进行咨询。<br/>或者参考[https://xxb.gdufe.edu.cn/2018/0202/c4442a88976/page.htm 校园网办理指南]。


<!--T:693-->
===VPN 不能用,怎么办?=== <!--T:12-->
*You install multiple instances of MediaWiki (such as with a [[software bundles#MediaWiki pre-integrated with AMP packages|software bundle]] like the Bitnami MediaWiki Stack); in different directories &ndash; one for each wiki
<!--T:3-->
VPN 服务由学校网络信息中心提供,操作流程可以参考网络信息中心提供的[https://vpn.gdufe.edu.cn/prx/000/http/localhost/login/help_link_pc.pdf 操作手册]。
* VPN使用问题(如:客户端安装、账号密码、不能连接等),可以致电信息中心网络部:020-84096911 。
* 如果VPN已经连接并成功登陆,但数据库不能使用,请致电图书馆进行反馈:020-84096916 。


<!--T:694-->
===为何校内使用知网,右上角的机构所属显示为:“广东轻工职业技术学院”或者在登陆页面说:“你的IP不在许可范围之内”?=== <!--T:12-->
Or
<!--T:3-->
 
根据我们的统计数据和观察,这类情况大概率是由于移动的提速账户所造成。移动给提速用户随机分配IP,部分IP与其他学校存在共享的情况。换句话说,提速用户不保证分配到我校校园网IP,所以造成了数字资源授权上的困扰。该情况已经反馈给学校网络中心,网络中心也已经跟中国移动进行过交涉。但短期内,技术无解。目前,我们给出的建议方案有两种:    
<!--T:26-->
*You use a different database for each wiki
 
<!--T:27-->
Or
 
<!--T:28-->
*You use a different database prefix for each wiki (for Postgres, you can achieve a similar effect by using different schemas and users)
 
<!--T:29-->
For information on the latter two options, see <tvar|1>'''{{ll|Manual:$wgDBname|$wgDBname}}'''</> and <tvar|2>'''{{ll|Manual:$wgDBprefix|$wgDBprefix}}'''</> respectively.
 
<!--T:30-->
For more information on setting up a wiki family (wikifarm), see <tvar|1>{{ll|Manual:Wiki family}}</>.
 
<!--T:31-->
For information on an alternative way of setting up more than one wiki using the same server, database and source, see [<tvar|url>http://www.steverumberg.com/wiki/index.php/WikiHelp</> Steve Rumberg's] ([<tvar|url2>http://web.archive.org/web/20070715020649/http://www.steverumberg.com/wiki/index.php/WikiHelp</> archived version]) excellent exposé and additional comments from users.
</translate>
 
{{anchor|How do I install an existing wiki, like Wikipedia or Wiktionary?}}
<translate>
===How do I install an existing wiki, like Wikipedia or Wiktionary?=== <!--T:695-->
 
<!--T:696-->
The main (but not necessarily the easiest) method is to import. ''See [[<tvar|1>#Wiki importing</>|Wiki importing]], below.''
 
<!--T:698-->
(Non-MediaWiki methods, such as Xowa and Kiwix can be found at [[w:Wikipedia:Database download]]).
 
===Does MediaWiki require shell access?=== <!--T:35-->
</translate>
<translate><!--T:36--> Shell access ([[w:Secure Shell|SSH]]) is not required for installing MediaWiki, but it is ''highly recommended''.</translate>
<translate><!--T:37--> Without shell access, it may even be difficult for you to get a backup of your wiki, or to upgrade to a new version.</translate>
<translate><!--T:38--> Some maintenance tasks are not possible at all without shell access.</translate>
<translate><!--T:39--> Many major extensions work best with shell access.</translate>
 
<translate>
===How do I install extensions?=== <!--T:40-->
</translate>
<translate><!--T:41--> See <tvar|1>{{ll|Manual:Extensions}}</> for information about installing and writing extensions.</translate>
<translate><!--T:42--> See <tvar|1>{{ll|Category:Extensions}}</> to find existing extensions.</translate>
 
<translate>
===How do I add extra namespaces?=== <!--T:43-->
 
<!--T:44-->
See [[<tvar|1>Special:MyLanguage/Manual:Using_custom_namespaces#Creating_a_custom_namespace</>| Creating a custom namespace]].
 
===How do I enable uploading?=== <!--T:45-->
</translate>
<translate><!--T:46--> File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions.</translate>
<translate><!--T:47--> To enable them, first make the upload directory (default <tvar|1><code>images</code></>) writable by the web server (<code>[[wikipedia:chmod|chmod]] -R 777 ./images</code> or allow the Apache user to write to it, etc.) then set <tvar|2>'''{{ll|Manual:$wgEnableUploads|$wgEnableUploads}}'''</> to <tvar|3><code>true</code></> in LocalSettings.php.</translate>
<translate><!--T:48--> If you get a "failed to mkdir" error when you try to upload, it probably means that there's a permissions problem.</translate>
 
:''<translate><!--T:665--> See also:</translate> {{ll|Manual:Configuring file uploads}}''
 
<translate>
===How do I allow uploading of additional formats?=== <!--T:65-->
</translate>
<translate><!--T:66--> MediaWiki requires that allowed file upload formats are specified using the <tvar|1>'''{{ll|Manual:$wgFileExtensions|$wgFileExtensions}}'''</> configuration directive.</translate>
<translate><!--T:67--> Usually this directive is situated in LocalSettings.php in the root of your MediaWiki installation.</translate>
 
<translate><!--T:68--> For example, to extend uploading to PDF files, add the following to LocalSettings.php:</translate>
 
<syntaxhighlight lang="php">
$wgFileExtensions[] = 'pdf';
</syntaxhighlight>
 
<translate><!--T:69--> To extend uploading to more than one type of file, use the following syntax</translate>
 
<syntaxhighlight lang="php">
$wgFileExtensions = array_merge( $wgFileExtensions, [ 'pdf', 'txt', 'mp3' ] );
</syntaxhighlight>
 
:''<translate><!--T:667--> See also:</translate> {{ll|Manual:Configuring file uploads}}''
 
<translate>
===How do I enable embedded math formulas?=== <!--T:50-->
 
<!--T:51-->
MediaWiki allows embedded math formulas.</translate>
<translate><!--T:52--> See <tvar|1>{{ll|Extension:Math}}</> for complete setup instructions.</translate>
 
<translate>
=== How do I set the timezone for my MediaWiki? === <!--T:53-->
</translate>
 
:''<translate><!--T:54--> See <tvar|1>{{ll|Manual:Timezone}}</></translate>''
 
{{anchor|How do I purge a cached page?}}
<translate>
===How do I purge a cached page?=== <!--T:55-->
 
<!--T:56-->
To purge a cached page, such as when making changes to the navigation bar, add <code>&action=purge</code> to the end of the page's dynamic URL.
 
<!--T:57-->
E.g.
</translate>
https://www.mediawiki.org/w/index.php?title=Main_Page&action=purge
 
<translate><!--T:58--> Or <code>?action=purge</code> to the end of the page's short form URL:</translate>
 
<translate><!--T:59--> E.g.</translate>
https://www.mediawiki.org/wiki/Main_Page?action=purge
 
:''<translate><!--T:666--> See also:</translate> {{ll|Manual:Purge}}, {{ll|Manual:Parameters to index.php}}''
 
{{anchor|How do I completely disable caching?}}
<translate>
=== How do I completely disable caching? === <!--T:61-->
 
<!--T:62-->
Add in your LocalSettings.php file the following lines:
</translate>
 
{{ll|Manual:$wgEnableParserCache|$wgEnableParserCache}} = false; // deprecated method
{{ll|Manual:$wgParserCacheType|$wgParserCacheType}} = CACHE_NONE;
{{ll|Manual:$wgCachePages|$wgCachePages}} = false;
 
{{anchor|"File is corrupt or has an invalid extension"}}
<translate>
==="File is corrupt or has an invalid extension"=== <!--T:71-->
</translate>
<translate><!--T:72--> Some users have reported that after adding a file format to the allowed extensions list, an error is encountered.</translate>
<translate><!--T:73--> The text of the error is similar to the following:</translate>
 
:<translate><!--T:74--> ''The file is corrupt or has an incorrect extension. Please check the file and upload again.''</translate>
 
<translate><!--T:75--> '''Possible solutions:'''</translate>
 
<translate>
<!--T:76-->
*Set the value of <tvar|1>'''{{ll|Manual:$wgMimeDetectorCommand|$wgMimeDetectorCommand}}'''</>, e.g. under Unix or Linux, this would be</translate>
*:<code>$wgMimeDetectorCommand = "file --brief --mime";</code>
<translate>
<!--T:77-->
*Compile/install the '''[http://pecl.php.net/package/fileinfo fileinfo]''' PHP extension </translate>
**Fedora - yum install php-pecl-Fileinfo
 
:''<translate><!--T:79--> See also:</translate> {{ll|Manual:Mime type detection}}''
 
{{anchor|Initial user was not created by installer}}
<translate>
===Initial user was not created by installer or it is not an administrator=== <!--T:80-->
 
<!--T:82-->
Sometimes, the installer fails to create the default user, or the user table is lost for some reason.</translate>
<translate><!--T:83--> There are a couple of options for solving this:</translate>
 
====maintenance/createAndPromote.php====
<translate>
<!--T:86-->
*Execute <code><tvar|1>{{ll|Manual:createAndPromote.php|maintenance/createAndPromote.php}} --username</> &lt;new user name&gt; <tvar|2>--password</> &lt;password for that user&gt;</code> from the shell.</translate> <translate><!--T:87--> Append <code>--bureaucrat</code> to command line if you want that user to become a bureaucrat, in addition to becoming an administrator.</translate>
 
<translate><!--T:88--> This will create a new user and promote them to an administrator.</translate>
<translate><!--T:89--> For help, run the script with the parameter <code>--help</code>.</translate>
 
<translate>
====Alter the database==== <!--T:90-->
 
<!--T:91-->
*Register a new account using the regular method ([[Special:UserLogin]]).</translate>
<translate>
<!--T:92-->
*Check the user ID [[<tvar|1>Special:MyLanguage/API:Userinfo#Example</>|via API]].</translate>
<translate>
<!--T:93-->
*Execute the following SQL statement against the database:</translate>
**<code>INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( ''<id>'', 'bureaucrat' ), ( ''<id>'', 'sysop' );</code>
::<translate><!--T:94--> <tvar|1><code>''<id>''</code></> above should be replaced with the appropriate user ID which you can see on the user's preference page.</translate>
::<translate><!--T:95--> Note: if <tvar|1>{{$wg|DBprefix}}</> is defined in LocalSettings.php, prepend its value to the table name.</translate> <translate><!--T:96--> For example, if <code>$wgDBprefix</code> is "XYZ", then the table name to use is <code>XYZuser_groups</code></translate>
 
<translate>
====Temporarily let everyone assign rights to promote your initial user==== <!--T:97-->
</translate>
{{Warning|1=<translate><!--T:99--> You should not let outsiders access your wiki while you do this, if you use this method.</translate> <translate><!--T:100--> This method may leave your wiki temporarily vulnerable to attack while you do the procedure.</translate>}}
 
<translate><!--T:101--> This method essentially involves letting all users temporarily modify user permissions in order to promote one user</translate>
<translate>
<!--T:102-->
*Register a new account using the regular method ([[Special:UserLogin]]).</translate> <translate><!--T:103--> Be logged in using that account.</translate>
<translate>
<!--T:104-->
*Add the following line to the bottom of LocalSettings.php</translate>
** <code>$wgGroupPermissions['user']['userrights'] = true;</code>
<translate>
<!--T:105-->
*Go to [[special:userrights]] and add the user you just created to the ''Administrator'' and ''Bureaucrat'' groups.</translate>
<translate>
<!--T:106-->
*Remove the</translate> <code>$wgGroupPermissions['user']['userrights'] = true;</code> <translate><!--T:107--> line from your LocalSettings.php .</translate> <translate><!--T:108--> This step is '''very important''', as until you remove it anyone can alter permissions, which is bad.</translate>
 
<translate>
===How do I reset a user's MediaWiki password?=== <!--T:109-->
</translate>
 
: ''<translate><!--T:110--> See <tvar|1>{{ll|Manual:Resetting passwords}}</></translate>''
 
<translate>
===How can I create interwiki links in my wiki?=== <!--T:111-->
</translate>
 
: ''<translate><!--T:112--> See <tvar|1>{{ll|Manual:Interwiki}}</></translate>''
 
<translate>
===How do I make my base URLs shorter?=== <!--T:113-->
</translate>
 
<sup><translate><!--T:719--> (i.e. <tvar|1>/wiki/Article_Name</> as opposed to /w/index.php?title=Article_Name)</translate></sup>
 
:''<translate><!--T:116--> See <tvar|1>{{ll|Manual:Short URL}}</></translate>''
 
<translate>
=== How do I organize pages into subdirectories like /wiki/subdir/PageName? === <!--T:117-->
</translate>
 
:''<translate><!--T:118--> See <tvar|1>{{ll|Manual:$wgNamespacesWithSubpages}}{{int|and}}{{int|word-separator}}{{ll|Help:Subpages}}</></translate>''
 
<translate>
===Is downloading and using all of MediaWiki.org free?=== <!--T:119-->
</translate>
<translate><!--T:120--> Yes, it is free in the sense of [[:en:Free software|Free software]].</translate>
<translate><!--T:121--> See <tvar|1>{{ll|Project:Copyrights}}</> for licensing issues regarding the written content of this site.</translate>
 
{{anchor|How do I administrate/manage user rights?}}
<translate>
===How do I administrate/manage user rights?=== <!--T:122-->
</translate>
 
{{anchor|How do I administrate/manage my users?}}<!-- compatibility anchor -->
<translate><!--T:123--> See <tvar|1>{{ll|Manual:User rights}}</> for general information.</translate>
<translate><!--T:124--> See <tvar|1>{{ll|Manual:Preventing access}}</> for methods and strategies for restricting access.</translate>
 
{{anchor|How do I stop anonymous users from editing any page?}}
<translate>
====How do I stop anonymous users from editing any page?==== <!--T:125-->
</translate>
<translate><!--T:126--> The recommended method is by changing the value of the <tvar|1><code>{{ll|Manual:$wgGroupPermissions|$wgGroupPermissions}}</code></> configuration option.</translate> 
<translate><!--T:127--> Edit <tvar|1><code>{{ll|LocalSettings.php|LocalSettings.php}}</code></> and add the line:</translate>
 
<syntaxhighlight lang="php">
$wgGroupPermissions['*']['edit'] = false;
</syntaxhighlight>
 
<translate><!--T:128--> If you use <tvar|1>{{ll|Extension:AbuseFilter}}</>, any admin can also disable IP editing temporarily as needed.</translate>
 
:''<translate><!--T:668--> See also:</translate> {{ll|Manual:Preventing access#Restrict anonymous editing|2=<translate><!--T:669--> Preventing access</translate>}}, {{ll|Manual:User rights}}''
 
<translate>
====How do I stop anonymous users from reading any page?==== <!--T:130-->
 
<!--T:131-->
*Add this to the bottom of LocalSettings.php:
</translate>
 
<syntaxhighlight lang="php">
$wgGroupPermissions['*']['read'] = false;
</syntaxhighlight>
 
<translate><!--T:132--> See also <tvar|1>{{ll|Manual:$wgWhitelistRead}}</>.</translate>
<translate><!--T:133--> See [[<tvar|1>Special:MyLanguage/Manual:Preventing access#Restrict viewing of all pages</>|Manual:Preventing access#Restrict viewing of all pages]] for more information.</translate>
 
<translate>
====How do I restrict account creation?==== <!--T:134-->
 
<!--T:135-->
*Add this to the bottom of LocalSettings.php:
</translate>
 
<syntaxhighlight lang="php">
$wgGroupPermissions['*']['createaccount'] = false;
</syntaxhighlight>
 
<translate><!--T:136--> See [[<tvar|1>Special:MyLanguage/Manual:Preventing access#Restrict account creation</>|Manual:Preventing access#Restrict account creation]] for more information.</translate>
 
<translate>
====How do I require an email address be specified at registration?==== <!--T:137-->
</translate>
 
:''<translate><!--T:138--> See <tvar|1>{{ll|Manual:$wgEmailConfirmToEdit}}</></translate>''
 
<translate>
===How do I put MediaWiki into ''Read Only'' mode?=== <!--T:139-->
</translate>
 
{{MW 1.5|and after}}
:''<translate><!--T:141--> See <tvar|1>{{ll|Manual:$wgReadOnly}}</></translate>''
 
<translate>
=== How do I change default user preferences? === <!--T:142-->
</translate>
{{MW 1.4|and after}}
<translate><!--T:144--> The MediaWiki default user preferences are in <tvar|1>{{ll|Manual:DefaultSettings.php|DefaultSettings.php}}</></translate>
<translate><!--T:145--> Don't edit that file, just use it for reference. </translate>
 
<translate><!--T:712--> Say if you want to hide minor edits in recent changes by default.</translate>
<translate><!--T:713--> <tvar|1>DefaultSettings.php</> says:</translate>
 
<syntaxhighlight lang=php>
$wgDefaultUserOptions = [
        ...
'hideminor' => 0,
        ...
]
</syntaxhighlight>
 
<translate><!--T:148--> To change the preference, put this in your LocalSettings.php:</translate>
 
<syntaxhighlight lang=php>
$wgDefaultUserOptions["hideminor"] = 1;
</syntaxhighlight>
 
<translate><!--T:151--> To change the default namespaces to be searched, in any version of MediaWiki, set {{ll|Manual:$wgNamespacesToBeSearchedDefault|$wgNamespacesToBeSearchedDefault}} in LocalSettings.php to an array mapping namespace indexes to boolean values.</translate>
<translate><!--T:152--> For example, to search the main namespace and the category namespace, use:</translate>
 
<syntaxhighlight lang=php>
$wgNamespacesToBeSearchedDefault = array(
    NS_MAIN => true,
    NS_CATEGORY => true,
);
</syntaxhighlight>
 
<translate><!--T:153--> In some cases, after you change a default user preference, you may also want to change the user preferences of all existing user accounts.</translate>
 
<translate><!--T:154--> If so, use the {{ll|Manual:userOptions.php|userOptions.php}} script in the Maintenance directory.</translate> 
<translate><!--T:155--> Use the "--dry"  option for the first run, assess the impact and go from there.  (--dry does not write the database)</translate>
 
php userOptions.php --dry --nowarn hideminor --old 0 --new 1
 
<translate><!--T:156--> Also, always backup your database before making these kinds of changes (you do not need to if you are just using --dry).</translate>
 
:''<translate><!--T:670--> See also:</translate> {{ll|Manual:$wgDefaultUserOptions}}
 
<translate>
===How can I make MediaWiki run faster?=== <!--T:158-->
</translate>
 
:''<translate><!--T:671--> See:</translate> {{ll|Manual:Performance tuning}}''
 
<translate>
===How do I enable a drop-down list of search suggestions?=== <!--T:160-->
</translate>
 
:''<translate><!--T:161--> See <tvar|1>{{ll|Manual:Enabling autocomplete in search box}}</></translate>''
 
<translate>
==Upgrading== <!--T:162-->
</translate>
 
:''<translate><!--T:163--> See <tvar|1>{{ll|Manual:Upgrading}}</></translate>''
<!-- {{#lst:Manual:Upgrading|FAQ}} -->
 
<translate>
==Moving== <!--T:164-->
 
===Is it possible to move my wiki to a different machine?=== <!--T:165-->
</translate>
<translate><!--T:166--> Yes.</translate>
<translate><!--T:167--> It should be.</translate>
<translate><!--T:168--> In essence, you will be backing up your old installation and then "restoring" it onto the new machine.</translate>
<translate><!--T:169--> Finally, you will have to make additional modifications to update the wiki configuration so that everything points to the new location.</translate>
 
<translate>
===How do I move my wiki to a different server?=== <!--T:170-->
 
<!--T:171-->
Follow the instructions at [[Manual:Moving a wiki]].
 
==Changing the interface== <!--T:172-->
</translate>
 
{{anchor|How do I change the logo?}}
<translate>
===How do I change the logo?=== <!--T:173-->
 
<!--T:174-->
The logo that appears in the top left of each page is determined by the {{ll|Manual:$wgLogo|$wgLogo}} configuration line in the ''{{ll|Manual:LocalSettings.php|LocalSettings.php}}'' file.
 
<!--T:175-->
There are two ways to change the logo:</translate>
 
# <translate><!--T:176--> Upload a picture to your wiki using the normal file uploading interface.</translate> <translate><!--T:177--> This allows the logo to be replaced easily, so you may want to protect the page if you use this method.</translate>
#: <translate><!--T:178--> Then add the $wgLogo line to ''LocalSettings.php'', for example:</translate>
#: <syntaxhighlight lang="php">$wgLogo = "{$wgUploadPath}/6/62/mylogo.png";</syntaxhighlight>
# <translate><!--T:179--> Upload an image to your server by other means (such as FTP).</translate>
#: <translate><!--T:180--> Add the $wgLogo line to ''LocalSettings.php'', for example:</translate>
#: <syntaxhighlight lang="php">$wgLogo = "{$wgScriptPath}/mylogo.jpg";</syntaxhighlight>
#: <translate><!--T:181--> (In this example, the image is in the same folder as the LocalSettings.php file.)</translate>
 
<translate><!--T:182--> If you want to change the logo in only specific pages, override #p-logo css's background-image property or use third party extension like <tvar|1>{{ll|Extension:LogoFunctions}}</>.</translate>
 
{{caution|1=<translate><!--T:184--> Do not simply overwrite the default logo installed with MediaWiki</translate> (<code>/resources/assets/wiki.png</code>); <translate><!--T:185--> this file will be overwritten when you upgrade.</translate>}}
{{tip|1=<translate><!--T:187--> A good size for a square logo is 135x135px or 150x150px, but the logo need not be square, especially if it contains text below an image.</translate> <translate><!--T:188--> The maximum logo size in Vector is ~160x160px, while MonoBook's is ~155x155px.</translate> <translate><!--T:189--> A logo that is too large will be cut off.</translate>}}
 
<translate>
===How do I edit the wiki's CSS?=== <!--T:190-->
</translate>
<translate><!--T:191--> You shouldn't edit the CSS files (such as <tvar|1>common.less</>) directly, because it will make upgrading harder if you need to apply your customizations each time you upgrade the software.</translate>
<translate><!--T:192--> Instead you need to edit a wiki page called [[MediaWiki:Common.css]] if you want to apply your CSS changes for all skins, or a wiki page called [[MediaWiki:Vector.css]] if you want to apply the customizations only for the Vector skin.</translate>
 
<translate><!--T:193--> The content of the MediaWiki:Common.css and MediaWiki:Vector.css pages always overrides the default CSS styles specified in the skin files.</translate>
 
<translate>
===How do I hide the left vertical navigation toolbar?=== <!--T:194-->
 
<!--T:195-->
In other words, how do you make the main content div take up 100% of the display, hiding the logo, toolbox, navigation and search engine?
 
<!--T:196-->
To hide it permanently, copy and paste the following into the [[MediaWiki:Common.css]] page:
</translate>
 
<syntaxhighlight lang="css">
#column-content { margin: 0 0 .6em 0; }
#content { margin: 2.8em 0 0 0; }
#p-logo, .generated-sidebar, #p-lang, #p-tb, #p-search { display:none; }
#p-cactions { left: .1em; }
</syntaxhighlight>
 
<translate><!--T:197--> To instead hide the toolbar when the user presses F11, enter this in your wiki's [[MediaWiki:Common.js]]:</translate>
 
<syntaxhighlight lang="javascript">
document.onkeydown = function( e ) {
if( e == null ) e = event
if( testKey( e, 122 ) ) { //F11
appendCSS('#column-content {margin: 0 0 .6em 0;} #content {margin: 2.8em 0 0 0;} #p-logo, .generated-sidebar, #p-lang, #p-tb, #p-search {display:none;} #p-cactions {left: .1em;} #footer {display:none;}');
return false;
}
}
 
function testKey( e, intKeyCode ) {
if( window.createPopup )
return e.keyCode == intKeyCode
else
return e.which == intKeyCode
}
</syntaxhighlight>
 
<translate>
=== How do I hide the categories at the bottom of each page? === <!--T:198-->
 
<!--T:199-->
You can hide display of the categories on each page by modifying your [[MediaWiki:Common.css]] and adding:
</translate>
 
<syntaxhighlight lang="css">.catlinks { display: none; }</syntaxhighlight>
 
<translate>
===Can I customize the logo in the top left corner? If so, how?=== <!--T:200-->
</translate>
<translate><!--T:201--> The logo is a portlet block without a pBody section.</translate> 
<translate><!--T:202--> It is identified by the p-logo id.</translate> 
<translate><!--T:203--> The background image is specified by the {{ll|Manual:$wgLogo|$wgLogo}} variable, which is defined in {{ll|Manual:DefaultSettings.php|DefaultSettings.php}}.</translate>
<translate><!--T:204--> This location is relative to the web server root and not the system root.</translate>
<translate><!--T:205--> Redefine this in {{ll|Manual:LocalSettings.php|LocalSettings.php}} to change the image.</translate>
<translate><!--T:206--> If set wrong there will be no image on the page; check your web server error log and adjust accordingly.</translate>
<translate><!--T:207--> However the size of the p-logo will need to be big enough for the logo if it is not to be clipped.</translate> 
<translate><!--T:208--> This is set in the stylesheet (main.css in Monobook), under the p-logo style, the default setting is:</translate>
 
<syntaxhighlight lang="css">
#p-logo {
z-index: 3;
position: absolute; /*needed to use z-index */
top: 0;
left: 0;
height: 155px;
width: 12em;
overflow: visible;
}
</syntaxhighlight>
 
<translate><!--T:209--> Note, if you are using a different sized logo, and want to change the CSS, please do not modify any of the core MediaWiki stylesheets.</translate>
<translate><!--T:210--> Instead add to the on-wiki css page ([[MediaWiki:Monobook.css]] for monobook, [[MediaWiki:Vector.css]] for vector. [[MediaWiki:Common.css]] will also work for all skins)</translate>
 
<translate>
===Reducing the size of the logo=== <!--T:215-->
 
<!--T:216-->
Note that a tag is on top of the logo so if you are trying to reduce the size of the logo's portlet you will also need to change the #p-logo a and #p-logo a:hover rules.</translate>
<translate><!--T:217--> The default setting for these is:</translate>
 
<syntaxhighlight lang="css">
#p-logo a,
#p-logo a:hover {
display: block;
height: 200px;
width: 12.2em;
background-repeat: no-repeat;
background-position: 35% 50% !important;
text-decoration: none;
}
</syntaxhighlight>
 
<translate>
===How do I customize the link-URL of the site-logo in the top left corner of all pages that activates when the site-logo is clicked upon?=== <!--T:211-->
</translate>
<translate><!--T:212--> By default, clicking the site-logo takes you to the main site-page.</translate>
<translate><!--T:213--> If you want to change which internal site-page is the "main" site-page, edit [[MediaWiki:Mainpage]].</translate>
 
<translate><!--T:214--> To make the link of the site-logo link externally to any other arbitrary URL, you can add a hook to your LocalSettings.php to override the mainpage href which is used by the logo.</translate>
 
<syntaxhighlight lang=php>
/* Change the main page url used in things like the logo to an absolute url */
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'lfChangeMainPageURL';
function lfChangeMainPageURL( $sk, &$tpl ) {
$tpl->data['nav_urls']['mainpage']['href'] = "http://www.your-desired-url.com/"; // Point the main page url to an absolute url
return true;
}
 
/* Change the main page url used in things like the logo to a url of another page on the wiki */
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'lfChangeMainPageURL';
function lfChangeMainPageURL( $sk, &$tpl ) {
$tpl->data['nav_urls']['mainpage']['href'] = Title::newFromText('ThePage')->getLocalURL(); // Point the main page url to a wiki page's url
return true;
}
</syntaxhighlight>
 
{{anchor|How do I change the icon in the browser's address line (favicon)?}}
<translate>
===How do I change the icon in the browser's address line (favicon)?=== <!--T:218-->
 
<!--T:219-->
*Simply upload your favicon.ico to the root of your domain/subdomain, make sure file name is in lower case and its name is favicon.ico</translate>
<translate>
<!--T:220-->
*Alternatively edit the {{ll|Manual:$wgFavicon|$wgFavicon}} setting in ''LocalSettings.php'' and add</translate> <code>$wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";</code>
 
<translate><!--T:221--> See <tvar|1>{{ll|Manual:$wgFavicon}}</> for more details.</translate>
 
<translate><!--T:222--> ''Tip: The favicon image should be either 16 x 16 pixels or 32 x 32 pixels.''</translate>
 
<translate>
====Rewrite Rule==== <!--T:223-->
</translate>
<translate><!--T:224--> If you are using a rewrite rule in .htaccess to remove "index.php" from the URL, you will also need to add an exception for .ico files.</translate>
<translate><!--T:225--> Simply add the following rule to your .htaccess:</translate>
 
:RewriteRule .*\.ico$ - [L]
 
<translate><!--T:226--> This rule must appear ''before'' the index.php rule.</translate>
 
<translate>
====Case sensitivity==== <!--T:227-->
</translate>
<translate><!--T:228--> When uploading the favicon file, be sure the filename is in lowercase. (That is, "favicon.ico", not "Favicon.ico".)</translate>
<translate><!--T:229--> A lot of servers (e.g., those on UNIX-like operating systems) will not be able to find the file unless its name is in lowercase.</translate>
 
<translate>
===How do I customize the navigation bar?=== <!--T:230-->
</translate>
<translate><!--T:231--> The contents of the navigation bar which appears to the left of each page using the Vector or the Monobook skin are determined by the '''[[MediaWiki:Sidebar]]''' page there on your wiki.</translate>
<translate><!--T:232--> For information on customising these, please see [[Manual:Interface/Sidebar]].</translate>
 
<translate>
===How do I put a text message (sitenotice) on every page?=== <!--T:233-->
 
<!--T:234-->
Put a text in the '''[[MediaWiki:Sitenotice]]''' page. It will be displayed on top of every article page.
</translate>
 
<translate><!--T:235--> You can also add text to '''[[MediaWiki:Anonnotice]]''' to create a message that only displays for logged-out users.</translate> 
<translate><!--T:236--> It is often a good idea to transclude the site notice on the anon notice to make sure that logged-out users still get the information on the site notice.</translate>
 
{{anchor|How do I change which page is the main page?}}
<translate>
===How do I change which page is the main page?=== <!--T:237-->
</translate>
<translate><!--T:238--> By default, MediaWiki looks for a page with the title ''Main Page'' and serves this as the default page.</translate>
<translate><!--T:239--> This can be changed by altering the contents of '''[[Creating_a_MediaWiki_page| MediaWiki:Mainpage]]''' to point to a different title.</translate>
<translate><!--T:240--> If this does not change the 'Main Page' link included on the sidebar at install time, edit '''[[Creating_a_MediaWiki_page| MediaWiki:Sidebar]]'''.</translate>
 
<translate>
===How do I change the Main Page title?=== <!--T:241-->
 
<!--T:242-->
Simply click on the "Move" tab, and move the page to the desired page title.
 
<!--T:243-->
Usually you also want to [[<tvar|1>#How do I change which page is the main page?</>|change which page is the configured as "main page"]].
 
===How do I hide the main page title?=== <!--T:244-->
</translate>
<translate><!--T:245--> MediaWiki does not have a built-in option to hide the main page title (see {{phabricator|T8129}}), but you can use CSS to hide the title.</translate>
<translate><!--T:246--> Alternatively, you can use the <tvar|1>{{ll|Extension:NoTitle|nsp=0}}</> extension.</translate>
 
<translate><!--T:247--> Add the following to {{blue|MediaWiki:Common.css}} on your wiki:</translate>
 
<syntaxhighlight lang="css">
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
</syntaxhighlight>
 
<translate><!--T:248--> If your main page uses a localized name or you have renamed the main page you need to change the <code>page-Main_Page</code> part. You can find a correct parameter by viewing HTML source of the main page and searching for the <code>body</code> tag. </translate>
 
<translate><!--T:659--> For example, if your language is Lojban, the body tag looks like this:</translate>
 
<syntaxhighlight lang="html">
<body class="mediawiki ltr sitedir-ltr ns-4 ns-subject page-uikipedi_as_ralju skin-vector action-view">
</syntaxhighlight>
 
<translate><!--T:661--> Therefore you should put this line in your {{blue|MediaWiki:Common.css}} instead:</translate>
 
<syntaxhighlight lang="css">
body.page-uikipedi_as_ralju.action-view h1.firstHeading, body.page-uikipedi_as_ralju.action-submit h1.firstHeading { display: none; }
</syntaxhighlight>
 
<translate><!--T:678--> If you would like to hide the title of a "Main Page" in a specific namespace like "Help:Main_Page" add the following to {{blue|MediaWiki:Common.css}} on your wiki:</translate>
 
<syntaxhighlight lang="css">
body.page-Help_Main_Page.action-view h1.firstHeading, body.page-Help_Main_Page.action-submit h1.firstHeading { display: none; }
</syntaxhighlight>
 
Note the difference: <code>body.page-Help_Main_Page</code> in comparison to <code>body.page-Help:Main_Page</code>. The latter will not work.
 
<translate><!--T:663--> If this doesn't work, you may be using a skin that doesn't support this, or you moved your main page without updating [[MediaWiki:Mainpage]], or you have a really old MediaWiki version.</translate>
 
<translate><!--T:249--> If the skin uses a different element for the title than a <code>h1</code> element with class <code>firstHeading</code>, you'll need to find the appropriate CSS selector to apply for that skin.</translate>
 
<translate>
===How can I hide the table of contents?=== <!--T:250-->
</translate>
<translate><!--T:251--> The table of contents ([[TOC]]) is automatically shown once there are four or more headings in the article.</translate>
<translate><!--T:252--> There are multiple ways to hide it.</translate>
 
; <translate><!--T:253--> For one page</translate>
: <translate><!--T:254--> Place the magic word <code>'''<nowiki>__NOTOC__</nowiki>'''</code> in the page's wikitext.</translate>
 
; <translate><!--T:255--> For all pages</translate>
:<translate><!--T:256--> Install <tvar|1>{{ll|Extension:NoTOC}}</></translate>
:<translate><!--T:257--> ''or''</translate>
: <translate><!--T:258--> Add the following rule to [[MediaWiki:Common.css]]:</translate> <syntaxhighlight lang="css">.toc, #toc { display: none; }</syntaxhighlight>
 
; <translate><!--T:259--> Per user</translate>
: <translate><!--T:260--> Users can add the same CSS rule to their [[Special:MyPage/common.css|common.css]] [[Manual:Interface/Stylesheets | personal stylesheet]].</translate>
 
<translate>
===How do I change the interface text?=== <!--T:262-->
</translate>
<translate><!--T:263--> Interface text is altered using the MediaWiki namespace.</translate>
<translate><!--T:264--> For each deviation from the default in the site language there is a page MediaWiki:''Englishmessagename'', and for each deviation from the default in each other language a page MediaWiki:''Englishmessagename''/''languagecode''.</translate>
<translate><!--T:265--> (Since release 1.9 there are no pages for messages equal to the default.).</translate>
<translate><!--T:266--> On creation of a page the edit box autofills with the default.</translate>
<translate><!--T:267--> When creating a page to override the default it is useful to first save the default version, to allow diffs with it.</translate>
<translate><!--T:268--> See also <tvar|1>{{ll|Help:System message}}</>.</translate>
 
<translate>
<!--T:269-->
*For a list of system messages, see '''[[Special:Allmessages]]'''</translate>
<translate>
<!--T:270-->
*To switch ''off'' the MediaWiki namespace, see the '''{{ll|Manual:$wgUseDatabaseMessages|$wgUseDatabaseMessages}}''' configuration setting</translate>
<translate>
<!--T:271-->
*To remove the ''Privacy policy'' or ''Disclaimers'' links at the bottom of each page, set the content of pages '''[[MediaWiki:Privacy]]''' or '''[[MediaWiki:Disclaimers]]''' respectively to a single hyphen (<code>-</code>).
 
===How do I change the interface language?=== <!--T:272-->
 
<!--T:273-->
To change the default interface language, alter the value of <code>{{ll|Manual:$wgLanguageCode|$wgLanguageCode}}</code> in <code>LocalSettings.php</code>, for example
</translate>
 
<syntaxhighlight lang="php">$wgLanguageCode = "fr";</syntaxhighlight>
 
<translate><!--T:274--> You may also need to [[w:Wikipedia:Bypass_your_cache|bypass your browser's cache]] to see the changes.</translate>
 
<translate><!--T:275--> The new default interface language will be applied to all users who haven't ever customised it.</translate>
 
<translate><!--T:276--> If you want to provide users the possibility to create and choose pages and interface elements in languages other than the default one of the wiki, you need the <tvar|1>{{ll|Extension:Translate|nsp=0}}</> extension, which can make your wiki multilingual.</translate>
 
 
<translate><!--T:279--> If you want to change the language settings for all existing users, use the <tvar|1>{{ll|Manual:userOptions.php|userOptions.php}}</> [[<tvar|2>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance script]].</translate>
<translate><!--T:280--> For instance, to have all users with English set use French instead, run:</translate>
 
<syntaxhighlight lang="php">
php userOptions.php language --old en --new fr
</syntaxhighlight>
 
<translate>
===How do I remove the article/edit etc tabs?=== <!--T:281-->
 
<!--T:282-->
''For a little more control see: [[User:Subfader/Hide_page_tabs]]''
 
<!--T:283-->
Edit [[MediaWiki:Common.css]] on your wiki, and add this:</translate>
 
<syntaxhighlight lang="css">li#ca-edit { display: none; }</syntaxhighlight>
 
<translate><!--T:284--> See the page source for the various #ca-* ids used in the content tabs.</translate>
 
{{note|1=<translate><!--T:285--> This will only work for Monobook and derived skins such as Modern and Vector (the default skin), and doesn't actually stop people from editing.</translate> <translate><!--T:286--> To do that, see <tvar|1>{{ll|Manual:User rights}}</>.</translate>}}
 
<translate>
===How do I add/remove tabs throughout my wiki?=== <!--T:287-->
 
<!--T:288-->
See <tvar|1>{{ll|Manual:User group CSS and JavaScript}}</> or write your own extension (See: <tvar|2>{{ll|Manual:Hooks/SkinTemplateNavigation}}</>):
 
<!--T:289-->
For example, to remove the talk tab and then add a tab that always goes to the main page you would save this code in</translate> <code>extensions/AR-Tabs.php</code>:
 
{{MW 1.21|and after}}
<syntaxhighlight lang="php">
<?php
if( !defined( 'MEDIAWIKI' ) ){
die( "This is not a valid access point.\n" );
}
 
$wgHooks['SkinTemplateNavigation'][] = 'replaceTabs';
function replaceTabs( &$skin, &$links) { 
// Remove the talk action
unset( $links['namespaces']['talk'] );
$maintitle = Title::newFromText( wfMessage( 'mainpage' )->inContentLanguage()->text() );
// Add an additional link
$links['namespaces']['main'] = array(
'class' => false, // false or 'selected', defines whether the tab should be highlighted
'text' => wfMessage( 'sitetitle' )->text(), // what the tab says
'href' => $maintitle->getFullURL(), // where it links to
'context' => 'main',
);
return true;
}
</syntaxhighlight>
 
<translate><!--T:292--> and then add</translate>
 
<syntaxhighlight lang="php">require_once("extensions/AR-Tabs.php");</syntaxhighlight>
 
<translate><!--T:293--> to the bottom of LocalSettings.php</translate>
 
<translate>
====How do I remove a tab on only one page?==== <!--T:294-->
</translate>
{{MW 1.9|and after}}
<translate><!--T:296--> For example, to remove the Discussion (talk) page tab from the Main Page, on the [[MediaWiki:Common.css]] page add:</translate>
<syntaxhighlight lang="css">
body.page-Main_Page li#ca-talk { display: none !important; }
</syntaxhighlight>
 
<translate><!--T:297--> To modify <tvar|1>[[MediaWiki:Common.css]]</> you must be an <tvar|2>{{ll|Manual:interface administrator|nsp=0}}</>.</translate>
 
:''<translate><!--T:672--> See also:</translate> {{ll|Manual:Hide page tabs}}''
 
<translate>
====How do I remove a tab on all pages==== <!--T:299-->
</translate>
{{MW 1.9|and after}}
<translate><!--T:301--> For example, to remove the Discussion (talk) page tab on all wikipages, on the [[MediaWiki:Common.css]] page add:</translate>
 
<syntaxhighlight lang="css">
#ca-talk { display:none!important; }
</syntaxhighlight>
 
<translate><!--T:302--> Other tabs to remove are '''#ca-history''',  '''#ca-viewsource''', '''#ca-view''' (Read tab), '''#ca-nstab-main''' (Page tab).</translate>
 
<translate><!--T:303--> Other drop down menu items you can remove are '''#ca-watch''', '''#ca-move''', '''#ca-delete'''.</translate>
 
<translate><!--T:304--> To modify <tvar|1>[[MediaWiki:Common.css]]</> you must be an <tvar|2>{{ll|Manual:interface administrator|nsp=0}}</>.</translate>
 
<translate>
===How do I remove the "Talk for this IP" link at the top right (e.g. when <tvar|1>{{ll|Manual:$wgDisableAnonTalk|$wgDisableAnonTalk}}</> is true)?=== <!--T:309-->
 
<!--T:679-->
One option is to hide the link using the following CSS in the wiki page ''MediaWiki:Common.css'' in your wiki:
</translate>
 
<syntaxhighlight lang="css">
#p-personal #pt-anonuserpage {
    display: none;
}
</syntaxhighlight>
 
<translate><!--T:680--> Another option is, inside your LocalSettings.php file, to use the PersonalUrls hook to remove the link to the talk page of anonymous users:</translate>
 
<syntaxhighlight lang=php>
$wgHooks['PersonalUrls'][] = 'lfRemoveAnonUserpageLink';
function lfRemoveAnonUserpageLink( &$personal_urls, $title ) {
unset( $personal_urls['anonuserpage'] );
return true;
}
</syntaxhighlight>
 
<translate>
===How do I remove the "Create an Account or Login" link at the top right of the screen?=== <!--T:311-->
 
<!--T:312-->
To remove the login / create account links from the personal_urls you can use this code in your {{manual|LocalSettings.php}} to hook in and remove them:
</translate>
 
<syntaxhighlight lang=php>
$wgHooks['PersonalUrls'][] = 'lfRemoveLoginLink';
function lfRemoveLoginLink( &$personal_urls, $title ) {
unset( $personal_urls['login'] );
unset( $personal_urls['anonlogin'] );
unset( $personal_urls['createaccount'] );
return true;
}
</syntaxhighlight>
 
<translate>
===How can I suppress actions and special pages?=== <!--T:313-->
</translate>
 
{{note|1=<translate><!--T:314--> MediaWiki is not designed for this kind of usage!</translate> <translate><!--T:315--> It should be noted that the following 'answer' is a hack that only 'works' with the Apache webserver.</translate> <translate><!--T:316--> Note also that this system is not foolproof, it's just one step further than hiding the links (see above).</translate>}}
 
<translate><!--T:317--> Suppressing actions and special pages can be useful when you want to create the illusion of a static website via a particular URL or VirtualHost, but also have an 'internal' view that is a true wiki.</translate>
<translate><!--T:318--> i.e. if you have an inward facing 'view' of your wiki that users can edit, and an outward facing 'view' that should appear like a static website (no history, no discussion, etc., etc.).</translate>
 
<translate><!--T:319--> After hiding all the appropriate links (see above), if you are using the Apache web server, you can disable actions and special pages using the following [http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html rewrite rules]:</translate>
 
<pre>
# Lock down the site (disable MediaWiki commands)
 
RewriteEngine On
 
#RewriteLog /tmp/rewrite.log
 
#RewriteLogLevel 9
 
## See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Parameters_to_index.php#Actions
 
RewriteCond %{QUERY_STRING} (.*action=.*)
RewriteRule .* http://www.my.domain.com?
 
RewriteCond %{REQUEST_URI} !^/index.php/Special:Search
RewriteCond %{REQUEST_URI}  ^(.*Special:.*)
RewriteRule .* http://www.my.domain.com?
 
## Catch a trick...
RewriteCond %{QUERY_STRING} ^(.*Special:.*)
RewriteRule .* http://www.my.domain.com?
</pre>
 
<translate><!--T:320--> Above, a request for <tvar|1><code><nowiki>'http://www.my.domain.com/wiki/Page_name?action=edit'</nowiki></code></>, for example, will be simply rewritten to <tvar|2><code><nowiki>'http://www.my.domain.com'</nowiki></code></>.</translate>
<translate><!--T:322--> Similarly any page in the Special namespace (with the exception of Special:Search) will be rewritten to <tvar|1><code><nowiki>'http://www.my.domain.com'</nowiki></code></>.</translate>
<translate><!--T:323--> '''Remember''', this is only a hack, and isn't intended as a solution for a secure CMS.</translate>
 
<translate><!--T:324--> Note that you will need to adjust the above rules to match your specific URL naming schema.</translate>
 
<translate><!--T:325--> Other issues to consider when trying to lock down a site like this is the API and POST requests for the wiki content (rather than GET).</translate>
 
<translate>
=== How do I edit error messages? === <!--T:326-->
 
<!--T:327-->
[[Special:Allmessages]] contains a complete list of messages (error or otherwise), that can be edited.</translate>
 
<translate>
===How do I change the footer?=== <!--T:328-->
</translate>
 
:''<translate><!--T:691--> See:</translate> {{ll|Manual:Footer}}, {{ll|Manual:Configuration settings#Copyright|2=<translate><!--T:692--> Manual:Configuration settings#Copyright</translate>}}''
 
{{Anchor|powered-by-mw-image}}
<translate>
===How can I edit / remove the Powered by MediaWiki image (and possible other images) from the footer?=== <!--T:330-->
 
<!--T:331-->
You can hide the Powered by MediaWiki image by adding the following to your wiki's [[MediaWiki:Common.css]]:
</translate>
 
<syntaxhighlight lang="css">
#footer-poweredbyico { display: none; }
</syntaxhighlight>
 
<translate><!--T:335--> If you want to remove it completely, you can use {{wg|FooterIcons}} to remove it using this in your {{manual|LocalSettings.php}}:</translate>
<syntaxhighlight lang=php>unset( $wgFooterIcons['poweredby'] );</syntaxhighlight>
 
 
Note that this will also remove ''other'' powered-by icons, e.g. also the one coming from BlueSpice.
 
<translate><!--T:337--> If you wish to change the icon images, urls, alt text, or add new icons please see {{wg|FooterIcons}}' documentation.</translate>
 
<translate>
===How do I add a reply link to default signature tildes (<tvar|1><nowiki>~~~~</nowiki></>) template?=== <!--T:338-->
 
<!--T:339-->
You can customize signatures in [[MediaWiki:Signature]] / [[MediaWiki:Signature-anon]].
 
<!--T:340-->
For example, changing the entries to <code><nowiki>[[{{ns:user}}:$1|$2]] ([[{{ns:user_talk}}:$1|talk]])</nowiki></code> will put a link to users' talk pages and <code><nowiki>[[{{ns:user}}:$1|$2]] ([{{fullurl:{{ns:user_talk}}:$1|action=edit&section=new}} Reply])</nowiki></code> would give a more direct link.
 
<!--T:341-->
Users can change their signature in their preferences.
 
===How can I change what the <title> of each page is? Where do I make changes?=== <!--T:342-->
 
<!--T:343-->
Most of the text that you want to change can be found in the namespace of MediaWiki.
</translate>
 
<translate><!--T:344--> In order to change titles, texts, announcements, etc., go to [[Special:AllMessages]], where you will see the text associated with the pages you wish to change.</translate>
<translate><!--T:345--> You need to log in as an administrator to edit the protected entries in the MediaWiki namespace.</translate>
 
<translate><!--T:346--> If you want to change the title in your browser, you need to edit [[MediaWiki:Pagetitle]].</translate>
<translate><!--T:347--> Go there and edit it just like you would any other page in your wiki.</translate>
 
<translate><!--T:348--> In recent versions of MediaWiki, [[MediaWiki:Pagetitle]] is <tvar|1><nowiki>$1 - {{SITENAME}}</nowiki></> by default. If <tvar|2><nowiki>{{SITENAME}}</nowiki></> is producing the wrong text for you, you need to set <tvar|3>{{ll|Manual:$wgSitename|$wgSitename}}</> in your <tvar|4>LocalSettings.php</>.</translate>
 
<translate><!--T:352--> Don't forget to clear your browser cache after you change your settings.</translate>
 
<translate>
===Does MediaWiki automatically capitalize the first letter of $wgSitename?=== <!--T:353-->
</translate>
<translate><!--T:354--> Yes.</translate>
<translate><!--T:355--> This can be changed using the <tvar|1>{{ll|Manual:$wgCapitalLinks|$wgCapitalLinks}}</> configuration setting.</translate>
 
<translate>
===How do I make external links open in a new window?=== <!--T:356-->
</translate>
 
:''<translate><!--T:357--> See <tvar|1>{{ll|Manual:$wgExternalLinkTarget}}</></translate>''
 
<translate>
===How can I suppress MediaWiki from formatting URLs, tags, etc?=== <!--T:358-->
 
<!--T:359-->
Put "<tvar|nowiki>{{tag|nowiki|pair|content=}}</>" tags around the URL or tag.
 
<!--T:360-->
''Example:''</translate>
<nowiki>svn co <nowiki>http://svn.example.com/myproject/</nowiki></nowiki>
 
<translate><!--T:361--> ''Produces:''</translate><br/>
svn co <nowiki>http://svn.example.com/myproject/</nowiki>
 
<translate>
===How can I force users to preview before they save?=== <!--T:362-->
</translate>
 
: ''<translate><!--T:706--> See:</translate> {{ll|Manual:Force preview}}, {{ll|Extension:ForcePreview}}''
 
<translate>
===How do I add more buttons on the edit page?=== <!--T:364-->
</translate>
 
:''<translate><!--T:707--> See:</translate> {{ll|Manual:Custom edit buttons}}''
 
<translate>
===How can I get more special characters or tags clickable on the edit page?=== <!--T:366-->
 
<!--T:367-->
For adding more selectable special characters, etc., below the edit field, see <tvar|1>{{ll|Extension:CharInsert}}</>.
 
=== How can I use a different skin (e.g. Wikipedia's old Monobook skin) on my wiki? === <!--T:368-->
</translate>
{{MW 1.16|and after}}
<translate><!--T:681--> While the Vector skin is the default skin for all installations made with MediaWiki 1.17 and newer, the Monobook skin has been the default before.</translate>
<translate><!--T:371--> See <tvar|1>{{ll|Manual:$wgDefaultSkin}}</> for more information on configuring your default skin.</translate>
 
<translate>
=== How do I disable external links from showing in the printable version of a page? === <!--T:373-->
 
<!--T:374-->
Edit the page [[MediaWiki:Print.css]] on your wiki and add the following code there:</translate>
 
<syntaxhighlight lang="css">
#content a.external.text:after,
#content a.external.autonumber:after {
content: none;
}
</syntaxhighlight>
 
<translate><!--T:375--> This will override the styles defined in the CSS files coming with the MediaWiki source code.</translate>
<translate><!--T:376--> For more information, see <tvar|1>{{ll|Manual:CSS}}</>.</translate>
 
<translate><!--T:377--> If instead you want to have the external links ''underlined'' in the printable version, then also add the following code:</translate>
 
<syntaxhighlight lang="css">
#content a.external {
    text-decoration: underline !important;
}
</syntaxhighlight>
 
<translate>
=== How do I print footnotes at the bottom of each printed page? === <!--T:717-->
 
<!--T:718-->
Try this StackOverflow solution: [<tvar|url>https://stackoverflow.com/a/23622470</> Printed HTML per-page footnotes]
</translate>
 
{{anchor|How do I change the text of the tab of my wikis main page?}}
<translate>
===How do I change the text of the article (page name) tab of my wiki's main page?=== <!--T:378-->
</translate>
 
<translate><!--T:380--> To change the text of the tab, as one example used in Wikipedia, you first open the page "<tvar|1><code>MediaWiki:Mainpage-nstab</code></>".</translate>
 
<translate><!--T:381--> After you've done that, click Edit and type in the edit box the text you want to be seen later on the main page - that's it.</translate>
<translate><!--T:382--> Don't forget to save the page as well.</translate>
 
<translate>
==Basic usage== <!--T:383-->
 
===How do I edit a page?=== <!--T:384-->
</translate>
<translate><!--T:385--> To edit a page, simply click the '''edit''' link that appears on each page.</translate>
<translate><!--T:386--> Using the default Vector skin, this is in the form of a tab at the top of the page.</translate>
<translate><!--T:387--> A form will appear, containing the existing markup.</translate>
<translate><!--T:388--> When you have finished making modifications, click the '''Save''' button to commit your changes.</translate>
 
:''<translate><!--T:673--> See also:</translate> {{ll|Help:Editing pages}}''
 
<translate>
===How do I create a new page?=== <!--T:390-->
 
<!--T:391-->
There are several ways to create a new page:
 
<!--T:392-->
*Create a link to the page on another page, then click on the red link which appears</translate>
<translate>
<!--T:393-->
*Browse to the intended location of the page, e.g. <code><nowiki>http://www.example.com/index.php?title=New_page</nowiki></code> and click on the "'''Edit'''", "'''Create'''" or "'''Create source'''" link.
 
<!--T:394-->
On some wikis, a failed search for a page will contain a link which allows you to edit that page.
</translate>
 
:''<translate><!--T:674--> See also:</translate> {{ll|Help:Starting a new page}}''
 
<translate>
===How do I delete an old version of a page?=== <!--T:396-->
</translate>
<translate><!--T:397--> Old versions of page data are retained in the database and can be accessed via the page history features.</translate>
<translate><!--T:398--> This is useful for reviewing changes and correcting or reverting undesirable ones, but in some cases, administrators might want to make this information unavailable, for legal reasons, or to reduce the size of the database.</translate>
 
<translate>
<!--T:399-->
*Administrators can delete an old revision of a page by deleting the page, and then selectively undeleting revisions to be kept</translate>
<translate>
<!--T:401-->
*For newer MediaWikis (1.14+), you can enable the core [[RevisionDelete]] feature that allows privileged users to remove single revisions from page histories.</translate>
<translate>
<!--T:402-->
*The <tvar|1><code>maintenance/{{ll|Manual:deleteOldRevisions.php|deleteOldRevisions.php}}</code></> [[<tvar|2>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance script]] can mass-delete all old revisions of pages and their associated text records.
</translate>
 
:''<translate><!--T:675--> See also:</translate> {{ll|Manual:Removing embarrassment}}''
 
<translate>
===How do I use oversight/delete revisions in the page history?=== <!--T:404-->
</translate>
 
:''<translate><!--T:676--> See:</translate> {{ll|RevisionDelete}}''
 
<translate><!--T:406--> You can also delete a page, and then restore only the revisions you want.</translate>
 
<translate>
===Are there any editing tutorials available?=== <!--T:407-->
</translate>
<translate><!--T:408--> There are several editing tutorials available, mostly on Wikimedia sister projects, such as Wikipedia.</translate>
<translate><!--T:409--> There are also markup references, etc. available on ''Meta''.</translate>
 
<translate>
<!--T:410-->
*The page [[Help:Editing pages]] on this site</translate>
<translate>
<!--T:411-->
*[[m:Help:Editing|Editing]] help content on ''Meta''</translate>
<translate>
<!--T:412-->
*The ''[[:en:Wikipedia:How to edit a page|How to edit a page]]'' guide on the English Wikipedia
 
===How do I view the printable form of a page?=== <!--T:413-->
 
<!--T:414-->
MediaWiki includes stylesheets which automatically style a page appropriately when it is printed; using the print or print preview function within your browser ought to render the page in a printable form.
 
<!--T:415-->
You can also view this printable form using the ''printable version'' link in the sidebar under ''Toolbox'' or ''Print/export'' if using the <tvar|1>{{ll|Extension:Collection|nsp=0}}</> extension.
 
=== How do I use templates? === <!--T:416-->
</translate>
 
:''<translate><!--T:417--> See <tvar|1>{{ll|Help:Templates}}</></translate>''
 
<translate>
===Can I use media (images, video, audio, etc.) from [[<tvar|1>m:Special:MyLanguage/Wikimedia Commons</>|Wikimedia Commons]] in my installed version of MediaWiki?=== <!--T:418-->
 
<!--T:419-->
Yes, this is encouraged through the use of <tvar|1>{{ll|Manual:$wgUseInstantCommons}}</>.
</translate>
 
:''<translate><!--T:677--> See also:</translate> {{ll|InstantCommons}}''
 
<translate>
===How do I use a template as a signature?=== <!--T:421-->
</translate>
<translate><!--T:422--> When you look at your preferences, you see a check box for "raw signature."</translate> 
<translate><!--T:423--> But the field will only take a certain number of characters.</translate> 
<translate><!--T:424--> What if you want more?</translate>
 
<translate><!--T:425--> You will need to create two pages, possibly in your userspace.</translate>
 
#<translate><!--T:426--> Create the first page (FIRST PAGE)</translate>
# <translate><!--T:427--> Go to your preferences, check "raw signature" and put <tvar|1><nowiki>{{FIRST PAGE}}</nowiki></> in the signature.</translate> {{int|saveprefs}}
#<translate><!--T:429--> Create a second page (SECOND PAGE) (possibly a sub-page of the first)</translate>
#<translate><!--T:430--> Go back to the first page (FIRST PAGE) and do <tvar|1><nowiki>{{SECOND PAGE}}</nowiki></></translate>
#<translate><!--T:431--> Go to the second page (SECOND PAGE) and place the code you wish to have for your signature.</translate>
 
<translate><!--T:432--> If you don't have this structure, you will still be inserting all your signature code into the raw code wherever your signature is used, because the software will insert "SUBST" in your preferences.</translate> 
<translate><!--T:433--> You may not mind this, in which case you only need one page.</translate> 
<translate><!--T:434--> If you want the raw code to only display <tvar|1><nowiki>{{FIRST PAGE}}</nowiki></>, which looks a lot cleaner, then you need to use the two-page structure.</translate>
 
<translate>
=== How do I add the sandbox functionality to my installation of the wiki? === <!--T:435-->
</translate>
<translate><!--T:436--> In wiki terms, a ''sandbox'' is simply a "play pen"; a page which users can mess about in.</translate>
<translate><!--T:437--> This is an ordinary page created in the normal manner, and can be located wherever you like.</translate>
<translate><!--T:438--> There is no special sandbox functionality built into MediaWiki.</translate>
 
<translate><!--T:439--> Users often inquire about the Wikipedia sandboxes, which seem to be self-emptying.</translate>
<translate><!--T:440--> This is not quite correct; there are a number of volunteers who run [[Manual:Bots|bots]] to clean these up and return them to a certain state at regular time intervals.</translate>
 
<translate>
=== How do I add a "Sandbox" link to personal tools (top right)? === <!--T:441-->
 
<!--T:714-->
You need to install the <tvar|1>{{ll|Extension:SandboxLink|nsp=0}}</> extension.
 
=== How do I make my wiki serve all languages? === <!--T:444-->
 
<!--T:445-->
To make your wiki multilingual and a tool for translation, allowing translation of pages and of the custom interface (like the sidebar), use the <tvar|1>{{ll|Extension:Translate|Translate}}</> extension; there's [[Help:Extension:Translate|extensive documentation]].
</translate>
 
{{anchor|Wiki importing}}
<translate>
==Wiki importing== <!--T:446-->
 
===Importing from MediaWiki XML dumps=== <!--T:447-->
</translate>
 
:''<translate><!--T:708--> See:</translate> {{ll|Manual:Importing XML dumps}}''
 
<translate>
===Importing from other types of wiki software=== <!--T:449-->
</translate>
 
{{outdated}}
 
<translate><!--T:452--> There is some documentation about importing in the UPGRADE file distributed with MediaWiki.</translate>
 
<translate><!--T:453--> To follow on from those, this is how at least one individual imported pages from usemod to MediaWiki:</translate>
 
<translate><!--T:454--> Because MediaWiki does not automatically link to [[w:CamelCase|CamelCase]] style links, you will need to add brackets <nowiki> [[ ]] </nowiki> to all your links.</translate>
<translate><!--T:455--> You can do this with the following:</translate>
 
<translate><!--T:456--> First, obtain ImportStage1.txt (or whatever you want to call it) from the importUseModWiki.php script ( use > to pipe the output to a file )</translate>
 
<translate><!--T:457--> Second, do</translate>
 
<pre>
sed '/Importing/!s/\ [A-Z]\w*[a-z]\w*[A-Z]\w*[a-zA-Z]/\ \[\[&\]\] /g'
    ImportStage1.txt > ImportStage2.txt
</pre>
 
<translate><!--T:458--> This should create proper links in place of your CamelCase links.</translate>
 
<translate><!--T:459--> '''This doesn't''' work so well for SubPage links - someone care to fix?</translate>
 
<translate><!--T:460--> Then,</translate>
 
<pre>
sed 's/upload\:\w*\.\w*/http\:\/\/aberwiki\.org\/uploads\/& /g'
    ImportStage2.txt > ImportStage3.txt
</pre>
 
<translate><!--T:461--> This fixes your upload links.</translate>
<translate><!--T:462--> Change the replace text so it fills in your url such as <nowiki>http://www.yourwiki.org/uploads/filename</nowiki></translate>
 
<translate><!--T:463--> You are now ready to import ImportStage3.txt into your database with a command such as</translate>
 
<pre>
mysql -u<mysqluser> -p<yourpass> <db name> < ImportStage3.txt
</pre>
 
{{note|1=<translate><!--T:464--> If your <code>importUseModWiki.php</code> outputs an XML file instead of SQL statements, this probably means you have a rather new version of MediaWiki.</translate> <translate><!--T:465--> In such a case, you can import the XML file -- see [[Importing a Wikipedia database dump into MediaWiki]], towards the bottom of the page ('Import XML').</translate> <translate><!--T:466--> Don't forget to rebuild all the tables -- that page also explains how to do that.</translate>}}
 
<translate>
===Importing from other types of files=== <!--T:467-->
 
<!--T:468-->
There are a variety of tools available to help convert content from HTML (and other formats) to MediaWiki markup.</translate>
 
; <translate><!--T:469--> Developer and SysAdmin tools</translate>
<translate>
<!--T:470-->
* [http://search.cpan.org/dist/HTML-WikiConverter-MediaWiki HTML::WikiConverter::MediaWiki] - a Perl module for converting from HTML to MediaWiki markup.</translate>
<translate>
<!--T:471-->
* [[meta:Wikificator|Wikificator]] - a JavaScript MediaWiki extension that converts XHTML to MediaWiki markup.</translate>
<translate>
<!--T:472-->
* The <tvar|1>{{ll|Manual:Edit.php|Edit.php}}</> and <tvar|2>{{ll|Manual:importImages.php|importImages.php}}</> [[<tvar|3>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance scripts]] can be used to import text and images into MediaWiki.</translate>
 
; <translate><!--T:473--> End-user tools</translate>
<translate>
<!--T:475-->
* [[w:User:Cacycle/wikEd|wikEd]] - a text editor for MediaWiki that can import HTML (including Microsoft Word-generated HTML.)</translate>
 
;<translate><!--T:476--> Instructions</translate>
<translate>
<!--T:477-->
*[http://xpt.sourceforge.net/techdocs/language/wiki/wikimedia/wkm07-MediaWikiImport/ar01s04.html Brief notes on converting from Microsoft .chm help files to MediaWiki]</translate>
<translate>
<!--T:478-->
*[http://openwetware.org/wiki/Converting_documents_to_mediawiki_markup#Word_Documents Notes on converting from Microsoft Office formats to MediaWiki]
 
===MediaWiki auto importing script=== <!--T:479-->
 
<!--T:480-->
Taken from [http://xpt.sourceforge.net/tools/wiki_import/ wiki_import - MediaWiki auto import script]:
 
====Description==== <!--T:481-->
 
<!--T:482-->
The script is designed to import a whole folder of files into MediaWiki, with the folder directory tree mapped as wiki category hierarchy.
 
====Features==== <!--T:483-->
 
<!--T:484-->
*economic, build wiki site from existing knowledge base collection without "double-entry"</translate>
<translate>
<!--T:485-->
*persistent, map folder directory tree as wiki category hierarchy</translate>
<translate>
<!--T:486-->
*sophisticated, import/handle all well-known file types automatically</translate>
<translate>
<!--T:487-->
*complete, cover every applicable scenario, even the case when you need to control access to individual wiki pages</translate>
<translate>
<!--T:488-->
*versatile, highly customizable
 
====Quick Help==== <!--T:489-->
</translate>
 
wiki_import.sh $ $Revision: 1.1 $
 
<translate><!--T:490--> mediawiki automatic file import script</translate>
 
<translate><!--T:491--> Usage:</translate> wiki_import.sh [OPTIONS]...
 
<translate>
<!--T:492-->
The script is designed to import a whole folder of files into mediawiki, with the folder directory tree mapped as wiki category hierarchy.
 
<!--T:493-->
The specification of the file-to-import is passed from standard input.
 
<!--T:494-->
Options:</translate>
   -s, --sect=n    <translate><!--T:495--> the root category section of the wiki of the imported article (mandatory)</translate>
  -1, --header    <translate><!--T:496--> include standard header (category hierarchy path & notice)</translate>
  -l, --link      <translate><!--T:497--> link to actual file on the web site</translate>
  -f, --footer    <translate><!--T:498--> include standard footer (article category)</translate>
  -R, --res[=p]    <translate><!--T:499--> add restricted tag in the footer as</translate>
                    '{{<Res Param|Root Category> Restricted}}' (default=`$_opt_sect')
 
<translate><!--T:500--> Configuration Options:</translate>
  -p, --php=fn    <translate><!--T:501--> mediawiki import php script specification</translate>
  -r, --root=n    <translate><!--T:502--> the root category name for the whole wiki site</translate>
  -m, --max=n      <translate><!--T:503--> max_allowed_packet for mysqld to import</translate>
  -u, --user=n    <translate><!--T:504--> wiki user used for the import</translate>
  -a, --arch=p    <translate><!--T:505-->
the root url that linked-to archive files based on
 
<!--T:506-->
Examples:</translate>
 
  echo ./path/to/file.ext | wiki_import.sh -1 -l -f -s 'Customer Support' -R
 
<translate><!--T:507--> For the rest of details, check out [http://xpt.sourceforge.net/tools/wiki_import/  wiki_import].</translate>
 
{{anchor|Templates imported from other wikis (such as Wikipedia) don't work for me}}
<translate>
=== Templates imported from other wikis (such as Wikipedia) don't work for me === <!--T:508-->
</translate>
<translate><!--T:509--> You probably need to install some extensions used on the source wiki, such as <tvar|3>{{ll|Extension:Scribunto|Scribunto}}</>, <tvar|4>{{ll|Extension:TemplateStyles|TemplateStyles}}</>, <tvar|1>{{ll|Extension:ParserFunctions|ParserFunctions}}</> or sometimes <tvar|2>{{ll|Extension:Cite|Cite}}</>.</translate>
<translate><!--T:510--> Also, make sure that you copied all [[Manual:Interface/Stylesheets|site CSS]] and [[Manual:Interface/JavaScript|JavaScript]] required by the template.</translate>
 
<translate>
==Customising further== <!--T:511-->
 
===I want to have multiple wikis, but only require registration once=== <!--T:512-->
 
<!--T:513-->
*If you're starting from scratch or you're switching from one wiki to multiple, you can use <tvar|1>{{ll|Manual:$wgSharedDB|$wgSharedDB}}</> and <tvar|2>{{ll|Manual:$wgSharedTables|$wgSharedTables}}</> to have all wikis share the user table of the "main" wiki.</translate> <translate><!--T:514--> You can share other tables as well, as long as they don't contain any data dependent on non-shared tables or data specific to one wiki.</translate> <translate><!--T:515--> See [[Manual:Shared database]] for examples and more information.</translate>
<translate>
<!--T:516-->
*If your wikis are already established and you want to switch to a single sign-on, you can use the <tvar|1>{{ll|Extension:CentralAuth|CentralAuth}}</> extension.</translate> <translate><!--T:517--> It has a few more features than a shared user table, but it's more difficult to configure and it's tailored toward a Wikimedia-style setup.</translate> <translate><!--T:518-->
However, it is easier than attempting to completely merge multiple user tables into one.
 
===How can I allow use of HTML tags?=== <!--T:519-->
 
<!--T:520-->
See <tvar|1>{{ll|Manual:$wgRawHtml}}</> as well as <tvar|2>{{ll|Manual:$wgGroupPermissions}}{{int|and}}{{int|word-separator}}{{ll|Manual:Preventing access}}</>.
</translate>
 
{{caution|1=<translate><!--T:522--> This can be easily abused to attack users</translate>}}
 
<translate><!--T:523--> See <tvar|1>{{ll|Extension:Secure HTML}}</> and <tvar|2>{{ll|Extension:HTMLets}}</> for ways to make this safer.</translate>
 
<translate>
===How do I fix problems or add features to MediaWiki?=== <!--T:524-->
 
<!--T:525-->
The basic steps to improving MediaWiki (that is, [[How to become a MediaWiki hacker|becoming a MediaWiki developer]]) are:
 
<!--T:526-->
* Install [[Special:MyLanguage/Gerrit|Git]]</translate>
<translate>
<!--T:527-->
* Download the Git "clone" of the MediaWiki source code</translate>
<translate>
<!--T:528-->
* Get a server, a database, and PHP running on your computer (this can be annoying, so please ask for help if something isn't working)</translate>
<translate>
<!--T:529-->
* Get MediaWiki running on your computer off that Git checkout (can be annoying as well, so, ditto)</translate>
<translate>
<!--T:530-->
* Fix the problem or add the feature you were thinking of</translate>
<translate>
<!--T:531-->
* Edit the source code of the relevant file(s) to fix the problem</translate>
<translate>
<!--T:532-->
* Follow [[Gerrit/Tutorial]]
 
=== How do I run a bot? === <!--T:533-->
</translate>
 
:''<translate><!--T:709--> See:</translate> {{ll|Manual:Bots}}''
<translate><!--T:535--> You might want to use the <tvar|1>{{ll|Manual:Pywikibot|Pywikibot}}</> framework.</translate>
 
<translate>
=== How do I change noindex nofollow === <!--T:536-->
 
<!--T:537-->
Set <tvar|code><code>{{ll|Manual:$wgNoFollowLinks|$wgNoFollowLinks}} = false;</code></> in <tvar|1>{{ll|Manual:LocalSettings.php|LocalSettings.php}}</>
 
=== How do I create a small [[w:en:Wiki_farm|wiki farm]]? === <!--T:538-->
</translate>
 
:''<translate><!--T:710--> See:</translate> {{ll|Manual:Wiki family}}''
 
<translate>
=== How do I add [[w:Meta element|meta tags]]? === <!--T:540-->
</translate>
<translate><!--T:541--> The OutputPage class includes an addMeta method which can be used to add meta tags.</translate>
<translate><!--T:542--> The [[RequestContext]] can be used to get the relevant OutputPage object.</translate>
 
<translate><!--T:543--> To add further Meta tags just add further lines as last lines of the function addMetaTags() like:</translate>
 
$out->addMeta ( 'description', 'This is a meta description.' );
 
<translate>
==Why...?== <!--T:544-->
 
===…is the Help namespace empty?=== <!--T:545-->
</translate>
<translate><!--T:546--> The Help namespace currently ships in a blank state.</translate>
<translate><!--T:547--> It's up to you how much or how little help you give to your site visitors and whether this relates to other aspects of your site.</translate>
<translate><!--T:548--> Obviously you can easily link your visitors to help resources elsewhere.</translate>
 
<translate><!--T:549--> We don't currently have a clean, internationalised set of help pages under a free license.</translate>
<translate><!--T:550--> However, if you want to copy in some help information onto your site, about how to use a wiki (a MediaWiki powered wiki) you are free to copy the <tvar|1>{{ll|Help:Contents}}</> from this wiki.</translate>
<translate><!--T:551--> This set of pages have been deliberately created for this purpose, with wiki-neutral information, and no license restrictions.</translate>
<translate><!--T:552--> See [[Project:PD help]]. More help is available at the Meta-Wiki [[m:Help:Contents|MediaWiki Handbook]].</translate>
 
<translate>
===…are some of my images not showing up after an upgrade?=== <!--T:553-->
</translate>
<translate><!--T:554--> Several users have reported that, following an upgrade or a moving of their wiki, several images fail to be shown inline.</translate>
<translate><!--T:555--> The files exist, and the image description pages show a MIME type of <tvar|1><code>unknowncode>/unknown</code></> and, in some cases, a warning about potentially dangerous files.</translate>
 
<translate><!--T:556--> To fix this, run the <tvar|1><code>maintenance/rebuildImages.php</code></> script from the command line.</translate>
<translate><!--T:557--> This will set MIME information for each file in the database.</translate>
 
<translate><!--T:683--> Recent versions of MediaWiki implement [[<tvar|1>Special:MyLanguage/Manual:$wgResponsiveImages</>|responsive images]].</translate>
<translate><!--T:684--> Due to [[<tvar|bug>phab:T181987</>|a bug]], if the server locale is set to one that uses commas instead of dots for representing a decimal point, images may not render on some browsers/devices.</translate>
<translate><!--T:685--> This can be confirmed by inspecting a thumbnail of a medium or big image on a page with the browser tools, looking at the HTML code, and see if the <tvar|1><code>srcset</code></> attribute contains commas instead of dots when representing the <tvar|2><code>1.5x</code></> value.</translate>
 
<translate>
===…are all PNG files not being turned into thumbnails?=== <!--T:558-->
</translate>
<translate><!--T:559--> After upgrading to a more recent version of PHP, it is possible a different MimeMagic.php function is being used to detect file MIME types, particularly the built-in PHP function mime_content_type, which fails to detect PNG files.</translate>
<translate><!--T:560--> Search the web for <tvar|1>''mime_content_type png''</> for information on fixing this bug at the PHP level, possibly by editing your magic.mime file.</translate>
 
<translate><!--T:561--> See [[<tvar|1>#"File is corrupt or has an invalid extension"</>|here]] for more info.</translate>
 
<translate>
===…can't I download MediaWiki {{padright:{{#expr:{{MW stable branch number}}+.01}}|4}}?=== <!--T:567-->
</translate>
<translate><!--T:568--> MediaWiki {{padright:{{#expr:{{MW stable branch number}}+.01}}|4}} is in a development state at present, and has not been packaged into a general release.</translate>
<translate><!--T:569--> The code can be [[<tvar|1>Special:MyLanguage/Download from Git</>|downloaded from Git]] if desired.</translate>
<translate><!--T:570--> Or, if you want the latest development version packaged as an archive, get it at {{MW alpha branch link}} (GitHub).</translate>
 
<translate>
===…doesn't this work? It works on Wikipedia!=== <!--T:571-->
</translate>
<translate><!--T:572--> Wikipedia and other Wikimedia web sites use the current version of the code in development; at present, this is MediaWiki {{CURRENTVERSION}}, pulled from the current development branch.</translate>
<translate><!--T:573--> Coupled with the use of several extensions, this means that functionality between these wikis and your particular setup may differ.</translate>
 
<translate>
<!--T:574-->
*To obtain the current development code, read [[<tvar|1>Special:MyLanguage/Download from Git</>|Download from Git]]</translate>
<translate>
<!--T:575-->
*To check what version a Wikimedia wiki is running, as well as what extensions are installed, visit the [[Special:Version]] page for that wiki</translate>
<translate>
<!--T:715-->
* You may also be missing several <tvar|1>{{ll|Manual:Extensions|nsp=0}}</> that are installed on Wikipedia, see [[<tvar|2>#Templates imported from other wikis (such as Wikipedia) don't work for me</>|#Templates imported from other wikis (such as Wikipedia) don't work for me]]
 
===…do I get a '''403 Forbidden''' error after setting permissions on my Fedora system?=== <!--T:576-->
</translate>
<translate><!--T:577--> Fedora Core enables <tvar|1>{{ll|SELinux}}</> by default.</translate>
<translate><!--T:578--> Instructions for setting SELinux permissions for MediaWiki [[<tvar|1>Special:MyLanguage/SELinux</>|are available]].</translate>
 
<translate>
===…do I get ''Installing some external dependencies (e.g. via composer) is required''?=== <!--T:686-->
</translate>
<translate><!--T:687--> Many web hotels only handle zip archives, and we only provide gz compressed tar archives, thus the archives has to be recompressed before uploading.</translate>
<translate><!--T:688--> This should not be much of a hurdle, but it seems like some archive tools occasionally fails to include all files in large archives.</translate>
<translate><!--T:689--> When this happen the vendor folder is left out, leaving the user with the rather non-explanatory error message.</translate>
 
<translate><!--T:690--> Use a command line tool when recompressing the tar archive into a zip archive.</translate>
 
<translate>
===…do I get logged out constantly?=== <!--T:579-->
 
<!--T:580-->
This is probably related to cookies or session data. See [[m:Help:Logging in#Log in problems|Log in problems]] for information.
 
<!--T:682-->
If this is happening constantly to all users, it probably means that caching is misconfigured. Setting <tvar|1><code>$wgSessionCacheType = CACHE_DB;</code></> can be used to determine if caching is the cause of the problem. If that solves the problem, you should still investigate what is wrong with your caching configuration.
 
===…is it a good idea to keep user accounts?=== <!--T:583-->
</translate>
{{outdated|1=<translate><!--T:716--> Manual edits to rev_user fields in the database; MediaWiki uses the <tvar|1>{{ll|Manual:actor table|actor}}</> table now</translate>}}
<translate><!--T:584--> At many times you just want to remove a user account out of the wiki either because it belonged to a spammer account or you just feel like it.</translate>
<translate><!--T:585--> The appropriate choice is to block the account or rename it if needed.</translate>
<translate><!--T:586--> Here is why:</translate>
 
<translate><!--T:587--> ''Do I just remove this row from the [[User table]]?''</translate>
 
<translate><!--T:588--> [[mailarchive:wikitech-l/2007-June/031566.html|Rob Church posted the following]] regarding this issue on the wikitech-l mailing list:</translate>
 
{{quote|text=
<translate><!--T:589--> If the user has made edits, then removing rows from the user table cause theoretical loss of referential integrity.</translate>
<translate>
<!--T:590-->
Now, to be honest
with you, I can't think of any conditions where this would cause an
actual problem; "undefined behaviour" is the phrase we use.
 
<!--T:591-->
What I'd suggest doing, to be on the safe side, is running a couple of
quick updates against the database:
</translate>
 
:<syntaxhighlight lang="sql">UPDATE revision SET rev_user = 0 WHERE rev_user = <current_user_id></syntaxhighlight>
:<syntaxhighlight lang="sql">UPDATE archive SET ar_user = 0 WHERE ar_user = <current_user_id></syntaxhighlight>
 
<translate><!--T:592-->
What this will do is cause MediaWiki to treat the revisions as having
been made anonymously when generating things like page histories,
which should eliminate any problems caused by these routines
attempting to check user details from other tables.
 
<!--T:593-->
If the user has caused log entries, i.e. rows in the logging table, or
uploaded images, then the situation becomes trickier, as you'll have
to start mopping up all the rows everywhere and it could become a bit
of a mess, so if the user's done anything other than edit, I would
strongly recommend just blocking them indefinitely.
 
<!--T:594-->
If the username is offensive or undesirable, then you could consider
renaming it using the <tvar|1>{{ll|Extension:Renameuser|RenameUser}}</> extension.
</translate>
}}
 
<translate><!--T:595--> Another option is to give Admins the [[Manual:User_rights|'hideuser']] right, and indefinitely block the user with the ''Hide username from edits and lists'' option selected.</translate>
 
<translate><!--T:596--> <tvar|1>{{ll|Extension:UserMerge}}</> is also useful.</translate>
 
<translate>
===…is the number of pages so low on Special:Statistics?=== <!--T:699-->
</translate>
<translate><!--T:700--> [[<tvar|1>phab:source/mediawiki/browse/master/includes/DefaultSettings.php</>|By default]], <tvar|2>{{ll|Manual:$wgArticleCountMethod|<code>$wgArticleCountMethod</code>}}</> is set to <tvar|3><code>link</code></>.</translate>
<translate><!--T:701--> This means the number of "Content pages" on the <tvar|1>[[Special:Statistics]]</> page only counts pages which include at least one internal link.</translate>
<translate><!--T:702--> This can be changed by setting <tvar|1><code>$wgArticleCountMethod</code></> to <tvar|2><code>any</code></>.</translate>
<translate><!--T:703--> Afterwards, run <tvar|1>{{ll|Manual:UpdateArticleCount.php|<code>updateArticleCount.php</code>}}</> and/or <tvar|2>{{ll|Manual:InitSiteStats.php|<code>initSiteStats.php</code>}}</>.</translate>
<translate><!--T:704--> (On Wikimedia websites, <tvar|1><code>initSiteStats.php</code></> is run on the 1st and 15th of each month.)</translate>
<translate><!--T:705--> There might still be wrong behavior, see for example <tvar|1>[[phab:T212706]]</>.</translate>
 
<translate>
==Anti-spam== <!--T:597-->
 
===Where do I get the spam blacklist from and how do I install it?=== <!--T:598-->
</translate>
<translate><!--T:599--> The [[<tvar|1>m:Spam blacklist</>|spam blacklist]] extension can be found in [[<tvar|2>Special:MyLanguage/Download from Git</>|Git]], just like all other officially supported extensions.</translate>
<translate><!--T:600--> For installation and configuration instructions, consult the <tvar|1>{{git file|project=mediawiki/extensions/SpamBlacklist|file=README|branch=HEAD|text=README}}</> file and <tvar|2>{{ll|Extension:SpamBlacklist}}</> over here.</translate>
 
<translate>
===How do I use $wgSpamRegex to block more than one string?=== <!--T:601-->
</translate>
<translate><!--T:602--> <tvar|1>{{ll|Manual:$wgSpamRegex|$wgSpamRegex}}</> is a powerful filter for page content.</translate>
<translate><!--T:603--> Adding multiple items to the regex, however, can be awkward.</translate>
<translate><!--T:604--> Consider this snippet:</translate>
 
<syntaxhighlight lang="php">
$wgSpamRegexLines[] = 'display\s*:\s*none';
$wgSpamRegexLines[] = 'overflow\s*:\s*auto';
[...]
$wgSpamRegex = '/(' . implode( '|', $wgSpamRegexLines ) . ')/i';
</syntaxhighlight>
 
<translate><!--T:605--> This example code allows convenient addition of additional items to the regex without fiddling about each time.</translate>
<translate><!--T:606--> It also demonstrates two popular filters, which block some of the most common spam attacks.</translate>
 
:''<translate><!--T:711--> See also:</translate>'' {{ll|Extension:SpamRegex}}
 
<translate>
===Are there additional ways to fight spam?=== <!--T:608-->
 
<!--T:609-->
See '''[[Manual:Combating spam]]''' for an overview of anti-spam measures such as Captcha, content filtering and restricting edition.
 
==Anti-vandalism== <!--T:610-->
 
<!--T:611-->
See '''[[Manual:Combating vandalism]]''' for hints and suggestions on how to deal with wiki vandalism.
 
==Where now?== <!--T:612-->
 
===I've found a bug or have a feature request. Where do I post it?=== <!--T:613-->
</translate>
<translate><!--T:614--> Bugs and feature requests should be posted on <tvar|1>{{ll|Phabricator}}</>.</translate>
<translate><!--T:615--> See [[Special:MyLanguage/How to report a bug|How to report a bug]].</translate>
 
<translate>
===I'm getting a strange error. What now?=== <!--T:616-->
 
<!--T:617-->
*See if it is covered by <tvar|1>{{ll|Manual:Errors and Symptoms}}</></translate>
<translate>
<!--T:618-->
*Try to find out more about the problem, see <tvar|1>{{ll|Manual:How to debug}}</></translate>
<translate>
<!--T:619-->
*See the [[<tvar|1>#Still no luck. Where can I ask for help?</>|section below]] for information on how to contact [[developers]] and other knowledgable users.
 
=== I tried that but it didn't work === <!--T:621-->
</translate>
 
:''<translate><!--T:622--> I had a problem, I came to this page and it told me how to fix it.</translate> <translate><!--T:623--> But it didn't work, the problem is still there!!!!</translate>''
 
<translate><!--T:624--> Nine times out of ten this is because you didn't [[<tvar|1>#How do I purge a cached page?</>|clear your cache]].</translate>
<translate><!--T:625--> The simple test for this is to request a page that hasn't been requested before.</translate>
<translate><!--T:626--> Select the part of the URL in the address bar that contains the page title (e.g. Main_Page).</translate>
<translate><!--T:627--> Twiddle your fingers on the keyboard for a while, hit enter.</translate>
<translate><!--T:628--> Check if the problem is on that page too.</translate>
 
<translate><!--T:629--> MediaWiki uses both a server-side cache and a client-side cache, so clearing your browser cache is often not enough.</translate>
<translate><!--T:630--> See the [[<tvar|1>#How do I purge a cached page?</>|relevant entry above]] for more details.</translate>
 
<translate><!--T:631--> Here are some other things to check:</translate>
 
<translate>
<!--T:632-->
* Were you editing the right file? Try inserting some garbage into the file you edited, does it break anything?</translate>
<translate>
<!--T:633-->
** A great debugging tool in this case is to create a file called phpinfo.php, containing only <tvar|1><code><?php phpinfo() ?></code></>.</translate> <translate><!--T:634--> Upload it into your web directory and invoke it with your browser.</translate> <translate><!--T:635--> Check the document root and the path to php.ini.</translate>
<translate>
<!--T:636-->
* Were you editing the right part of the file?</translate> <translate><!--T:637--> Did you create a duplicate entry in php.ini?</translate> <translate><!--T:638--> Add new settings to the end of LocalSettings.php, not to the beginning.</translate>
<translate>
<!--T:639-->
* If you created a .htaccess, are you sure AllowOverrides is on?</translate> <translate><!--T:640-->
Ask your hosting provider.
 
===I have a question not answered here. Where do I go next?=== <!--T:641-->
 
<!--T:642-->
If you've exhausted the FAQ above, please try the following:
 
<!--T:643-->
*Check the [[Project:Help|other sources of help]] on this site</translate>
<translate>
<!--T:644-->
*[[Special:Search|Search]] the rest of this site</translate>
<translate>
<!--T:646-->
*Search the web</translate>
<translate>
<!--T:647-->
*[[How to become a MediaWiki hacker|Dig into the source]]</translate>
<translate>
<!--T:648-->
*See the [[<tvar|1>#Still no luck. Where can I ask for help?</>|section below]] for information on how to contact developers and other knowledgeable users.</translate>
 
{{anchor|Still no luck. Where can I ask for help?}}
<translate>
===Still no luck. Where can I ask for help?=== <!--T:649-->
 
<!--T:650-->
*Post a message at [[Project:Support desk]]</translate>
<translate>
<!--T:651-->
*Email the [[mail:mediawiki-l|mediawiki-l mailing list]] (try and [http://dir.gmane.org/gmane.org.wikimedia.mediawiki search the archive] first).</translate>
<translate>
<!--T:652-->
*Ask the [[developers]] in our [[MediaWiki on IRC|IRC channel]].
 
===Recommended reading=== <!--T:653-->
 
<!--T:654-->
*[http://www.catb.org/~esr/faqs/smart-questions.html Asking smart questions]</translate>
<translate>
<!--T:655-->
*[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html Effective bug reporting]</translate>
<translate>
<!--T:656-->
*[http://workaround.org/getting-help-on-irc Getting help on IRC]</translate>
<translate>
<!--T:657-->
*[[Books about MediaWiki]]
</translate>


[[Category:Manual{{#translation:}}]]
1. 方案一:将提速账户降级,变回普通账户;   
[[Category:Configure{{#translation:}}]]
     
2. 方案二:使用图书馆提供的公共电脑使用数字资源。

2021年12月21日 (二) 02:12的最新版本

数据库使用

在校内,中国知网打不开,是不是服务器坏了?该怎么办?

先说结论:中国知网作为国内第一大的数据商,有非常多的客户,在不同区域部署了非常多的服务器。所以从概率上判断,我们第一时间不是去怀疑它的服务器坏了,正如我们上不了百度,我们不会说百度服务器坏了一样。 排除故障,我们可以从以下步骤去考虑:

  • 浏览器是否正常?换个浏览器试试。
  • 电脑是否正常?其他网站,比如:baidu.com和图书馆其他的资源是否能够打开?隔壁同学的电脑能否正常打开?
  • 校园网是否正常?使用手机流量打开CNKI.NET试试。如果可以,有可能是校园网络异常。可以致电网络信息中心报告故障:(广州)020-84096450 (佛山)0757-87828200 进行报修。
    详情请参考网络信息中心网站
  • 如果手机流量同样不能打开,而且你周围的人跟你一样结果,此时谨慎地怀疑可能知网片区的服务器真出问题了。可以致电知网客服:400-810-9888。


校内使用图书馆数据库下载论文时,页面弹出“贵单位没有订购该产品”,是什么原因?

由于学校购买数据库的经费有限,所以根据学科配置及不重复购买的原则,仅购买了某些数据库的某些资源,例如学校没有开设的工科、医学等专业的论文是没有购买的,所以当无法下载部分资源时,页面会出现“贵单位没有订购该产品”的提示。

北大法宝有些权限无法使用。

由于学校购买数据库的经费有限,所以根据学科配置及不重复购买的原则,仅购买了某些数据库的某些资源。图书馆目前只订购了北大法宝的法律法规、司法案例、中国法律英文译本、司法考试系统四个产品。其他的期刊类没有订购,所以显示有些权限无法使用。


图书借阅

怎样借密集书库的书籍?

  • 广州校区:

馆藏检索后,确认该书馆藏地为“广州校区密集书库”,状态为“可借”,到二楼服务台填写“密集书库索书单”(注意:填写索书单前确认本人没有超期图书);

关注微信“广东财经大学图书馆服务号(gdufelib)”并绑定个人校园卡(服务门户——绑定证件);接到“图书馆借书成功通知”后凭一卡通到二楼服务台借书(若7天内未取,书将退回密集书库)。

  • 佛山校区:

馆藏检索后,确认该书馆藏地为“佛山校区密集书库”,状态为“可借”,记下特藏码;将特藏码交到一楼密集书库老师处,并在门口等候;

取书后到二楼服务台办理借书手续。密集书库开放时间为周一至周日14:00-21:30。


系统问题

忘记密码怎么办?

  • 情形一:“我什么都忘记了”
    我的图书馆密码,如果已经登记邮箱,可以通过系统自助取回;否则需要本人持校园卡到图书馆服务台进行修改。
  • 情形二:“我还记得信息门户密码”
    信息门户已经跟图书馆系统做了单点登陆整合,您可以通过登陆信息门户,然后在右边快速登陆里找到“图书馆”系统,通过简单点击即可无需输入账户密码使用“我的图书馆”;当然,您成功登陆后,还可以通过“我的图书馆”添加个人邮箱,然后自助取回“我的图书馆”密码。更多详情可以参考密码页面。

网络问题

GDUFE WIFI 不能用怎么办?

GDUFE WIFI网络由学校网络信息中心提供,可以致电:
(广州)020-84096450
(佛山)0757-87828200 进行报修。
详情请参考网络信息中心网站

WIFI 账号密码是多少?

GDUFE WIFI 服务由学校网络信息中心提供。学生用户需要是校园网缴费用户,与宿舍上网账号密码一致;教工用户,可以持校园卡到网络信息中心请求开通免费账户。 详情可以致电:
(广州)020-84096450
(佛山)0757-87828200 进行咨询。
或者参考校园网办理指南

VPN 不能用,怎么办?

VPN 服务由学校网络信息中心提供,操作流程可以参考网络信息中心提供的操作手册

  • VPN使用问题(如:客户端安装、账号密码、不能连接等),可以致电信息中心网络部:020-84096911 。
  • 如果VPN已经连接并成功登陆,但数据库不能使用,请致电图书馆进行反馈:020-84096916 。

为何校内使用知网,右上角的机构所属显示为:“广东轻工职业技术学院”或者在登陆页面说:“你的IP不在许可范围之内”?

根据我们的统计数据和观察,这类情况大概率是由于移动的提速账户所造成。移动给提速用户随机分配IP,部分IP与其他学校存在共享的情况。换句话说,提速用户不保证分配到我校校园网IP,所以造成了数字资源授权上的困扰。该情况已经反馈给学校网络中心,网络中心也已经跟中国移动进行过交涉。但短期内,技术无解。目前,我们给出的建议方案有两种:

1. 方案一:将提速账户降级,变回普通账户;

2. 方案二:使用图书馆提供的公共电脑使用数字资源。