Last modified: 2014-09-18 18:12:09 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 T47180, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45180 - Wrong data in factbox after content injection
Wrong data in factbox after content injection
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
REL1_20-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-20 00:14 UTC by Hans Meiser
Modified: 2014-09-18 18:12 UTC (History)
4 users (show)

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


Attachments

Description Hans Meiser 2013-02-20 00:14:13 UTC
In a MediaWiki ArticleSave-Hook I add semantic properties and values.

For example:

<noinclude>{{#set:ABC Document Edited By=".$userName."}}</noinclude>

This works and after a "page save" the factbox shows the new entry.

But if I logout and relogin the factbox shows two values, the value coming from the right anotation (still there if I view the source code on that page) and a new value for property "ABC Document Edited By", the currently logedin user. 

This value was never anotated and is comming from nowhere!

c u steve
Comment 1 MWJames 2014-09-18 18:12:09 UTC
ArticleSave-Hook can not be used for Factbox content extension.

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


Navigation
Links