Frank Baxmann | 25 Jan 17:45 2015
Picon

Linking with anchor

Hi,

I have a simple question about using anchors in links.

Example link:
[[SamplePage#SampleAnchor]]

Is there any possible way known to get information about the used anchor 
in "SamplePage"?

For example with ParserFunction {{#ifeq: <here the anchor text>| compare 
text|.....}}?

Greetings

Frank Baxmann

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
xcq5678 | 24 Jan 21:29 2015

Re: Recommended way of file upload from within a MediaWiki extension



勇于挑战超越自我,乐于奉献创造第一
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Eric Patrizi | 24 Jan 13:44 2015
Picon

Fw: Cannot access wiki from internet through D-Link router


    ----- Forwarded Message -----
  From: Eric Patrizi <epatrizi <at> yahoo.com>
 To: John <phoenixoverride <at> gmail.com> 
 Sent: Saturday, January 24, 2015 6:32 AM
 Subject: Re: [MediaWiki-l] Cannot access wiki from internet through D-Link router

Thanks, for the reply.  I had to change the $wgServer in my LocalSettings.php file to the IP address of my
router's external IP address.  It was set to the IP address of my wiki machine (192.168.0.117).  I can
now access the wiki from the internet. There are some other settings that probably need to be changed as
well (e.g. $wgPasswordSender, $wdEmergencyContact)).  Now that I know what to look for, I should be
able to figure that out.
Thanks again,

Eric
  

     From: John <phoenixoverride <at> gmail.com>
 To: Eric Patrizi <epatrizi <at> yahoo.com>; MediaWiki announcements and site admin list
<mediawiki-l <at> lists.wikimedia.org> 
 Sent: Friday, January 23, 2015 9:16 PM
 Subject: Re: [MediaWiki-l] Cannot access wiki from internet through D-Link router

Try just port forwarding 80 and 443

On Fri, Jan 23, 2015 at 9:45 PM, Eric Patrizi <epatrizi <at> yahoo.com> wrote:

 I have wiki up and running on my home network.  I can access the wiki on the LAN side of the router.  I
cannot access wiki from the external (Internet) side of the router.  I have redirected (using virtual
server settings in the D-Link router) ports 80 and 443 to my machine running the wiki.  When trying to
(Continue reading)

Eric Patrizi | 24 Jan 03:45 2015
Picon

Cannot access wiki from internet through D-Link router

 I have wiki up and running on my home network.  I can access the wiki on the LAN side of the router.  I cannot
access wiki from the external (Internet) side of the router.  I have redirected (using virtual server
settings in the D-Link router) ports 80 and 443 to my machine running the wiki.  When trying to access
from Internet, I get a timeout error.  I can access the Apache web server from the internet on the same
machine, so I thought it should work.
Any ideas or suggestions would be appreciated.
Eric
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Jeroen De Dauw | 21 Jan 18:30 2015
Picon

Semantic MediaWiki 2.1 released

Hello everyone,

We are happy to announce the immediate availability of the second stable
release in the Semantic MediaWiki 2.x series.

Semantic MediaWiki 2.1 is a minor release that adds several new features,
many enhancements, addresses numerous issues and adds support for
additional platforms. It does not contain any breaking changes.

## Highlights ##

### Support for semantic queries in Special:Search ###

This release adds support for semantic queries run directly from
MediaWiki's standard search. You can enable this feature by setting
$wgSearchType to "SMWSearch". The related configuration parameter
$smwgFallbackSearchType allows specifying which search engine to fall back
to in case "SMWSearch" returns no results. (#450, #496, #505)

### SPARQLStore improvements ###

The SPARQLStore now supports concept queries (#696) and regex like queries
([[Url::~http://*query=*]] OR [[Url::~*ccc*]]) for Page and URL values
(#679).

Notable performance improvements and many other fixes (can be found in the
bug fix list) have been made to broaden the SPARQLStore support.

### Enhanced platform support ###

(Continue reading)

John Foster | 21 Jan 02:50 2015
Picon

Lua Scripting error


Trying to get rid of this error.; all Mediawiki is completely updated to 
1.24.1: no wiki issues; Just Lua: i tried to download the newest Modules 
from Wikipedia since I use most of my templates from there; Still 
cropping up as below
Any Tips please;

Lua error in Module:In_the_news/image at line 19: attempt to index field 
'file' (a nil value).

Backtrace:

 1. *(tail call)*: ?
 2. *Module:In_the_news/image:19
    <http://beast.physicswiki.net/index.php?title=Module:In_the_news/image&action=edit#mw-ce-l19>*:
    ?
 3. *(tail call)*: ?
 4. *mw.lua:497*: ?
 5. *(tail call)*: ?
 6. *[C]*: in function "xpcall"
 7. *MWServer.lua:87*: in function "handleCall"
 8. *MWServer.lua:301*: in function "dispatch"
 9. *MWServer.lua:40*: in function "execute"
10. *mw_main.lua:7*: in main chunk
11. *[C]*: ?

Below is the source of actual module in question:Line 19 is highlighted in red:

-- This module implements [[Template:In the news/image]], which displays
-- the news image on the Main Page.
(Continue reading)

Kaya Saman | 18 Jan 16:51 2015
Picon

Unable to upgrade from 1.22 to 1.24

Hi,

I've been trying to upgrade from 1.22 to 1.24 however, it seems that the 
new version is trying to do a "fresh" install?

I have followed the "official" guide: 
http://www.mediawiki.org/wiki/Manual:Upgrading

and also in the meantime upgraded from php 5.3 to 5.6, base is on Nginx.

If I try to run the php update script I get these errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20131226-zts/apc.so' - Cannot open 
"/usr/local/lib/php/20131226-zts/apc.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20131226-zts/sqlite3.so' - Cannot open 
"/usr/local/lib/php/20131226-zts/sqlite3.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20131226-zts/sqlite.so' - Cannot open 
"/usr/local/lib/php/20131226-zts/sqlite.so" in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'pdo_pgsql' already loaded in Unknown on line 0
PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
PHP Warning:  Module 'curl' already loaded in Unknown on line 0
PHP Warning:  Module 'exif' already loaded in Unknown on line 0
PHP Warning:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  Module 'imap' already loaded in Unknown on line 0
(Continue reading)

Frank Baxmann | 18 Jan 01:24 2015
Picon

$parser->setFunctionHook

Hello,

I have a problem with an extension. There is a some 
$parser->setFunctionHook defined.
The function of the hook uses fake named parameters, meaning that the 
parameters are caught by "func_get_args()", and the only parameter in 
the function is &$parser.

My problem with this is now, that I want to use 
"$parser->recursiveTagParse" in that function to expand a template, but 
when I dump the params I get the param string as "[[:template]]" instead 
of "{{:template}}, and of course recursiveTagParse don't give the needed 
result.

The second topic is, that I maybe need $frame to expand variables, but I 
did not get it working with fake named parameters.

Greetings

Frank Baxmann

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Alastair Sherringham | 16 Jan 09:08 2015
Picon

Problem with custom (vector based) skin after upgrade 1.23.8 to 1.24.1

Hello,

(I posted this in a similar form a few days ago)

I was wondering if anyone here could help. 

I just upgraded a "staging" wiki running 1.23.8 to 1.24.1 and get no
output (blank) and I see the log says it is due to a skin error.  I do
not know much PHP. which is a source of the problem I have. Looking
through the release notes, I see the problem will be down to the skin
"auto-discovery" changes.

I am running a custom skin "zeddocs" based on Vector. I "authored" this
but without a proper understanding and with lots of help from
mediawiki-l
(http://thread.gmane.org/gmane.org.wikimedia.mediawiki/43017/focus=43019).

Looking at this help page about migrating skins to 1.24, I have tried to
adjust my custom skin files but without success.

In 1.24.1 skins/ I have :

* CologneBlue/
* Modern/
* MonoBook/
* Vector/
* ZedDocs/

ZedDocs is the custom skin based on Vector.

(Continue reading)

Thomas Mulhall | 15 Jan 22:08 2015
Picon

Skins api

Hi I am trying to do skins api the same as for extension. I found it easer to introduce SkinCredits. but I would
like some help to update the api. Please see http://phabricator.wikimedia.org/T86570  and
https://gerrit.wikimedia.org/r/#/c/184689/ for more information.
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Bill Traynor | 15 Jan 21:57 2015
Picon

importing pages without overwriting content

Hi,

I've manually created a Mediawiki XML file for import to my wiki to
add hundreds of new Categories and subcategories.  I'm running into a
problem when a Category page already exists in the wiki, my import
wipes out the Category page content.

My XML looks like:

<mediawiki xml:lang="en">
    <page>
      <title>TestCategoryLevelFour</title>
      <restrictions>edit=sysop:move=sysop</restrictions>
      <revision>
        <timestamp></timestamp>
        <contributor><username>Wmat</username></contributor>
        <comment>I wonder if this import overwrites the page.</comment>
        <text>[[Category:Categoryname]]</text>
      </revision>
     </page>
</mediawiki>

Is there a better way to create new Category pages quickly and not
overwrite them when they already exist?

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
(Continue reading)


Gmane