Hi,
How can I take Login link from the top-right-hand side of the wiki's pages
to another place?
The best solution could be if Login link can be found near 'article',
'discussion',... tabs.
Regards,
Gabor
I see that Confluence (a commercial wiki) has announced features that
integrate with Microsoft SharePoint. Has anyone done something similar
for MediaWiki to integrate with SharePoint? A quick Googling didn't
reveal much.
http://www.atlassian.com/sharepoint/features.jsp
DanB
> Earlier: Is there a way to change the
> current, contemporaneous default
> for ALL subsequent visitors, including
> registered and unregistered visitors?
> Response: ... we have manually set
> user preferences for both new and existing
> users using a SQL REPLACE() statement
> combined with LocalSettings defaults. This
> in effect brings every user to the same
> settings... use an UPDATE... REPLACE SQL
> query to bring all existing users to the
> same settings.
Peter Blaise responds: I'm always happy to learn more about the inner
workings of the support programs for MediaWiki software. What would
such a query look like, how about an example? How about putting it
somewhere at http://www.MediaWiki.org/ and linking to it? Thanks!
Thanks. How can I see the DC metadata of an article?
When I tried the URL
http://sbsws469/sunwiki/index.php?title=Mani_Page&action=editant&action=
dublincore
I got the error:
"Not Acceptable
The wiki server can't provide data in a format your client can read."
Regards,
Jack
----------------------------------------------------------------
"People forget how fast you did a job - but they remember how well you
did it"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dan Thomas
Sent: Monday, October 15, 2007 6:22 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] what does wgEnableDublinCoreRdf do?
Jack -- it generates web page metadata on the wiki page using Dublin
Core elements. See:
http://www.mediawiki.org/wiki/Manual:LocalSettings.phphttp://meta.wikimedia.org/wiki/RDF_metadata
On 10/15/07, Jack Eapen C <jackec(a)suntecgroup.com> wrote:
>
>
>
> what is the use of settign the parameter wgEnableDublinCoreRdf=true?
>
> Regards,
>
> Jack Eapen C
> SunTec Knowledge Centre
> ----------------------------------------------------------------------
> --
> ------------
> "When your work speaks for itself, don't interrupt"
>
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual or
> entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this email
> immediately and delete this email (and any attachment thereto) from
> your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
--
Dan Thomas
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
I am using an AuthPlugin to login my site members to MediaWiki. I used the
Auth_remoteuser plugin as a model. I have most of the functionality
working, however I am having a problem when say a user would logout of my
member website and then login as a different user. In this case, all of the
session variables and cookies change to the new user for MediaWiki as they
should, but the pages still display the previous user name in the page
header. I can't figure out what I'm missing, but obviously I need to logout
the user and clear some kind of session data from the old user. I have the
following code in my plugin.
$user = User::newFromSession();
if (!$user->isAnon()){
error_log("user is not anonymous");
$wiki_name=trim(strtolower($user->getName()));
$member_name=trim(strtolower($_SESSION['member_login']));
error_log("wiki name: $wiki_name -- amember name: $amember_name");
if($wiki_name!=$amember_name){
error_log("logging out user");
$user->logout();
}
else return; // User is already logged in and not anonymous.
}
>From the messages showing up in my error log, I can see when the old
username changes to the new one, yet the logged-in name that appears in
MediaWiki does not change. Is $user->logout() not enough to actually logout
the user and clear the session? Any help is appreciated.
Thanks,
Ben
Tks Jim for the help.
I tried your example, and I tried another way based on the LoopFunctions.
Unfortunately both cases didn't work. It seems that the template that composes
the table row return html (div tag in your example and td,tr tags in my example)
that was parsed as simple string... I think that I missed something such as
escape techinque...
Any suggestion?
Tks again
Giuseppe
--
Giuseppe Briotti
g.briotti(a)mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
> Earlier: where can I define, in which
> namespaces usually - preselected -
> the searchengine should search. Can
> i define something like global
> seachinnamespaceArray?
Peter Blaise responds: This is a FAQ - can someone direct us to
where it is at, or add it to, http://www,mediawiki.org/ ?
Is there a way to change the current, contemporaneous default
for ALL subsequent visitors, including registered and unregistered
visitors?
There are many places to define search behavior.
Someone else kindly offered in our archives a default that I now
use that includes everything for NEWLY registering users who register
AFTER these lines are inserted in LocalSettings.php - all previously
registered users must change their own preferences - this, by the way,
has the ability to set almost ALL subsequent newly registrating user
defaults (I haven't found a way to preselect searching in the namespace
"NS_LIST_REDIRECTS"!):
Add to LocalSettings.php:
//SET USER PREFERENCE DEFAULTS:
# Question - how to set default search to include "List
redirects" ?!?
# NS_LIST_REDIRECTS in following list causes blank wiki!
# anyway, carry on ...
# SEARCH: Choose the namespaces
$myAdditionalNamespacesSearchDefault = array(
NS_MAIN,
NS_TALK,
NS_USER,
NS_USER_TALK,
NS_PROJECT,
NS_PROJECT_TALK,
NS_IMAGE,
NS_IMAGE_TALK,
NS_MEDIAWIKI,
NS_MEDIAWIKI_TALK,
NS_TEMPLATE,
NS_TEMPLATE_TALK,
NS_HELP,
NS_HELP_TALK,
NS_CATEGORY,
NS_CATEGORY_TALK
);
foreach ($myAdditionalNamespacesSearchDefault as $value) {
$wgNamespacesToBeSearchedDefault[$value] = true; }
// ## user preference defaults:
// ## User Profile
// $wgDefaultUserOptions['fancysig'] = 0 ;
// $wgDefaultUserOptions['rememberpassword'] = 0 ;
// Whether to remember the user's password between sessions.
$wgDefaultUserOptions['rememberpassword'] = 1 ;
// Whether to remember the user's password between sessions.
// $wgDefaultUserOptions['enotifwatchlistpages'] = 0 ;
// Only used if $wgEnotifWatchlist is set.
$wgDefaultUserOptions['enotifwatchlistpages'] = 1 ;
// Only used if $wgEnotifWatchlist is set.
$wgDefaultUserOptions['enotifusertalkpages'] = 1 ;
// Only used if $wgEnotifUserTalk is set.
// $wgDefaultUserOptions['enotifminoredits'] = 0 ;
// Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are
set.
$wgDefaultUserOptions['enotifminoredits'] = 1 ;
// Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are
set.
// $wgDefaultUserOptions['enotifrevealaddr'] = 0 ;
// Only used if $wgEnotifRevealEditorAddress and
//either $wgEnotifWatchlist or $wgEnotifUserTalk are set.
// ## Quickbar
// $wgDefaultUserOptions['quickbar'] = 1 ;
// Quickbar location (only applies if using Cologne Blue or
// Classic skins). Options are: 0 - None, 1 - Fixed left,
//2 - Fixed right, 3 - Floating left, 4 - Floating right.
// ## Skin
// $wgDefaultUserOptions['skin'] = $wgDefaultSkin ;
// ## Math
// $wgDefaultUserOptions['math'] = 1 ;
// How to render in-line maths (contents of <math>
// </math> tags). Only applies if $wgUseTeX is set.
// Options are: 0 - Always render PNG, 1 - HTML if very
// simple or else PNG, 2 - HTML if possible or else PNG,
// 3 - Leave it as TeX (for text browsers),
// 4 - Recommended for modern browsers,
// 5 - MathML if possible (experimental)
// ## Files
// $wgDefaultUserOptions['imagesize'] = 2 ;
// Size to limit images on description pages to. Values
correspond to the entries in $wgImageLimits. By default, 2 is 800*600.
// $wgDefaultUserOptions['thumbsize'] = 2 ;
// Thumbnail size - Values Correspond to the entries in
// $wgThumbLimits. By default, 2 is 180px.
// ## Date and Time
// $wgDefaultUserOptions['date'] = 0 ;
// Date format. 0 = No preference.
// $wgDefaultUserOptions['timecorrection'] = NULL ;
// Timezone offset
// ## Editing
// $wgDefaultUserOptions['rows'] = 25 ;
// Edit box size (rows)
// $wgDefaultUserOptions['cols'] = 80 ;
// Edit box size (columns)
// $wgDefaultUserOptions['editsection'] = 0 ;
// Enable section editing via [edit] links
$wgDefaultUserOptions['editsection'] = 1 ;
// Enable section editing via [edit] links
// $wgDefaultUserOptions['editsectiononrightclick'] = 0 ;
// Enable section editing by right clicking on section titles
(JavaScript)
$wgDefaultUserOptions['editsectiononrightclick'] = 1 ;
// Enable section editing by right clicking on section titles
(JavaScript)
// $wgDefaultUserOptions['editondblclick'] = 0 ;
// Edit pages on double click (JavaScript)
$wgDefaultUserOptions['editondblclick'] = 1 ;
// Edit pages on double click (JavaScript)
// $wgDefaultUserOptions['editwidth'] = 0 ;
// Edit box has full width
// $wgDefaultUserOptions['showtoolbar'] = 1 ;
// Show edit toolbar (requires javascript)
// $wgDefaultUserOptions['previewonfirst'] = 0 ;
// Show preview on first edit
$wgDefaultUserOptions['previewonfirst'] = 1 ;
// Show preview on first edit
// $wgDefaultUserOptions['previewontop'] = 1 ;
// Show preview before edit box
// $wgDefaultUserOptions['minordefault'] = 0 ;
// Mark all edits minor by default
// $wgDefaultUserOptions['externaleditor'] = 0 ;
// Use external editor by default
// $wgDefaultUserOptions['externaldiff'] = 0 ;
// Use external diff by default
// $wgDefaultUserOptions['uselivepreview'] = 0 ;
// Only used if $wgLivePreview is true.
$wgDefaultUserOptions['uselivepreview'] = 1 ;
// Only used if $wgLivePreview is true.
// $wgDefaultUserOptions['forceeditsummary'] = 0 ;
// Prompt user when entering a blank edit summary
$wgDefaultUserOptions['forceeditsummary'] = 1 ;
// Prompt user when entering a blank edit summary
// ## Recent changes
// $wgDefaultUserOptions['rclimit'] = 50 ;
// Titles in recent changes
// $wgDefaultUserOptions['hideminor'] = FALSE ;
// Hide minor edits in recent changes
// $wgDefaultUserOptions['shownumberswatching'] = ? ;
// Show the number users, who are watching this page (on recent
changes, watch list and artice pages). Only used if
$wgRCShowWatchingUsers is set.
// $wgDefaultUserOptions['usenewrc'] = FALSE ;
// Enhanced recent changes - javascript collapsable tree
$wgDefaultUserOptions['usenewrc'] = TRUE ;
// Enhanced recent changes - javascript collapsable tree
// ## Watchlist
// $wgDefaultUserOptions['watchlistdays'] = 3 ;
// Number of days to show in watchlist
$wgDefaultUserOptions['watchlistdays'] = 30 ;
// Number of days to show in watchlist
// $wgDefaultUserOptions['extendwatchlist'] = 0 ;
// Expand watchlist to show all applicable changes
$wgDefaultUserOptions['extendwatchlist'] = 1 ;
// Expand watchlist to show all applicable changes
// $wgDefaultUserOptions['wllimit'] = 250 ;
// Number of edits to show in expanded watchlist
(if'extendwatchlist'== 1)
// $wgDefaultUserOptions['watchlisthideown'] = 0 ;
// Hide the user's own edits from the watchlist
// $wgDefaultUserOptions['watchlisthidebots'] = 0 ;
// Hide bot edits from the watchlist
// $wgDefaultUserOptions['watchlisthideminor'] = 0 ;
// Hide minor edits from the watchlist
// $wgDefaultUserOptions['watchcreations'] = 0 ;
// Add pages the user creates to their watchlist
$wgDefaultUserOptions['watchcreations'] = 1 ;
// Add pages the user creates to their watchlist
// $wgDefaultUserOptions['watchdefault'] = 0 ;
// Add pages the user edits to their watchlist
$wgDefaultUserOptions['watchdefault'] = 1 ;
// Add pages the user edits to their watchlist
// $wgDefaultUserOptions['watchmoves'] = 0 ;
// Add pages the user moves to their watchlist
$wgDefaultUserOptions['watchmoves'] = 1 ;
// Add pages the user moves to their watchlist
// $wgDefaultUserOptions['watchdeletion'] = 0 ;
// Add pages the user deletes to their watchlist
$wgDefaultUserOptions['watchdeletion'] = 1 ;
// Add pages the user deletes to their watchlist
// ## Search
// $wgDefaultUserOptions['searchlimit'] = 20 ;
// Hits per page
$wgDefaultUserOptions['searchlimit'] = 200 ;
// Hits per page
// $wgDefaultUserOptions['contextlines'] = 5 ;
// Lines per hit
$wgDefaultUserOptions['contextlines'] = 50 ;
// Lines per hit
// $wgDefaultUserOptions['contextchars'] = 50 ;
// Context per line
$wgDefaultUserOptions['contextchars'] = 500 ;
// Context per line
// ## Misc
// $wgDefaultUserOptions['stubthreshold'] = 0 ;
// Threshold for stub display
// $wgDefaultUserOptions['underline'] = 2 ;
// Whether to underline links. Options are: 0 - never, 1 -
always, 2 - browser default
$wgDefaultUserOptions['underline'] = 1 ;
// Whether to underline links. Options are: 0 - never, 1 -
always, 2 - browser default
// $wgDefaultUserOptions['highlightbroken'] = 1 ;
// Format broken links as red-underlined links (alternative:
with a questionmark as the link, like this?).
// $wgDefaultUserOptions['justify'] = 0 ; // Justify paragraphs
// $wgDefaultUserOptions['numberheadings'] = 0 ;
// Option "Auto-numbering Headings", 1 turns on the numbering of
all headings within articles
// $wgDefaultUserOptions['showtoc'] = 1 ;
// Boolean. 1 is show the TOC, 0 is hide it.
$wgDefaultUserOptions['showtoc'] = 0 ;
// Boolean. 1 is show the TOC, 0 is hide it.
// $wgDefaultUserOptions['nocache'] = 0 ;
// Disable page caching
// $wgDefaultUserOptions['showjumplinks'] = 1 ;
// Enable "jump to" accessibility links
// $wgDefaultUserOptions['diffonly'] = 0 ;
// Don't show page content below diffs
Hi,
has anyone upgraded from mediawiki 1.6.8 to the newest version 1.11.0
and changed from mysql 4.1 to msyql 5.0 and php4.3 to php5.2.
I have a new server and I will copy my wiki files and the database files
to the new server.
Then install mysql which should automatically upgrade the tables to
version 5.
copy the upgrade files to my wiki.
doing the upgrade like described in the upgrade manual.
Do you have any recommendations for me?
Thanks,
Achim