If one is typing an article and put the double brackets around a word
or phrase, that word or phrase becomes a link. Clicking on the link
goes to that page (before editing, naturally, it is empty). Two
questions:
How does one avoid getting (or handling) two pages that deal with the
identical subject. For example, if I create a link to the term
"supercell" and another author creates a link using the term
"supercells", do I not end up with TWO pages that must be kept "in
sync" with the same definition? I know that leaving the last "s"
outside the double brackets solves the problem, but
a) that option is not available for all plural words or for other suffixes
b) it only takes one person to create additional pages that are
duplicates of the first.
Is this part of the "pruning" process that must go on in maintaining a
wiki? (This could particularly explain the usefulness of the "What
links here" Toolbox link. With that one could go to the supercells
page and change all references to point to the supercell page. If this
is the best way to handle it, does one delete the duplicate (plural)
page after all references to it have been removed?
Also, "namespace" in MediaWiki seems to mean something different than
I am using it above. I'm not sure I'm clear on that, but the "Special"
pages are one example of that. "Special" seems to be called the
"namespace" and the part after the colon is something else. Can
anybody explain that further?
Darren Addy
Kearney, NE
I noticed this behaviour in someone else's edit. It appears that they had
habitually wikified a term despite the fact that they were including it as
the text of an external link. I realise this shouldn't be supported, but the
behaviour that it exhibits should probably be considered as not "doing the
right thing".
What it does is hard to explain, so here's a diff to a WP:Sandbox edit
demonstrating it:
This doesn't really break anything or pose any security issues (that I can
think of), but the code handling wikitext rendering should probably not try
to wikify double-square-bracket-delineated text in external links anyway.
Kynnin Scott
http://en.wikipedia.org/w/index.php?title=Wikipedia%3ASandbox&diff=11983383&
oldid=11983377
Hi,
I have a wiki running on Suse 9.2. the pages are working fine. but I
am not able to upload any images or files to my server ... it always
gives me this error.
The file you uploaded seems to be empty. This might be due to a typo
in the file name. Please check whether you really want to upload this
file.
although the files i am trying to upload a jpeg images of 100 kb etc.
can any one hint at what the error could be, any suggestions plz.
regards
Has anyone had success with submitting data that contains non-English
characters via a bot? I'm currently working on some Perl scripts to
extract and upload data from a number of external sources related to
the subject of our wiki -- thanks, James Birkholz, for the extension
code by I decided to go another way -- and some of this material
consists of translations of foreign (esp., French and Irish) terms that
contain various accented characters.
The basic bot is working -- login, upload 1 or more articles, logout,
produce some reports on what happened -- but I haven't had much success
with uploading articles non-standard characters. For those familiar
with Perl, I'm using the LWP modules (LWP::UserAgent and
HTTP::Request::Common, mostly) and thought I might be able to handle
this using the URI::Escape module, but no success.
The best workaround I have so far is to replace the characters with
HTML entities but that interferes with searching for the terms once
they are uploaded.
Any suggestions, advice, or pointers to helpful resources would be
appreciated.
John Blumel
For your information:
I fully succeeded in porting ENotif and EAuthent from the CVS HEAD
version back to REL1_4 (1.4.1).
All functions **do** already work, but I decided to invest more time for
tests and perhaps further optimizations. If everything works out fine, I
can hold my promised release date 09-APR-2005.
It will also be the first version supplying users with direct
"difference between current and last-visited-revision" links (for
watched pages on recent-changes view, see [3]). The feature can also be
used by those who opted to not receive email notifications (ENotifs).
It also allows EAuthent [2], so that all mail functions except "mail me
a temporary password, because I forgot it" only work after the user has
authenticated the entered email address. The mechanism is explained in [2].
Proper config/installation and updaters code and plenty of
sysop-settings and user options are supplied, see screenshots [4].
Developers, who are interested, are asked to add their email addresses
to the CC list of the mentioned bugzillas.
Tom
[1] http://bugzilla.wikipedia.org/show_bug.cgi?id=454 E-mail
notification (EN) for page changes of watch-listed pages and/or of
user_talk page
[2] http://bugzilla.wikipedia.org/show_bug.cgi?id=866 Email
authentication (EA) by mailing a temporary one-time password
[3] http://bugzilla.wikimedia.org/show_bug.cgi?id=536 For pages on
watchlist save last seen version number
[4] http://meta.wikipedia.org/wiki/Enotif
Hi,
I'm exploring MediaWiki and, like a newbie, forgot my sysop password. Is
there a specific sql script or resource I can use to reset it directly in
the database? Any help would be appreciated.
Thanks!
From: David Gerisch [mailto:DEGerisch@co.tulare.ca.us]
[snip]
> just replace the search portlet with an anchor link to the htDig
> search page.
What I did was to edit \skin\skinname.php (where skinname is the skin you
are using - I took monobook & derived a new skin from it to hold all our
customisations).
The code we now have for the search portlet is:
<script type="text/javascript" language="JavaScript">
<!--
function ActionDeterminator()
{
if(document.searchform.engine[0].checked == true) {
document.searchform.action = '<?php $this->text('searchaction') ?>';
}
if(document.searchform.engine[1].checked == true) {
document.searchform.action = 'http://www.google.co.nz/search';
document.searchform.method = 'get';
document.searchform.q.value = document.searchform.search.value;
}
return true;
}
function entsub(myform) {
if (window.event && window.event.keyCode == 13) {
ActionDeterminator();
myform.submit();
} else {
return true;
}
}
// -->
</script>
<tr>
<td align="right" nowrap>
<div class="searchtext">
<form name="searchform" action="<?php $this->text('searchaction')
?>" id="searchform">
<input name="q" type="hidden" value="">
<input type="radio" name="engine" checked><font
color="white">Intranet</font>
<input type="radio" name="engine"><font color="white">The web</font>
<input name="search" type="text"
<?php if($this->haveMsg('accesskey-search')) {
?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php }
if( isset( $this->data['search'] ) ) {
?> value="<?php $this->text('search') ?>"<?php } ?>
onkeypress="return entsub(this.form)"/>
<input type='image' name="fulltext"
class="searchButton" src="<?php $this->text('stylepath')
?>/<?php $this->text('stylename') ?>/search.gif" alt="Search"
value="<?php $this->msg('search') ?>" onClick="return
ActionDeterminator();" />
</form>
</div> <!-- searchtext -->
</td>
</tr>
Which allows us to choose between a google search & a wiki search.
Hope this helps.
al.
Hello,
I have a need to search for things within my wiki that MySQL doesn't
easily find. I've set up ht://Dig to index my wiki, and the htDig
search page itself does find the pages I need. So my question is: what
steps would I take to embed a link to the htDig Search.html page? In
essence, I'd like either:
1) the search portlet to 'shell out' to the htDig search (most
desirable)
-or-
2) just replace the search portlet with an anchor link to the htDig
search page.
I'm pretty new to MediaWiki, and do not know which files would be the
correct ones to modify.
My version information is:
MediaWiki (http://wikipedia.sf.net/): 1.4.0
PHP (http://www.php.net/): 4.3.4 (apache2handler)
MySQL (http://www.mysql.com/): 4.0.18
Thank you for any assistance you can give me.
David Gerisch, Systems Development Specialist
A.C.S. / Tulare County Information Technology
degerisch(a)co.tulare.ca.us
I'd like to find a simple way to include a header at the top of every
page, but I'm not terribly fluent in PHP. Can anyone point me in the
right direction?
Thanks!
Bret Wortman