Hi, everyone!
I wonder if there is a way to parse template into object with mediawiki
functions/classes? The goal is to extract parameters and values from
string like:
{{MyTemplate|param1=10|Param2=20}}
I can not find related class or function.
Hi, everyone!
I would like to share another helper instrument for extension
developers. It is class, called "Model"[1].
Abstractions help us keep code clean and readable, focus on logic. One
way or another, when developing big mediawiki extension, which should
have a lot of functions and work
Hi, everyone.
I want to share my tiny class "Views"[1] which helps me in development
process. Many extensions created have UI-part: kind of panels, widgets,
etc added to page output. Usually, html code just stored in some
variable and pushed to $wgOut:
$myWidget = 'Today weather:' .$someData. '
Looks like you can query special property "Modification date" [1] with
|sort parameters to obtain pages for "Last X Edits".
[1]
http://semantic-mediawiki.org/wiki/Help:Special_property_Modification_date
27.06.2013 23:33, Mark A. Hershberger пишет:
> I'm helping Mozilla with their wiki and they
Hi!
Do you see any errors or warnings? If no, try to set php settings for
error_reporting option to E_ALL in php.ini and check again. Also, can
you post link to page with filtered?
Also try to run
/maintenance/update.php
and
/extensions/SemanticMediawiki/SMW_refreshData.php
27.06.2013 17:31, De
We are using anonymous (name=hash) subobjects in our system. In semantic
queries and from code, we linking them using their hash. Subobjects not
changing from every page save or edit. Only one way we discovered they
change their hash - when page has renamed/moved. So, subobjects have a good
consist
Hi, Yaron!
I think subobjects sorting is good task, but i suggest not to use subobjects
name for this because of big problem with that:
imagine we have 3 subobjects on page:
Page name#001_4bd1f1b74a76de5322dd74956a71f089
Page name#002_03163dfd1d2502668b00c1f521688984
Page name#003_02dwa3j349j8d3
W_SpecialBrowse.php;hb=HEAD#l106
>
> PS: Tests deployed with SMW 1.9 will generally show how to access or
> interact with those objects therefore a general advise is to use those
> sources to verify their use cases.
>
> Cheers
>
> On 6/4/13, Alexey Klimovich wrote:
>>
Hi, everyone!
I have a little question about Sub-objects in SMW 1.9.
I am trying to fetch sub-object properties list, like a page properties
list, but unsuccessful.
I have a sub-objects $title variable (received from semantic query),
which holds Title with mFragment holding sub-object name. Thi
I am also think such webinars can be very useful for understanding SMW
architecture and make things a bit clearer for side developers.
I will be happy to assist Yury in writing down the meeting and creating
guides/howtos after.
09.05.2013 21:08, Yury Katkov пишет:
> (I've changed the subject n
Hi, Yaron!
I think standalone "upload" input type is a good idea.
In my vision, upload input should carry only "file upload" case and not
"existing file choose" case, like it can be done threw textarea/text +
autocomplete on Files namespace.
Simple and lightweight for users upload input like on
Hi, everyone!
I am suffering from such problem: when i am run update to SMW 1.8 Store3
with Maps and SMaps 2.0 extensions enabled:
php SMW_refreshData.php -v -b SMWSQLStore3 -fp
i've got error like:
(234) Processing ID 240 ...
(235) Processing ID 241 ...
(236) Processing ID 242 ...
Invalid m
12 matches
Mail list logo