> > Hi i recently requested to remove the content from this link because its prejudicial for my career, the article is not online and the deletion notice still shows up in google search, can the following link be blanked or removed from Google search?
>
> > http://deletedwiki.com/index.php?title=Mariana_Huerta
> >
> > Thank you so much
> Best
>
>
Do we have a convenient way, in a MediaWiki page, to convert a local path
to a URL?
For example, a corporate wiki might want to have a template that links via
URL to a file on the shared drive (file://...), but shows on the wiki page
the local path (A:\...) One way to do that is to have template parameters 1
and 2 be the two different formats, but I'd prefer to just automatically
convert the local path.
The spaces in filenames have to be converted to %20 and whatnot, as
described in https://en.wikipedia.org/wiki/File_URI_scheme Thanks.
>
> Date: Wed, 18 Jan 2017 17:32:29 +1000
> From: "K. Peachey" <p858snake(a)gmail.com>
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Subject: Re: [MediaWiki-l] Using a hook to change the logo
> Message-ID:
> <CADnECnVS=G+KY0aZDA2echVCf4LaQenyq24SXO1_
> mTJXcc64EA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> You can set a blank logo, then use [[Mediawiki:Group-user.css]] to
> overwrite the displayed logo.
Thanks, Peachey, that worked great. I used the following:
/* CSS placed here will affect registered users only */
#p-logo a {
background-image: url(http://wiki.com/w/wiki_logo.png)
!important;
}
Now, my next question is, how do I make the wiki sitename only visible to
logged-in users? Is there a hook that runs after the User object is set,
but before the <title> is set (or is there some better way to do it)? I
tried the following, and was able to change the text that appears in the
searchbox, but the title remains the same. Is there something I can change
in MediaWiki:Pagetitle to accomplish this?
$wgHooks['BeforePageDisplay'][] = 'changesitename';
function changesitename( $out, $skin ) {
global $wgSitename, $wgUser;
$wgSitename = $wgUser;
}
I have a mediawiki installation for user documentation of a software
project I manage. We'd like a feature that allows us to create a separate
branch that mirrors each released version of our software. The idea is that
if people are using version 4 of our software, they go to the wiki and make
sure they are looking at the "version 4" branch of the documentation. Of
course, the default branch of the wiki will be for our current release.
I have been unsuccessful at finding any core features or extensions that
allow something like this. Does anyone on the list have a suggestion?
If no solution exists, I think my best bet will be to create a separate
wiki for every version of our software. This will get tedious quickly as I
will have to update each wiki separately. Does anyone have a better
suggestion?
Thanks,
Ken
--
-------
Ken Keefe
Senior Software Engineer
Information Trust Institute
University of Illinois at Urbana-Champaign
1308 W. Main St.
CSL 225
Urbana, Illinois 61801, USA
Phone: 217-244-3203
Web: https://www.perform.illinois.edu/~kjkeefe
Email: kjkeefe(a)illinois.edu
I have a super-secret wiki. Therefore, I want to set up my wiki so that
when a user is logged in, the logo will display, but otherwise it'll be a
blank logo. The following didn't work too well, apparently because the logo
is already loaded before this hook runs:
$wgHooks['BeforePageDisplay'][] = 'logodisplay';
$wgLogo = '';
function logodisplay( $foo, $bar ) {
global $wgLogo, $wgUser;
$wgLogo = "$wgResourceBasePath/logo.png";
}
}
Hello,
MediaWiki allows anchor in links, which, once followed, lead to a
specific location in the target page. As an example
[[TargetPage#TargetAnchor]] directs the browser to <span
id="TargetAnchor"/> in TargetPage. This works great, until the target
anchor is modified. This is especially easy to do with headings, which
get anchors by default, and can be changed easily. Once the anchor is
changed, all links containing the old anchor become partially invalid:
they still lead to the right page, but the location in page is lost.
I am wondering if there is a way (extension, functionality, procedure)
to automatically update all links which contain a specific anchor, when
that anchor is modified.
As an intermediate step, a list of links containing a specific anchor
would help - can it be obtained somehow?
Thank you,
Ovidiu
Hello,
I have created a page on mediawiki, in which I would like to embed an audio
file, just like the one you see here
<https://en.wikipedia.org/wiki/King_Crimson#1969.E2.80.9370:_In_the_Court_of…>
On my page I have written, along with some text, the following:
{{listen|filename=xxx.wav|title="xxx"|description=xxx.}}
Just as it is explained here <https://en.wikipedia.org/wiki/Module:Listen>,
I have created a new page, called Module:Listen, in which I copy and pasted
the following code:
local mFileLink = require('Module:File link')local mTableTools =
require('Module:TableTools')local mSideBox = require('Module:Side
box')...
end
return p
Also, as it is explained here
<https://www.mediawiki.org/wiki/Extension:Scribunto>, since this is
Lua language,
I had also to download and install Scribunto into the extensions/ folder.
When Saving Changes, the embedded audio does not appear.
I would appreciate if you could help me
Thank you very much,
David
tl;dr: Is it possible to enforce an order on callback functions that are attached to the same hook?
Detailed question:
I've written a custom extension that modifies Category pages. It creates a subclass of CategoryPage and inserts it using the hook "ArticleFromTitle." It works great on its own, but unfortunately, another popular extension we use, CategoryTree, does exactly the same thing, and it overrides my extension's modifications.
I can write my extension to check for the presence of CategoryTree and compensate for it. Unfortunately, MediaWiki 1.28.0 always runs CategoryTree's callback after mine, so no matter what I do, CategoryTree wins. (Strangely, in 1.27, my extension always won.)
Is there a way to ensure that my extensions ArticleFromTitle callback runs *after* CategoryTree's callback?
Thank you very much.
DanB
Hello again,
With the new year in full swing we're already seeing some interesting submissions for the Enterprise MediaWiki conference, but we're missing yours!
This is a gentle post-holiday reminder to please submit proposals and register for the event. I don't want to bore you with the details, but it would be really helpful to us organizers if we saw more names on the wiki to help with planning!
https://sourceforge.net/p/semediawiki/mailman/message/35558046/
Yours,
Chris K.