Last modified: 2012-10-31 17:31:49 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 T24442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22442 - Special:Properties page should link to "action=view" for special properties
Special:Properties page should link to "action=view" for special properties
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-09 00:10 UTC by Yaron Koren
Modified: 2012-10-31 17:31 UTC (History)
1 user (show)

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


Attachments
Replaces edit with view (622 bytes, patch)
2012-03-25 08:22 UTC, Nischay Nahata
Details

Description Yaron Koren 2010-02-09 00:10:09 UTC
For some reason, the Special:Properties page links to "action=view" for regular properties whose page hasn't been created yet, while it links to "action=edit" for special properties whose page hasn't been created yet. It would be nice if it could link to "action=view" for both; in other words, if it linked to:

http://discoursedb.org/w/index.php?title=Property:Has_type&action=view

...instead of:

http://discoursedb.org/w/index.php?title=Property:Has_type&action=edit&redlink=1
Comment 1 Nischay Nahata 2012-03-25 08:22:08 UTC
Created attachment 10321 [details]
Replaces edit with view

Links to regular Property pages have "action=view" because the link is made using
$proplink = $linker->link( $title, $label, array(), array( 'action' => 'view' ) );

But links to Special Property pages are made differently, My patch serves the purpose, but if you want it to be done differently let me know.
Comment 2 Nischay Nahata 2012-10-31 17:31:49 UTC
This has been fixed, however the display of Special:Properties is being fixed in https://gerrit.wikimedia.org/r/#/c/31024/

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


Navigation
Links