[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

 Whiteboard|aklapper-moreinfo   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

--- Comment #7 from Rical ari...@free.fr ---
(In reply to Jackmcbarn from comment #6)
 I think it would be a bad idea to allow the previewed version of a page to
 look different from what it will save to.

1 - Each time a user edit any page in any wiki, he sees some alert panels. The
module:Auteur do the same one alert panel, just before the normal output.

2 - The goal of the info edit-state is exactly to permit to automatic mask
this panel to not disturb simple readers, without the risk to keep the panel.

3 - Without the info edit-state and the automatic masking, the editing user
can forget to mask the panel, which is not so easy. Then the module must
catégorize the page to help admins to correct the page and mask the panel.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

--- Comment #8 from Jackmcbarn jackmcbarn+w...@gmail.com ---
Okay, a few new things to consider:
* It's already possible to see if a page is being previewed by looking at
{{REVISIONID}}. (I'm not sure this is a good thing, but it's true).
* Some issues are severe enough that they should be displayed even if the page
is saved, like a missing required template parameter.
* In your use case, you say that the purpose is to keep readers from being
confused if the page is saved with errors still in it. However, this would lead
to the next editor being confused, since they'd have no idea why errors
suddenly appeared when they made some unrelated change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Jackmcbarn jackmcbarn+w...@gmail.com changed:

   What|Removed |Added

 CC||jackmcbarn+w...@gmail.com

--- Comment #6 from Jackmcbarn jackmcbarn+w...@gmail.com ---
I think it would be a bad idea to allow the previewed version of a page to look
different from what it will save to. It could confuse users who see a bunch of
changes when they just make one little one, not to mention the field day
vandals could have with it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-03-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Brad Jorsch bjor...@wikimedia.org changed:

   What|Removed |Added

   Keywords||easy
   Priority|Normal  |Low

--- Comment #5 from Brad Jorsch bjor...@wikimedia.org ---
If someone cares enough about this to actually implement it, it should be easy
enough to do along the lines of Gerrit change 93019, using
$this-getParser()-getOptions()-getIsPreview(). And you could as well throw
in access to $this-getParser()-getOptions()-getIsSectionPreview() too.

Personally, though, I don't really see the point of modules changing their
output based on whether it's a preview or not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2014-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Rical ari...@free.fr changed:

   What|Removed |Added

 CC||bjor...@wikimedia.org,
   ||tstarl...@wikimedia.org,
   ||vasi...@gmail.com
  Component|WikidataClient  |Scribunto

--- Comment #4 from Rical ari...@free.fr ---
This bug is not only about data from Wikidata. It's about any edit in any wiki.
The result is a value that a scribunto module can read to adapt its work in the
edit state of the page. The module must display error messages only in edit
mode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-09-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

   Priority|Low |Normal
 Status|UNCONFIRMED |NEW
 CC||wikidata-bugs@lists.wikimed
   ||ia.org
  Component|Wikidata|WikidataClient
Version|wmf-deployment  |unspecified
Product|Wikimedia   |MediaWiki extensions
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

   Priority|Normal  |Low

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 CC||denny.vrandecic@wikimedia.d
   ||e

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-07-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Rical arl...@free.fr changed:

   What|Removed |Added

   Severity|normal  |enhancement

--- Comment #3 from Rical arl...@free.fr ---
I am sory, I changed the state to normal, but now I correct by revert it to
enhancement.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-07-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

 CC||aklap...@wikimedia.org
 Whiteboard||aklapper-moreinfo
   Severity|normal  |enhancement

--- Comment #1 from Andre Klapper aklap...@wikimedia.org ---
Hi Rical, 
unfortunately this report is not very useful because it does not describe the
problem well. If you have time and can still reproduce the problem, please read
https://www.mediawiki.org/wiki/How_to_report_a_bug and add a more useful
description to this report, by providing good steps to reproduce, a minimal
testcase, actual outcome, and expected outcome. Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 51660] Detect the edit state to adapt help messages to user errors

2013-07-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=51660

Rical arl...@free.fr changed:

   What|Removed |Added

   Severity|enhancement |normal

--- Comment #2 from Rical arl...@free.fr ---
In complex templates, users can use bad arguments names, or mistake about the
value of a century, and so on.
Scribunto permit to detect these errors to assist the user.
This is a new service to users, at Lua level.
The module https://test2.wikipedia.org/wiki/Module:Auteur
can display messages like :
⦁ Error: Wikidata element is not found.
⦁ Error: This argument is required but absent : initiale. Should define it.
⦁ Error: The parameter BirthYear is unknown in this template. The known
argument birthyear is it the one you need ?
⦁ Error: The life of the author is too long.
These messages are usefull when a user modify the page, but must disappear for
simple readers.
To hide messages, the module must know if the page is in edit state.
I search some hours and ask in some places, but I don't find how to detect the
edit state and nobody answers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l