When enter {{SERVER}} into wiki text, it will translate to http://<my-host>/
It looks like template, but it shows nothing when I access template:SERVER.
What is {{SERVER}}? Is it variable of some kind? Any other construct that
looks like that?
--
Best regards,
Chau Chee Yang
Currently, when create user wiki local account, the password length must be
at least 1 character. Can we allow blank password for account creation?
--
Best regards,
Chau Chee Yang
Hi,
I am running into a problem with setting the $msg argument of the
SkinCopyrightFooter hook function to some HTML text (mediawiki
1.19.0). For instance, doing this:
function CopyrightFooter ( $title, $type, &$msg, &$link )
{
$msg = 'Content is available under the <a
href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation
License 1.3 or later</a>';
return true;
}
$wgHooks['SkinCopyrightFooter'][] = 'CopyrightFooter';
Renders like this:
<Content is available under the <a
href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation
License 1.3 or later</a>>
In other words, the html gets escaped somehow and does not end up
being rendered as intended. Did I use the $msg argument incorrectly?
Thanks,
nick
Hi,
I am creating a new theme with mediawiki 1.18.1 and 1.19.0 source code and I have a couple of style sheets from a remote site. I am not able to add these style sheets in the resource loader styles array with a url like 'http://mysite.com/css/screen.css'. When I do, I get the following errors:
For 1.18.1, the error is:
[error] [client ::1] PHP Warning: filemtime(): stat failed for /home/user/public_html/mw-1.18.1/skins/https://mysite.com/brand/styles/3.0/css/bg/backsplash-green_bg.css in /home/user/public_html/mw-1.18.1/includes/resourceloader/ResourceLoaderFileModule.php on line 380
For 1.19.0, the error is:
error] [client ::1] PHP Warning: array_map(): An error occurred while invoking the map callback in /home/user/public_html/mediawiki-1.19.0/includes/resourceloader/ResourceLoaderFileModule.php on line 589
I have to download the style sheets locally and mention a local file path to the styles array. Is this a limitation/restriction in mediawiki to add style sheets only with a file path?
Thanks,
Poornima.
The logon account in en.wikipedia.org page has "My sandbox" link in top
left part.
How can I do that in my private mediawiki site? Is there any extension to
do so?
Thank you.
--
Best regards,
Chau Chee Yang
Hi all,
I'm loading compressed wikipedia xml data into mysql database using
mwdumper. The input is the following file gotten from
http://dumps.wikimedia.org/enwiki/latest/:
enwiki-latest-pages-meta-history1.xml-p000000010p000002130.bz2
In mysql, I have a user named wikiuser and have an empty database for that
user named wikidb.
I run the following command to load data into my db:
java -jar mwdumper.jar --format=sql:1.5 [the_bz2_file_name] |
mysql -u wikiuser -p wikidb
However, I got this error: "ERROR 1146 (42S02) at line 33: Table
'wikidb.text' doesn't exist".
You can see the detail output messages from the link below:
http://pastebin.com/Y6WXhxnq
Can someone help me fix this error please?
Many thanks,
Chepukha
Is there a bot which will repair external URL coded links to the same wikinand rewrite them as wiki links?
For example, if MediaWikis were installed in www.example.com/wiki and pages contains
links using external link notation
blah http://www.example.com/wiki/Some_page blah
blah [http://www.example.com/wiki/Some_page some text] blah
blah [http://www.example.com/wiki/Some_page#some_section some text] blah
then the "What links here" feature would not work because such links are not recognized.
The bot would replace those with wiki links:
blah [[Some page]] blah
blah [[Some page | some text]] blah
blah [[Some page#some_section | some text]] blah or blah {{there|some section|Some page | some text}} blah
In addition, if the link is to a section of the current page, i.e. on [[Some page]],
the second link would be updated as
{{here|some section|some text}}
There may need to be some way to disable this (i.e. in help or project pages
that discuss link notation).
Alternatively, could Special:WhatLinksHere be "taught" to recognize the
wiki's own URL and count those links?
I looked at http://en.wikipedia.org/wiki/Category:Wikipedia_bots_by_purpose
but none of those categories seemed to match what I'm looking for.
thanks,
djb
--
David J. Biesack | Principal API Architect | SAS
@davidbiesack | 919-531-7771 | www.sas.com
Hi everyone,
I'd like to invite anyone who is interested in Git, Gerrit and
code review to office hours I will be holding on IRC next
week. Here are the full details:
Channel: #wikimedia-dev on Freenode
Date: May 22, 2012
Time: 18:30-19:30 UTC (13:30 EDT, 11:30 PDT)
Subject: Git/Gerrit
I will be on hand to answer any questions you have about
the git migration so far, the process moving forward, and
anything else interesting you can think up.
Have a great week, and I hope you can join us next Tuesday!
-Chad
When I run update.php I get this error message, since last php update.
Any tips on clearing it.
PHP Deprecated: Comments starting with '#' are deprecated
in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated
in /etc/php5/cli/conf.d/ps.ini on line 1 in Unknown on line 0
MediaWiki 1.19.0 Updater
BTW: seems to update databases OK though.
Thanks
frosty
Hi all,
I want to create Lucene/Solr index of wikipedia xml dump. I used Solr
example(http://wiki.apache.org/solr/DataImportHandler#Example:_Indexing_wik…
to index wikipedia xml dump. Since in wikipedia, Category and external
links are part of wikipedia text, I am not able to index category and
external links separately. I want to index Category, Externals
links etc separately and store them in separate fields.
Would anyone please be kind enough to give me a bit of advice?
Thanks
Vineet Yadav