Last modified: 2014-02-05 20:21:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25691, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23691 - Default documentation for special properties?
Default documentation for special properties?
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Markus Krötzsch
:
: 11768 (view as bug list)
Depends on:
Blocks: 23692 41842
  Show dependency treegraph
 
Reported: 2010-05-28 09:56 UTC by Dan Bolser
Modified: 2014-02-05 20:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Bolser 2010-05-28 09:56:11 UTC
It would be great if the special properties defined by SMW were documented by default (using a system message?).

For example 'Has type', this property has a very well defined meaning and usage on all SMW installs, so it should be documented by default (at least with a link to the appropriate page on smw.org).
Comment 1 Markus Krötzsch 2010-05-28 13:21:46 UTC
*** Bug 23692 has been marked as a duplicate of this bug. ***
Comment 2 Markus Krötzsch 2010-05-28 13:24:34 UTC
(Bug 23692 is not a duplicate, since it refers to SF)

The problem that I have is that clicking a non-existing page always gets you into the edit mode in MediaWiki. In this situation, there is no place to have the default text. One would rather want special property pages to behave like message pages that have a default that is shown even if the page is not created yet. But I do not see how this behaviour could be achieved in MediaWiki. Input is welcome.
Comment 3 Dan Bolser 2010-05-28 16:05:18 UTC
Can you not generate the page content directly when SMW is installed? (Assuming there is no data their already).


Another suggestion...

11:53 < Alphos> i don't believe there's a way to do it for a specific non-existing page
11:54 < Alphos> except perhaps some js ?
11:55 < Alphos> if ((wgPageName === "specificpage") && (wgArticleId == 0)) { /*display something*/ }
Comment 4 [[kgh]] 2013-01-08 23:20:05 UTC
To have this struck my mind several times, too. A workaround would be to provide an xml-file on smw.o available for import on wikis interested in it. However an out-of-the-box solution would be great.
Comment 5 MWJames 2013-06-18 16:05:27 UTC
[1] enables default documentation for predefined properties and MW 1.20+ allows those pages to be displayed as blue link (known page).

[1] https://gerrit.wikimedia.org/r/#/c/67609/
Comment 6 MWJames 2014-02-05 20:21:24 UTC
*** Bug 11768 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links